Operation | Command | Display
|
Left superscript | a lsup{b} |
|
Center superscript | a csup{b} |
|
Right superscript | a^{b} | ab
|
Left subscript | a lsub{b} |
|
Center subscript | a csub{b} |
|
Right subscript | a_{b} | ab
|
Align character to left (text is aligned center by default) | stack { Hello world # alignl (a) }
|
|
Align character to center | stack{Hello world # alignc(a)} |
|
Align character to right | stack { Hello world # alignr(a)} |
|
Vertical stack of 2 | binom{a}{b} |
|
Vertical stack, more than 2 | stack{a # b # z} |
|
Matrix | matrix{ a # b ## c # d } |
|
Equations aligned at '=' (using 'matrix') | matrix{ a # "=" # alignl{b} ## {} # "=" # alignl{c+1} } |
|
Equations aligned at '=' (using 'phantom') | stack{ alignl{a} = b # alignl{phantom{a} = c+1} } |
|
New line | asldkfjo newline sadkfj |
|
Small gap (grave) | stuff `stuff |
|
Large gap (tilde) | stuff~stuff |
|