Exporting

Diagrams created through the web application are easily exportable to a wide variety of formats such as png, svg, pdf, and LaTeX. To export the diagram, the user clicks on one of the button in the left diagram tools area as described in section \ref{sect:layout}.

Exporting to LaTeX

To export to LaTeX, the user must download first download the latex drawing package and place it in the same directory as the latex file. Then, add the following line to the preamble of their document

\usepackage{feynman}

The user can then place the code generated by the “export to LaTeX” button anywhere in their document.

It is important to note that one can easily convert from the web configurations to an equivalent element in the LaTeX drawing package. For example, propagators are of the form

\<style>[<configuration>]{anchor1}{anchor2}

where <configuration> is optional can be any key=value pair separated by commas and <anchor1> and <anchor2> are comma separated numbers indicating the position of the anchor in the designated unit system; ie:

\electroweak[color=0AFF91, label=\gamma]{0,0}{0,2}