diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes.generic | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/ctandir.sty | 30 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf | bin | 276474 -> 523763 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news10.tex | 113 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pstricks-add-data9.data | 4 |
5 files changed, 143 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.generic b/Master/texmf-dist/doc/generic/pstricks/Changes.generic index 84d7e704240..35690cad057 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.generic +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.generic @@ -1,4 +1,6 @@ pstricks.tex -------- +2.11 2010-09-09 - new optional arguments for setting a variable + linewidth and variable color 2.10 2010-08-27 - new optional argument noCurrentPoint, which is preset to false. 2.09 2010-07-28 - fix bug with rotation values like *0 (ms) diff --git a/Master/texmf-dist/doc/generic/pstricks/ctandir.sty b/Master/texmf-dist/doc/generic/pstricks/ctandir.sty new file mode 100644 index 00000000000..37928e95823 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/ctandir.sty @@ -0,0 +1,30 @@ +%% LaTeX2e file `ctandir.sty' +%% generated by the `filecontents' environment +%% from source `pst-fill-doc' on 2004/08/18. +%% +%% LaTeX2e file `ctandir.sty' +%% generated by the `filecontents' environment +%% from source `ltubguid' on 1997/06/12. +%% +% +% Experimental CTAN location information macros for use with Donald +% Arseneau's |url.sty| +% +% we need url.sty; we can rely on it to demand anything it needs of +% LaTeX +\IfFileExists{url.sty}% + {\RequirePackage{url}}% + {\PackageWarning{ctandir}{You should acquire a copy of url.sty}% + \newcommand\urldef[3]{\def#1{\texttt{#3}}}% + \let\url\texttt + } +% +\newcommand\CTANdirectory[1]{\expandafter\urldef + \csname CTAN@#1\endcsname\path} +\newcommand\CTANfile[1]{\expandafter\urldef + \csname CTAN@#1\endcsname\path} +% +% Use the standard label-referencing mechanism to get the warning for +% an undefined label +\newcommand\CTANref[1]{\expandafter\@setref\csname CTAN@#1\endcsname + \relax{#1}} diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf Binary files differindex 06c0916ace6..151df5f09ef 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex index 0b03716b562..23804d0f6c2 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex @@ -16,7 +16,7 @@ %\psset{PstDebug=1} \title{\texttt{News -- 2010}\\ \Large new macros and bugfixes for the -basic packages \nxLFile{pstricks}, \nxLFile{pst-plot}, and \nxLFile{pst-node}} +basic package \nxLFile{pstricks}} \author{Herbert Voß} \date{\today} @@ -48,13 +48,114 @@ supports \PS\ code in the document. %-------------------------------------------------------------------------------------- \section{\texttt{pstricks.sty}} %-------------------------------------------------------------------------------------- -%\subsection{New optional argument} -No changes +\subsection{New optional argument} + +With the setting of the optional argument \Loption{pdf} the package \LPack{auto-pst-pdf} will be loaded +by PSTricks. This requires that you run \Lprog{pdflatex} as + +\begin{BDef} +\Lprog{pdflatex} \texttt{-{}-}\Loption{shell-escape} \texttt{<file>} & \% \TeX\,Live users\\ +\Lprog{pdflatex} \texttt{-{}-}\Loption{enable-write18} \texttt{<file>} & \% MiK\TeX\ users +\end{BDef} + +The package exports the \Lenv{pspicture} environments into single images which are collected in +a created file \texttt{<file>-pics.pdf} and inserted automatically in the last \Lprog{pdflatex} +run. + + %-------------------------------------------------------------------------------------- \section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)} %-------------------------------------------------------------------------------------- +\subsection{New optional arguments} +The new arguments are only valid for the macros \Lcs{psellipse}, \Lcs{pscircle}, \Lcs{psarc}. +\Lcs{psellipticarc}, \Lcs{pscurve}, \Lcs{psplot}, and \Lcs{psparametricplot}. + +\medskip +\begin{tabular}{@{} l >{\em}l l l @{}}\toprule +\emph{name} & type & \emph{default} & \emph{description}\\\midrule +\Lkeyword{startLW} & length & \Lcs{pslinewidth} & starting linewidth \\ +\Lkeyword{endLW} & length & \Lcs{pslinewidth} & ending linewidth \\ +\Lkeyword{startWL} & integer& 380 & starting wave length\\ +\Lkeyword{endWL} & integer& 780 & ending wave length \\ +\Lkeyword{variableLW} & boolean & \false & use variable linewidth\\ +\Lkeyword{variableColor} & boolean & \false & use variable color\\\bottomrule +\end{tabular} + +\begin{LTXexample}[width=7cm,wide=true] +\psset{endLW=15pt} +\begin{pspicture}(-3.5,-2.5)(3.5,2.5) +\psellipse[linejoin=2,variableLW,startLW=1pt, + linecolor=green!40](0,0)(3,1) +\end{pspicture} +\end{LTXexample} + + +\begin{LTXexample}[width=7cm,wide=true] +\psset{endLW=15pt} +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\pscircle[variableLW,startLW=1pt, + linecolor=blue!40]{2} +\end{pspicture} +\end{LTXexample} + +% +\begin{LTXexample}[width=7cm,wide=true] +\psset{endLW=15pt} +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\psarc[variableLW,startLW=1pt, + linecolor=red!40](0,0){2}{10}{300} +\end{pspicture} +\end{LTXexample} + +% +\begin{LTXexample}[width=7cm,wide=true] +\psset{endLW=15pt} +\begin{pspicture}(-3.5,-2.5)(3.5,2.5) +\psellipticarc[variableLW,startLW=1pt, + linecolor=black!40](0,0)(3,1){90}{30} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=7cm,wide=true] +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\pscurve[variableLW,startLW=1pt,endLW=20pt, + variableColor](-1,0.5)(-2,1)(2,2)(-1,-2)(2,-2) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=7cm,wide=true] +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\pscurve[variableLW,startLW=1pt,endLW=20pt]% + (-1,0.5)(-2,1)(2,2)(-1,-2)(2,-2) +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}(-5,-3)(5,3) +\psplot[variableLW,startLW=1pt,endLW=20pt, + linecolor=magenta!60,variableColor, + algebraic,plotpoints=3000,startWL=500, + endWL=700]{-5}{5}{2*sin(2*x)+cos(x)} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\psset{endLW=24pt} +\begin{pspicture}(-5,-5)(5,5) +\psparametricplot[variableLW,startLW=1pt, + endLW=60pt,linecolor=red,variableColor, + algebraic,plotpoints=3000,plotstyle=curve, + opacity=0.4,strokeopacity=0.4, + endWL=600]{-5}{5}{t*sin(t) | t*cos(t)} +\end{pspicture} +\end{LTXexample} + + +\clearpage + + \subsection{Macro \nxLcs{psellipse}} To rotate an ellipse the already existing keyword \Lkeyword{rot} can be @@ -90,7 +191,7 @@ elliptic arc this is no more the case, which is the reason why angles are internally corrected by PSTricks, to get the same arc lengthts for different radii: -\xLcs{psellipticarc}\xLkeyword{ +\xLcs{psellipticarc} \begin{LTXexample}[width=6cm] \psset{unit=0.5cm} \begin{pspicture}(-5.5,-5.5)(5.5,5.5)% @@ -158,7 +259,7 @@ If you do not want the angle correction, then use the keyword setting \Lkeyword{ -\subsection{Option \nxLkeyword{algebraic}} +\subsection{Option \texttt{algebraic}} The option \Lkeyword{algebraic} moved from the other packages into the main package \LPack{pstricks} to get rid of the dependencies. @@ -468,7 +569,7 @@ for plotting lines/curves with symbols. %-------------------------------------------------------------------------------------- \subsection{\nxLFile{pst-algparser.pro}} -\subsubsection{Using the \nxLkeyword{Sum} function} +\subsubsection{Using the \texttt{Sum} function} %-------------------------------------------------------------------------------------- \begin{BDef} diff --git a/Master/texmf-dist/doc/generic/pstricks/pstricks-add-data9.data b/Master/texmf-dist/doc/generic/pstricks/pstricks-add-data9.data new file mode 100644 index 00000000000..8bd09389cc7 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pstricks-add-data9.data @@ -0,0 +1,4 @@ +some nonsense in this line ---time forcex forcey +0 0.2 +1 1 +2 4 |