Debian Codegraph @

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

raw
1 \begin{tikzpicture}
2 \draw[thick] (-.5,0) -- +(13,0);
3 \draw[thick] (-.5,-3) -- +(13,0);
4 \draw[thick] (-.5,-5) -- +(13,0);
5 \drawallelements at (0,0);
6 \drawallelements[shift=0.5] at (0,-3);
7 \drawallelements[shift=-0.5] at (0,-5);
8 \node[anchor=east] at (-.8,0){\texttt{shift=0}};
9 \node[anchor=east] at (-.8,-3){\texttt{shift=0.5}};
10 \node[anchor=east] at (-.8,-5){\texttt{shift=-0.5}};
11 \foreach \y in {0,-3,-5}{
12 \fill[white] (9.5,\y+1) rectangle (12,\y-1);
13 \draw[thick, -] (9.5,\y) -- ++(3.5,0);
14 }
15 \pockelscell at (10.5,0);
16 \pockelscell[shift=0.5] at (10.5,-3);
17 \pockelscell[shift=-0.5] at (10.5,-5);
18
19 \end{tikzpicture}