summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/elpres/elpres-example.tex
blob: bb25d110bbcb5fdc167176aaaa918fa450aecb8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
\documentclass[12pt,pdftex,helvetfont,4x3]{elpres}
\usepackage[latin1]{inputenc}
\usepackage[perpage,para,symbol,norule]{footmisc}
\usepackage[document]{ragged2e}

\definecolor{darkteal}{rgb}{0,0.34,0.34}
\definecolor{darkred}{rgb}{0.7,0.1,0.1}

\newcommand{\ticolor}[1]{\textcolor{darkteal}{#1}}

\begin{document}
\begin{titlepage}
  \centering
  \distance{1}
  {
    \Huge \bfseries \textcolor{darkred}{Title of presentation} \par
  }
  \vspace{1.3ex} \large
  Author\\[2ex]Date and place of presentation
  \distance{2}
\end{titlepage}

\begin{psli}[\ticolor{Title of first page}]
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}[\ticolor{Title of second page\footnote{footnotes are often
      not a good idea for a presentation}}]
% \raggedright
The second page with nested, ``vertically compressed'' lists using the
\texttt{citemize} and \texttt{cenumerate} environments.

\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\footnote{\dots\ it is therefore
       useful to write comments into a single footnote paragraph in order
       to save space}
\end{citemize}


{\small For footnotes, the \texttt{footmisc} package, providing the
  options \texttt{perpage} and \texttt{symbol} is recommended. \par}
\end{psli}


\begin{psli}[\ticolor{Title of third page}]

  \begin{cdescription}
\item[environment name:] \texttt{cdescription}, comparable to
    \LaTeX s \texttt{description} environment
   \item[used for:] vertically compressed lists with small ``titles''
\end{cdescription}

\end{psli}

\begin{rsli}
A final page with freely arranged text and
graphics using the \texttt{rsli} environment\footnote{References to the
  source of figures or tables may be added as footnotes}

{ \tiny
\begin{verbatim}
               +
              / \
             /---\
            /     \
           /       \
          /         \
         /           \
        +             +
        |             |
        |             |
        |             |
        |             |
        |             |
        |             |
        |             |
        +-------------+
\end{verbatim}
\par}

... guess, what is this?\\[0.6ex]
(A) House\\
(B) Pencil

\end{rsli}
\end{document}