Debian Codegraph @

texmf-dist/tex/latex/base/slides.def

raw
1 %%
2 %% This is file `slides.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% slides.dtx (with options: `cmd')
8 %%
9 %% This is a generated file.
10 %%
11 %% The source is maintained by the LaTeX Project team and bug
12 %% reports for it can be opened at https://latex-project.org/bugs.html
13 %% (but please observe conditions on bug reports sent to that address!)
14 %%
15 %%
16 %% Copyright (C) 1993-2025
17 %% The LaTeX Project and any individual authors listed elsewhere
18 %% in this file.
19 %%
20 %% This file was generated from file(s) of the LaTeX base system.
21 %% --------------------------------------------------------------
22 %%
23 %% It may be distributed and/or modified under the
24 %% conditions of the LaTeX Project Public License, either version 1.3c
25 %% of this license or (at your option) any later version.
26 %% The latest version of this license is in
27 %% https://www.latex-project.org/lppl.txt
28 %% and version 1.3c or later is part of all distributions of LaTeX
29 %% version 2008 or later.
30 %%
31 %% This file has the LPPL maintenance status "maintained".
32 %%
33 %% This file may only be distributed together with a copy of the LaTeX
34 %% base system. You may however distribute the LaTeX base system without
35 %% such generated files.
36 %%
37 %% The list of all files belonging to the LaTeX base distribution is
38 %% given in the file `manifest.txt'. See also `legal.txt' for additional
39 %% information.
40 %%
41 %% The list of derived (unpacked) files belonging to the distribution
42 %% and covered by LPPL is defined by the unpacking scripts (with
43 %% extension .ins) which are part of the distribution.
44 \ProvidesFile{slides.def}
45 [2022/05/18 v2.4b
46 SLiTeX definitions]
47 \message{hacks,}
48
49 \outer\def\newifG#1{\count@\escapechar \escapechar\m@ne
50 \expandafter\expandafter\expandafter
51 \edef\@ifG#1{true}{\global\let\noexpand#1\noexpand\iftrue}%
52 \expandafter\expandafter\expandafter
53 \edef\@ifG#1{false}{\global\let\noexpand#1\noexpand\iffalse}%
54 \@ifG#1{false}\escapechar\count@} % the condition starts out false
55 \def\@ifG#1#2{\csname\expandafter\ifG@\string#1#2\endcsname}
56 {\uccode`1=`i \uccode`2=`f \uccode`3=`G \uppercase{\gdef\ifG@123{G}}}
57 % `ifG' is required
58
59 \def\@gobbletoend#1{\def\@argend{#1}\@ggobtoend}
60
61 \long\def\@ggobtoend#1\end#2{\fi\def\reserved@a{#2}%
62 \ifx\reserved@a\@argend\else\@ggobtoend\fi}
63 \message{slides,}
64 \newif\if@bw
65 \newif\if@visible
66 \newif\if@onlyslidesw \@onlyslideswfalse
67 \newif\if@onlynotesw \@onlynoteswfalse
68 \newif\if@makingslides
69 \newifG\ifG@slidesw
70 \countdef\c@slide=0 \c@slide=0
71 \def\cl@slide{}
72 \countdef\c@overlay=1 \c@overlay=0
73 \def\cl@overlay{}
74 \countdef\c@note=2 \c@note=0
75 \def\cl@note{}
76 \g@addto@macro\cl@@ckpt{\@elt{slide}\@elt{overlay}\@elt{note}}
77 \@addtoreset{overlay}{slide}
78 \@addtoreset{note}{slide}
79 \@definecounter{page}
80 \@addtoreset{page}{slide}
81 \@addtoreset{page}{note}
82 \@addtoreset{page}{overlay}
83
84 \def\theslide{\@arabic\c@slide}
85 \def\theoverlay{\theslide-\@alph\c@overlay}
86 \def\thenote{\theslide-\@arabic\c@note}
87 \def\@sl@getargs#1-#2-#3\relax#4#5{\xdef#4{#1}\xdef#5{#2}}
88 \def\@sl@ccdr#1,#2\relax#3#4{\xdef#3{#1-#1-}\xdef#4{#2}}
89
90 \def\@setlimits #1#2#3{\expandafter\@sl@ccdr#1\relax\@sl@gtmp #1%
91 \expandafter\@sl@getargs\@sl@gtmp\relax#2#3}
92 \def\onlyslides#1{\@onlyslideswtrue
93 \gdef\@doglslidelist{#1,999999,999999}%
94 \if@onlynotesw \else
95 \@onlynoteswtrue\gdef\@doglnotelist{999999,999999}\fi
96 \typeout{Only Slides #1}}
97 \def\onlynotes#1{\@onlynoteswtrue
98 \gdef\@doglnotelist{#1,999999,999999}%
99 \if@onlyslidesw \else
100 \@onlyslideswtrue\gdef\@doglslidelist{999999,999999}\fi
101 \typeout{Only Notes #1}}
102 \if@compatibility
103 \def\blackandwhite#1{\newpage\setcounter{page}{0}\@bwtrue\@visibletrue
104 \if@onlyslidesw \xdef\@doslidelist{\@doglslidelist}%
105 \@setlimits\@doslidelist\@doslidelow\@doslidehigh\fi
106 \if@onlynotesw \xdef\@donotelist{\@doglnotelist}%
107 \@setlimits\@donotelist\@donotelow\@donotehigh\fi
108 \normalsize\setcounter{slide}{0}\setcounter{overlay}{0}%
109 \setcounter{note}{0}\@makingslidestrue\input #1\@makingslidesfalse}
110 \def\colors#1{\@for\@colortemp:=#1\do{\expandafter
111 \xdef\csname\@colortemp\endcsname{\noexpand\@color{\@colortemp}}}\ifx
112 \@colorlist\@empty \gdef\@colorlist{#1}%
113 \else \xdef\@colorlist{\@colorlist,#1}\fi}
114
115 \def\@colorlist{}
116 \def\colorslides#1{\newpage\setcounter{page}{0}\@bwfalse
117 \@for\@currcolor:=\@colorlist\do
118 {\@visibletrue
119 \if@onlyslidesw \xdef\@doslidelist{\@doglslidelist}%
120 \@setlimits\@doslidelist\@doslidelow\@doslidehigh\fi
121 \if@onlynotesw \xdef\@donotelist{\@doglnotelist}%
122 \@setlimits\@donotelist\@donotelow\@donotehigh\fi
123 \normalsize\setcounter{slide}{0}\setcounter{overlay}{0}%
124 \setcounter{note}{0}\typeout{color \@currcolor}%
125 \newpage
126 \begin{huge}%
127 \begin{center}%
128 COLOR LAYER\\[.75in]%
129 \@currcolor
130 \end{center}%
131 \end{huge}%
132 \newpage
133 \@makingslidestrue
134 \input #1
135 \@makingslidesfalse}}
136 \else %% if@compatibility
137 \def\setupcounters{\newpage\setcounter{page}{0}\@bwtrue\@visibletrue
138 \if@onlyslidesw \xdef\@doslidelist{\@doglslidelist}%
139 \@setlimits\@doslidelist\@doslidelow\@doslidehigh\fi
140 \if@onlynotesw \xdef\@donotelist{\@doglnotelist}%
141 \@setlimits\@donotelist\@donotelow\@donotehigh\fi
142 \normalsize\setcounter{slide}{0}\setcounter{overlay}{0}%
143 \setcounter{note}{0}\@makingslidesfalse}
144
145 \AtBeginDocument{\setupcounters}
146 \fi %% if@compatibility
147 \if@compatibility
148 \def\slide#1{\stepcounter{slide}\G@slideswtrue\if@onlyslidesw
149 \@whilenum \c@slide >\@doslidehigh\relax
150 \do{\@setlimits\@doslidelist\@doslidelow\@doslidehigh}\ifnum
151 \c@slide <\@doslidelow\relax\G@slideswfalse\fi\fi
152 \ifG@slidesw
153 \G@slideswfalse
154 \if@bw\G@slideswtrue\else
155 \@color{#1}\if@visible \G@slideswtrue \fi
156 \fi
157 \fi
158 \ifG@slidesw \newpage\thispagestyle{slide}%
159 \csname \last@color \endcsname
160 \else\end{slide}\@gobbletoend{slide}\fi}
161 \else %% if@compatibility
162 \def\slide{\par\break
163 \stepcounter{slide}\setcounter{page}{0}\G@slideswtrue\if@onlyslidesw
164 \@whilenum \c@slide >\@doslidehigh\relax
165 \do{\@setlimits\@doslidelist\@doslidelow\@doslidehigh}\ifnum
166 \c@slide <\@doslidelow\relax\G@slideswfalse\fi\fi
167 \ifG@slidesw
168 \G@slideswfalse
169 \if@bw\G@slideswtrue\else
170 \if@visible \G@slideswtrue \fi
171 \fi
172 \fi
173 \ifG@slidesw \@makingslidestrue\thispagestyle{slide}%
174 \csname \last@color \endcsname
175 \else\end{slide}\@gobbletoend{slide}\fi}
176 \fi %% if@compatibility
177
178 \let\last@color\@empty
179
180 \def\endslide{\par\break}
181 \if@compatibility
182 \def\overlay#1{\stepcounter{overlay}\G@slideswtrue%
183 \if@onlyslidesw\ifnum \c@slide <\@doslidelow\relax
184 \G@slideswfalse\fi\fi
185 \ifG@slidesw \G@slideswfalse\begingroup\if@bw\G@slideswtrue%
186 \else\@color{#1}\if@visible \G@slideswtrue\fi\fi\endgroup\fi
187 \ifG@slidesw \newpage\thispagestyle{overlay}%
188 \else\end{overlay}\@gobbletoend{overlay}\fi}
189 \else %%if@compatibility
190 \def\overlay{\par\break
191 \stepcounter{overlay}%
192 \setcounter{page}{0}%
193 \G@slideswtrue%
194 \if@onlyslidesw\ifnum \c@slide <\@doslidelow\relax
195 \G@slideswfalse\fi\fi
196 \ifG@slidesw \G@slideswfalse
197 \begingroup\if@bw\G@slideswtrue%
198 \else\if@visible \G@slideswtrue\fi\fi
199 \endgroup\fi
200 \ifG@slidesw \@makingslidestrue\thispagestyle{overlay}%
201 \else\end{overlay}\@gobbletoend{overlay}\fi}
202 \fi %%if@compatibility
203
204 \def\endoverlay{\par\break}
205 \if@compatibility
206 \def\note{\stepcounter{note}%
207 \if@bw
208 \G@slideswtrue
209 \if@onlynotesw\@whilenum \c@slide >\@donotehigh\relax
210 \do{\@setlimits\@donotelist\@donotelow\@donotehigh}\ifnum
211 \c@slide <\@donotelow\relax \G@slideswfalse\fi\fi
212 \else\G@slideswfalse\fi
213 \ifG@slidesw \newpage\thispagestyle{note}\else
214 \end{note}\@gobbletoend{note}\fi}
215 \else %%if@compatibility
216 \def\note{\par\break\stepcounter{note}\setcounter{page}{0}%
217 \if@bw
218 \G@slideswtrue
219 \if@onlynotesw\@whilenum \c@slide >\@donotehigh\relax
220 \do{\@setlimits\@donotelist\@donotelow\@donotehigh}\ifnum
221 \c@slide <\@donotelow\relax \G@slideswfalse\fi\fi
222 \else\G@slideswfalse\fi
223 \ifG@slidesw \@makingslidestrue\thispagestyle{note}\else
224 \end{note}\@gobbletoend{note}\fi}
225 \fi %%if@compatibility
226
227 \def\endnote{\par\break}
228 \def\@color#1{\@mmodetest
229 {\if@bw \@tempswatrue \else \@tempswafalse
230 \@for \reserved@a :=#1\do{\ifx\reserved@a\@currcolor\@tempswatrue\fi
231 \let\last@color\reserved@a}\fi
232 \if@tempswa \visible \else \invisible \fi
233 \ignorespaces}}
234
235 \def\@mmodetest#1{\ifmmode\ClassWarning{slides}{Color-changing command
236 in math mode has been ignored}\else #1\fi}
237
238 \def\invisible{\@mmodetest
239 {\if@visible
240 \@visiblefalse
241 \fontshape\f@shape\selectfont
242 \mathversion{invisible}%
243 \fi
244 \ignorespaces}}
245
246 \def\visible{\@mmodetest
247 {\if@visible
248 \else
249 \@visibletrue
250 \fontshape{\expandafter\@gobble\f@shape}\selectfont
251 \mathversion{normal}%
252 \fi
253 \ignorespaces}}
254
255 \def\fontshape#1{\edef\f@shape{\if@visible \else I\fi #1}}
256 \renewcommand{\familydefault}{\sfdefault}
257 \DeclareFontFamily{U}{lasy}{}{}
258 \DeclareFontShape{U}{lasy}{m}{n}{%
259 <12><13.82><16.59><19.907><23.89><28.66><34.4><41.28>lasy8
260 }{}
261 \DeclareFontShape{U}{lasy}{m}{In}{%
262 <13.82><16.59><19.907><23.89><28.66><34.4><41.28>ilasy8
263 }{}
264 \message{picture,}
265 \def\line(#1,#2)#3{\if@visible\@xarg #1\relax \@yarg #2\relax
266 \@linelen #3\unitlength
267 \ifnum\@xarg =\z@ \@vline
268 \else \ifnum\@yarg =\z@ \@hline \else \@sline\fi
269 \fi\fi}
270
271 \def\vector(#1,#2)#3{\if@visible\@xarg #1\relax \@yarg #2\relax
272 \@linelen #3\unitlength
273 \ifnum\@xarg =\z@ \@vvector
274 \else \ifnum\@yarg =\z@ \@hvector \else \@svector\fi
275 \fi\fi}
276
277 \def\dashbox#1(#2,#3){%
278 \leavevmode\if@visible\hb@xt@\z@{\baselineskip \z@
279 \lineskip \z@
280 \@dashdim #2\unitlength
281 \@dashcnt \@dashdim \advance\@dashcnt 200
282 \@dashdim #1\unitlength\divide\@dashcnt \@dashdim
283 \ifodd\@dashcnt\@dashdim\z@
284 \advance\@dashcnt \@ne \divide\@dashcnt \tw@
285 \else \divide\@dashdim \tw@ \divide\@dashcnt \tw@
286 \advance\@dashcnt \m@ne
287 \setbox\@dashbox \hbox{\vrule \@height \@halfwidth \@depth \@halfwidth
288 \@width \@dashdim}\put(0,0){\copy\@dashbox}%
289 \put(0,#3){\copy\@dashbox}%
290 \put(#2,0){\hskip-\@dashdim\copy\@dashbox}%
291 \put(#2,#3){\hskip-\@dashdim\box\@dashbox}%
292 \multiply\@dashdim \thr@@
293 \fi
294 \setbox\@dashbox \hbox{\vrule \@height \@halfwidth \@depth \@halfwidth
295 \@width #1\unitlength\hskip #1\unitlength}\@tempcnta\z@
296 \put(0,0){\hskip\@dashdim \@whilenum \@tempcnta <\@dashcnt
297 \do{\copy\@dashbox\advance\@tempcnta \@ne }}\@tempcnta\z@
298 \put(0,#3){\hskip\@dashdim \@whilenum \@tempcnta <\@dashcnt
299 \do{\copy\@dashbox\advance\@tempcnta \@ne }}%
300 \@dashdim #3\unitlength
301 \@dashcnt=\@dashdim \advance\@dashcnt 200
302 \@dashdim #1\unitlength\divide\@dashcnt \@dashdim
303 \ifodd\@dashcnt \@dashdim=\z@
304 \advance\@dashcnt \@ne \divide\@dashcnt \tw@
305 \else
306 \divide\@dashdim \tw@ \divide\@dashcnt \tw@
307 \advance\@dashcnt \m@ne
308 \setbox\@dashbox\hbox{\hskip -\@halfwidth
309 \vrule \@width \@wholewidth
310 \@height \@dashdim}\put(0,0){\copy\@dashbox}%
311 \put(#2,0){\copy\@dashbox}%
312 \put(0,#3){\lower\@dashdim\copy\@dashbox}%
313 \put(#2,#3){\lower\@dashdim\copy\@dashbox}%
314 \multiply\@dashdim \thr@@
315 \fi
316 \setbox\@dashbox\hbox{\vrule \@width \@wholewidth
317 \@height #1\unitlength}\@tempcnta\z@
318 \put(0,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta <\@dashcnt
319 \do{\vskip #1\unitlength\copy\@dashbox\advance\@tempcnta \@ne }%
320 \vskip\@dashdim}}\@tempcnta\z@
321 \put(#2,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta <\@dashcnt
322 \relax\do{\vskip #1\unitlength\copy\@dashbox\advance\@tempcnta \@ne }%
323 \vskip\@dashdim}}}\fi\@makepicbox(#2,#3)}
324 \newif\if@ovvline \@ovvlinetrue
325 \newif\if@ovhline \@ovhlinetrue
326 \def\@oval(#1,#2)[#3]{\if@visible\begingroup \boxmaxdepth \maxdimen
327 \@ovttrue \@ovbtrue \@ovltrue \@ovrtrue
328 \@ovvlinefalse \@ovhlinefalse
329 \@tfor\reserved@a :=#3\do
330 {\csname @ov\reserved@a false\endcsname}%
331 \@ovxx#1\unitlength \@ovyy #2\unitlength
332 \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx \@ovvlinetrue
333 \else \@ovyy \ifdim \@ovyy =\@ovxx \else \@ovhlinetrue \fi\fi
334 \advance \@tempdimb -2\p@
335 \@getcirc \@tempdimb
336 \@ovro \ht\@tempboxa \@ovri \dp\@tempboxa
337 \@ovdx\@ovxx \advance\@ovdx -\@tempdima \divide\@ovdx \tw@
338 \@ovdy\@ovyy \advance\@ovdy -\@tempdima \divide\@ovdy \tw@
339 \ifdim \@ovdx >\z@ \@ovhlinetrue \fi
340 \ifdim \@ovdy >\z@ \@ovvlinetrue \fi
341 \@circlefnt \setbox\@tempboxa
342 \hbox{\if@ovr \@ovvert32\kern -\@tempdima \fi
343 \if@ovl \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx \fi
344 \if@ovt \@ovhorz \kern -\@ovxx \fi
345 \if@ovb \raise \@ovyy \@ovhorz \fi}\advance\@ovdx\@ovro
346 \advance\@ovdy\@ovro \ht\@tempboxa\z@ \dp\@tempboxa\z@
347 \@put{-\@ovdx}{-\@ovdy}{\box\@tempboxa}%
348 \endgroup\fi}
349
350 \def\@circle#1{\if@visible \begingroup \boxmaxdepth \maxdimen
351 \@tempdimb #1\unitlength
352 \ifdim \@tempdimb >15.5\p@\relax \@getcirc\@tempdimb
353 \@ovro\ht\@tempboxa
354 \setbox\@tempboxa\hbox{\@circlefnt
355 \advance\@tempcnta\tw@ \char \@tempcnta
356 \advance\@tempcnta\m@ne \char \@tempcnta \kern -2\@tempdima
357 \advance\@tempcnta\tw@
358 \raise \@tempdima \hbox{\char\@tempcnta}\raise \@tempdima
359 \box\@tempboxa}\ht\@tempboxa\z@ \dp\@tempboxa\z@
360 \@put{-\@ovro}{-\@ovro}{\box\@tempboxa}%
361 \else \@circ\@tempdimb{96}\fi\endgroup\fi}
362
363 \def\@dot#1{%
364 \if@visible\@tempdimb #1\unitlength \@circ\@tempdimb{112}\fi}
365 \def\@frameb@x#1{%
366 \@tempdima\fboxrule
367 \advance\@tempdima\fboxsep
368 \advance\@tempdima\dp\@tempboxa
369 \leavevmode
370 \hbox{%
371 \lower\@tempdima\hbox{%
372 \vbox{%
373 \if@visible\hrule\@height\else\vskip\fi\fboxrule
374 \hbox{%
375 \if@visible\vrule\@width\else\hskip\fi\fboxrule
376 #1%
377 \vbox{%
378 \vskip\fboxsep
379 \box\@tempboxa
380 \vskip\fboxsep}%
381 #1%
382 \if@visible\vrule\@width\else\hskip\fi\fboxrule}%
383 \if@visible\hrule\@height\else\vskip\fi\fboxrule}}}}
384
385 \long\def\frame#1{\if@visible\leavevmode
386 \vbox{\vskip-\@halfwidth\hrule \@height\@halfwidth \@depth \@halfwidth
387 \vskip-\@halfwidth\hbox{\hskip-\@halfwidth \vrule \@width\@wholewidth
388 \hskip-\@halfwidth #1\hskip-\@halfwidth \vrule \@width \@wholewidth
389 \hskip -\@halfwidth}\vskip -\@halfwidth\hrule \@height \@halfwidth
390 \@depth \@halfwidth\vskip -\@halfwidth}\else #1\fi}
391 \message{mods,}
392 \def\@rule[#1]#2#3{\@tempdima#3\advance\@tempdima #1\leavevmode
393 \hbox{\if@visible\vrule
394 \@width#2 \@height\@tempdima \@depth-#1\else
395 \vrule \@width \z@ \@height\@tempdima \@depth-#1\vrule
396 \@width#2 \@height\z@\fi}}
397
398
399 \def\_{\leavevmode \kern.06em \if@visible\vbox{\hrule \@width.3em}\else
400 \vbox{\hrule \@height \z@ \@width.3em}\vbox{\hrule \@width \z@}\fi}
401 \def\@mathbox#1#2#3{\setbox#2\hbox{$\m@th#1{#3}$}}
402
403 \def\@vbphantom#1{\setbox\tw@\null \ht\tw@\ht #1\dp\tw@\dp #1%
404 \box\tw@}
405
406 \def\@bphantom#1{\setbox\tw@\null
407 \wd\tw@\wd #1\ht\tw@\ht #1\dp\tw@\dp #1%
408 \box\tw@}
409
410 \def\@hbphantom#1{\setbox\tw@\null \wd\tw@\wd #1\ht\tw@\z@ \dp\tw@\z@
411 \box\tw@}
412
413 \def\@hvsmash#1#2{\@mathbox#1\z@{#2}\ht\z@\z@ \dp\z@\z@ \wd\z@\z@
414 \box\z@}
415
416 \def\underline#1{\relax\ifmmode
417 \@xunderline{#1}\else $\m@th\@xunderline{\hbox{#1}}$\relax\fi}
418
419 \def\@xunderline#1{\mathchoice{\@xyunderline\displaystyle{#1}}%
420 {\@xyunderline
421 \textstyle{#1}}{\@xyunderline\scriptstyle{#1}}{\@xyunderline
422 \scriptscriptstyle{#1}}}
423
424 \def\@xyunderline#1#2{%
425 \@mathbox#1\@smashboxa{#2}\@hvsmash#1{\copy\@smashboxa}%
426 \if@visible \@hvsmash#1{\@@underline{\@bphantom\@smashboxa}}\fi
427 \@mathbox#1\@smashboxb{\@@underline{\box\@smashboxa}}%
428 \@bphantom\@smashboxb}
429
430 \let\@@overline=\overline
431
432 \def\overline#1{\mathchoice{\@xoverline\displaystyle{#1}}{\@xoverline
433 \textstyle{#1}}{\@xoverline\scriptstyle{#1}}{\@xoverline
434 \scriptscriptstyle{#1}}}
435
436 \def\@xoverline#1#2{%
437 \@mathbox#1\@smashboxa{#2}\@hvsmash#1{\copy\@smashboxa}%
438 \if@visible \@hvsmash#1{\@@overline{\@bphantom\@smashboxa}}\fi
439 \@mathbox#1\@smashboxb{\@@overline{\box\@smashboxa}}%
440 \@bphantom\@smashboxb}
441 \def\frac#1#2{\mathchoice
442 {\@frac\displaystyle\textstyle{#1}{#2}\textfont}{\@frac
443 \textstyle\scriptstyle{#1}{#2}\textfont}{\@frac
444 \scriptstyle\scriptscriptstyle{#1}{#2}\scriptfont}{\@frac
445 \scriptscriptstyle\scriptscriptstyle{#1}{#2}\scriptscriptfont}}
446
447 \def\@frac#1#2#3#4#5{%
448 \@mathbox#1\@smashboxc{{\begingroup#3\endgroup\over#4}}%
449 \setbox\tw@\null
450 \ht\tw@ \ht\@smashboxc
451 \dp\tw@ \dp\@smashboxc
452 \wd\tw@ \wd\@smashboxc
453 \box\if@visible\@smashboxc\else\tw@\fi}
454
455 \def\r@@t#1#2{\setbox\z@\hbox{$\m@th#1\@xysqrt#1{#2}$}%
456 \dimen@\ht\z@ \advance\dimen@-\dp\z@
457 \mskip5mu\raise.6\dimen@\copy\rootbox \mskip-10mu\box\z@}
458 \def\sqrt{\@ifnextchar[{\@sqrt}{\@xsqrt}}
459 \def\@sqrt[#1]{\root #1\of}
460 \def\@xsqrt#1{\mathchoice{\@xysqrt\displaystyle{#1}}{\@xysqrt
461 \textstyle{#1}}{\@xysqrt\scriptstyle{#1}}{\@xysqrt
462 \scriptscriptstyle{#1}}}
463 \def\@xysqrt#1#2{\@mathbox#1\@smashboxa{#2}\if@visible
464 \@hvsmash#1{\sqrtsign{\@bphantom\@smashboxa}}\fi
465 \phantom{\sqrtsign{\@vbphantom\@smashboxa}}\box\@smashboxa}
466
467 \newbox\@smashboxa
468 \newbox\@smashboxb
469 \newbox\@smashboxc
470 \def\@arrayrule{\if@visible\@addtopreamble{\hskip -.5\arrayrulewidth
471 \vrule \@width \arrayrulewidth\hskip -.5\arrayrulewidth}\fi}
472 \def\cline#1{\if@visible\@cline#1\@nil\fi}
473
474 \def\hline{\noalign{\ifnum0=`}\fi
475 \if@visible \hrule \@height \arrayrulewidth
476 \else \hrule \@width \z@
477 \fi
478 \futurelet \reserved@a\@xhline}
479
480 \def\vline{\if@visible \vrule \@width \arrayrulewidth
481 \else \vrule \@width \arrayrulewidth \@height \z@
482 \@depth \z@ \fi}
483 \message{output,}
484 \let\@topfil\vfil
485
486 \def\@makecol{\if@makingslides\ifnum\c@page>\z@ \@extraslide\fi\fi
487 \ifvoid\footins \setbox\@outputbox\box\@cclv \let\@botfil\vfil
488 \else\let\@botfil\relax\setbox\@outputbox
489 \vbox{\unvbox\@cclv\vfil
490 \vskip\skip\footins\footnoterule\unvbox\footins\vskip
491 \z@ plus.1fil\relax}\fi
492 \xdef\@freelist{\@freelist\@midlist}\gdef\@midlist{}\@combinefloats
493 \setbox\@outputbox\vbox to\@colht{\boxmaxdepth\maxdepth
494 \@topfil\unvbox\@outputbox\@botfil}\global\maxdepth\@maxdepth}
495
496 \def\@extraslide{\ifnum\c@note>\z@
497 \ClassWarning{slides}{Note \thenote\space too long}\else
498 \ifnum\c@overlay>\z@
499 \ClassWarning{slides}{Overlay \theoverlay\space too long}\else
500 \ClassWarning{slides}{Slide \theslide\space too long}\fi\fi}
501 \message{init}
502
503 \@visibletrue
504 \endinput
505 %%
506 %% End of file `slides.def'.