diff options
author | Karl Berry <karl@freefriends.org> | 2024-06-16 20:27:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-06-16 20:27:25 +0000 |
commit | 72d6b92ed7c6979eb4232bd64f3db7522fbfda8a (patch) | |
tree | e2ee3587c9023db245d799b8c4208daed0c0397b /Master/texmf-dist/tex/generic | |
parent | dd7a3264d8582a354dec86ee3fad44856949c2c0 (diff) |
pst-optic
git-svn-id: svn://tug.org/texlive/trunk@71545 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex b/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex index f145993fc6e..0c06f849b33 100644 --- a/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex +++ b/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex @@ -1,4 +1,4 @@ -%%%% $Id: pst-optic.tex 896 2024-05-17 10:13:27Z herbert $ +%%%% $Id: pst-optic.tex 903 2024-06-02 06:16:43Z herbert $ %% This is file `pst-optic.tex', %% %% IMPORTANT NOTICE: @@ -8,7 +8,7 @@ %% Manuel Luque <Mluque5130@aol.com> (France) %% Herbert Voss <hvoss@tug.org> (Germany) %% -%% 2024-05-17 +%% 2024-06-02 %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives @@ -30,8 +30,8 @@ \ifx\PSTMultidoLoaded\endinput\else\input multido.tex\fi \ifx\PSTXKeyLoaded\endinput\else \input pst-xkey\fi % -\def\fileversion{1.03} -\def\filedate{2024/05/17} +\def\fileversion{1.04} +\def\filedate{2024/06/02} \message{`PST-Optic' v\fileversion, \filedate\space (Manuel Luque and Herbert Voss)} % \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax @@ -798,13 +798,19 @@ \begingroup% \ifPst@lensGlass \rput(! XO YO){% - \ifx\psk@optic@lensType\lensTypeCVG\lensCVG% - \else\ifx\psk@optic@lensType\lensTypePCVG\lensCVG - \else\lensDVG\fi\fi}% - \else% - \ifx\psk@optic@lensType\lensTypeDVG\psset{arrows=>-<}\else - \ifx\psk@optic@lensType\lensTypePDVG\psset{arrows=>-<}\else\psset{arrows=<->} - \fi\fi + \ifx\psk@optic@lensType\lensTypeCVG \lensCVG% + \else\ifx\psk@optic@lensType\lensTypePCVG \lensCVG + \else\lensDVG + \fi\fi}% + \else + \ifx\psk@optic@lensType\lensTypeDVG + \psset{arrows=>-<} + \else + \ifx\psk@optic@lensType\lensTypePDVG + \psset{arrows=>-<}% + \else + \psset{arrows=<->}% + \fi\fi \psline[linecolor=\psk@optic@lensColor, linewidth=\psk@optic@lensWidth,arrowsize=\psk@optic@lensArrowSize, arrowinset=\psk@optic@lensArrowInset]% |