diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex index 4f0ede49b5b..8a0a76aee11 100644 --- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex +++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pstricks-add-doc.tex 454 2011-01-29 15:42:34Z herbert $ +%% $Id: pstricks-add-doc.tex 520 2011-06-11 06:58:16Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles @@ -546,7 +546,9 @@ The special optional arguments for the \Lcs{psChart} macro are as follows: \textrm{\emph{name}} & \textrm{\emph{description}} & \textrm{\emph{default}}\\\hline \Lkeyword{chartSep} & distance from the pie chart center to an outraged pie piece & 10pt\\ \Lkeyword{chartColor} & gray or colored pie (values are: \texttt{gray} or \texttt{color})& gray\\ -\Lkeyword{userColor} & a comma separated list of user defined colors for the pie & \{\} +\Lkeyword{userColor} & a comma separated list of user defined colors for the pie & \{\}\\ +\Lkeyword{chartNodeI}& the position of the inner node, relative to the radius & 0.75\\ +\Lkeyword{chartNodeO}& the position of the outer node, relative to the radius & 1.5 \end{tabularx} \bigskip @@ -1348,7 +1350,7 @@ There is no special parameter here. \clearpage %-------------------------------------------------------------------------------------- -\section[\nxLenv{psCancel} environment]{\nxLenv{psCancel} environment\footnotemark} +\section[\nxLcs{psCancel}]{\nxLcs{psCancel}\footnotemark} %-------------------------------------------------------------------------------------- \footnotetext{Thanks to by Stefano Baroni} This macro works like the \Lcs{cancel} macro from the package of the same name but it @@ -1434,6 +1436,18 @@ objects. Lines can also be transparent when the option \underbrace{\binom{t_x}{t_y}}_{\text{Translation}} \]} }% end of psCancel \end{lstlisting} +The optional argument \Lkeyword{cancelType} allows to define the lines for the non star version. +Possible values are \Lkeyval{x} for a cross, \Lkeyval{s} for a slash, and \Lkeyval{b} +for a backslash. It is also possible to use the long words for the \Lkeyval{slash} and the \Lkeyval{backslash}. +An empty value is always assumed as a \Lkeyval{x}. + +\begin{LTXexample}[pos=t,wide] +\psset{linewidth=3pt,strokeopacity=0.4} +\psCancel{\tabular[b]{c}first line\\second line\endtabular} \quad +\psCancel[cancelType=x]{\tabular[b]{c}first line\\second line\endtabular}\quad +\psCancel[cancelType=s]{\tabular[b]{c}first line\\second line\endtabular}\quad +\psCancel[cancelType=b]{\tabular[b]{c}first line\\second line\endtabular} +\end{LTXexample} \clearpage %-------------------------------------------------------------------------------------- |