Jaxodraw LaTex 导出在编译后未生成任何图形

Jaxodraw LaTex 导出在编译后未生成任何图形

我正在使用 jaxodraw 绘制费曼图。

我的问题是,一旦我在包含 jaxodraw 导出的代码的文件中运行 pdflatex,我只会得到标签,而没有图表。我看到这里提到了类似的问题 使用 jaxodraw-2.1-0 绘制费曼图 但那里提到的解决方案对我来说也不起作用。我尝试按照那里建议的步骤进行编译,但没有帮助。

这是我的 .tex 文件:

\documentclass[a4paper]{article}

\usepackage{axodraw4j}
\usepackage{pstricks}
\usepackage{color}

\setlength{\oddsidemargin}{0pt}
\setlength{\evensidemargin}{0pt}
\setlength{\topmargin}{0pt}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\topskip}{0pt}
\setlength{\footskip}{0pt}
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-2in}
\setlength{\textheight}{\paperheight}
\addtolength{\textheight}{-2in}

\pagestyle{empty}



\begin{document}

%%JaxoComment:
%%JaxoScale{1.0}


\begin{center}
\fcolorbox{white}{white}{
  \begin{picture}(274,98) (191,-183)
    \SetWidth{1.0}
    \SetColor{Black}
    \Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](192,-94)(272,-94)
    \Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](272,-94)(272,-174)
    \Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](272,-174)(192,-174)
    \Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](384,-94)(464,-94)
    \Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](384,-94)(384,-174)
    \Line[arrow,arrowpos=0.5,arrowlength=5,arrowwidth=2,arrowinset=0.2](464,-174)(384,-174)
    \Photon(272,-94)(384,-94){7.5}{6}
    \Photon(272,-174)(384,-174){7.5}{6}
    \Text(304,-110)[lb]{\Large{\Black{$W^-$}}}
    \Text(400,-142)[lb]{\Large{\Black{$\nu_l$}}}
  \end{picture}
}
\end{center}

\end{document}

相关内容