Changes

Jump to navigation Jump to search
7 bytes added ,  13:24, 7 June 2020
m
minor adjustments, nothing new
< [[Main Page]] | [[First Document]] | [[Next Steps]] >
Here's a slightly more complex example:
* '''regime''' is the input encoding, i.e. what you type, so that you can use accented characters (like umlauts in the example) directly. Old encodings are supported, but use UTF-8 whenever possible. In [[XeTeX]] and [[LuaTeX]] that's the default already, so you don't need that line any more. (More on that topic in [[Encodings and Regimes - Old Content]].)
* '''language''' is the language of your text. Besides <cmd>mainlanguage</cmd> there's also <cmd>language</cmd> to switch temporarily. Try your internet top level domain code as language code (de = german, fr = french, it = italian etc., see [[Language CodesLanguages#Language_tags|language tags]]).
* '''quotation''': use logical markup instead of specified signs! You get single quotes with <cmd>quote</cmd>. You can use <cmd>startquotation</cmd> ... <cmd>stopquotation</cmd> for longer (indented) quotes.
* '''em''': again, logical markup! say "<cmd>em</cmd>phasized" instead of bold or italics. Remember, it's a switch, not a command! (Not <tt>\em{foo}</tt>, but <tt>{\em foo}</tt>.)

Navigation menu