LaTeX Glossary
If you are looking at this for the first time, please read the entries under 01 Getting Started for an overview. The list of entries may be viewed by categories or alphabetically.
01 Getting Started | 02 Arithmetic expressions | 03 Font Styles | 04 Delimiters
05 Spaces | 06 Symbols | 07 Relations | 09 Structures | 10 Feynman Diagrams
11 Other LaTeX Software
Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL
H |
---|
HelpIntroduction to LaTeXLaTeX (pronounced Lay-teck or Laytech) is a text processing language, designed to make it easy to typeset high quality technical documents. In the context of My.SUPA, it makes it easy to include mathematical expressions in forum postings. In this short introduction we'll cover some basic expressions to give you a flavour of the possibilities. There is a huge range of resources available for LaTeX and we'll give a short list of these at the end. Getting Started - symbolsLaTeX expressions are indicated in My.SUPA by enclosing them in double dollar signs. So, typing $$1+2$$ gives the following LaTeX output: The first useful thing that LaTeX can do is to translate commands mathematical symbols and characters. For example, $$\omega$$ gives FormulaeUseful as using LaTeX to type symbols is, you can also use it to create complex mathematical expressions. In the following example, we'll create a finite integral from 0 to 5 of the function f(x). The command for an integral in LaTeX is \int. We can indicate limits to the integral by using the superscript command, ^, and the subscript command, _ . The complete command is then: $$ \int_0^5 f(x) dx$$: ![]() LaTeX recognises that we want to make 0 a subscript and 5 a superscript. What if we would like to use more than one character for our limits, for example integrating sine(x) in the following example? ![]() In this case we use the following set of commands: $$ \int_0^{2\pi}\sin(x) dx $$. Note that the 2\pi is enclosed in curly brackets to tell LaTeX that we want everything contained within to be made a superscript. We've also used in this example the standard function \sin. FractionsTo use fractions in LaTeX, we use the command \frac, with 2 sets of curly brackets for the numerator and denominator. For example, ![]() where \pm gives MatricesAnother useful feature of LaTeX is the ability to format matrices. To demonstrate the different parts of writing a matrix, we'll use the following example: ![]() The code for this is: $$\left(\begin{array}{cccc}a&b&c&d\\e&f&g&h\\i&j&k&l\\m&n&o&p\end{array}\right)$$. You can split this over several lines if you would like, but make sure that you don't put any spaces between the double dollar signs. Working from the outside in:
Going furtherThis help section only scratches the very surface of the possibilities of LaTeX. For more information, here are some useful guides:
If you are interested in using LaTeX away from My.SUPA for creating documents, try some of the following resources:
| |