TeXworks 0.6.6 中缺少 FeynMF 标签

TeXworks 0.6.6 中缺少 FeynMF 标签

我编写了以下代码来描述两个图表的总和。我通常只使用 overleaf,但考虑到我所写文档的大小,我需要下载并使用 TeXworks。然而,上述图表在 overleaf 上工作正常,但现在却不显示任何标签。我阅读了该软件包 (feynmf) 的整个指南,但仍然不明白我做错了什么。

\documentclass{book}
\usepackage{feynmf}

\begin{document}
\begin{center}
\begin{fmffile}{gzzexample4}
    \parbox{80pt}{\begin{fmfgraph*}(50,50)
    \fmfleft{i1,i2}
    \fmfright{o1}
    \fmf{dashes}{i1,v1}
    \fmf{dashes}{v1,i2}
    \fmf{photon}{v1,o1}
    \fmflabel{$\tau$}{i1}
    \fmflabel{$\tau$}{i2}
    \fmflabel{$\tau$}{o1}
    \fmflabel{$\tau_1$}{v1}
    \fmfv{decor.shape=square,d.size=3thick}{i1,i2,o1}
    \fmfv{decor.shape=circle,decor.filled=empty,d.size=3thick}{v1}
    \end{fmfgraph*}}
    $+$\parbox{100pt}{\begin{fmfgraph*}(50,50)
    \fmfleft{i1,i2}
    \fmfright{o1}
    \fmf{dashes}{i1,v1}
    \fmf{dashes}{v1,i2}
    \fmf{photon}{v1,o1}
    \fmflabel{$\tau_1$}{i1}
    \fmflabel{$\tau_1$}{i2}
    \fmflabel{$\tau_1$}{o1}
    \fmflabel{$\tau$}{v1}
    \fmfv{decor.shape=square,d.size=3thick}{i1,i2,o1}
    \fmfv{decor.shape=circle,decor.filled=empty,d.size=3thick}{v1}
    \end{fmfgraph*}}
    \end{fmffile}
\end{center}
\end{document}

相关内容