summaryrefslogtreecommitdiff
path: root/support/latex/scaladoc.sty
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-03-10 09:24:30 +0000
committermichelou <michelou@epfl.ch>2005-03-10 09:24:30 +0000
commitb52ba308913f45306a054ed4cff861d1d209d1be (patch)
tree7d602f0451205e438e6f04eee4aaf6604e6517c1 /support/latex/scaladoc.sty
parentca46e0cc9789b601816447767c37ee87642c221d (diff)
downloadscala-b52ba308913f45306a054ed4cff861d1d209d1be.tar.gz
scala-b52ba308913f45306a054ed4cff861d1d209d1be.tar.bz2
scala-b52ba308913f45306a054ed4cff861d1d209d1be.zip
- added workaround for \spacefactor problem (se...
- added workaround for \spacefactor problem (see comment in tex source).
Diffstat (limited to 'support/latex/scaladoc.sty')
-rw-r--r--support/latex/scaladoc.sty8
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}