| 1 |
|
| 2 |
%Back to the old footer behavior |
| 3 |
% Erwan Le Pennec (24-10-2001) |
| 4 |
\ifarticle\else |
| 5 |
\def\output@slide{% |
| 6 |
\begingroup |
| 7 |
\hoffset=-\inverseslidesmag in |
| 8 |
\voffset=-\inverseslidesmag in |
| 9 |
\setslidelength\@tempdima{% |
| 10 |
\ifportrait\paperwidth\else\paperheight\fi}% |
| 11 |
\setslidelength\@tempdimb{% |
| 12 |
\ifportrait\paperheight\else\paperwidth\fi}% |
| 13 |
\ifrotateheaders |
| 14 |
\@ifrotateslide{% |
| 15 |
\dimen@=\@tempdima |
| 16 |
\@tempdima=\@tempdimb |
| 17 |
\@tempdimb=\dimen@}% |
| 18 |
\fi |
| 19 |
% \oddsidemargin, \evensidemargin, \headheight, \footheight |
| 20 |
% used for scratch: |
| 21 |
% Some page styles like to know \textwidth: |
| 22 |
\setslidelength\headheight\slidetopmargin |
| 23 |
\setslidelength\footheight\slidebottommargin |
| 24 |
\ifautoslidemargins |
| 25 |
\textwidth=\wd\@slidebox |
| 26 |
\oddsidemargin=\@tempdima |
| 27 |
\advance\oddsidemargin-\textwidth |
| 28 |
\divide\oddsidemargin 2 |
| 29 |
\else |
| 30 |
\setslidelength\oddsidemargin\slideleftmargin |
| 31 |
\setslidelength\evensidemargin\sliderightmargin |
| 32 |
\textwidth=\@tempdima |
| 33 |
\advance\textwidth-\oddsidemargin |
| 34 |
\advance\textwidth-\evensidemargin |
| 35 |
\fi |
| 36 |
\setbox\@slidebox=\hbox to \@tempdima{% |
| 37 |
\kern\oddsidemargin |
| 38 |
\vbox to\@tempdimb{% |
| 39 |
\ifnum\fancyput@flag>-1 |
| 40 |
\hbox{\kern-\oddsidemargin\do@fancyput}% |
| 41 |
\fi |
| 42 |
\let\label\@gobble |
| 43 |
\let\index\@gobble |
| 44 |
\let\glossary\@gobble |
| 45 |
\vbox to\headheight{% |
| 46 |
\vfill |
| 47 |
\hbox{% |
| 48 |
\slideheadfont\relax\strut |
| 49 |
\hbox to\textwidth{\@oddhead}}% |
| 50 |
\kern\z@}% |
| 51 |
\vfill |
| 52 |
\hbox to\textwidth{\hss\box\@slidebox\hss}% |
| 53 |
\vfill |
| 54 |
\vbox to\footheight{% |
| 55 |
% Modification Denis Girou begin - May 15, 1998 |
| 56 |
% Modification Erwan Le Pennec : suppress the Denis Girou modification |
| 57 |
% \vfill |
| 58 |
% Modification Denis Girou end |
| 59 |
\hbox{% |
| 60 |
\slidefootfont\relax\strut |
| 61 |
\hbox to\textwidth{\@oddfoot}}% |
| 62 |
\vfill}}% |
| 63 |
\hss}% |
| 64 |
\ifrotateheaders\@ifrotateslide\rotate@slide\fi |
| 65 |
\insert@specials |
| 66 |
\shipout\box\@slidebox |
| 67 |
\endgroup |
| 68 |
\let\firstmark\botmark} |
| 69 |
\@ifundefined{fancyput@flag}{\def\fancyput@flag{-1}}{} |
| 70 |
\fi |