summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/pst-news13.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-21 23:04:38 +0000
committerKarl Berry <karl@freefriends.org>2013-05-21 23:04:38 +0000
commitb7f351186e14a82b2d9ad697752a86e073d04fc6 (patch)
tree191fe3d777c57b7f83013b55a3816ad9c1dea761 /Master/texmf-dist/doc/generic/pstricks/pst-news13.tex
parent3f361c9b8d80c304f9befb9884174e5994483ca9 (diff)
pstricks (21may13)
git-svn-id: svn://tug.org/texlive/trunk@30616 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news13.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news13.tex44
1 files changed, 43 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news13.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news13.tex
index 82570b8a406..5eafc5e809e 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news13.tex
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news13.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-news13.tex 767 2013-04-17 21:38:48Z herbert $
+%% $Id: pst-news13.tex 781 2013-05-21 08:25:07Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -29,6 +29,26 @@ basic package \nxLFile{pstricks}}
\part{\texttt{pstricks} -- package}
%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.sty}}
+%--------------------------------------------------------------------------------------
+
+There is a new optional argument \Lkeyword{monochrome} to convert all RGB and CMYK colors
+into grayscale. The equations are:
+
+\subsection{RGB to gray}
+\[ \text{gray} = 0.07 \text{red} + 0.71 \text{green} + 0.21 \text{blue} \]
+
+\subsection{CMYK to gray}
+\begin{align*}
+ c &= c (1 - k) + k\\
+ m &= m (1 - k) + k\\
+ y &= y (1 - k) + k\\
+ r, g, b &= (1 - c), (1 - m), (1 - y)\\
+ \text{gray} &= 0.299 r + 0.587 g + 0.114 b
+\end{align*}
+
+
+%--------------------------------------------------------------------------------------
\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)}
%--------------------------------------------------------------------------------------
There is a new optional argument \Lkeyword{pgffunctions} for the environment \Lenv{pspicture}.
@@ -38,6 +58,28 @@ package which uses pgf macros.
\lstinline|\begin{pspicture}[pgffunctions,...](...)(...)|
+\subsection{labelsep}
+The \Lkeyword{labelsep} is the first -- optional -- argument of \Lcs{uput}.
+It is now possible to use the PostScript notation for this \emph{length}, eg \verb|{! 45 sin 3 mul}|.
+Then the unit which is active when \Lcs{uput} is active is used. With a unit the PS notation
+ist not allowed and leads to an error!
+
+
+
+\subsection{Coordinates}
+Additionally to the special pair of coordinates \verb|(*x f(x))| where $x$ must be a value in
+PostScript notation and $f(x)$ in algebaric noatation, there is now a \verb|(+{x}, {f(x)})|.
+Both expressions must be in algebraic notation and \verb|{x}| must expand to a value
+or an expression which uses known system or user defined PostScript functions.
+
+\begin{LTXexample}[width=5cm]
+\begin{pspicture}[showgrid](3,2)
+\pnode(+{sqrt(Pi)},{1.5*(sin(x)^2+cos(x)^2)}){A}
+\psdot(A)
+\psline[arrowscale=1.5]{->}(A)
+\end{pspicture}
+\end{LTXexample}
+
\subsection{Fillstyle \texttt{dots}}
A fix for the fill style \Lkeyval{dots} to make it work again: