summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-14.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-14.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-14.ltx55
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-14.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-14.ltx
new file mode 100644
index 00000000000..5fc3dfef44b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-14.ltx
@@ -0,0 +1,55 @@
+%%
+%% A DANTE-Edition example
+%%
+%% Example 33-03-14 on page 690.
+%%
+%% 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-optic,graphicx}
+
+\begin{document}
+\resizebox{\linewidth}{!}{\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}