![]() |
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 Insert\(\rightarrow\)Content tag menu.
Indicates an important region of text. You can enter this tag via Insert\(\rightarrow\)Content tag\(\rightarrow\)Strong.
Emphasizes a region of text like in “the real thing”. This tag corresponds to the menu entry Insert\(\rightarrow\)Content tag\(\rightarrow\)Emphasize.
For definitions like “a gnu is a horny beast”. This tag corresponds to Insert\(\rightarrow\)Content tag\(\rightarrow\)Definition.
A sequence of literal characters like the ae ligature æ. You can get this tag via Insert\(\rightarrow\)Content tag\(\rightarrow\)Sample.
The name of a particular thing or concept like the Linux system. This tag is obtained using Insert\(\rightarrow\)Content tag\(\rightarrow\)Name.
The name of a person like Joris. This tag corresponds to Insert\(\rightarrow\)Content tag\(\rightarrow\)Person.
A bibliographic citation like a book or magazine. Example: Melville's Moby Dick. This tag, which is obtained using Insert\(\rightarrow\)Content tag\(\rightarrow\)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.
An abbreviation. Example: I work at the C.N.R.S. An abbreviation is created using Insert\(\rightarrow\)Content tag\(\rightarrow\)Abbreviation or the ⌃A keyboard shortcut.
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 Insert\(\rightarrow\)Content tag\(\rightarrow\)Acronym.
Verbatim text like output from a computer program. Example: the program said hello. You may enter verbatim text via Insert\(\rightarrow\)Content tag\(\rightarrow\)Verbatim. The tag may also be used as an environment for multi-paragraph text.
Text which should be entered on a keyboard. Example: please type return. This tag corresponds to the menu entry Insert\(\rightarrow\)Content tag\(\rightarrow\)Keyboard.
Code of a computer program like in “cout <<
1+1; yields 2”. This is entered using
Insert\(\rightarrow\)Content
tag\(\rightarrow\)Code. For
longer pieces of code, you should use the code
environment.
Variables in a computer program like in cp src-file dest-file. This tag corresponds to the menu entry Insert\(\rightarrow\)Content tag\(\rightarrow\)Variable.
This tag is used for mathematics inside regular text. Example: the formula \(\sin^2 x + \cos^2 x = 1\) is well-known.
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 \(\mathbb{R}^2\) to \(\mathbb{R}\). This tag may become depreciated.
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 Insert\(\rightarrow\)Size tag (or Insert\(\rightarrow\)Size tag):
<really-tiny|content>, <tiny|content>
<really-small|content>, <very-small|content>, <smaller|content>, <small|content>
<large|content>, <larger|content>, <very-large|content>, <really-large|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:
Described above.
Similar to code*, but for pieces of code of several lines.
Environment for short (one paragraph) quotations.
Environment for long (multi-paragraph) quotations.
Environment for poetry.
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
Centered tables.
Left aligned tables with a border of standard 1ln width.
Centered tables with a border of standard 1ln width.
The following tags are used to adjust the typesetting of content whenever necessary:
These macros can be used to adjust the vertical extents of the body to those of the character 'x'. In the case of smash-top and smash-bottom, only the top resp. bottom are changed.
These macros can be used to increase the vertical extents of the body to those of the largest character in the current font. In the case of inflate-top and inflate-bottom, only the top resp. bottom are changed. This kind of adjustments may for instance be used in order to ensure that \(2 \times 2\) matrices with simple textual contents always have the same size:
In fact, for a more uniform appearance, swelling is activated by default inside matrices.
This primitive is similar to resize, except that the new size of the content is always larger than the original size.
The following miscellaneous tags don't take arguments:
The TeXmacs logo.
The current version of TeXmacs (2.1.5).
A macro which may be used to indicate that your document was written using TeXmacs.
The TeX logo.
The LaTeX logo.
A horizontal rule like the one you see below:
The following miscellaneous tags all take one or more arguments:
This tag takes as much space as the typeset argument content would take, but content is not displayed. For instance, <phantom|phantom> yields “”.
For overlined text, which can be wrapped across several lines.
For underlined text, which can be wrapped across several lines.
A hyperlink as hlink, with a title: a short text about the destination of the link, which TeXmacs does not display. It is the title of a link in Html and in Markdown, which a browser shows when the mouse is over the link, and the converters for these formats read and write it.
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 Insert\(\rightarrow\)Switch\(\rightarrow\)Unfold.
Unfolded presentation of a piece of content body associated to a short title or abstract summary. The second argument can be made invisible using Insert\(\rightarrow\)Switch\(\rightarrow\)Fold.
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.