-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiagrams.tex
110 lines (82 loc) · 2.29 KB
/
diagrams.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
\documentclass[12pt, parskip=full]{scrartcl}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.markings}
\tikzset{
quarkline/.style={
decoration={
markings,
mark=at position 0.7 with {\arrow{Latex}},
},
postaction={
decorate,
},
},
meson/.style={
fill,
circle,
inner sep=0.5mm,
},
}
\newcommand\helper[4]{
\node[meson] (A) at (#1) {};
\node[meson] (B) at (#2) {};
\node[meson] (C) at (#3) {};
\node[meson] (D) at (#4) {};
\draw[dashed] (0, -1) node[below] {\small $t_\mathrm{so}$} -- (0, 5);
\draw[dashed] (1, -1) node[below] {\small $t_\mathrm{so}+1$} -- (1, 5);
\draw[dashed] (5, -1) node[below] {\small $t_\mathrm{si}$} -- (5, 5);
\draw[dashed] (6, -1) node[below] {\small $t_\mathrm{si}+1$} -- (6, 5);
}
\newcommand\jitter[1]{
\begin{tikzpicture}
#1{0, 4}{5, 4}{0, 0}{5, 0}
\end{tikzpicture}
\begin{tikzpicture}
#1{0, 4}{6, 4}{0, 0}{6, 0}
\end{tikzpicture}
\begin{tikzpicture}
#1{1, 4}{5, 4}{1, 0}{5, 0}
\end{tikzpicture}
\begin{tikzpicture}
#1{1, 4}{6, 4}{1, 0}{6, 0}
\end{tikzpicture}
}
\newcommand\diagrammCross[4]{
\helper{#1}{#2}{#3}{#4}
\draw[quarkline] (A) -- (B);
\draw[quarkline] (B) -- (C);
\draw[quarkline] (C) -- (D);
\draw[quarkline] (D) -- (A);
}
\newcommand\diagrammBox[4]{
\helper{#1}{#2}{#3}{#4}
\draw[quarkline] (A) -- (B);
\draw[quarkline] (B) -- (D);
\draw[quarkline] (D) -- (C);
\draw[quarkline] (C) -- (A);
}
\newcommand\diagrammDirect[4]{
\helper{#1}{#2}{#3}{#4}
\draw[quarkline, out=20, in=160] (A) to (B);
\draw[quarkline, out=-160, in=-20] (B) to (A);
\draw[quarkline, out=20, in=160] (C) to (D);
\draw[quarkline, out=-160, in=-20] (D) to (C);
}
\newcommand\diagrammVaccum[4]{
\helper{#1}{#2}{#3}{#4}
\draw[quarkline, out=290, in=70] (A) to (C);
\draw[quarkline, out=110, in=250] (C) to (A);
\draw[quarkline, out=290, in=70] (B) to (D);
\draw[quarkline, out=110, in=250] (D) to (B);
}
\begin{document}
\section{Cross}
\jitter\diagrammCross
\section{Box}
\jitter\diagrammBox
\section{Direct}
\jitter\diagrammDirect
\section{Vacuum}
\jitter\diagrammVaccum
\end{document}