Skip to content
Snippets Groups Projects
Unverified Commit 4ca9ff42 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

add headerrule

parent 6fdc3302
Branches
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@
\RequirePackage{xparse}
\RequirePackage{titlesec,titletoc}
\RequirePackage{fancyhdr}
\RequirePackage{fourier-orns}% for fancy headrules
\RequirePackage{needspace}
\RequirePackage{tikz}
\usetikzlibrary{calc,mindmap,trees}% calc for fancy borders
......@@ -62,6 +63,16 @@
%% Redefine plain page style, and use it for every page.
\renewcommand\headrule{%
\iftoggle{verbose}{
\vspace{-6pt}
\hrulefill
\raisebox{-2.1pt}
{\textcolor{\pageSideColor}{\quad\decofourleft\decotwo\decofourright\quad}}%
\hrulefill
}{}
}
\fancypagestyle{plain}{
\fancyhf{}% clear all header and footer fields
\fancyfoot[LE]{--~\thepage}
......@@ -563,7 +574,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
\renewcommand*{\thesection}{\arabic{section}}
\titleformat{\subsection}
{\needspace{10em}\normalfont\center\large\bfseries}{\thesubsection}{1em}{}[\titlerule\vspace{1ex}\setcounter{list}{0}]
{\needspace{10em}\normalfont\center\large\bfseries}{\thesubsection}{1em}{}[\textcolor{\pageSideColor}{\titlerule}\vspace{1ex}\setcounter{list}{0}]
%
\titleformat{\subsubsection}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment