summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex')
-rw-r--r--graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex46
1 files changed, 27 insertions, 19 deletions
diff --git a/graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex b/graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex
index 48cfcfc14e..3ce19617c0 100644
--- a/graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex
+++ b/graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex
@@ -1,4 +1,6 @@
%% $Id: pstricks-add-doc.tex 1142 2020-02-12 19:07:50Z herbert $
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{}
%
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,oneside]{pst-doc}
@@ -12,15 +14,13 @@
%}
\makeatother
-\usepackage{siunitx}
+\usepackage{siunitx,iftex}
\sisetup{add-decimal-zero,
round-mode=places,
round-precision=2,
output-decimal-marker={,},
detect-all}
-
-
%\input{data/pstricks-add-doc.data}
%\usepackage{pstricks-add}
@@ -40,7 +40,14 @@
\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}},
escapechar=§}
-\def\bgImage{\includegraphics{data/olympic}}
+\def\bgImage{%\includegraphics{data/olympic}
+ \begin{pspicture}(-4.5,-3)(4.5,1.5)
+ \psOlympicRings[bgcolor=lightgray](0,0)
+ \psOlympicRings[bgcolor=lightgray,psscale=0.2](1.5,-1.5)
+ \psOlympicRings[bgcolor=lightgray,psscale=0.2](-1.5,-1.5)
+ \psOlympicRings[bgcolor=lightgray,psscale=0.2](0,0.5)
+ \end{pspicture}%
+}
\iffalse
\psset{unit=1.5}
@@ -68,7 +75,7 @@
\author{Dominique Rodriguez\\Michael Sharpe\\Herbert Voß}
\date{\today}
-\maketitle
+\settitle
\fullWidth=\linewidth
\advance\fullWidth by \marginparsep
@@ -110,10 +117,11 @@ Christophe Fourey;
Hubert G\"a\ss lein;
J\"urgen Gilg;
Denis Girou;
-Pablo Gonzáles;
+Pablo Gonzáles Luengo;
Peter Hutnick;
Christophe Jorssen;
Uwe Kern;
+Marcel Krüger;
Friedrich Lenk;
Manuel Luque;
Jens-Uwe Morawski;
@@ -2223,7 +2231,7 @@ whose derivative is :
The parameter must be the letter $t$ instead of $x$ and when using
the \Lkeyword{algebraic} option you must separate the two equations by
-a \Lnotation{|} (see example).
+a \nxLnotation{|} (see example).
\begin{LTXexample}[pos=t,wide]
\def\Lissa{t dup 2 RadtoDeg mul cos 3.5 mul exch 6 mul RadtoDeg sin 3.5 mul}%
@@ -2298,9 +2306,9 @@ the cosine.
OrangeRed\or CarnationPink\or RoyalPurple\or Lavender\fi}
\begin{pspicture}[showgrid=true](0,-1.2)(7,1.5)
\psclip{\psframe[linestyle=none](0,-1.1)(7,1.1)}
- \multido{\in=0+1}{16}{%
- \psplot[linewidth=1pt,algebraic,linecolor=\getColor{\in}]{0}{7}
- {Derive(\in,1-x^2/2+x^4/24-x^6/720+x^8/40320-x^10/3628800+x^12/479001600-x^14/87178291200)}}
+ \multido{\i=0+1}{16}{%
+ \psplot[linewidth=1pt,algebraic,linecolor=\getColor{\i}]{0}{7}
+ {Derive(\i,1-x^2/2+x^4/24-x^6/720+x^8/40320-x^10/3628800+x^12/479001600-x^14/87178291200)}}
\endpsclip
\end{pspicture}
\end{LTXexample}
@@ -3969,29 +3977,31 @@ with the color, from violet to red. \Lkeyword{colorType}=3 is the grayscale
image and \Lkeyword{colorType}=4 the same invers.
The following examples use a 200$\times$200
-matrix data, which is saved as /dotmatrix [...] in the file \LFile{pstricks-add-doc.dat}.
+matrix data, which is saved as /dotmatrix [...] in the file \LFile{pstricks-add-doc.dat}. To speed up such images it should
+be printed with the optional argument \Lkeyword{PixelPlot}. Then each point is printed by a simple dot without using the PSTricks font dot.
+The dot can be scaled by \Lkeyword{dotsize}, e.g. \verb|dotsize=5pt|.
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(10,10)
- \psMatrixPlot[colorType=1,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
+ \psMatrixPlot[PixelPlot,colorType=1,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(10,10)
- \psMatrixPlot[colorType=2,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
+ \psMatrixPlot[PixelPlot,colorType=2,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(10,10)
- \psMatrixPlot[colorType=3,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
+ \psMatrixPlot[PixelPlot,colorType=3,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(10,10)
- \psMatrixPlot[colorType=4,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
+ \psMatrixPlot[PixelPlot,colorType=4,xStep=0.05,yStep=0.05]{200}{200}{data/dotmatrix.data}
\end{pspicture}
\end{LTXexample}
\egroup
@@ -4215,7 +4225,7 @@ a vector normal to \texttt{PtDelta.X, PtDelta.Y} in the visual, not mathematical
always constructed so as to point ``upward'' (ie, to your left) as you traverse the curve
in the positive direction. The PostScript variable \texttt{unitratio} provides the ratio of
the unit on the y axis to that on x axis, and \texttt{unitratiosq} is its square. All of
-these PostScript objects are stored in the main \texttt{pstricks} dictionary \Lps{tx@Dict}
+these PostScript objects are stored in the main \texttt{pstricks} dictionary \nxLps{tx@Dict}
which should be automatically made available when using many \texttt{pstricks} macros.
If \texttt{gs} returns you an error message like
\begin{verbatim}
@@ -4734,6 +4744,7 @@ Spectrum of hydrogen emission (Manuel Luque)
+
%--------------------------------------------------------------------------------------
\section{Gouraud shading}
%--------------------------------------------------------------------------------------
@@ -4786,9 +4797,6 @@ be seen with Acroread 7 or later. The syntax is easy:
\end{LTXexample}
-
-
-
\section{\Lcs{psCallout}}
\begin{BDef}