HEAD PREVIOUS

3  Usage

The class is used with
   \documentclass[options]{elpres}

Options of the article class are also available to elpres, e. g. 10pt, 11pt, 12pt for selection of font size. Elpres-specific options allow selection of the font: tmrfont (Times Roman), helvetfont (Helevetica), cmfont (Computer Modern), sansfont (Sans Serif: default). Options for different screen aspect ratios: 4x3 (default), 16x9, 16x10.
A simple example document:
   \documentclass[12pt,pdftex,helvetfont,4x3]{elpres}
   \usepackage[latin1]{inputenc}
   \usepackage{color}
   \usepackage[document]{ragged2e}
   \RaggedRight
   
   \begin{document}
   \begin{titlepage}
     \centering
     \distance{1}
     {
       \Huge \bfseries \textcolor{blue}{Title of the presentation} \par
     }
     \vspace{1.3ex} \large
     Author\\[2ex]Institution
     \distance{2}
   \end{titlepage}
   
   \begin{psli}[Title of Page]
   The first page
   
   \begin{itemize}
      \item first line in an itemized list
      \item second line in an itemized list
   \end{itemize}
   \end{psli}
   
   \begin{rsli}
   The second page
   \end{rsli}
   \end{document}

The title page can be created within the titlepage environment, the \maketitle command is not available. Slides may be created with the psli-environment3, you may add the title of the slide with the optional parameter. The contents of the slide are centered vertically.
Another environment generating a slide is rsli4: slides are written without title, contents are not vertically centered.
The \distance{number} command allows to introduce vertical space into slides constructed with the rsli and titlepage environments. You should use pairs of \distance{} commands with numbers indicating the relative height of empty space, see the titlepage in the example above.
The use of footnotes on slides is often problematic, if they cannot be avoided, the footmisc package is recommended: the perpage option resets numbering for each new slide. For a presentation, the symbol option allows to use symbols instead of numbers. After inserting a new footnote, numbers or symbols are correctly inserted only after a second run of LATEX.

3.1  Improving paragraph justification

By default, LATEX produces justified paragraphs with lines of equal length, this may often not be appropriate for the usually very short lines of text in presentations. The LATEX \raggedright command has its own deficiencies: by inhibiting hypenation, the text at the right margin will often look too ragged. A solution is to use the \RaggedRight command of the ragged2e package by Martin Schröder.

3.2  Generate vertically compressed lists

The elpres package provides a "vertically compressed" itemize-environment:
   \begin{citemize}
     \item  one
     \item  two
   \end{citemize}

Similarly, a cenumerate and a cdescription environment may be used.
Another solution for the customization of itemize environments is given by the enumitem package. Therefore
   \usepackage{enumitem}

should be added to the preamble, and a comma-sperated list of parameters parameters can be added in the format:
   \begin{itemize}[parameter-list] 
      ... 
   \end{itemize} 

The "vertically compressed" list can then be obtained with
   \begin{itemize}[nosep]
     \item  one
     \item  two
   \end{itemize}

The enumitem package is also able to modify the enumerate and description environments.

HEAD NEXT