diff --git a/bind.sty b/bind.sty index 0aa8d63f6b6486d1c32ff58fcc3746d7b8c59b8e..a7bbf9206b66d8eed72e2f54136f17386e82fd4d 100644 --- a/bind.sty +++ b/bind.sty @@ -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