summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-ovl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-14 22:08:43 +0000
committerKarl Berry <karl@freefriends.org>2014-05-14 22:08:43 +0000
commit0e4d93dadf0f1cbaa9d8819eb2d8a323968cef73 (patch)
treeb7302f81135d10d1e0956299822af0ddefa9ee07 /Master/texmf-dist/doc/generic/pst-ovl
parentedb8fd9cd71fb2e6cac92760f74f7204ba25b46d (diff)
pst-ovl (14may14)
git-svn-id: svn://tug.org/texlive/trunk@34033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-ovl')
-rw-r--r--Master/texmf-dist/doc/generic/pst-ovl/Changes3
-rw-r--r--Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdfbin44318 -> 46171 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.tex41
3 files changed, 31 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-ovl/Changes b/Master/texmf-dist/doc/generic/pst-ovl/Changes
index 9edb4c6092b..2d6e080b4d8 100644
--- a/Master/texmf-dist/doc/generic/pst-ovl/Changes
+++ b/Master/texmf-dist/doc/generic/pst-ovl/Changes
@@ -1,9 +1,12 @@
pst-ovl.tex ----------- (hv)
+ 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
v 0.03 2013-12-24 create own package with documentation
v 0.02 2013-11-28 move functions into tx@Dict dictionary
pst-ovl.pro ----------- (hv)
+ v 0.04 2014-05-12 make it compatible to seminar
v 0.03 2013-12-24 first official version
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 59d9f483939..7ddf3273b96 100644
--- a/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-ovl/pst-ovl-doc.pdf
Binary files 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 c1b4e709a96..d38eff844cc 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
@@ -40,34 +40,49 @@ the commands
\begin{overlaybox} <stuff> \end{overlaybox}
\end{lstlisting}
-The material for overlay <string> should go within the scope of the command
+The material for overlay \texttt{<number>} should go within the scope of the command
- \Lcs{psoverlay}\Largb{string}
+ \Lcs{psoverlay}\Largb{number}
-<string> can be any string, after expansion. Anything not in the scope of any
-\Lcs{psoverlay} command goes on overlay "`main"', and material within the scope of
-\Lcs{psoverlay}\Largb{all} goes on all the overlays. \Lcs{psoverlay}
+\texttt{<number>} can be any any number, after expansion. Anything not in the scope of any
+\Lcs{psoverlay} command goes on overlay "`0"', and material within the scope of
+\Lcs{psoverlay}\Largb{-1} goes on all the overlays. \Lcs{psoverlay}
commands can be nested and can be used in math mode.
-
The command
-\Lcs{putoverlaybox}\Largb{string}
-
-then prints overlay <string>.
+\Lcs{putoverlaybox}\Largb{number}
+then prints overlay \texttt{<number>}.
+%
Here is an example:
\begin{LTXexample}[pos=t]
\overlaybox
-\psoverlay{all}
+\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
+
+\putoverlaybox{0} \hspace{.5in} \putoverlaybox{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
+\psoverlay{\all}
\psframebox[framearc=.15,linewidth=1.5pt]{%
- \psoverlay{main}
+ \psoverlay{\main}
\parbox{3.5cm}{\raggedright
- Foam Cups Damage Environment {\psoverlay{one} Less than
+ Foam Cups Damage Environment {\psoverlay{\one} Less than
Paper Cups,} Study Says.}}
\endoverlaybox
-\putoverlaybox{main} \hspace{.5in} \putoverlaybox{one}
+\putoverlaybox{\main} \hspace{.5in} \putoverlaybox{\one}
\end{LTXexample}