Debian Codegraph @

texmf-dist/doc/latex/ifmslide/ifmman.tex

raw
1 \RequirePackage{snapshot}
2 \documentclass[a4paper,KOMA,landscape]{powersem}
3 %\usepackage{ifmslide}
4 \usepackage[display,stmo,button]{ifmslide}
5 %% user definitions
6 \newcommand{\ifmslide}{{\code{ifmslide.sty}}}
7 \newcommand{\tp}{{\code{texpower{}} \cite{texpower} }}
8 \newcommand{\hf}{{\code{hyperref{}} \cite{hyperref} }}
9
10 \hypersetup{pdfauthor={Thomas Emmel}}
11 \hypersetup{pdftitle={ifmslide manual}}
12 \hypersetup{pdfsubject={examples and commands}}
13
14 \IfFileExists{cmtt.sty}{\usepackage[override]{cmtt}%
15 \newcommand{\bs}{{\mtt\\}}}{%
16 \newcommand{\bs}{{$\setminus$}}}%
17
18 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
19 %\usepackage{thumbpdf}
20 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21 \begin{document}
22 \pageTransitionDissolve
23 \sffamily
24
25 \background{ifmlogoc}
26
27 \orgname{TU Darmstadt -- Institute of Mechanics -- AG4\footnote{
28 This is long ago and I am no member of the institute anymore, see further notes
29 ...}}
30
31 \title{\begin{minipage}[t]{0.98\textwidth}\begin{center}
32 {\mdseries \ifmslide{} v0.47, 2010}\\[1ex]
33 FINAL RELEASE!\\[1ex]
34 Enhanced presentations with (PDF)\LaTeX{}\\
35 combining the texpower, hyperref and seminar-packages\\
36 \end{center}\end{minipage}}
37
38 \author{\scalebox{1}[1.3]{Thomas Emmel}}
39
40 \address{\href{mailto:[email protected]}%
41 {[email protected]}}
42 \orgurl{http://www.mechanik.tu-darmstadt.de/}
43 \slidepagestyle{panel}
44 \paneltile[on](0,160,200,200){aqua_ravines}
45 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
46 \begin{slide}
47 \maketitle
48 \end{slide}
49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
50 \paneltile[off](,,,){}
51 \hidebackground
52 \pageTransitionReplace
53 \centerslidesfalse
54 \begin{slide}
55 \section{Note: This is the end!}
56 Yes, it (\ifmslide{}) has ended and it was - hopefully - a very
57 helpful package for all of you. I decided to stop this since the
58 \code{beamer}-class is now much better than it was when I started this
59 package. Indeed, the beamer-class hasn't really existed at this time.
60 Today, it provides more features, more extensions, although it is a bit
61 more complex to learn.\\[2ex]
62
63 Time has gone and even the insitute doesn't exist anymore! Yes, that's sad
64 but true and has to do a lot with politics, although you can still study
65 mechanics in Darmstadt, have a look at the web-page.\\[3ex]
66
67
68
69 Thank you all for the feedback, I will still maintain \code{ticket.sty}...
70 \end{slide}
71 \begin{slide}
72 \section{About ifmslide.sty}
73 % testing margins
74 %\begin{minipage}[t]{.9\textwidth}
75 Early in May 2000 ...\\[1ex]
76 %\end{minipage}
77 %\begin{minipage}[t]{.1\textwidth}
78 %note
79 %\end{minipage}
80 OK! Cancel this annoying story about my problems generating
81 printouts for my presentations.\\
82 {\color{section1} What can \ifmslide{} do for you?}
83 \begin{center}
84 You like to do nice presentations of your business with beamers or on a
85 screen?\\
86 You are not sure that all these things work when you need them?\\
87 You feel better with a stack of printed slides in your bag?
88 \end{center}
89 \ifmslide{} provides both: getting a presentation with PDF\LaTeX{} and
90 printouts with \LaTeX{} and - as a side effect - simple production of
91 your slides using your favorite DVI-viewer.\footnote{\tiny This is
92 {\color{red} not} \code{pdfslide} \cite{pdfslide} as it seems to be in a
93 first view. It was indeed developed from that style but now
94 completely rewritten with many new features implemented and
95 functionally extended. \code{pdfslide} cannot produce printouts without
96 generating a PDF-file and rescaling the output with all
97 difficulties.}
98 You don't need \code{PPower4} to get all these nice effects
99 with page-transitions and stepwise building of the pages. All you need
100 is \tp and \hf for the links and buttons etc. \ifmslide{} makes use of
101 the special features of the classes \code{seminar} and \code{powersem}
102 (part of \TeX{}Power).
103 \end{slide}
104 %\setInsideMargin{16mm}{26mm}{14mm}{16mm}
105 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
106 \definecolor{background}{gray}{1.}
107 \begin{slide}
108 \section{Features}
109 \stepwise{
110 \begin{itemize}
111 \item[...] produces DVI (\LaTeX{}) for printouts and PDF
112 (PDF\LaTeX{}) for direct presentation.
113 \step{\item[...]
114 DVI-Version with extra margins for the printer.}
115 \step{\item[...] draft-mode with simple frames instead of
116 colored boxes (easier to display and debug your slides with
117 your DVI-viewer).}
118 \step{\item[...] direct use of bookmarks
119 to navigate in the PDF-version.}
120 \step{\item[...] local or
121 global configuration file { ifmslide.cfg} for colors and many
122 features.}
123 \step{\item[...] panel position is free: right,
124 left, bottom, top and outside of the slide! You
125 can change it in the document as you like.}
126 \step{\item[...]
127 position of the buttons and the logo is completely free!}
128 \step{\item[...] changing the size of your slide...}
129 \step{\item[...] free choice of button-design, background for
130 the panel and the frame... }
131 \step{\item[...] you can use
132 most of the features of the seminar-package: magnification
133 etc.}
134 \end{itemize}
135 }
136 \end{slide}
137 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
138 \begin{slide}
139 \section{Options}
140 The following options are provided:
141 \stepwise{
142 \step{{\color{red}\bfseries draft\\}%
143 shows colored boxes as white boxes with frames, efficient for
144 debugging and writing the slides. The { pause}-command is
145 displayed as a small orange box.\\[2ex]}
146 \step{{\color{red}\bfseries display\\}%
147 \TeX{}Power-option: all effects are turned off if not set!\\[2ex]}
148 \step{{\color{red}\bfseries ams, cnav, cnavo, stmo\\}%
149 turn the navigation buttons on and sets the style. Just try it...\\[2ex]}
150 \step{{\color{red}\bfseries button\\}%
151 use definable buttons together with the last option instead of
152 just putting a box around the signs.} } \vfill
153 \footnotetext{\tiny {\bfseries colorinfo} from older versions will
154 be ignored, {\bfseries contnav} and {\bfseries amsnav} are changed
155 to {\bfseries cnav} and {\bfseries ams}}
156 \end{slide}
157 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
158 \slidepagestyle{sidebar}
159 \begin{slide}
160 \section{Pagestyles}
161 {\color{red}\bfseries sidebar, panel\\}%
162 Switch the navigation panel on.\\[1ex]
163 {\bfseries plain, myheadings, headings} are redefined to it.\\[2ex]
164 You can put the panel at all positions with
165 \hyperlink{panelpos}{\code{\bs{}panelposition}} \vfill
166 \footnotetext{\tiny pagestyle {\bfseries title} is changed to
167 {\bfseries sidebar} and {\bfseries background} is deleted, because
168 of the \code{\bs{}background}-command}
169 \end{slide}
170 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
171 \slidepagestyle{empty}
172 \begin{slide}
173 \section*{Pagestyles}
174 {\color{red}\bfseries empty\\}%
175 No panel -- only a frame and background.\\[2ex]
176 But you can put a panel outside of the frame with
177 \hyperlink{panelpos}{\bs{}panelposition} which is not present in
178 \LaTeX-mode and outside of the normal paper-size in PDF\LaTeX-mode!
179 \end{slide}
180 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
181 \slidepagestyle{sidebar}
182 \begin{slide}
183 \section*{Pagestyles}
184 \subsection{panelposition}\hypertarget{panelpos}{}
185 \code{\bs{}panelposition\{left/right/top/bottom\}} changes the position of the panel to the given value. The slide is recalculated for every position...\\[2ex]
186 \code{\bs{}panelposition\{outsidebottom\}} set a panel outside of the paper!\\[2ex]
187 \code{\bs{}panelposition\{empty\}} set no panel which is in practice useful with\\
188 \code{\bs{}pagestyle\{empty\}} only.
189 \end{slide}
190 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
191 \centerslidestrue
192 \panelposition{top}\begin{slide}Panel on top\end{slide}
193 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
194 \panelposition{left}\begin{slide}Panel left\end{slide}
195 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
196 \panelposition{bottom}\begin{slide}Panel on bottom\end{slide}
197 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
198 \panelposition{right}\begin{slide}Panel right\end{slide}
199 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
200 \slidepagestyle{empty}
201 \panelposition{outsidebottom}
202 \begin{slide}Panel outsidebottom (you cannot see it on the printed slides)!
203 \end{slide}
204 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
205 \centerslidesfalse \slidepagestyle{sidebar} \releaselogo
206 \releasebutton \buttonsize(16mm,7mm)(13,13) \freebutton(236,167)[h]
207 \freelogo(207,2)[2cm]
208 \begin{slide}
209 \section{Buttons and logo}
210 If you don't like to put the buttons and the logo into the panel,
211 you can release them with \code{\bs{}releaselogo} and
212 \code{\bs{}releasebutton}.
213 \code{\bs{}catchbutton} catches them ;-).\\
214 \code{\bs{}buttonsize(width$_{max}$,height$_{max}$)(distance$_h$,distance$_v$)]}
215 gives the maximal size of the buttons (aspect-ratio is kept) and the
216 distance between the buttons without length. Keep in mind that the
217 frame and the panel is placed into a picture-environment with
218 \code{\bs{}unitlength=1$mm$} and all positions given in $mm$.\\
219 \code{\bs{}freebutton(pos$_x$,pos$_y$)[h/v]} is the position of the buttons
220 and the direction [h] for horizontal and [v] for vertical buttons.
221 For horizontal buttons the anchor is the lower right point of the
222 right button and for vertical buttons the point between the lowest buttons.\\
223 Use \code{\bs{}nobuttons} to disable buttons all over (e.g. for slides). \\
224 \code{\bs{}freelogo(pos$_x$,pos$_y$)[width]} the anchor for the position is the
225 lower left point of the logo, the width should be clear.\\
226 If you think that the page-counter is too lonely in PDF-mode switch
227 him off with \code{\bs{}pagecounter[off/on]}.
228 \end{slide}
229 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
230 \SlideHeightOverAll{270mm}
231 \SlideWidthOverAll{187mm}
232 \paperwidth=210mm
233 \paperheight=297mm
234 \slidepagestyle{empty}
235 \freebutton(180,263)[h]
236 \freelogo(2,2)[2cm]
237 \buttonsize(16mm,6mm)(12,12)
238 \begin{slide}
239 \vspace*{10truemm}
240 useful application for this feature....
241 \end{slide}
242 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
243 \SlideHeightOverAll{187mm}
244 \SlideWidthOverAll{270mm}
245 \paperwidth=297mm
246 \paperheight=210mm
247 \slidepagestyle{sidebar}
248 \catchlogo
249 \catchbutton
250 \paneltile[on](0,160,200,200){liquid_helium}
251 \begin{slide}
252 \section{Background}
253 Older versions of \ifmslide{} provide \code{\bs{}pagestyle\{background\}}
254 which makes objectively no sense, due to the fact that one needs a
255 background but no panel or vice versa.
256 The \code{\bs{}background\{filename\}} command substitute it together with the
257 switches \code{\bs{}showbackground} and \code{\bs{}hidebackground}.\\[2ex]
258 A new feature for the panel-background is:\\
259 \code{\bs{}paneltile[on/off](cut$_{llx}$,cut$_{lly}$,cut$_{urx}$,cut$_{ury}$)\{filename\}}\\
260 which is now fully experimental which means that it can change it's
261 definition and possibilities in further versions. Presently it works
262 only for vertical panels. It takes a picture\footnote{\tiny JPEG
263 etc. in PDF-mode and it's EPS-version for DVI-mode (produced with
264 some tool like {\sl xv})} and fill the panel with tiles of it. It
265 takes one tile in x-direction and so many as needed to fill in
266 y-direction. There is still a rest which is filled by a
267 part of the picture defined by the four cut-values...\\
268 That did not work in all cases and in PDF-mode the rest of the tile
269 is printed outside the visible area, but it is pre-alpha so what.
270 \vfill
271 \end{slide}
272 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
273 \begin{slide}
274 \section{Useful commands}
275 \stepwise{
276 \code{\bs{}setInsideMargin\{left\}\{right\}\{top\}\{bottom\}} set the extra
277 margins inside the frame. This is the easiest way to improve your output.\\[2ex]
278 \step{Take \code{\bs{}headskip=length} to set the
279 {\bs{}section}-title to the correct vertical position.\\[2ex]}
280 \step{Make own buttons and use them with
281 \code{\bs{}OnButton\{file1\}\{file2\}},\\
282 \code{\bs{}OffButton\{file1\}\{file2\}} and
283 \code{\bs{}DraftButton\{file1\}\{file2\}}.\\
284 That is, using these commands you can replace the background buttons on
285 which the control symbols are printed in the button panel. Above, file1
286 and file2 are image files for the wide and small buttons, respectively\footnote{\tiny text by David Cyganski, thank you David}.
287 There is a tiny perl-script called \code{genbutton} coming with \ifmslide{} which can be used to change
288 the color of the standard buttons (\code{button1..}) and write new buttons.}
289 \vfill
290 }
291 \end{slide}
292 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
293 \begin{slide}
294 \headskip=0pt
295 \section{Hints}
296 \stepwise{
297 The file \code{ifmslide.cfg} can be changed to set
298 up global or local values such as colors, the logo, backgrounds, sizes,
299 the \code{baseurl} of your company, buttons, margins ... without
300 changing \ifmslide{} itself.\\[2ex]
301 \step{Make use of \code{\bs{}setslidelength\{somelength\}\{somesize\}},
302 \code{\bs{}semcm} and \code{\bs{}semin} as described in
303 \code{seminar.cls}.\\[2ex]}
304 \step{Change font sizes with \code{\bs{}slidesmag\{mag\}} and
305 \code{\bs{}ptsize\{size\}} from \code{seminar.cls}.\\[2ex]}
306 \step{Produce an EPS and a PDF-version\footnotemark{} of your
307 pictures
308 and include them with\\
309 \code{\bs{}includegraphics[height=5\bs{}semcm,width=4\bs{}semcm]\{file\}\footnotemark}\\[2ex]}
310 \step{Further information about \code{\bs{}step}, \code{\bs{}pause},
311 \code{\bs{}href}, slides and other stuff
312 can be found in the manuals for the packages
313 \tp, \hf and \code{seminar}.}
314 \vfill}
315 \addtocounter{footnote}{-1}
316 \footnotetext{\tiny\code{epstopdf} is a good tool to convert eps and the
317 \code{graphicx} package knows many formats...}
318 \stepcounter{footnote}
319 \footnotetext{\tiny file is the filename without suffix}
320 \end{slide}
321 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
322 \begin{slide}
323 \section{"Bugs"/Limitations}
324 \stepwise{
325 \step{\code{\bs{}marginpar} is disabled by \code{seminar.cls}, there is currently no good work-around or replacement.\\[2ex]}
326 \step{\code{\bs{}markboth, \bs{}markright, \bs{}leftmark} and \code{\bs{}rightmark} are currently without any use for all page-styles, since the whole layout is connected with the page headers. I will try to provide some of these in new versions. In addition some free objects are planed, placeable everywhere on the slide ...}
327 }
328 \end{slide}
329 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
330 \begin{slide}
331 \section{Required...}
332 There were lots of email concerning questions about required packages and where to find them. In addition to \code{texpower}, \code{hyperref} and \code{seminar} you need (not complete):\\[2ex]
333 \code{koma-script}\\ I haven't proved it, but this very useful package seems not to be included in the base-miktex distribution by default.\\[1ex]
334 \code{url}\\ used by hyperref...\\[1ex]
335 \code{graphicx}\\ someone complained about it :)\\[2ex]
336 All packages can be found in the \href{http://www.dante.de}{CTAN-archive}.
337 \end{slide}
338 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
339 \slidepagestyle{empty}
340 \begin{slide}
341 \begin{thebibliography}{99}
342 \bibitem{texpower} {\ttfamily texpower}-Package: {\sl Stephan Lehmke},
343 ([email protected]),
344 \href{http://ls1-www.cs.uni-dortmund.de/~lehmke/texpower}{University of Dortmund} or CTAN.
345 \bibitem{hyperref} {\ttfamily hyperref}-Package: {\sl Sebastian Rahtz},
346 \href{http://www.tug.org/applications/hyperref}{www.tug.org}
347 \bibitem{pdfslide} {\ttfamily pdfslide.sty}: {\sl C. V. Radhakrishnan},
348 ([email protected]), \href{http://www.dante.de}{CTAN-archive}.
349 \end{thebibliography}
350 \end{slide}
351 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
352 \end{document}
353 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
354 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
355
356
357 % LocalWords: PDF ifmslide