slides in LaTeX2e

Creating slides in LaTeX2e is as easy as creating another kind of document. A general document with slides looks like:
\documentclass[dutch]{rugslides}
\usepackage...
... space for own definitions
\begin{document}

\begin{slide}{Title of the slide}
..contents..
\end{slide}

...
\end{document}
The language-options, like dutch, english, british, german, spanish, ... will be passed to Babel automatically. The Babel-package will be included automatically. Also the graphics-package is automatically included.

With rugslides some extra commands as possible:

\landscape
creates slides in landscape layout (we also have \narrowlandscape for more narrower slides in landscape mode);
\portrait
creates slides in portrait layout (default).
Both commands can be used to switch between landscape and portrait mode. Both commands should not be used within slides, overlays and/or notes.
The slide-environment is changed according to the standaard: the argument contains the title of the slide. If you'll like to use colored backgrounds use the color-commands in LaTeX (see the latest manual), or use:
\begin{colorslide}{Title of the slide}{R}{G}{B}{defaulttextcolor}
where R, G and B must have values between 0 and 1 and together define the color of the background in RGB-format. If one (or more) of these values are set to -1, the background color will change from dark at the top to light at the bottom. The defaulttextcolor is the default color of all of the text of the slide, including the headers and footers.
A good way of using this is by defining your own environment myslide in which you set most of these arguments:
\newenvironment{myslide}[1]{\begin{colorslide}{#1}{0}{0}{-1}{blue}% 
                             \color{yellow}}{\end{colorslide}}
and use it as:
\begin{myslide}{Title in blue}
contents in yellow, but background in dark-light-blue
\end{myslide}
Other commands in rugslides are:
\congress{Title}
that defines the congress-title. This string is used at the bottom of each slide just before the slide-number and is a way of identifying your slides.
\setcolor
puts the department-logo in color in stead of in black and white.
\setnologo
uses the standard university logo instead of the department logo.
\nopagenumbers
creates slides without pagenumbers.

Slitex no longer exists

If you have put your slides, as mentioned above, in a file called name.tex process it by typing:
latex name
If landscape and/or color is used, the previewer xdvi is unable to show it. Then, first create a postscript version of the dvi-file by typing:
dvips name
and preview this postscript-file with ghostview:
ghostview name.ps
For more information: see the latest version of the LaTeX-manual.

More tools

A nice way of working is the following: In addition, you can put remarks in your slide-file myslides.tex: Outside the scope of the slide-environment you can put remarks using:

\begin{opm}
This a some remark.
\end{opm}

This remarks will appear in the listing but will be ignored if you create slides.

Just try it. Use the file slidesEx.tex as a first example.


For LaTeX209-users only

For LaTeX209-users a special script exists to ease the making of slides.

By typing

slides file pages

for example

slides example 1-3,7

SliTeX will be used to create slides in Rug-format for the stuff found in the file example.tex. Only slides with numbers 1,2,3 and 7 will be made. For slides no extra mainfile is needed. If some file .slides exists this is used as first part of the mainfile. If it is not present it is created. The shellscript will ask you for the options in the optionlist of \documentstyle and also if some extra macrofile should be included. This informations is then saved in the file .slides and used in each following run of slides in that same directory.

Using slitex with documentstyle rugslides creates slides using the university logo's to make up the layout. Using rugslides instead of slides only differs in using \begin{slide}, \begin{overlay} and \begin{note}. The parameter that should be given after these macros is changed. It does not contain information about the colour of the slide, but its title. See the file rugslides.sty itself for more information.


Back to the main latex page


Last modified: Tue Apr 22 11:57:47 METDST 1997