diff options
author | schinz <schinz@epfl.ch> | 2004-01-19 14:29:32 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2004-01-19 14:29:32 +0000 |
commit | 3ea1b00f7467ec4128b64d1b8ffa23900f8e2f40 (patch) | |
tree | 9421d2abddd3f8bac3b1b8ab8d1c845d7a7cf33f | |
parent | 94d7bcd7ab135de76ca1f5719f1dd6e5122acb99 (diff) | |
download | scala-3ea1b00f7467ec4128b64d1b8ffa23900f8e2f40.tar.gz scala-3ea1b00f7467ec4128b64d1b8ffa23900f8e2f40.tar.bz2 scala-3ea1b00f7467ec4128b64d1b8ffa23900f8e2f40.zip |
- bug fix (hopefully): make the style work with...
- bug fix (hopefully): make the style work with non-book styles, which
do not know about chapters
-rw-r--r-- | support/latex/scaladoc.sty | 5 |
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} |