Alec Aivazis edited exporting.tex  over 9 years ago

Commit id: 5a4d17fc10775c76b1dffe1ac0d153c0740ebb94

deletions | additions      

       

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  \begin{lstlisting}  \usepackage{feynman}  \end{lstlisting} \verb|\usepackage{feynman}|  The user can then place the code generated by the "export to LaTeX" button anywhere in their document. 

where is optional can be any key=value pair separated by commas and and are comma separated numbers indicating the position of the anchor in the designated unit system; ie:  \begin{lstlisting}  \electroweak[color=0AFF91, label=\gamma]{0,0}{0,2}  \end{lstlisting} \verb|\electroweak[color=0AFF91, label=\gamma]{0,0}{0,2}|