LaTeX Glossary


My.SUPA has been setup to allow maths to be written quickly using LaTeX notation. This can be included anywhere you see a text box in your course area -- including news or social forums, web pages and wikis. The format for entering LaTeX in My.SUPA is to wrap the code between two pairs of dollar signs. $$ a=b+c $$


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
Browse the glossary using this index

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

F

Feynman Diagrams using LaTeX

feynMF and feynMP is a tool made by Thorsten Ohl to draw Feynman diagrams in LaTeX.

In his paper, [Ohl 1995], he explains how his package along with LaTeX and Metafont can be used to draw such diagrams.

This package has been installed on the SUPA web server, and My.SUPA has been modified to allow such diagrams to be shown in course pages, wikis and forums.

$$
\unitlength = 1mm
\begin{fmffile}{simpletwo}
\begin{fmfgraph}(60,45)
\fmfleft{i1,i2}
\fmfright{o1,o2}
\fmf{fermion}{i1,v1,o1}
\fmf{fermion}{i2,v2,o2}
\fmf{photon}{v1,v2}
\end{fmfgraph}
\end{fmffile}
$$

\unitlength = 1mm \begin{fmffile}{simpletwo} \begin{fmfgraph}(60,45) \fmfleft{i1,i2} \fmfright{o1,o2} \fmf{fermion}{i1,v1,o1} \fmf{fermion}{i2,v2,o2} \fmf{photon}{v1,v2} \end{fmfgraph} \end{fmffile}

Note all examples using feynmp articles need to be wrapped in the following code to start a new feynman diagram environment at a sensible size.

$$ ....... starts LaTeX interpretation
\unitlength = 1mm
\begin{fmffile}{tmpfile} ..... temp name does not matter
\begin{fmfgraph*}(40,30) ..... increase x,y size of diagram here
... example goes here ...
\end{fmfgraph*}
\end{fmffile}
$$

formula box

$$\fbox{x=\frac{1}{2}}$$  gives

\fbox{x=\frac{1}{2}}

fraction

  • Syntax: \frac{numerator}{denominator}
  • Use font sizing commands for¬†specific sizing if you don't want the predefined one to be taken.
  • Ex. (with predefined sizing): $$f(x,y)=\frac{2a}{x+y}$$ gives

f(x,y)=\frac{2a}{x+y}

  • Ex. (with specific sizing): $$f(x,y)=\frac{\fs{2}2a}{\fs{2}x+y}$$ gives

f(x,y)=\frac{\fs{2}2a}{\fs{2}x+y}

  • You may nest fractions as much as you want.
  • Ex. (nested fractions): $$\frac{\frac{a}{x-y}+\frac{b}{x+y}}{1+\frac{a-b}{a+b}}$$ gives

\frac{\frac{a}{x-y}+\frac{b}{x+y}}{1+\frac{a-b}{a+b}}

Function names

Function names supplied by LaTeX:

\arccos \cos \csc \exp \ker \limsup
\arcsin \cosh \deg \gcd \lg \ln
\arctan \cot \det \hom \lim \log
\arg \coth \dim \inf \liminf \max
\sinh \sup \tan \tanh \min \Pr
\sec \sin