-
Notifications
You must be signed in to change notification settings - Fork 1
/
HiSPARC_header.tex
69 lines (59 loc) · 1.99 KB
/
HiSPARC_header.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
\documentclass[a4paper,11pt]{article}
\usepackage{a4wide}
\usepackage{tikz}
\pgfrealjobname{tikzfig}
\usetikzlibrary{calc,positioning}
\usepackage{layout}
\begin{document}
\begin{center}
\beginpgfgraphicnamed{HiSPARC_header}
\begin{tikzpicture}
\node (logo) [scale=.3]{
\begin{tikzpicture}
[ draw/.append style={line width=1.5mm,line cap=round},
ground/.style={yscale=.5,rotate=-18,transform shape},
station/.style={draw,circle,inner sep=.2cm},
hit/.style={fill=black},
datanet/.style={line width=1.5mm},
]
\begin{scope}[ground]
\coordinate (center) at (0,0) {};
\foreach \i in {0,1,...,4} {
\ifnum \i=2
\else
\ifnum \i=0
\node[station] (station-\i) at (\i*360/5:1cm) {};
\else
\node[station,hit] (station-\i) at (\i*360/5:1cm) {};
\fi
\draw[datanet] (center) -- (station-\i);
\fi
}
\end{scope}
\coordinate (A) at ($ (station-4) + (115:5cm) $);
\coordinate (B) at ($ (station-1) + (133:5cm) $);
\coordinate (B') at (intersection of station-1--B and station-4--A);
\coordinate (C) at ($ (station-3) + (95:5cm) $);
\coordinate (C') at (intersection of station-3--C and station-4--A);
\draw (station-4) -- (A);
\draw (station-1) -- (B');
\draw (station-3) -- (C');
\coordinate (C1) at ($ (station-3)!.6!(C') $);
\draw (C1) -- ($ (C1)!5mm!-30:(station-3) $);
\coordinate (A1) at ($ (station-4)!.35!(A) $);
\draw (A1) -- ($ (A1)!5mm!-30:(station-4) $);
\coordinate (A2) at ($ (station-4)!.25!(A) $);
\draw (A2) -- ($ (A2)!5mm!30:(station-4) $);
\coordinate (B1) at ($ (station-1)!.5!(B') $);
\draw (B1) -- ($ (B1)!5mm!-30:(station-1) $);
\coordinate (B2) at ($ (station-1)!.35!(B') $);
\draw (B2) -- ($ (B2)!5mm!30:(station-1) $);
\coordinate (T) at ($ (A)!7mm!(station-4) $);
\coordinate (T3) at ($ (T) + (0,-10mm) $);
\draw (T) -- (T3);
\end{tikzpicture}};
\node [base right=0pt of logo] {\textsf{\Huge{HiSPARC}}};
\end{tikzpicture}
\endpgfgraphicnamed
\end{center}
\end{document}