From 996fcfc57aeb92c629c0d4d1856bc9ec24693876 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 3 May 2016 22:18:40 +0000 Subject: pst-ovl (3may16) git-svn-id: svn://tug.org/texlive/trunk@40873 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-ovl/Changes | 2 ++ .../texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf | Bin 46171 -> 48418 bytes .../texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.tex | 16 ++++++++-------- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/generic/pst-ovl/Changes b/Master/texmf-dist/doc/generic/pst-ovl/Changes index 2d6e080b4d8..0960ac683a9 100644 --- a/Master/texmf-dist/doc/generic/pst-ovl/Changes +++ b/Master/texmf-dist/doc/generic/pst-ovl/Changes @@ -1,5 +1,7 @@ pst-ovl.tex ----------- (hv) + v 0.07 2016-05-03 - moved code from seminar + - use names as \ps... v 0.06 2014-05-12 moved code from seminar v 0.05 2014-01-02 do not load PSTricks v 0.04 2013-12-28 forgot Timothy as author diff --git a/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf b/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf index 7ddf3273b96..3d216ce771f 100644 Binary files a/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf and b/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf differ diff --git a/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.tex b/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.tex index d38eff844cc..78fcabed073 100644 --- a/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.tex @@ -33,11 +33,11 @@ Overlays are made by creating an "`\Lcs{hbox}"' and then outputting the box seve times, printing different material in the box each time. The box is created by the commands \begin{lstlisting} - \Lcs{overlaybox} < stuff >\Lcs{endoverlaybox} + \Lcs{psoverlaybox} < stuff >\Lcs{endpsoverlaybox} \end{lstlisting} \LaTeX{} users can instead write: \begin{lstlisting} - \begin{overlaybox} \end{overlaybox} + \begin{psoverlaybox} \end{psoverlaybox} \end{lstlisting} The material for overlay \texttt{} should go within the scope of the command @@ -57,32 +57,32 @@ then prints overlay \texttt{}. Here is an example: \begin{LTXexample}[pos=t] -\overlaybox +\psoverlaybox \psoverlay{-1} \psframebox[framearc=.15,linewidth=1.5pt]{% \psoverlay{0} \parbox{3.5cm}{\raggedright Foam Cups Damage Environment {\psoverlay{1} Less than Paper Cups,} Study Says.}} - \endoverlaybox + \endpsoverlaybox -\putoverlaybox{0} \hspace{.5in} \putoverlaybox{1} +\psputoverlaybox{0} \hspace{.5in} \psputoverlaybox{1} \end{LTXexample} It is possible to define macros which hold the numbers: \begin{LTXexample}[pos=t] \def\all{-1} \def\main{0} \def\one{1} -\overlaybox +\psoverlaybox \psoverlay{\all} \psframebox[framearc=.15,linewidth=1.5pt]{% \psoverlay{\main} \parbox{3.5cm}{\raggedright Foam Cups Damage Environment {\psoverlay{\one} Less than Paper Cups,} Study Says.}} - \endoverlaybox + \endpsoverlaybox -\putoverlaybox{\main} \hspace{.5in} \putoverlaybox{\one} +\psputoverlaybox{\main} \hspace{.5in} \psputoverlaybox{\one} \end{LTXexample} -- cgit v1.2.3