diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex209/contrib/eslides/eslides.tex |
Initial commit
Diffstat (limited to 'macros/latex209/contrib/eslides/eslides.tex')
-rw-r--r-- | macros/latex209/contrib/eslides/eslides.tex | 229 |
1 files changed, 229 insertions, 0 deletions
diff --git a/macros/latex209/contrib/eslides/eslides.tex b/macros/latex209/contrib/eslides/eslides.tex new file mode 100644 index 0000000000..e3dbe557f9 --- /dev/null +++ b/macros/latex209/contrib/eslides/eslides.tex @@ -0,0 +1,229 @@ +% Save file as: ESLIDES.TEX Source: FILESERV@SHSU.BITNET +%----------------------(begin of file "article for TUGboat")------------------- +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% Text of the following article: % +% % +% An Easy Way Making Slides With LaTeX % +% % +% by % +% % +% Georg Denk % +% Mathematisches Institut % +% Technische Universitaet Muenchen % +% Arcisstr. 21 % +% D-8000 Muenchen 2 % +% West-Germany % +% % +% E-mail: T1111AA@DM0LRZ01 at Bitnet % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\documentstyle[ltugboat]{article} + +%\addtolength{\evensidemargin}{1in} % shift voffset and hoffset +%\addtolength{\oddsidemargin}{1in} % to the upper left corner +%\addtolength{\topmargin}{1in} % of the sheet if necessary + +\title{An Easy Way Making Slides With \LaTeX} +\author{Georg Denk} +\address{Mathematisches Institut\\ + Technische Universit\"at M\"unchen\\ + Arcisstra\ss e 21\\ + D-8000 M\"unchen 2\\ + Bitnet: {\tt T1111AA@DM0LRZ01}} + +% last line is a trick as the following line does not work +%\netaddress[\network{Bitnet}]{T1111AA@DM0LRZ01} + +\begin{document} +\maketitle +\section*{Introduction} + +In the following, a style option for the {\tt article} style will +be presented which makes it easy to produce slides. It does not +support an overlay structure as \SliTeX , but it enables the user +to change an {\tt article} to a sequence of slides by +simply copying and rearranging. Therefore, it is merely +an option for the {\tt article} style and not a new style. + +The design of this +option fits into the philosophy of \LaTeX : The logical structure +of a text is created by the user and not the details how to put +this into a nice output. + +The style option described here supports a standard layout +which is nevertheless easy to change if necessary. The +user is able to think in ``normal'' dimensions and font sizes +as the proper magnification of the slide is done by +the output device. + + +\section*{Some Commands} + +The style option {\tt eslides} --- which stands for {\it e\/}asy {\it slides\/} +and is used to distinguish this option from \SliTeX\ --- makes several commands +and environments available to the user. These are described in the following. +This style option will not conflict with other style options as {\tt 12pt} +or {\tt german}. The option file is not listed here but is available from +the author. Send a short request to the e-mail address given below. + +\subsection*{The Magnification of the Slide} +The \verb#\magnification# command gives the global magnification of +the slide. As the {\tt dvi} file should be magnified by the same factor, +only the quantities 1000, 1095, 1200, 1440, 1728, 2074 and 2488, resp., should +be used. A magnification factor of 1440 or 1728 will give good results, e.~g., +\begin{quote} + \verb#\magnification{1440}# +\end{quote} +Leslie Lamport has written that \LaTeX\ should not worry about a +magnification of a document. As the output device, however, +magnifies everything on the page but the sheet of paper, +it is necessary that some of the lengths for the page layout as +\verb#\textwidth# have to be scaled properly. +This is done by the \verb#\magnification# command. +As this procedure is hidden away from the user, he is able +to think in ``real'' dimensions. The previewing will show +a correct picture of the slide, only somehow smaller as +usually. + +If the output device is not able to magnify the slide, it can be done +with a photocopying machine, too. The calculation of the various lengths of +the page differs as the fixed point of the mapping has changed from the +offset point to the middle of the upper edge of the sheet. The +{\tt eslides.sty} file contains the necessary commands +to handle this case. + +\subsection*{Page Layout} +The {\tt eslides} style makes the pagestyle {\tt myslide} available +to the user: +\begin{quote} + \verb#\pagestyle{myslide}# +\end{quote} +Every slide will have a head line and a foot line, seperated from the +text by a horizontal rule.\\ +The head consists of a centered running head which is set with the +\verb#\markright# or \verb#\markboth# command. The foot line +contains a logo, the ``name of the conference'' and the page number +of the slide. + +The logo can be anything, e.~g., the logo of the university or of +the company. In the following examples it is the logo of the +Technical University of Munich which is drawn by some +\verb#picture# commands. The logo is changed by +\begin{quote} + \verb#\renewcommand{\logo}{#{\it your logo}\verb#}# +\end{quote} +As the logo will not change often, the probably best place +for the definition will be in the {\tt eslides.sty} file. +Perhaps, the logo can be taken from your special {\tt letter.sty}. + +Similarily, the conference is set by +\begin{quote} + \verb#\renewcommand{\conference}{#{\it what\\ever you want}\verb#}# +\end{quote} +and can be everything, e.~g., the name of the conference at which the +slides are presented or a \verb#\today# command. + +\subsection*{The {\tt slide} Environment} + +The text of a slide is put between \verb#\begin{slide}# and +\verb#\end{slide}#. It is vertical centered between the +horizontal rules. The user has to take care that the text +fits within a single page. + +\subsection*{The {\tt remark} Environment} + +The {\tt remark} environment enables the user to create +a remark to a slide. This will produce an extra page +which contains the note and is numbered with ``Remark to \ldots''. +The {\tt remark} environment should follow directly the +slide to which it belongs: +\begin{quote} + \verb#\end{slide}#\\ + \verb#\begin{remark}#\\ + \ldots\\ + \verb#\end{remark}# +\end{quote} + +\section*{Example} +On the following two pages an example for a slide with +a remark is given. These pages are produced with a +magnification of 1728. The input for the example +is shown in the following. +The blank titlepage is not presented, it is a trick to +produce a running head even on the first page of a +document. Normally, the first slide giving the title +of the presentation does not need such a running +head. + +\bigskip\bigskip +% \inputverbatim of example.tex: + +\begin{verbatim} +\documentstyle[titlepage,eslides]{article} +% titlepage used, because first page +% should have a running head + +\magnification{1728} +\renewcommand{\conference}{TUGboat 1990} + +\begin{document} +\pagestyle{myslide} +\markright{An Easy Way Making Slides With + \LaTeX} + +\begin{titlepage} +\mbox{} +\end{titlepage} +% see p. 162 of Lamport's LaTeX book, +% the first page should have a +% running head + + +\begin{slide} + \begin{center} + \bf + A Short-Cut to Your Slides: + \end{center} + \begin{itemize} + \item take your finished + {\tt article} file + \item add the style option + {\tt eslides} + \item initialize + \verb#\magnification# + and + \verb#\conference# + \item put some + \verb#\begin{slide}#s + and + \verb#\end{slide}#s + around the parts you + want to present + \item comment out the rest + \item run \LaTeX + \end{itemize} +\end{slide} +\begin{remark} + This is a note to myself, + perhaps reminding me of + what I wanted to say here, + e.~g.\ that this note is + stolen from Lamport's + \LaTeX\ book. + +\end{remark} +\end{document} +\end{verbatim} + +\makesignature +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% and here the two example slides --- see file example.tex --- % +% should follow (properly magnified) % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%------------------------(end of file)----------------------------------------- |