summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/nextslide.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex209/contrib/misc/nextslide.sty')
-rw-r--r--macros/latex209/contrib/misc/nextslide.sty47
1 files changed, 47 insertions, 0 deletions
diff --git a/macros/latex209/contrib/misc/nextslide.sty b/macros/latex209/contrib/misc/nextslide.sty
new file mode 100644
index 0000000000..b9d7e3ac3a
--- /dev/null
+++ b/macros/latex209/contrib/misc/nextslide.sty
@@ -0,0 +1,47 @@
+%%% ====================================================================
+%%% @LaTeX-style-file{
+%%% author = "Mario Wolczko",
+%%% version = "3",
+%%% date = "21 May 1992",
+%%% time = "20:58:09 BST",
+%%% filename = "nextslide.sty",
+%%% address = "Dept of Computer Science
+%%% The University of Manchester
+%%% Oxford Road
+%%% Manchester M13 9PL
+%%% UK",
+%%% telephone = "+44-61-275-6146",
+%%% FAX = "+44-61-275-6236",
+%%% checksum = "48653 47 228 1860",
+%%% email = "mario@cs.man.ac.uk (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "SliTeX, page control",
+%%% supported = "yes",
+%%% docstring = "Adds \newslide command to SliTeX, allowing
+%%% (some) other environments (e.g. lists) to span multiple slides.",
+%%% }
+%%% ====================================================================
+%If you, like me, are driven crazy by slitex's insistence that you
+%delimit each and every slide with a \begin{slide}..\end{slide}
+%environment, then some relief is at hand.
+%
+%This style option defines a single command, \newslide, than
+%you can use to replace the sequence
+% \end{slide}
+% \begin{slide}{}
+%
+%It's better than \newpage, because that doesn't increment the page
+%count, and gives you a "slide too long" error -- \newslide doesn't.
+%And unlike \end{slide}\begin{slide}{} you can use \newslide within an
+%environment, eg
+% \begin{enumerate}
+% \item foo
+% \item bar
+% \newslide
+% \item baz
+% \end{enumerate}
+%
+%Given that the functioning part of newslide.sty is only 32 characters
+%long, I don't know why it isn't provided in the first place!
+
+\def\newslide{\endslide\slide{}}