summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/elpres/elpres-example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-14 21:01:45 +0000
committerKarl Berry <karl@freefriends.org>2020-07-14 21:01:45 +0000
commit37fceda406fdeb36413fb4476c13fae49738705a (patch)
tree40a3919169d17d3d5791cfe1f5cdf2cb0e12595a /Master/texmf-dist/doc/latex/elpres/elpres-example.tex
parent488533e5de8e29b1cbb633e54230d9352fc1ade7 (diff)
elpres (14jul20)
git-svn-id: svn://tug.org/texlive/trunk@55834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/elpres/elpres-example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/elpres/elpres-example.tex82
1 files changed, 63 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/elpres/elpres-example.tex b/Master/texmf-dist/doc/latex/elpres/elpres-example.tex
index d081d125cad..bb25d110bbc 100644
--- a/Master/texmf-dist/doc/latex/elpres/elpres-example.tex
+++ b/Master/texmf-dist/doc/latex/elpres/elpres-example.tex
@@ -1,56 +1,100 @@
-\documentclass[11pt,pdftex,helvetfont,4x3]{elpres}
+\documentclass[12pt,pdftex,helvetfont,4x3]{elpres}
\usepackage[latin1]{inputenc}
-\usepackage{color}
-\usepackage[perpage,para,symbol]{footmisc}
+\usepackage[perpage,para,symbol,norule]{footmisc}
\usepackage[document]{ragged2e}
-\RaggedRight
+
+\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{blue}{Title of the presentation} \par
+ \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}[Title of first page]
-The first page
+\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}[Title of second page\footnote{footnotes are often not a good
- idea for a presentation}]
-
-The second page with a nested, ``vertically compressed'' list
+\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 first line of numbered list
\item second line of numbered list
\end{cenumerate}
- \item final line in itemized list\footnote{\dots\ so there should be
- good reasons to insert a second comment on the same page}
+ \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, at least with the
+
+{\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 for freely arranged text and
-graphics\footnote{References to scientific publications may be added
- as footnotes}
+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}
-