summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorMartin Arver <martin.arver@gmail.com>2006-03-30 22:03:46 +0000
committerMartin Arver <martin.arver@gmail.com>2006-03-30 22:03:46 +0000
commit6d5d734c8b054af2393438323007dbeef9d78768 (patch)
treee26cdb0bf6adcf9b488c1c0a294e0660b9dae222 /manual
parente5230414683ef5f886e1b0e7a5405d7ec02c3606 (diff)
downloadrockbox-6d5d734c8b054af2393438323007dbeef9d78768.tar.gz
rockbox-6d5d734c8b054af2393438323007dbeef9d78768.zip
Patch #4966 from Dominik Riebeling. Nicer headings!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9376 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/preamble.tex16
-rw-r--r--manual/rockbox.tex2
2 files changed, 10 insertions, 8 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 40fd60118e..f4de2446aa 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 ff4168c28a..d7ddfff3c3 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}