User Tools

Site Tools


paper:latex:feynman

Feynman diagran

LaTeX でファインマン・ダイアグラムを書く方法はいくつもあるが,tikz-feynhand を紹介する.
インクルードは以下

\usepackage{tikz-feynhand}

下のようなコードを書くと,

TestFeyn.tex
\begin{figure}[h]
\centering
\begin{tikzpicture}
\begin{feynhand}
\vertex [particle] (inu) at (-2.5, 2.5) {$\nu_l$} ;
\vertex [particle] (fl) at (2.5, 2.5) {$l^{-}$} ;
\vertex [particle] (in) at (-2.5, -1) {$n$} ;
\vertex [particle] (fp) at (2.5, -1) {$p$} ;
\vertex (w1) at (0, 1.5) ;
\vertex (w2) at (0, 0) ;
\propag [fermion] (inu) to (w1) ;
\propag [fermion] (w1) to (fl) ;
\propag [boson] (w1) to [edge label= $W$] (w2) ;
\propag [fermion] (in) to (w2) ;
\propag [fermion] (w2) to (fp) ;
\end{feynhand}
\end{tikzpicture}
\caption{Diagram of CCQE interaction.\label{fig:interaction:ccqe_diagram}}
\end{figure}

この図が描画できる.

User guide が arXiv に載っている.

paper/latex/feynman.txt · Last modified: 2022/04/11 14:31 by odagawa