diff options
Diffstat (limited to 'support/latex')
-rw-r--r-- | support/latex/scaladoc.sty | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/support/latex/scaladoc.sty b/support/latex/scaladoc.sty index 343683cea5..bc789eac45 100644 --- a/support/latex/scaladoc.sty +++ b/support/latex/scaladoc.sty @@ -94,7 +94,15 @@ \fancypagestyle{plain}{\fancyhf{}% \renewcommand{\headrulewidth}{0pt}% \renewcommand{\footrulewidth}{0pt}} + +%%% required on Fedora Core 2 (why?!) +%%% (hint found at http://www.opennet.ru/docs/FAQ/soft/tex-faq.html) +\makeatletter +%%% \@ifundefined{chaptermark}{}{\renewcommand{\chaptermark}[1]{\markboth{#1}{}}} +%%% +\makeatother +%%% \renewcommand{\sectionmark}[1]{\markright{\thesection\ \ #1}} \fancyhf{} \fancyhead[LE,RO]{\sffamily\footnotesize\thepage} |