Wiki LaTeX Demo
This wiki uses for rendering LaTeX code. Visit this page to see what LaTeX commands are supported, and check our KaTeX configuration file for the custom macros we use.
To see how the various examples below are implemented, check the source code of the page here.
You can add inline LaTeX code like . Typing out symbols like and can be very helpful for consistency in the document. Though sometimes, you can also just write them out “normally” like x and β.
You can also render “display-style” equations using the DisplayLatex
component:
We can also tag and reference equations. Notice the (1) over at the right of the equation below. This came from the \tag
command. Also, use the Eqref
component to reference your equations like this: (1)
However, DisplayLatex
isn’t ideal if you need to write out multiple lines. For multiple unaligned lines, you’ll need the GatherLatex
component. Note that each line ends with a double-backslash (\\
):
For multiple aligned lines, you’ll need the AlignLatex
component. Note the ampersand symbols &
for the point of alignment:
And that’s all there is to know about rendering LaTeX on this wiki! For a more in-depth guide on LaTeX itself, this Wikibooks article can be a good start.