summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-01-16 23:09:52 +0000
committerKarl Berry <karl@freefriends.org>2014-01-16 23:09:52 +0000
commit9ea4f698ce68c7ab6720c2b097588e8fe75b80bb (patch)
tree7dc5c600ae039165a4cc2cd92b5932fc9863cb06 /Master/texmf-dist/doc/generic/pstricks/pst-news14.tex
parent619c185a567d93f70a24d717ad60e0954d40981d (diff)
pstricks (16jan14)
git-svn-id: svn://tug.org/texlive/trunk@32691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news14.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news14.tex41
1 files changed, 38 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex
index 097e1dd31db..255267180d3 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex
@@ -9,7 +9,7 @@
\let\pstnodeFD\filedate
\usepackage{pst-plot}
\usepackage{xkvview}
-\renewcommand\bgImage{\psscalebox{15}{\color{blue!20}2013}}
+\renewcommand\bgImage{\psscalebox{15}{\color{blue!20}2014}}
\def\textat{\char064}
\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}},
escapechar=?}
@@ -30,18 +30,53 @@ basic package \nxLFile{pstricks}}
\part{\texttt{pstricks} -- package}
%--------------------------------------------------------------------------------------
-\section{\texttt{pstricks.sty}}
+%\section{\texttt{pstricks.sty}}
%--------------------------------------------------------------------------------------
%--------------------------------------------------------------------------------------
\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)}
%--------------------------------------------------------------------------------------
+\subsection{PostScript notation for numbers}
+Optional arguments which expects a real number can now have a preceeding ! character for
+a PostScript notation which is directly passed to PostScript. The user has take care that
+such a number isn't use before in another \TeX\ macro. In such a case it gives an error.
+
+\begin{LTXexample}[width=5cm]
+\pstVerb{ 1234321 srand }
+\begin{pspicture}[showgrid](-2,-2)(2,2)
+\psframe*[linecolor=blue,opacity=!Rand](2,2)
+\psframe*[linecolor=red,opacity=!Rand](-1,-1)(1,1)
+\psframe*[linecolor=green,opacity=!Rand](-2,-2)(0,0)
+\end{pspicture}
+\end{LTXexample}
+
+
+\subsection{Fillstyle \texttt{eofill}}
+
+It is an experimental fillstyle. PostScript knows only the \Lkeyval{eofill} and the other way round
+needs some tricky internal commands and may not work in all cases.
+
+\begin{LTXexample}[pos=t]
+\begin{pspicture}[linewidth=2pt](12,4)
+\pscustom[linestyle=none,fillstyle=eofill,fillcolor=blue!40]{%
+ \psellipse(4,2)(2,2)\psellipse(2,2)(2,2)}
+\psellipse[linecolor=red](4,2)(2,2)
+\psellipse[linecolor=green](2,2)(2,2)
+%
+\pscustom[linestyle=none,fillstyle=oefill,fillcolor=blue!40]{%
+ \psellipse(10,2)(2,2)\psellipse(8,2)(2,2)}
+\psellipse[linecolor=red](10,2)(2,2)
+\psellipse[linecolor=green](8,2)(2,2)
+\end{pspicture}
+\end{LTXexample}
+
+
\subsection{New macro \nxLcs{psRing}}
\begin{BDef}
-\LcsStar{psRing}\OptArgs\Largr{\CAny}\OptArg{\Largs{start,end}}\Largb{Inner Radius}\Largb{Outer Radius}
+\LcsStar{psRing}\OptArgs\Largr{\CAny}\OptArg{start,end}\Largb{Inner Radius}\Largb{Outer Radius}
\end{BDef}