Basic Text Formatting

From ConTeXt wiki
Jump to: navigation, search

< Visuals >



Contents

Font Switches


Capitalizing words

Underline, strike through, and overline

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


Verbatim Code

Quotes

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.

Language

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.

C O N T E X T G A R D E N

Personal tools
Namespaces
Variants
Actions
Help
External Help
Installation
Navigation
Toolbox