summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/33-03-29.ltx
blob: 622233fa533fa3cfd92df075f608d7c38b98a364 (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
56
%% 
%%  A DANTE-Edition example
%% 
%%  Example 33-03-29 on page 701.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  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.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\setlength\parindent{0pt}

\usepackage{pst-optexp}
\makeatletter
\def\LCLV@iii{%
  \psframe[fillstyle=solid,fillcolor=black,dimen=outer](-0.12,-0.5)(0,0.5)
  \psframe[fillstyle=solid,fillcolor=gray!50,dimen=outer](0,-0.5)(0.15,0.5)
  \pnode(-0.12,0){\optexp@nodeA}\pnode(0.15,0){\optexp@nodeB}}
\makeatother

\begin{document}
\begin{pspicture}(9,5)
\newOptexpDipole{LCLV}{}
\psset{lens=1.2 0 1}
\pnode(2.4,1){BS1}
\pnode([offset=3]BS1){M1}
\pnode([Xnodesep=5.5]M1){PP}
\pnode(PP|BS1){BS2}
\LCLV[position=0.2, compname=LCLV](BS1)(BS2){LCLV}
\beamsplitter[compname=BS](BS2)(BS1)(M1){BS}
\optretplate(BS1)(M1){P}
\mirror[conn=i-](BS1)(M1)(PP){M}
\lens[position=0.2](M1)(PP){L}
\pinhole(M1)(PP){}
\lens[position=0.2](PP)(M1){L}
\pentaprism[beam](M1)(PP)(BS2){PP}
\beamsplitter(PP)(BS2)(BS1){BS}
\lens(BS2)(BS1){L}
\doveprism[compname=Dove,conn=i-,position=0.27](BS2)(BS1){D}
\drawbeam[conn=b-b]{Dove}{LCLV}
\drawbeam[conn=b-a]{BS}{LCLV}
\psline[arrowscale=1.3, style=Beam]{->}(BS2)([offset=-1]BS2)
\addtopsstyle{Beam}{arrowscale=1.3, ArrowInside=-<}
\optbox[labeloffset=0, endbox, conn=o-](BS1)([Xnodesep=-1]BS1){Nd:YAG}
\end{pspicture}
\end{document}