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 TextContent tag menu.

<strong|content>

Indicates an important region of text. You can enter this tag via TextContent tagStrong.

<em|content>

Emphasizes a region of text like in “the real thing”. This tag corresponds to the menu entry TextContent tagEmphasize.

<dfn|content>

For definitions like “a gnu is a horny beast”. This tag corresponds to TextContent tagDefinition.

<samp|content>

A sequence of literal characters like the ae ligature æ. You can get this tag via TextContent tagSample.

<name|content>

The name of a particular thing or concept like the Linux system. This tag is obtained using TextContent tagName.

<person|content>

The name of a person like Joris. This tag corresponds to TextContent tagPerson.

<cite*|content>

A bibliographic citation like a book or magazine. Example: Melville's Moby Dick. This tag, which is obtained using TextContent tagCite, 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|content>

An abbreviation. Example: I work at the C.N.R.S. An abbreviation is created using TextContent tagAbbreviation or the A-a keyboard shortcut.

<acronym|content>

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 TextContent tagAcronym.

<verbatim|content>

Verbatim text like output from a computer program. Example: the program said hello. You may enter verbatim text via TextContent tagVerbatim. The tag may also be used as an environment for multi-paragraph text.

<kbd|content>

Text which should be entered on a keyboard. Example: please type return. This tag corresponds to the menu entry TextContent tagKeyboard.

<code*|content>

Code of a computer program like in “cout << 1+1; yields 2”. This is entered using TextContent tagCode. For longer pieces of code, you should use the code environment.

<var|content>

Variables in a computer program like in cp src-file dest-file. This tag corresponds to the menu entry TextContent tagVariable.

<math|content>

This is a tag which will be used in the future for mathematics inside regular text. Example: the formula sin2 x + cos2 x = 1 is well-known.

<op|content>

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 R2 to R. This tag may become depreciated.

<tt|content>

This is a physical tag for typewriter phase. It is used for compatibility with HTML, but we do not recommend its use.

Most of the following logical size tags can be found in TextSize tag (or MathematicsSize tag):

<really-tiny|content>, <tiny|content>

<really-small|content>, <very-small|content>, <smaller|content>, <small|content>

<normal-size|content>

<large|content>, <larger|content>, <very-large|content>, <really-large|content>

<huge|content>, <really-huge|content>

These logical size tags should be used by preference when typesetting parts of your document in a larger or smaller font. Environments like footnotes or captions of tables may also be based on logical size tags. Document styles from professional publishers often assign very precise font settings to each of the logical size tags. By default, the size tags are rendered as follows:

Really tiny

Tiny

Really small

Very small

Smaller

Small

Normal size

Large

Larger

Very large

Really large

Huge

Really huge

The following are standard environments:

<verbatim|body>

Described above.

<code|body>

Similar to code*, but for pieces of code of several lines.

<quote-env|body>

Environment for short (one paragraph) quotations.

<quotation|body>

Environment for long (multi-paragraph) quotations.

<verse|body>

Environment for poetry.

<center|body>

This is a physical tag for centering one or several lines of text. It is used for compatibility with HTML, but we do not recommend its use.

Some standard tabular environments are

<tabular*|table>

Centered tables.

<block|table>

Left aligned tables with a border of standard 1ln width.

<block*|table>

Centered tables with a border of standard 1ln width.

The following miscellaneous tags don't take arguments:

<TeXmacs>

The TeXmacs logo.

<TeXmacs-version>

The current version of TeXmacs (1.0.6.12).

<made-by-TeXmacs>

A macro which may be used to indicate that your document was written using TeXmacs.

<TeX>

The TeX logo.

<LaTeX>

The LaTeX logo.

<hrule>

A horizontal rule like the one you see below:


The following miscellaneous tags all take one or more arguments:

<phantom|content>

This tag takes as much space as the typeset argument content would take, but content is not displayed. For instance, <phantom|phantom> yields “”.

<overline|content>

For overlined text, which can be wrapped across several lines.

<underline|content>

For underlined text, which can be wrapped across several lines.

<fold|summary|body>

The summary is displayed and the body 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 InsertSwitchUnfold.

<unfold|summary|body>

Unfolded presentation of a piece of content body associated to a short title or abstract summary. The second argument can be made invisible using InsertSwitchFold.

<switch|current|alternatives>

Content which admits a finite number of alternative representation among which the user can switch using the function keys F9, F10, F11 and F12. This may for instance be used in interactive presentations. The argument current correspond to the currently visible presentation and alternative to the set of alternatives.

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".