Changes

Jump to navigation Jump to search
228 bytes added ,  17:15, 13 June 2005
m
Describe the reserve keyword. Fix some errors.
==Commands==
 
; <tt>\SetupSteps [...=...,...=...]</tt>
: Setup global options for generation of steps. Available options:
:; <tt>reserve</tt>
:: <tt>yes</tt>: when the item is not active, fill with empty space the area it takes when it is active (see section [[RawSteps#Reserving space]])
:: <tt><u>no</u></tt>: when the item is not active, simply skip its generation
:; <tt>defaultsection</tt>
:: <tt><u>Subject</u>, subject, chapter, ...</tt>
: To disable sectioning commands, set <tt>\SetupSteps[defaultsection=page]</tt>.
; <tt>\StartSteps ''[sectiontype]'' ''[slide title]'' ... \StopSteps</tt>
: The basic command set pair for steps generation. <tt>''sectiontype''</tt> may be any sectioning command, such as <tt>chapter</tt>, <tt>section</tt>, <tt>subject</tt>, etc.
; <tt>\NextStep</tt>
; <tt>\OnlyStep [''n''] ''[reserve]'' {...}</tt>
: Show content only on the <tt>''n''</tt><sup>th</sup> step. Usage of the <tt>reserve</tt> keyword is diverted to section [[RawSteps#Reserving space]].
; <tt>\FromStep [''n''] ''[reserve]'' {...}</tt>
: Highlight content on the <tt>''n''</tt><sup>th</sup> step.
; <tt>\SetupSteps [...=...,...=...]</tt>
: Setup global options for generation of steps. Available options:
:; <tt>reserve</tt>
:: <tt>yes</tt>:
:: <tt><u>no</u></tt>:
:; <tt>defaultsection</tt>
:: <tt><u>Subject</u>, subject, chapter, ...</tt>
: To disable sectioning commands, set <tt>\SetupSteps[defaultsection=page]</tt>.
===Page numbers===
The module supports subpage numbers. To number pages in a format such as: ''1/4, 2a/4, 2b/4, 2c/4, 3a/4, 3b/4, 4/4'', use the following code to generate page numbers.:
<texcode>
==Usage exampleexamples==
===Preamble===
The following preamble enables page numbering as shown in [[RawSteps#Page numbers]] in an interaction menu.:
<texcode>
===Sectioning===
The following illustrates different usage schemes of the <tt>\StartSteps ... \StopSteps</tt> pair:
 
<texcode>
\StartSteps[Topic][Topic Title]
This is a topic slide.
===Fancy stepping===
The following example illustrates the usage of the fancier stepping commands <tt>\OnlyStep</tt>, <tt>\UntilStep</tt>, <tt>\FromStep</tt>, and <tt>\HighlightStep</tt>.:
<texcode>
\startitemize
\item This will not changealways appear. \OnlyStep [2] {\item This appears only on step 2.} \UntilStep [4] {\item This will change on step 4.} \FromStep [4] {\item This has changed since step 4.} \HighlightStep[3]{\item This will be highlighted on step 3.}
\stopitemize
===Reserving space===
The <tt>reserve</tt> keyword make the item appear as empty space when it is not active instead of not generating the item at all. It is particularly useful in typesetting equations, as shown by the following example.:
<texcode>
17

edits

Navigation menu