summaryrefslogtreecommitdiff
path: root/support/latex/scaladoc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'support/latex/scaladoc.sty')
-rw-r--r--support/latex/scaladoc.sty5
1 files changed, 1 insertions, 4 deletions
diff --git a/support/latex/scaladoc.sty b/support/latex/scaladoc.sty
index c5c29eecbc..343683cea5 100644
--- a/support/latex/scaladoc.sty
+++ b/support/latex/scaladoc.sty
@@ -94,10 +94,7 @@
\fancypagestyle{plain}{\fancyhf{}%
\renewcommand{\headrulewidth}{0pt}%
\renewcommand{\footrulewidth}{0pt}}
-%\newcommand{\setupChaptermark}{%
- \renewcommand{\chaptermark}[1]{\markboth{#1}{}}%
-%}
-%\@ifundefined{chaptermark}{}{\setupChaptermark}
+\@ifundefined{chaptermark}{}{\renewcommand{\chaptermark}[1]{\markboth{#1}{}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ \ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\sffamily\footnotesize\thepage}