28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

336 Chapter 15. Presentation Material<br />

Font comm<strong>and</strong>s can be included in the new definitions, but one should<br />

be aware that the comm<strong>and</strong>s \slideheadfont <strong>and</strong> \slidefootfont are<br />

always inserted in<strong>to</strong> the head <strong>and</strong> footlines. These are defined <strong>to</strong> be<br />

\scriptsize, but may be redefined by the user.<br />

It is possible <strong>to</strong> select different page styles for the slides <strong>and</strong> notes.<br />

The \pagestyle comm<strong>and</strong> sets the style for both (as well as for the<br />

article output) while \slidepagestyle applies only <strong>to</strong> slides.<br />

Page breaking<br />

Unlike SLIT E X where each slide environment generates a single slide (<strong>and</strong><br />

warnings if it is <strong>to</strong>o big), the seminar package allows the text <strong>to</strong> break<br />

naturally in<strong>to</strong> multiple slides just as normal text does in<strong>to</strong> pages. A new<br />

slide may be forced with \newslide.<br />

You can add some extra <strong>to</strong>lerance for the page breaking by specifying<br />

\extraslideheight{len}<br />

where len is the additional height allowed before a break in au<strong>to</strong>matically<br />

inserted. By setting this <strong>to</strong> be large, au<strong>to</strong>matic page breaks never occur,<br />

<strong>and</strong> the user has full control, either with \newslide or by ending the<br />

environment. Setting it <strong>to</strong> 0 pt causes pages <strong>to</strong> be broken as for regular<br />

text. The default is 10 pt.<br />

15.2.5 Selective output<br />

One can select <strong>to</strong> output just the slides, or just the notes, or both, by<br />

adding one of the options slidesonly, notesonly, or notes <strong>to</strong> the<br />

\documentclass comm<strong>and</strong>. There is also a notesonly* option <strong>to</strong> print<br />

the notes alone in article output but with indica<strong>to</strong>rs for the slides.<br />

A problem arises if slidesonly has been selected. Any global specifications<br />

issued after \begin{document} <strong>and</strong> outside of a slide environment<br />

will be ignored. One might want <strong>to</strong> redefine parameters in this way;<br />

including them inside the slide environment makes the changes local <strong>to</strong><br />

that one environment. To avoid this, such global comm<strong>and</strong>s should be<br />

placed inside a allversions* environment. (If you actually want <strong>to</strong> include<br />

text <strong>and</strong> not just non-printing specifications, use the allversions<br />

environment instead.)<br />

Just as for SLIT E X, one can output selected slides or notes. This is useful<br />

during development of the slide show, when one may spend much time<br />

designing a complicated slide <strong>and</strong> is constantly processing it <strong>to</strong> see the<br />

results; this can become tediously slow if the other, completed, slides are<br />

also complicated or include large graphics files. As for SLIT E X (page 327),<br />

the \onlyslides{list} comm<strong>and</strong> in the preamble ensures that only those<br />

slides whose numbers are included in list are processed. However, there<br />

is also a \notslides{list} comm<strong>and</strong> <strong>to</strong> exclude those slides in list.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!