summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/nextslide.sty
blob: b9d7e3ac3a06b2eb9cbf10e2587f05e14d991b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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{}}