summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-10-28 20:26:54 +0000
committerKarl Berry <karl@freefriends.org>2024-10-28 20:26:54 +0000
commit0e7c0eb0861863c67fa080b701af7322f8ba76c7 (patch)
treeed914549bbe267a7fca421fccf2b1d965bdfb570 /Master/texmf-dist/doc/generic
parent69fea17c8e671b6beff284cdeb0b05e9bd265f07 (diff)
pst-optic (28oct24)
git-svn-id: svn://tug.org/texlive/trunk@72694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pst-optic/Changes1
-rw-r--r--Master/texmf-dist/doc/generic/pst-optic/README5
-rw-r--r--Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib1
-rw-r--r--Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdfbin518230 -> 531736 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex26
5 files changed, 24 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-optic/Changes b/Master/texmf-dist/doc/generic/pst-optic/Changes
index e51864d8487..f5d28372a2d 100644
--- a/Master/texmf-dist/doc/generic/pst-optic/Changes
+++ b/Master/texmf-dist/doc/generic/pst-optic/Changes
@@ -1,4 +1,5 @@
---- pst-optic.tex
+1.05 2024-10-28 - added individueal color setting for the focal, center amd parallel beam
1.04 2024-06-02 - small fixes to code and documentation
1.03 2024-05-17 - small fixes to code and documentation
1.02a 2023-05-07 - fix documentation for \psRefractionRay
diff --git a/Master/texmf-dist/doc/generic/pst-optic/README b/Master/texmf-dist/doc/generic/pst-optic/README
index 0f339520228..2fe9d76fc76 100644
--- a/Master/texmf-dist/doc/generic/pst-optic/README
+++ b/Master/texmf-dist/doc/generic/pst-optic/README
@@ -3,7 +3,7 @@
%% Manuel Luque <Mluque5130@aol.com> (France)
%% Herbert Voss <hvoss@tug.org> (Germany)
%%
-%% 2024-06-02
+%% 2024-10-28
%%
Save the files
@@ -21,6 +21,5 @@ dvips pst-optic-doc.dvi
to get a PostScript file. But pay attention, that the pst-optic
files are saved in the above mentioned way, before you run
-latex on the documentation file. Or simply use lualatex to get
-directly the pdf.
+latex on the documentation file.
diff --git a/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib b/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib
index 6eea9647803..d906cfcd471 100644
--- a/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib
@@ -105,7 +105,6 @@
altnumber = 14,
month = mar,
pages = {40--47},
- annote = bretter,
abstract = { \PS, faktisch genauso alt wie {\TeX}, ist im
Verh{\"a}ltnis dazu allgemein noch weniger bekannt, wenn es
darum geht zu beurteilen, was es denn nun im eigentlichen
diff --git a/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdf b/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdf
index 182863a16ef..4a4002f4769 100644
--- a/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex b/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex
index 5ec11a0297a..2af432ab370 100644
--- a/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-optic-doc.tex 903 2024-06-02 06:16:43Z herbert $
+%% $Id: pst-optic-doc.tex 1019 2024-10-28 07:59:50Z herbert $
\DocumentMetadata{}
\documentclass[11pt,english,bibliography=totoc,parskip=false,headings=small,
@@ -69,7 +69,7 @@ Table~\ref{tab:defaultLens} and \ref{tab:defaultSpiegel}.
Node A as string & \Lkeyword{nameA} & A\\
Angle A in degrees & \Lkeyword{spotA} & 270\\
Node B as string & \Lkeyword{nameB} & B\\
- Angle B in degrees & \Lkeyword{spotB} & 270\\
+ Angle B in degrees & \Lkeyword{spotB} & 90\\
Node F as string & \Lkeyword{nameF} & F\\
Angle F in degrees & \Lkeyword{spotF} & 270\\
Node O as string & \Lkeyword{nameO} & O\\
@@ -144,7 +144,21 @@ There are macros for the convergent and divergent lens
% \fill[fillstyle=solid,fillcolor=BleuVerre]
-The predefined options for \Lcs{lens} are \texttt{xLeft=-7.5, xRight=7.5, yBottom=-3, yTop=3}.
+The predefined options for \Lcs{lens} are \texttt{xLeft=-7.5, xRight=7.5,
+yBottom=-3, yTop=3}. The default color for the rays is red, which can be changed
+with the key \Lkeyword{raycolor}. An individual color setting is possible
+for the focal, center, and parallel ray with the keywords:
+\Lkeyword{parallelrayColor},
+\Lkeyword{focalrayColor},
+and \Lkeyword{centerrayColor}
+
+
+\begin{LTXexample}
+\begin{pspicture*}(-5,-3)(5,3)
+\rput(0,0){\lens[lensType=DVG, parallelrayColor=blue, focalrayColor=red!80!blue!30,
+ centerrayColor=green, lensScale=1,focus=1,OA=-3,lensGlass,lensWidth=0.5]}
+\end{pspicture*}
+\end{LTXexample}
\subsection{Short forms}
@@ -230,7 +244,8 @@ Using \Lcs{lens}\OptArg{\Lkeyword{lensType}=\ldots} gives the in figures \ref{fi
\caption{Available options for lenses with the defaults}\label{tab:defaultLens}
\begin{tabular}{@{} l l l @{}}
\emph{Option} & \emph{Name} & \emph{Default}\\\hline
- Lense type (\Lkeyval{CVG}|\Lkeyval{DVG}|\Lkeyval{PCVG}|\Lkeyval{PDVG}) & \Lkeyword{lensType} & \Lkeyval{CVG}\\
+ Lense type (\Lkeyval{CVG}|\Lkeyval{DVG}|\Lkeyval{PCVG}|\Lkeyval{PDVG})
+ & \Lkeyword{lensType} & \Lkeyval{CVG}\\
Lense height in cm & \Lkeyword{lensHeight} & 5cm\\
Lense width in cm & \Lkeyword{lensWidth} & 0.5cm\footnotemark\\
vertical scale (obsolet) & \Lkeyword{lensScale} & 1\\
@@ -244,7 +259,8 @@ Using \Lcs{lens}\OptArg{\Lkeyword{lensType}=\ldots} gives the in figures \ref{fi
Arrow length in cm & \Lkeyword{lensArrowSize}${}^2$ & 0.2\\
Arrow inset in cm & \Lkeyword{lensArrowInset}${}^2$ & 0.5\\
\end{tabular}
-\footnotetext{\textsuperscript{1} only for \Lkeyset{lensGlass=true}, otherwise set to \texttt{2\textbackslash pslinewidth}}
+\footnotetext{\textsuperscript{1} only for \Lkeyset{lensGlass=true},
+otherwise set to \texttt{2\textbackslash pslinewidth}}
\footnotetext{\textsuperscript{2} only for \Lkeyset{lensGlass=false}}
\end{minipage}
\end{table}