Skip to content

Commit

Permalink
Changed header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Nov 17, 2020
1 parent 0b1d621 commit 467843c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions specification/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,14 +491,16 @@
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{\rightmark}
% \fancyhead[LE,RO]{\thepage}
% \fancyhead[RE]{\leftmark}
% \fancyhead[LO]{\rightmark}
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers
\fancyhead[L]{OpenBuildingControl}
\fancyhead[R]{\leftmark}
\fancyfoot[R]{\thepage}
\fancyfoot[L]{}
\fancyfoot[C]{\thepage}
\fancyfoot[R]{}
\renewcommand{\headrulewidth}{0.5pt} % and the line
}
Expand Down

0 comments on commit 467843c

Please sign in to comment.