费曼图编译问题?使用的是2019版本的texlive

2019-12-11 15:36发布

![](https://pics.latexstudio.net/data/images/201912/9e651f64212fc7d.png) %!TEX program=pdflatex \doc...

![](https://pics.latexstudio.net/data/images/201912/9e651f64212fc7d.png) %!TEX program=pdflatex \documentclass[a4paper,12pt,openany]{article} \usepackage[left=1.25in,right=1.25in,top=1in,bottom=1in]{geometry} \usepackage{amsmath,array,amssymb,framed,pstricks,xcolor,xspace} \usepackage{tikz-feynman} \usepackage[framed,amsmath,thmmarks]{ntheorem} \usepackage[utf8]{inputenc} \usepackage{fontenc} \usepackage[colorlinks,linkcolor=blue]{hyperref} \DeclareFixedFont{\tnrm}{OT1}{ptm}{m}{n}{12pt} \linespread{1.25} \begin{document} \begin{tikzpicture} \feynmandiagram [horizontal= a to b]{ i1 -- [fermion] a -- [fermion] i2, a -- [photon] b, f1 -- [fermion] b -- [fermion] f2, }; \end{tikzpicture} \end{document}