forked from len0rd/rockbox
Patch #4966 from Dominik Riebeling. Nicer headings!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9376 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e523041468
commit
6d5d734c8b
2 changed files with 10 additions and 8 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
\tableofcontents
|
||||
|
||||
% eject page for the new pagestyle starting on the next page!
|
||||
\eject
|
||||
\pagestyle{fancy}
|
||||
|
||||
\input{getting_started/main.tex}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue