blob: 42c24203a3c3c3bf2587e5ca83bfac7149bc2d32 (
plain)
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
|
%%
%% The LaTeX Graphics Companion, 2ed (first printing May 2007)
%%
%% Example 8-6-8 on page 582.
%%
%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\StartShownPreambleCommands
\usepackage[basic,optics]{circ}
\StopShownPreambleCommands
\begin{document}
\begin{circuit}{0}
\nl\Laser1 {} r % laser
\oa 2 r % optical axis
\Polar1 {} r % polarizer
\oa 2 r
\nl\OM1 P1 {} {} {} {} h % optical modulator
\atpin OM1P3
\oa 4 r
\cc\BLens1 {} r % first lens
\oa 2 r
\nl\Pinhole1 {} r % pinhole
\oa 7 r
\cc\SLens2 {} r % second lens
\oa 1 r
\Polar2 {} r % analyzer
\oa 3 r
\oa 3 r
\nl\BSplit1 {} + d % beam splitter
\atpin BSplit1+ % continue drawing right
\oa 2 r
\nl\Cam1 {camera} . r % camera
\atpin BLens1: \shift 0 2 \P3 % mark middle of first lens
\atpin Pinhole1: \shift 0 2 \P4 % mark middle of pinhole
\atpin SLens2: \shift 0 2 \P5 % mark middle of second lens
\Dtext{\small $f_1$} from P3 to P4 % f_1
\Dtext{\small $f_2$} from P4 to P5 % f_2
\atpin BSplit1. % second part of beam down
\oa 5 d
\Mirror1 {} * R % mirror
\oa 2 r
\nl\ScrL1 {screen} h % white screen
\end{circuit}
\end{document}
|