summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/epslatex-fr/topfig.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/epslatex-fr/topfig.sty')
-rw-r--r--Master/texmf-dist/doc/latex/epslatex-fr/topfig.sty15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/epslatex-fr/topfig.sty b/Master/texmf-dist/doc/latex/epslatex-fr/topfig.sty
new file mode 100644
index 00000000000..78390cd49e5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/epslatex-fr/topfig.sty
@@ -0,0 +1,15 @@
+%From: rose@gallant.apple.com (Dan Rose)
+%Subject: Solution: Changing page styles/headers on the fly in LaTeX
+% Author: Hiroshi Nakashima (nakasima@kuis.kyoto-u.ac.jp)
+\def\ps@topfig{\def\@oddhead{} %Head for odd pages (adaptable)
+ \def\@oddfoot{\null\hfil{\rm\thepage}\hfil\null} %Foot for odd pages (adaptable)
+ \def\@evenhead{} %Head for even pages (adaptable)
+ \def\@evenfoot{\null\hfil{\rm\thepage}\hfil\null}} %Foot for even pages (adaptable)
+
+\let\latex@makecol\@makecol
+\def\@makecol{\ifx\@toplist\@empty\else
+ \typeout{TOPFIG-1 PAGE}
+ \thispagestyle{topfig}\fi\latex@makecol}
+
+\let\latex@opcol\@opcol
+\def\@opcol{\if@fcolmade\typeout{TOPFIG-2 PAGE}\thispagestyle{topfig}\fi\latex@opcol}