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

more black side page

parent 8e2c6a4a
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