Debian Codegraph @

texmf-dist/doc/latex/optikz/optikz_doc_code/doc_optical_elements.tex

raw
1 \begin{tikzpicture}
2 % \draw[step=1cm, opacity=0.1] (0,0) grid (10cm,10cm);
3
4 \begin{scope}[shift={(0,13.5)}]
5 \BScrystal at (0,0);
6 \BScrystal[angle=45] at (2,0);
7 \BScrystal[width=0.6] at (4,0);
8 \BScrystal[thickness=0.6] at (6,0);
9 \BScrystal[color=green] at (8,0);
10 \BScrystal[angle=45, width=0.6, color=green] at (10,0);
11 \end{scope}
12
13 \begin{scope}[shift={(0,12)}]
14 \mirror at (0,0);
15 \mirror[angle=45] at (2,0);
16 \mirror[width=0.6] at (4,0);
17 \mirror[thickness=0.6] at (6,0);
18 \mirror[color=green] at (8,0);
19 \mirror[angle=45, width=0.6, color=green] at (10,0);
20 \end{scope}
21
22 \begin{scope}[shift={(0,10.5)}]
23 \splitter at (0,0);
24 \splitter[angle=45] at (2,0);
25 \splitter[width=0.6] at (4,0);
26 \splitter[thickness=0.6] at (6,0);
27 \splitter[color=green] at (8,0);
28 \splitter[angle=45, width=0.6, color=green] at (10,0);
29 \end{scope}
30
31 \begin{scope}[shift={(0,9)}]
32 \curvedmirror at (0,0);
33 \curvedmirror[angle=45] at (2,0);
34 \curvedmirror[width=0.6] at (4,0);
35 \curvedmirror[thickness=0.6] at (6,0);
36 \curvedmirror[color=green] at (8,0);
37 \curvedmirror[angle=45, width=0.6, color=green] at (10,0);
38 \end{scope}
39
40 \begin{scope}[shift={(0,7.5)}]
41 \convexmirror at (0,0);
42 \convexmirror[angle=45] at (2,0);
43 \convexmirror[width=0.6] at (4,0);
44 \convexmirror[thickness=0.6] at (6,0);
45 \convexmirror[color=green] at (8,0);
46 \convexmirror[angle=45, width=0.6, color=green] at (10,0);
47 \end{scope}
48
49 \begin{scope}[shift={(0,6)}]
50 \concavelens at (0,0);
51 \concavelens[angle=45] at (2,0);
52 \concavelens[width=0.6] at (4,0);
53 \concavelens[thickness=0.6] at (6,0);
54 \concavelens[color=green] at (8,0);
55 \concavelens[angle=45, width=0.6, color=green] at (10,0);
56 \end{scope}
57
58 \begin{scope}[shift={(0,4.5)}]
59 \convexlens at (0,0);
60 \convexlens[angle=45] at (2,0);
61 \convexlens[width=0.6] at (4,0);
62 \convexlens[thickness=0.6] at (6,0);
63 \convexlens[color=green] at (8,0);
64 \convexlens[angle=45, width=0.6, color=green] at (10,0);
65 \end{scope}
66
67 \begin{scope}[shift={(0,3)}]
68 \planconvexlens at (0,0);
69 \planconvexlens[angle=45] at (2,0);
70 \planconvexlens[width=0.6] at (4,0);
71 \planconvexlens[thickness=0.6] at (6,0);
72 \planconvexlens[color=green] at (8,0);
73 \planconvexlens[angle=45, width=0.6, color=green] at (10,0);
74 \end{scope}
75
76 \begin{scope}[shift={(0,1.5)}]
77 \grating at (0,0);
78 \grating[angle=45] at (2,0);
79 \grating[width=0.6] at (4,0);
80 \grating[thickness=0.6] at (6,0);
81 \grating[color=green] at (8,0);
82 \grating[angle=45, width=0.6, color=green] at (10,0);
83 \end{scope}
84
85 \begin{scope}[shift={(0,0)}]
86 \parabola at (0,0);
87 \parabola[angle=45] at (2,0);
88 \parabola[width=0.6] at (4,0);
89 \parabola[thickness=0.6] at (6,0);
90 \parabola[color=green] at (8,0);
91 \parabola[angle=45, width=0.6, color=green] at (10,0);
92 \end{scope}
93
94
95 \foreach\x in {0,1.5,3,...,12}\draw[thick, -{latex}] (-.7,\x) -- (0,\x);
96
97 \node[rotate=-40,anchor=west] (A) at (0,-1){\tiny\verb!\XXX at (x,y);!};
98 \node[rotate=-40,anchor=west] (A) at (2,-1){\tiny\verb!\XXX[angle=45] at (x,y);!};
99 \node[rotate=-40,anchor=west] (A) at (4,-1){\tiny\verb!\XXX[width=0.6] at (x,y);!};
100 \node[rotate=-40,anchor=west] (A) at (6,-1){\tiny\verb!\XXX[thickness=0.6] at (x,y);!};
101 \node[rotate=-40,anchor=west] (A) at (8,-1){\tiny\verb!\XXX[color=green] at (x,y);!};
102
103 \node at (0,15){\verb!standard!};
104 \node at (2,15){\verb!angle!};
105 \node at (4,15){\verb!width!};
106 \node at (6,15){\verb!thickness!};
107 \node at (8,15){\verb!color!};
108 % \node[rotate=-40,anchor=west] (A) at (10,-1){\tiny\verb!\XXX[angle=45, width=0.6, thickness=0.6, color=green] at (x,y);!};
109
110 \node[anchor=west] (A) at (-5,13.5){\verb!\BScrystal!};
111 \node[anchor=west] (A) at (-5,12){\verb!\mirror!};
112 \node[anchor=west] (A) at (-5,10.5){\verb!\splitter!};
113 \node[anchor=west] (A) at (-5,9){\verb!\curvedmirror!};
114 \node[anchor=west] (A) at (-5,7.5){\verb!\convexmirror!};
115 \node[anchor=west] (A) at (-5,6.0){\verb!\concavelens!};
116 \node[anchor=west] (A) at (-5,4.5){\verb!\convexlens!};
117 \node[anchor=west] (A) at (-5,3.0){\verb!\planconvexlens!};
118 \node[anchor=west] (A) at (-5,1.5){\verb!\grating!};
119 \node[anchor=west] (A) at (-5,0){\verb!\parabola!};
120
121 \end{tikzpicture}