Changes

Jump to navigation Jump to search
421 bytes added ,  17:45, 1 July 2014
Added instructions to align superscripts/subscripts one after the other.
TeX uses <code>^</code> and <code>_</code> to denote superscipts and subscipts. It is perhaps easiest to explain this by means of some examples. <context>\setuplayout[scale=0.8]$x_{10}^{15}$</context> is written as <code>$x_{10}^{15}$</code> or <code>$x^{15}_{10}$</code>. The order in which <code>_</code> and <code>^</code> are given does not matter. One can also type complicated expressions like <context>\setuplayout[scale=0.8]$a_{b_{c_{d_{e}}}}$</context> as <code>$a_{b_{c_{d_{e}}}}$</code>.
 
To align superscripts and subscripts one after the other (not above/below each other), add empty braces <code>{}</code> after each of them as <code>$T^a{}_b{}^c{}$</code> to obtain <context>\setuplayout[scale=0.8]$T^a{}_b{}^c{}$</context>. This effectively adds each index as superscript/subscript of the empty braces rather than the main character, thus aligning them separately and avoiding double superscript errors.
== List of All Math macros ==
1

edit

Navigation menu