\documentclass[11pt,pdftex,4x3]{elpres} \usepackage[utf8]{inputenc} \usepackage[perpage,hang]{footmisc} \setlength{\footnotemargin}{0.55em} \usepackage[document,originalparameters]{ragged2e} \usepackage{eso-pic} \newcommand{\altfnarea}[1]{% \AddToShipoutPictureFG*{ \setlength{\unitlength}{1mm} \put(1.2,1.2){\parbox[b]{0.9\paperwidth}% {\scriptsize \textcolor{darkgray}{#1}}}}} % % Please uncomment the desired presentation scheme \usepackage{elpreswhitebluescheme} % \usepackage{elpresgrayscheme} % \usepackage{elpreswhiteredscheme} % \usepackage{elpresbluelightgrayscheme} % \usepackage{elpreswhitetealscheme} \begin{document} \begin{titlepage} \centering \distance{1.35} { \Huge \bfseries \textcolor{eptitlecolor}{Title of presentation} \par } \vspace{1.3ex} \Large Author\\[2ex] {\normalsize \textcolor{ephighlightcolor}{Date and place of presentation}} \distance{2} \end{titlepage} \begin{psli}[Title of first slide] This is an example of a \LaTeX\ \texttt{itemize} list \begin{itemize} \item first line in an itemized list \item second line in an itemized list \item third line in an itemized list \end{itemize} \end{psli} \begin{psli}[Title of second slide\footnote{footnotes often are not a good idea for a presentation, better avoid them!}] This page shows nested, ``vertically compressed'' lists using the \texttt{citemize} and \texttt{cenumerate} environments of \texttt{elpres}: \begin{citemize} \item first line in an itemized list \item second line in an itemized list \begin{cenumerate} \item first line of numbered list \item second line of numbered list \end{cenumerate} \item final line in itemized list \end{citemize} {\small For footnotes using \LaTeX's \verb+\footnote{}+ command, the \texttt{footmisc} package, providing the option \texttt{perpage}\footnote{this forces \LaTeX\ to start footnote numbers with ``1'' on each slide} is recommended.% \footnote{another option is \texttt{symbol*} which allows to mark footnotes with symbols instead of numbers} \par } \end{psli} \begin{psli}[Title of third slide\textsuperscript{*}] \begin{itemize} \item This page shows the use of footnotes with the \verb+\altfnarea{}+ command \item Definition and use of \verb+\altfnarea{}+\textsuperscript{\dag} are described in the \texttt{elpres} manual \altfnarea{\textsuperscript{*}This footnote comments the title; \textsuperscript{\dag}\texttt{altfnarea}: \textbf{alt}ernative \textbf{f}oot\textbf{n}otes \textbf{area}} \end{itemize} \end{psli} \begin{psli}[Title of fourth slide] \begin{cdescription} \item[environment name:] \texttt{cdescription}, comparable to \LaTeX's \texttt{des\-cription} environment \item[used for:] vertically compressed lists with small ``titles'' of items \end{cdescription} \end{psli} \begin{psli}[Title of fifth slide] If justified text and hyphenation is to be suppressed, the \texttt{ragged2e} package may be used with the \texttt{document} and \texttt{originalparameters} options. \vspace{1ex} \fbox{\parbox{0.95\textwidth}{ \footnotesize In order to avoid an option clash, \texttt{ragged2e} should follow \texttt{footmisc} in the preamble, if both packages are used. \par }} \end{psli} \begin{psli}[A slide with two columns\textsuperscript{*}] \begin{minipage}[b][0.6\textheight][t]{0.5\textwidth} \includegraphics[width=1.0\textwidth]{ctan-lion} \end{minipage} \hspace{0.1em} \begin{minipage}[b][0.6\textheight][t]{0.38\textwidth} \footnotesize The ``CTAN \TeX-lion'' drawn by Duane Bibby, thanks to \texttt{ctan.org} \end{minipage} \altfnarea{\textsuperscript{*}using \texttt{minipage}} \end{psli} \begin{psli}[Code of ``A slide with two columns''] \footnotesize \begin{verbatim} \begin{psli}[A slide with two columns\textsuperscript{*}] \begin{minipage}[b][0.6\textheight][t]{0.5\textwidth} \includegraphics[width=1.0\textwidth]{ctan-lion} \end{minipage} \hspace{0.1em} \begin{minipage}[b][0.6\textheight][t]{0.38\textwidth} \footnotesize The ``CTAN \TeX-lion'' drawn by Duane Bibby, thanks to \texttt{ctan.org} \end{minipage} \altfnarea{\textsuperscript{*}using \texttt{minipage}} \end{psli} \end{verbatim} \end{psli} \begin{psli}[A slide with a logo using the \texttt{eso-pic} package] \AddToShipoutPictureBG{ \setlength{\unitlength}{1mm} \put(108,79){\includegraphics[height=16mm]{ctan-lion}} } The code for placing the logo {\scriptsize (details are explained in the \texttt{elpres} manual)}: { \footnotesize \begin{verbatim} \AddToShipoutPictureBG{ \setlength{\unitlength}{1mm} \put(108,79){\includegraphics[height=16mm]{ctan-lion}} } \end{verbatim}} This makes the logo visible on the current and on all following pages. The starred version: {\footnotesize \verb+\AddToShipoutPictureBG*{}+ } shows the picture on the current slide only. \end{psli} \begin{rsli} A final page written with the \textcolor{ephighlightcolor}{\texttt{rsli}} environment \begin{itemize} \item This slide type is intended to be used for freely arranged text and graphics. \item In contrast to \textcolor{ephighlightcolor}{\texttt{psli}}-slides, the contents are \emph{not} centered vertically. \end{itemize} \end{rsli} \end{document}