Basic Text Formatting

From ConTeXt wiki

< Visuals >

Font Switches

  • See the article on Font Switching to understand how to change font styles (bold, italic, etc.)

Capitalizing words

  • Note that \WORD, \Word and all following macros aren't switches, but commands (brackets behind, not around): {\em switch}, vs \Word{macro}.

Underline, strike through, and overline

\overstrike, \overstrikes, \underbar, and \underbars.

Verbatim Code


Don't try to type quotation marks, but use logical markup! Quotation marks and formatting are language dependent.

For alternate nesting of double and single quotes, see Nested quotations.


For short quotes you can switch the language (and depending setups like quotation marks) with the language code like {\de das ist Deutsch}. If you switch between longer sections or if the two-letter language code has some other meaning (like \sl stands for slanted and can't be used to start Slovenian) you should use \language[sl].

To switch the document language, and not just the hyphenation rules, use \mainlanguage[de]. This will replace e.g. "Chapter" with "Kapitel", and "Figure" with "Abbildung", in the case of German.