summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
diff options
context:
space:
mode:
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.tex10
1 files changed, 7 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 22fb1b8aa57..1e583d4f2fe 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 721 2018-02-03 20:37:57Z herbert $
+%% $Id: pstricks-add-doc.tex 851 2018-12-08 20:06:43Z herbert $
%
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,oneside]{pst-doc}
@@ -1601,14 +1601,18 @@ objects. Lines can also be transparent when the option
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}.
+An empty value is always assumed as a \Lkeyval{x}. The uppercase keys maybe used in presentations where it make sense
+to have thesame box size before ander after something is cancelled by lines.
\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}
+\psCancel[cancelType=b]{\tabular[b]{c}first line\\second line\endtabular}\\
+\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