summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/prosper/seminar-bg2-lepennec.fix
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/prosper/seminar-bg2-lepennec.fix
Initial commit
Diffstat (limited to 'macros/latex/contrib/prosper/seminar-bg2-lepennec.fix')
-rw-r--r--macros/latex/contrib/prosper/seminar-bg2-lepennec.fix70
1 files changed, 70 insertions, 0 deletions
diff --git a/macros/latex/contrib/prosper/seminar-bg2-lepennec.fix b/macros/latex/contrib/prosper/seminar-bg2-lepennec.fix
new file mode 100644
index 0000000000..b1371b8f26
--- /dev/null
+++ b/macros/latex/contrib/prosper/seminar-bg2-lepennec.fix
@@ -0,0 +1,70 @@
+
+%Back to the old footer behavior
+% Erwan Le Pennec (24-10-2001)
+\ifarticle\else
+ \def\output@slide{%
+ \begingroup
+ \hoffset=-\inverseslidesmag in
+ \voffset=-\inverseslidesmag in
+ \setslidelength\@tempdima{%
+ \ifportrait\paperwidth\else\paperheight\fi}%
+ \setslidelength\@tempdimb{%
+ \ifportrait\paperheight\else\paperwidth\fi}%
+ \ifrotateheaders
+ \@ifrotateslide{%
+ \dimen@=\@tempdima
+ \@tempdima=\@tempdimb
+ \@tempdimb=\dimen@}%
+ \fi
+ % \oddsidemargin, \evensidemargin, \headheight, \footheight
+ % used for scratch:
+ % Some page styles like to know \textwidth:
+ \setslidelength\headheight\slidetopmargin
+ \setslidelength\footheight\slidebottommargin
+ \ifautoslidemargins
+ \textwidth=\wd\@slidebox
+ \oddsidemargin=\@tempdima
+ \advance\oddsidemargin-\textwidth
+ \divide\oddsidemargin 2
+ \else
+ \setslidelength\oddsidemargin\slideleftmargin
+ \setslidelength\evensidemargin\sliderightmargin
+ \textwidth=\@tempdima
+ \advance\textwidth-\oddsidemargin
+ \advance\textwidth-\evensidemargin
+ \fi
+ \setbox\@slidebox=\hbox to \@tempdima{%
+ \kern\oddsidemargin
+ \vbox to\@tempdimb{%
+ \ifnum\fancyput@flag>-1
+ \hbox{\kern-\oddsidemargin\do@fancyput}%
+ \fi
+ \let\label\@gobble
+ \let\index\@gobble
+ \let\glossary\@gobble
+ \vbox to\headheight{%
+ \vfill
+ \hbox{%
+ \slideheadfont\relax\strut
+ \hbox to\textwidth{\@oddhead}}%
+ \kern\z@}%
+ \vfill
+ \hbox to\textwidth{\hss\box\@slidebox\hss}%
+ \vfill
+ \vbox to\footheight{%
+% Modification Denis Girou begin - May 15, 1998
+% Modification Erwan Le Pennec : suppress the Denis Girou modification
+% \vfill
+% Modification Denis Girou end
+ \hbox{%
+ \slidefootfont\relax\strut
+ \hbox to\textwidth{\@oddfoot}}%
+ \vfill}}%
+ \hss}%
+ \ifrotateheaders\@ifrotateslide\rotate@slide\fi
+ \insert@specials
+ \shipout\box\@slidebox
+ \endgroup
+ \let\firstmark\botmark}
+ \@ifundefined{fancyput@flag}{\def\fancyput@flag{-1}}{}
+\fi \ No newline at end of file