## 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
 10 Feynman Categories All categories Not categorised 01 Getting started 02 Arithmetic expressions, sub-/superscripts, roots 03 Font Styles 04 Delimiters (parentheses, braces,...) 05 Spaces 06 Symbols 07 Relations 09 Structures 10 Feynman 11 Other LaTeX software

#### 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}$$

#### Resonant S-Channel

Resonant s-channel contribution from Drawing Feynman Diagrams with LaTeX and METAFONT. Part 1
\begin{fmffile}{schannel}
\begin{fmfgraph*}(100,160)
\fmfpen{thick}
\fmfleftn{i}{2}\fmfrightn{o}{4}
\fmflabel{$e_-$}{i1}\fmflabel{$e_+$}{i2}
\fmflabel{$\noexpand\bar c$}{o1}
\fmflabel{$\nu_{\mu}$}{o2}
\fmflabel{$\mu_+$}{o3}
\fmflabel{$s$}{o4}
\fmf{boson,label=$\gamma,,Z$}{v1,v2}
\fmf{fermion}{i1,v1,i2}
\fmf{fermion}{o1,v2,v3,o4}
\fmffreeze \fmf{boson}{v3,v4}\fmf{fermion}{o3,v4,o2}
\fmfdotn{v}{4}
\end{fmfgraph*}
\end{fmffile}
$\begin{fmffile}{schanneltwo} \begin{fmfgraph*}(100,60) \fmfpen{thick} \fmfleftn{i}{2}\fmfrightn{o}{4} \fmflabel{e_-}{i1}\fmflabel{e_+}{i2} \fmflabel{\noexpand\bar c}{o1} \fmflabel{\nu_{\mu}}{o2} \fmflabel{\mu_+}{o3} \fmflabel{s}{o4} \fmfpen{thick} \fmf{boson,label=\gamma,,Z}{v1,v2} \fmf{fermion}{i1,v1,i2} \fmf{fermion}{o1,v2,v3,o4} \fmffreeze \fmf{boson}{v3,v4}\fmf{fermion}{o3,v4,o2} \fmfdotn{v}{4} \end{fmfgraph*} \end{fmffile}$

#### Tree Diagrams using FeynMP

Tree Diagrams from Drawing Feynman Diagrams with LaTeX and METAFONT. Part 1

\unitlength = 1mm
\begin{fmffile}{tree}
\begin{fmfgraph*}(100,60)
\fmfleftn{i}{2} \fmfrightn{o}{4}
\fmflabel{$e_-$}{i1}\fmflabel{$e_+$}{i2}
\fmflabel{$\mu_+$}{o1}
\fmflabel{$\nu_{\mu}$}{o2}
\fmflabel{$s$}{o3}
\fmflabel{$\noexpand\bar c$}{o4}
\fmf{fermion}{i1,v1,i2}
\fmf{boson,label=$\gamma,,Z$}{v1,v2}
\fmf{boson}{v3,v2,v4}
\fmf{fermion}{o1,v3,o2}
\fmf{fermion}{o4,v4,o3}
\fmfdot{v1,v3,v4}\fmfblob{.12w}{v2}
\end{fmfgraph*}
\end{fmffile}

$\unitlength = 1mm \begin{fmffile}{tree} \begin{fmfgraph*}(100,60) \fmfleftn{i}{2} \fmfrightn{o}{4} \fmflabel{e_-}{i1}\fmflabel{e_+}{i2} \fmflabel{\mu_+}{o1} \fmflabel{\nu_{\mu}}{o2} \fmflabel{s}{o3} \fmflabel{\noexpand\bar c}{o4} \fmf{fermion}{i1,v1,i2} \fmf{boson,label=\gamma,,Z}{v1,v2} \fmf{boson}{v3,v2,v4} \fmf{fermion}{o1,v3,o2} \fmf{fermion}{o4,v4,o3} \fmfdot{v1,v3,v4}\fmfblob{.12w}{v2} \end{fmfgraph*} \end{fmffile}$