- #1
Super_Leunam
- 14
- 0
Hi! I need some help with latex. I need to draw Feynman diagrams and it seems that the package feynmfm relies on Metafont, which I really don't even have the slightest idea as how to use it.
Anyway, I tried to find a good tutorial on the subject (metafont) but it looks like i will need some help since i still consider myself a newbie in latex.
I'm using the full installation of Miktex 2.6 on Texnicenter which I know has the packages already. Whenever I try to follow the commands for drawing a diagram like this:
\begin{verbatim}
\begin{fmffile}{decan}
\begin{fmfgraph*}(40,25)
\fmfleft{o3}
\fmfright{i1,o1,o2}
\fmf{fermion}{i1,v1}
\fmf{fermion}{o1,o2,o3}
\end{fmfgraph*} \end{fmffile}
\end{verbatim}
for the feynman graph of the neutron decay( Maybe I'm not doing the sintax right?) I get a single arrow all over my writing in the last paragraph and not even an error message.
It says that i have to somehow reprocess the file "decan.mf" and try again but that's my problem . i have no experience with metafont or something like that..like i said I'm almost illiterate in Tex/LAtex. I've used latex for my reports but until now, I only needed to type math formulas.
If there's another way to draw Feynman Diagrams, other than drawing it with some graphics application and pasting it, please let me know. All I need is to learn how to draw Feynman diagrams using some package since I don't want to overload my pdf with inserted graphics. Thanks in advance!
Anyway, I tried to find a good tutorial on the subject (metafont) but it looks like i will need some help since i still consider myself a newbie in latex.
I'm using the full installation of Miktex 2.6 on Texnicenter which I know has the packages already. Whenever I try to follow the commands for drawing a diagram like this:
\begin{verbatim}
\begin{fmffile}{decan}
\begin{fmfgraph*}(40,25)
\fmfleft{o3}
\fmfright{i1,o1,o2}
\fmf{fermion}{i1,v1}
\fmf{fermion}{o1,o2,o3}
\end{fmfgraph*} \end{fmffile}
\end{verbatim}
for the feynman graph of the neutron decay( Maybe I'm not doing the sintax right?) I get a single arrow all over my writing in the last paragraph and not even an error message.
It says that i have to somehow reprocess the file "decan.mf" and try again but that's my problem . i have no experience with metafont or something like that..like i said I'm almost illiterate in Tex/LAtex. I've used latex for my reports but until now, I only needed to type math formulas.
If there's another way to draw Feynman Diagrams, other than drawing it with some graphics application and pasting it, please let me know. All I need is to learn how to draw Feynman diagrams using some package since I don't want to overload my pdf with inserted graphics. Thanks in advance!