Skip to content
Snippets Groups Projects
Commit 7b75e5c4 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

Merge commit '48ae61c1' into dev

parents be998361 48ae61c1
No related branches found
No related tags found
No related merge requests found
......@@ -44,13 +44,13 @@
\newcounter{chapshift}
\addtocounter{chapshift}{-1}
\newcounter{pageDarkness}
\setcounter{pageDarkness}{20}
\newcommand\pageSideColor{%
black!\arabic{pageDarkness}%
}
\newcounter{pageDarkness}
\setcounter{pageDarkness}{0}
\newcommand\ChapFrame{%
\AddEverypageHook{%
\ifodd\value{page}
......@@ -67,7 +67,7 @@
]
at ($ (current page.north east) + (-0cm,-2*\thechapshift cm) $)
{\rotatebox{90}{\hspace*{.3cm}\parbox[c][1.5cm][t]{3.4cm}{%
\raggedright\textcolor{black}{\scshape\leftmark}}}};
\raggedright\textcolor{white}{\scshape\leftmark}}}};
\end{tikzpicture}%
}%
}
......@@ -85,14 +85,16 @@
]
at ($ (current page.north west) + (-0cm,-2*\thechapshift cm) $)
{\rotatebox{90}{\hspace*{.3cm}\parbox[c][1.5cm][t]{3.4cm}{%
\raggedright\textcolor{black}{\scshape\leftmark}}}};
\raggedright\textcolor{white}{\scshape\leftmark}}}};
\end{tikzpicture}%
}%
}
\fi
\BgMaterial}%
\stepcounter{chapshift}%
\addtocounter{pageDarkness}{5}
\ifnum\value{pageDarkness}<90
\addtocounter{pageDarkness}{10}
\fi
}
% redefinition of \chaptermark to contain only the title
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment