diff options
author | Karl Berry <karl@freefriends.org> | 2011-02-24 23:36:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-02-24 23:36:18 +0000 |
commit | 2a886fbce3b9f2ed32e02e952d4b300e6e3dd7b4 (patch) | |
tree | 1e795c05f0261278a6d0889ad79c977485ec6e5c /Master/texmf-dist/doc/latex/pstricks-examples/25-03-24.ltx | |
parent | 9b3b61b4613379d47f4dc1700f76efc1c1dbfced (diff) |
new german doc pstricks examples (23feb11)
git-svn-id: svn://tug.org/texlive/trunk@21511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/25-03-24.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples/25-03-24.ltx | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/25-03-24.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/25-03-24.ltx new file mode 100644 index 00000000000..22f1d45cb6e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples/25-03-24.ltx @@ -0,0 +1,59 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% +%% Copyright (C) 2010 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{550.0pt} +\setlength\parindent{0pt} +\StartShownPreambleCommands +\usepackage{pst-optic} +\StopShownPreambleCommands +\begin{document} +\begin{pspicture}(-7,0)(13,6) + \pnode(-6,1){A}\pnode(-2,1){B}\pnode(-4,5){C} + \uput[-135](A){A}\uput[-45](B){B}\uput[30](C){C} + \pnode(12.5,0.5){E1}\pnode(12.5,5.5){E2} + \psframe[fillcolor=lightgray,fillstyle=solid](E1)(12.75,5.5) + \pspolygon[fillcolor=lightgray,fillstyle=solid,linecolor=blue](A)(B)(C) + \psset{linecolor=black,linewidth=2pt,arrowsize=5pt,arrows=->} + \pnode(-7,1){P1}\pnode(-6,2){P2} + \ABinterCD(P1)(P2)(C)(A){END} \arrowLine(P1)(END){2} +% + \psset{linecolor=blue,linewidth=0.5pt,arrowsize=2pt} + \refractionRay(P1)(P2)(C)(A){1}{1.528}{END} + \ABinterCD(END)(END')(C)(B){Out} \arrowLine(END)(Out){1} + \refractionRay(END)(Out)(C)(B){1.528}{1}{Q}\psline(Q)(Q') + \ABinterCD(Q)(Q')(E1)(E2){END}\arrowLine(Q)(END){4}\qdisk(END){1.5pt} +% + \psset{linecolor=green} + \refractionRay(P1)(P2)(C)(A){1}{1.523}{END} + \ABinterCD(END)(END')(C)(B){Out}\arrowLine(END)(Out){1} + \refractionRay(END)(Out)(C)(B){1.523}{1}{Q}\psline(Q)(Q') + \ABinterCD(Q)(Q')(E1)(E2){END}\arrowLine(Q)(END){4}\qdisk(END){1.5pt} +% + \psset{linecolor=yellow} + \refractionRay(P1)(P2)(C)(A){1}{1.517}{END} + \ABinterCD(END)(END')(C)(B){Out}\arrowLine(END)(Out){1} + \refractionRay(END)(Out)(C)(B){1.517}{1}{Q}\psline(Q)(Q') + \ABinterCD(Q)(Q')(E1)(E2){END}\arrowLine(Q)(END){4}\qdisk(END){1.5pt} +% + \psset{linecolor=red} + \refractionRay(P1)(P2)(C)(A){1}{1.511}{END} + \ABinterCD(END)(END')(C)(B){Out}\arrowLine(END)(Out){1} + \refractionRay(END)(Out)(C)(B){1.511}{1}{Q}\psline(Q)(Q') + \ABinterCD(Q)(Q')(E1)(E2){END}\arrowLine(Q)(END){4}\qdisk(END){1.5pt} +\end{pspicture} +\end{document} |