diff options
| -rw-r--r-- | manual/preamble.tex | 16 | ||||
| -rw-r--r-- | manual/rockbox.tex | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex index 40fd601..f4de244 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -41,17 +41,17 @@ %\usepackage{url} %\urlstyle{same} -\pagestyle{fancy} -\renewcommand{\chaptermark}[1]{\markboth{#1}{}} -\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} +% fancy header style adjustments +%\renewcommand{\chaptermark}[1]{\markboth{#1}{}} +%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} +\renewcommand{\rightmark}[1]{\thechapter\ } \fancyhead{} \fancyfoot{} -\fancyhead[RO]{\iffloatpage{}{\rightmark}} -\fancyhead[LE]{\iffloatpage{}{\leftmark}} -\fancyhead[LO,RE]{\iffloatpage{}{\raisebox{-3pt}}} -\fancyfoot[RO,LE]{\iffloatpage{}{\thepage}} +\fancyhead[L]{{\textsc{\leftmark}}} +\fancyhead[R]{\iffloatpage{}{\thepage}} +\fancyfoot[L]{\textsc{Rockbox users manual}} +\fancyfoot[R]{\textsc{\playername}} -\fancyfoot[CO,CE]{} \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}} \renewcommand{\footrulewidth}{\iffloatpage{0pt}{0.4pt}} \setlength{\headheight}{18.5pt} diff --git a/manual/rockbox.tex b/manual/rockbox.tex index ff4168c..d7ddfff 100644 --- a/manual/rockbox.tex +++ b/manual/rockbox.tex @@ -11,6 +11,8 @@ \tableofcontents +% eject page for the new pagestyle starting on the next page! +\eject \pagestyle{fancy} \input{getting_started/main.tex} |