-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparticles.tex
98 lines (78 loc) · 4.72 KB
/
particles.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
\documentclass{standalone}
% some latex math standards
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
% Enable Unicode-Math and follow the ISO-Standards for typesetting math
\usepackage[
math-style=ISO,
bold-style=ISO,
sans-style=italic,
nabla=upright,
partial=upright,
]{unicode-math}
% my favorite fonts
\setmainfont{Libertinus Serif}
\setsansfont{Libertinus Sans}
\setmonofont{Libertinus Mono}
\setmathfont{Libertinus Math}
% nice, small fracs for the text with \sfrac{}{}
\usepackage{xfrac}
% numbers and units
\usepackage[
locale=US,
binary-units=true,
separate-uncertainty=true,
per-mode=symbol-or-fraction,
]{siunitx}
% tikz ist kein zeichenprogramm!
\usepackage{tikz}
\usetikzlibrary{calc}
% to use modern macro declare syntax
\usepackage{xparse}
% the used colors
\definecolor{lhcb1}{HTML}{1f77b4}
\definecolor{lhcb2}{HTML}{ff7f0e}
\definecolor{lhcb3}{HTML}{2ca02c}
\NewDocumentCommand{\particle}{sO{} mm mm m O{black}}{%
\begin{tikzpicture}[x=0.8cm, y=0.8cm]
\draw[rounded corners=0.1cm, thick, color=#8] (-1, -1) -- (-1, 1) -- (1, 1) -- (1, -1) -- cycle;
\node[font=\tiny, anchor=north west] (#2mass) at (-1, 1) {#7};
\node[font=\tiny, anchor=north east, yshift=0.19cm] (#2spin) at (1, -.1) {#6};
\node[font=\tiny, anchor=south east, yshift=0.19cm] (#2charge) at (1, -.15) {#5};
\node[anchor=base west] (#2symbol) at (-.8, 0) {$\symbf{#4}$};
\node[align=left, anchor=base west, execute at begin node=\setlength{\baselineskip}{.8em}, font=\small] (#2name) at \IfBooleanTF{#1}{(-1, -0.9)}{(-1, -0.65)} {#3};
\end{tikzpicture}
}
\begin{document}
\begin{tikzpicture}[>=latex]
% quarks
\node (up) at (0, 0) {\particle[up]{up}{u}{$\sfrac{2}{3}$}{$\sfrac{1}{2}$}{$\SI{2.16}{\mega\electronvolt}$}[lhcb2]};
\node[anchor=north, yshift=0.1cm] (down) at (up.south) {\particle[down]{down}{d}{$-\sfrac{1}{3}$}{$\sfrac{1}{2}$}{$\SI{4.67}{\mega\electronvolt}$}[lhcb2]};
\node[anchor=west, xshift=-.1cm] (charm) at (up.east) {\particle[charm]{charm}{c}{$\sfrac{2}{3}$}{$\sfrac{1}{2}$}{$\SI{1.27}{\giga\electronvolt}$}[lhcb2]};
\node[anchor=north, yshift=0.1cm] (strange) at (charm.south) {\particle[strange]{strange}{s}{$-\sfrac{1}{3}$}{$\sfrac{1}{2}$}{$\SI{93}{\giga\electronvolt}$}[lhcb2]};
\node[anchor=west, xshift=-.1cm] (top) at (charm.east) {\particle[top]{top}{t}{$\sfrac{2}{3}$}{$\sfrac{1}{2}$}{$\SI{172}{\giga\electronvolt}$}[lhcb2]};
\node[anchor=north, yshift=0.1cm] (bottom) at (top.south) {\particle[bottom]{bottom}{b}{$-\sfrac{1}{3}$}{$\sfrac{1}{2}$}{$\SI{4.18}{\giga\electronvolt}$}[lhcb2]};
% Leptons
\node[anchor=north, yshift=-.1cm] (electron) at (down.south) {\particle[e]{electron}{e}{$-1$}{$\sfrac{1}{2}$}{$\SI{0.511}{\mega\electronvolt}$}[lhcb1]};
\node[anchor=west, xshift=-.1cm] (myon) at (electron.east) {\particle[mu]{muon}{\mu}{$-1$}{$\sfrac{1}{2}$}{$\SI{105}{\mega\electronvolt}$}[lhcb1]};
\node[anchor=west, xshift=-.1cm] (tauon) at (myon.east) {\particle[tau]{tauon}{\tau}{$-1$}{$\sfrac{1}{2}$}{$\SI{1.78}{\giga\electronvolt}$}[lhcb1]};
\node[anchor=north, yshift=0.1cm] (eneutrino) at (electron.south) {\particle*[tau]{electron\\ neutrino}{\nu_{e}}{$0$}{$\sfrac{1}{2}$}{$0$}[lhcb1]};
\node[anchor=north, yshift=0.1cm] (mneutrino) at (myon.south) {\particle*[tau]{muon\\ neutrino}{\nu_\mu}{$0$}{$\sfrac{1}{2}$}{$0$}[lhcb1]};
\node[anchor=north, yshift=0.1cm] (tneutrino) at (tauon.south) {\particle*[tau]{tau\\ neutrino}{\nu_\tau}{$0$}{$\sfrac{1}{2}$}{$0$}[lhcb1]};
% Bosons
\node[anchor=west, xshift=0.1cm] (photon) at (tauon.east) {\particle[photon]{photon}{\gamma}{$0$}{$1$}{$0$}[lhcb3]};
\node[anchor=north, yshift=.1cm] (W) at (photon.south) {\particle[W]{W-boson}{W^\pm}{$\pm1$}{$1$}{$\SI{80.4}{\giga\electronvolt}$}[lhcb3]};
\node[anchor=west, xshift=-.1cm] (Z) at (W.east) {\particle[Z]{Z-boson}{Z^0}{$0$}{$1$}{$\SI{91.2}{\giga\electronvolt}$}[lhcb3]};
\node[anchor=west, xshift=-.1cm] (gluon) at (photon.east) {\particle[g]{gluon}{g}{$0$}{$1$}{$0$}[lhcb3]};
\node[anchor=north west, xshift=0.9cm] (higgs) at (top.east) {\particle[H]{Higgs}{H}{$0$}{$1$}{$\SI{125}{\giga\electronvolt}$}[lhcb3]};
% Legend
\draw[<-] ($(higgs)+(Hmass.east)$)--+(1cm, 0)node[anchor=west, font=\small, yshift=.08cm] {$m c^2$};
\draw[<-] ($(higgs)+(Hcharge.east)+(-.1, 0)$)--++(.2cm, 0)--++(.1cm, -.2cm)--++(.18cm, -.0)node[anchor=west, font=\small] {charge / $\symup{e}$};
\draw[<-] ($(higgs)+(Hspin.east)+(-.1, 0)$)--++(.2cm, 0)--++(.15cm, -.3cm)--++(.13cm, 0)node[anchor=west, font=\small] {spin / $\hbar$};
\node[anchor=south] (f1) at (up.north){I};
\node[anchor=south] (f2) at (charm.north){II};
\node[anchor=south] (f3) at (top.north){III};
\end{tikzpicture}
\end{document}