|
Standard markup |
|
Various standard markup is defined in std-markup. The following textual content tags all take one argument. Most
can be found in the Text→Content
tag menu.
-
strong
-
Indicates an
important
region of text. You can enter this tag via
Text
→
Content tag
→
Strong
.
-
em
-
Emphasizes a region of text like in “the
real
thing”. This tag corresponds to the menu entry
Text
→
Content tag
→
Emphasize
.
-
dfn
-
For definitions like “a
gnu
is a horny beast”. This tag corresponds to
Text
→
Content tag
→
Definition
.
-
samp
-
A sequence of literal characters like the
ae
ligature æ. You can get this tag via
Text
→
Content tag
→
Sample
.
-
name
-
The name of a particular thing or concept like the
Linux
system. This tag is obtained using
Text
→
Content tag
→
Name
.
-
person
-
The name of a person like
Joris
. This tag corresponds to
Text
→
Content tag
→
Person
.
-
cite*
-
A bibliographic citation like a book or magazine. Example: Melville's
Moby Dick
. This tag, which is obtained using
Text
→
Content tag
→
Cite
, should not be confused with
cite
. The latter tag is also used for citations, but where the argument
refers to an entry in a database with bibliographic references.
-
abbr
-
An abbreviation. Example: I work at the
C.N.R.S.
An abbreviation is created using
Text
→
Content tag
→
Abbreviation
or the
A-a
keyboard shortcut.
-
acronym
-
An acronym is an abbreviation formed from the first letter of each
word in a name or a phrase, such as
HTML
or
IBM
. In particular, the letters are not separated by dots. You may enter
an acronym using
Text
→
Content tag
→
Acronym
.
-
verbatim
-
Verbatim text like output from a computer program. Example: the
program said
hello
. You may enter verbatim text via
Text
→
Content tag
→
Verbatim
. The tag may also be used as an environment for multi-paragraph text.
-
kbd
-
Text which should be entered on a keyboard. Example: please type
return
. This tag corresponds to the menu entry
Text
→
Content tag
→
Keyboard
.
-
code*
-
Code of a computer program like in “
cout << 1+1;
yields
2
”. This is entered using
Text
→
Content tag
→
Code
. For longer pieces of code, you should use the
code
environment.
-
var
-
Variables in a computer program like in
cp src-file dest-file
. This tag corresponds to the menu entry
Text
→
Content tag
→
Variable
.
-
math
-
This is a tag which will be used in the future for mathematics inside
regular text. Example: the formula sin
2
x
+ cos
2
x
=1 is well-known.
-
op
-
This is a tag which can be used inside mathematics for specifying that
an operator should be considered on itself, without any arguments.
Example: the operation + is a function from
R
2
to
R
. This tag may become depreciated.
-
tt
-
This is a physical tag for typewriter phase. It is used for
compatability with
HTML
, but we do not recommend its use.
The following are standard environments:
-
verbatim
-
Described above.
-
code
-
Similar to
code*
, but for pieces of code of several lines.
-
quote
-
Environment for short (one paragraph) quotations.
-
quotation
-
Environment for long (multi-paragraph) quotations.
-
verse
-
Environment for poetry.
-
center
-
This is a physical tag for centering one or several lines of text. It
is used for compatability with
HTML
, but we do not recommend its use.
Some standard tabular environments are
-
tabular*
-
Centered tables.
-
block
-
Left aligned tables with a border of standard
1ln
width.
-
block*
-
Centered tables with a border of standard
1ln
width.
The following miscellaneous tags don't take arguments:
-
TeXmacs
-
The TeXmacs logo.
-
TeX
-
The TeX logo.
-
LaTeX
-
The LaTeX logo.
-
hflush
-
Used by developers for flushing to the right in the definition of
environments.
-
hrule
-
A horizontal rule like the one you see below:
The following miscellaneous tags all take one or more arguments:
-
overline
-
For overlined text, which can be wrapped across several lines.
-
underline
-
For underlined text, which can be wrapped across several lines.
-
fold
-
Macro with two arguments. The first argument is displayed and the
second one ignored: the macro corresponds to the folded presentation
of a piece of content associated to a short title or abstract. The
second argument can be made visible using
Insert
→
Switch
→
Unfold
.
-
unfold
-
Macro with two arguments
x
and
y
, which yields the unfolded presentation of a piece of content
y
associated to a short title or abstract
x
. The second argument can be made invisible using
Insert
→
Switch
→
Fold
.
-
switch
-
Macro with two arguments
x
and
y
, where
y
is a set of possible representations of the switch and
x
the current representation. The function keys
F9
,
F10
,
F11
and
F12
can be used to switch between different representations.
-
phantom
-
Function with one argument
x
. This tag takes as much space as the typesetted argument
x
would take, but
x
is not displayed. For instance, the text “phantom” as an
argument of
phantom
yields “”.
-
set-header
-
Function with one argument for permanently changing the header. Notice
that certain tags in the style file, like sectional tags, may override
such manual changes.
-
set-footer
-
Function with one argument for permanently changing the footer.
© 1998–2002 Joris van der Hoeven
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version
1.1 or any later version published by the Free Software Foundation; with
no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU
Free Documentation License".