summaryrefslogtreecommitdiff
path: root/graphics/axodraw2/example.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/axodraw2/example.tex
Initial commit
Diffstat (limited to 'graphics/axodraw2/example.tex')
-rw-r--r--graphics/axodraw2/example.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/axodraw2/example.tex b/graphics/axodraw2/example.tex
new file mode 100644
index 0000000000..c2b6bf8779
--- /dev/null
+++ b/graphics/axodraw2/example.tex
@@ -0,0 +1,18 @@
+\documentclass{article}
+\usepackage{axodraw2}
+\begin{document}
+Example of Feynman graph made by axodraw2:
+\begin{center}
+ \begin{axopicture}(200,110)
+ \SetColor{Red}
+ \Arc[arrow](100,50)(40,0,180)
+ \Text(100,100)[]{$\alpha P_1 + \beta P_2 + k_\perp$}
+ \SetColor{Black}
+ \Arc[arrow](100,50)(40,180,360)
+ \Gluon(0,50)(60,50){5}{4}
+ \Vertex(60,50){2}
+ \Gluon(140,50)(200,50){5}{4}
+ \Vertex(140,50){2}
+ \end{axopicture}
+\end{center}
+\end{document}