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.

328 Chapter 15. Presentation Material<br />

\onlynotes{note list}<br />

in the preamble limits the notes that are output <strong>to</strong> those listed in note list.<br />

Supposing that slide 5 has three note environments associated with it,<br />

\onlynotes{5} arranges that only the note pages 5-1, 5-2, <strong>and</strong> 5-3 are<br />

printed.<br />

The \onlyslides <strong>and</strong> \onlynotes comm<strong>and</strong>s function similarly <strong>to</strong><br />

the comm<strong>and</strong> \includeonly described in Section 9.1.2. An interactive<br />

means of selecting slides <strong>and</strong> notes <strong>to</strong> process may be set up exactly as<br />

illustrated in Section 9.1.3 with the \typein comm<strong>and</strong>:<br />

\typein[\slides]{Which slides <strong>to</strong> do?}<br />

\onlyslides{\slides}<br />

During processing, the message ‘Which slides <strong>to</strong> do?’ is typed <strong>to</strong> the<br />

moni<strong>to</strong>r, <strong>and</strong> the user replies with the desired slide numbers. A similar<br />

scheme may be set up for \onlynotes.<br />

A sample slide file<br />

An example of input text with the slides class, with a leading page,<br />

overlay, <strong>and</strong> note, <strong>and</strong> using the clock option, is given here. The fourpage<br />

result is shown on the opposite page.<br />

\documentclass[a4paper,clock]{slides}<br />

\begin{document}<br />

\begin{center}\Large\bfseries<br />

Sample Viewgraphs<br />

\end{center}<br />

\begin{slide}<br />

\begin{center}\large Advantages of \texttt{slides}\end{center}<br />

\begin{itemize}<br />

\item Uses special fonts<br />

\item Forces key words instead of long text<br />

\invisible<br />

\item Supports color layers<br />

\visible<br />

\end{itemize}<br />

Color comm<strong>and</strong>s may be used {\invisible as color layers}<br />

\end{slide}<br />

\begin{overlay}<br />

\invisible<br />

\begin{center}\large Advantages of \texttt{slides}\end{center}

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

Saved successfully!

Ooh no, something went wrong!