Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/recipe-books.git

Modified bianchi chapter style -> bianchi, to use thicker lines.

Author liantze <email>
Date 2013-03-11 23:05:48 GMT+0800
Commit 5473a07642e149299e437a3095a8bc79b02c0d13
Parent 4ec84f2
theme/Modern.tex
\renewcommand{\headingstyle}{\bfseries\halfruled}
-\chapterstyle{bianchi}
-\patchcommand{\printchaptertitle}{\color{\recipecolor}}{}
-\setlength\beforechapskip{-\baselineskip}
+%\chapterstyle{bianchi}
+%\patchcommand{\printchaptertitle}{\color{\recipecolor}}{}
+\makechapterstyle{thickbianchi}{%
+ \chapterstyle{default}
+ \renewcommand*{\chapnamefont}{\normalfont\Large\sffamily\itshape}
+ \renewcommand*{\chapnumfont}{\normalfont\huge}
+ \renewcommand*{\printchaptername}{%
+ \chapnamefont\centering\@chapapp}
+ \renewcommand*{\printchapternum}{\chapnumfont \textit{\thechapter}}
+ \renewcommand*{\chaptitlefont}{\normalfont\Huge\sffamily}
+ \renewcommand*{\printchaptertitle}[1]{%
+ \color{\recipecolor}\vhrulefill{1pt}\\\centering \chaptitlefont\textbf{##1}\par}
+ \renewcommand*{\afterchaptertitle}{\vspace{-.5\baselineskip}\vhrulefill{1pt}\\\vskip\afterchapskip}
+ \renewcommand*{\printchapternonum}{%
+ \vphantom{\chapnumfont \textit{9}}\afterchapternum}}
+\chapterstyle{thickbianchi}
+\setlength\beforechapskip{-2em}
\renewcommand{\formatcategorypage}[1]{%
Delta 17 lines added, 3 lines removed, 14-line increase