summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/32-03-15.ltx
blob: 9c0b0d0a241376692f8af83f5fd318530db84b4b (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 32-03-15 auf Seite 732.
%% 
%%  Copyright (C) 2016 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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pst-optic}
%StopShownPreambleCommands
\begin{document}
\begin{pspicture}(-7.5,-5.5)(7.5,3) \rput(0,0){%
 \lens[focus=1.5,OA=-2,AB=0.5,XO=-5,lensGlass=true,lensWidth=0.4,yBottom=-4,
       yTop=4,drawing=false,lensScale=0.4,nameF=F_1,nameFi=F'_1]
 \psline[linewidth=1pt](xLeft)(xRight)}
\pnode(! XO 1){UPlens1} \pnode(! XO -1){DOWNlens1} \Transform
\rput(0,0){%
 \lens[focus=2,XO=3,lensGlass=true,lensWidth=0.4,yBottom=-4,yTop=4,drawing=false,
       nameF=F_2,nameFi=F'_2,spotF=90,spotFi=90]}
 \psline{->}(A1)(B1)\psline{->}(A'1)(B'1)\uput[270](A1){A}\uput[90](B1){B}
 \uput[270](B'1){$\mathrm{B_1}$}\uput{0.7}[90](A'1){$\mathrm{A_1}$}
 {\psset{linecolor=red}
  \rayInterLens(I11)(B'1){3}{Inter1L2}\rayInterLens(B1)(O1){3}{Inter2L2}
  \rayInterLens(UPlens1)(B'1){3}{Inter3L2}\rayInterLens(DOWNlens1)(B'1){3}{Inter4L2}
  \psline(B1)(I11)(B'1)(Inter1L2)  \psline(B1)(Inter2L2)
  \psline(B1)(UPlens1)(Inter3L2)   \psline(B1)(DOWNlens1)(Inter4L2)  \psset{length=5}
  \Parallel(B'1)(O)(Inter3L2){B1inftyRigth}\Parallel(B'1)(O)(Inter4L2){B2inftyRigth}
  \Parallel(B'1)(O)(Inter2L2){B3inftyRigth}\Parallel(B'1)(O)(Inter1L2){B3inftyRigth}
  {\psset{length=-5,linestyle=dashed}
   \Parallel(B'1)(O)(Inter3L2){B1inftyLeft}\Parallel(B'1)(O)(Inter4L2){B2inftyLeft}
   \Parallel(B'1)(O)(Inter2L2){B3inftyLeft}\Parallel(B'1)(O)(Inter1L2){B3inftyLeft}
   \pcline[nodesep=6](B'1)(O)}
   \pspolygon[style=rayuresJaunes,linestyle=none](B1)(UPlens1)(Inter3L2)%
     (B1inftyRigth)(B2inftyRigth)(Inter4L2)(DOWNlens1)
   \psline(B1)(UPlens1)(Inter3L2)(B1inftyRigth)
   \psline(B2inftyRigth)(Inter4L2)(DOWNlens1)(B1) }
  \rput(7,0){\eye}
\end{pspicture}
\end{document}