![](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}
这个宏包需要使用lualatex进行编译
一周热门 更多>