corrections from Andrea on colorspace, fixed cutoff chapter numbers, some plugins...
[goodguy/cin-manual-latex.git] / common / settings.tex
index f4a0d8a32772e52352db66111ded180b835e92c6..687f4c454c561b307da9dc2111e1d0b2e3c3c2b7 100644 (file)
 %\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip 
 %\afterchapskip}
 %}
-\chapterstyle{madsen}          % one of chapter header style for memoir documentclass
+%\chapterstyle{madsen}         % one of chapter header style for memoir documentclass
+\makechapterstyle{morrow}{% requires graphicx package
+  \chapterstyle{default}%
+  \renewcommand*{\chapnamefont}{%
+    \normalfont\Large\scshape\raggedleft}%
+  \renewcommand*{\chapnumfont}{%
+    \normalfont\Large\bfseries\sffamily}%
+  \renewcommand*{\printchapternum}{%
+    \chapnumfont \resizebox{!}{3ex}{\thechapter}%
+  }%
+  \renewcommand*{\chaptitlefont}{%
+    \normalfont\Huge\bfseries\sffamily\raggedleft}%
+  \renewcommand*{\afterchapternum}{%
+    \par\hspace{1.5cm}\hrule\vskip\midchapskip}%
+}%
+
+\chapterstyle{morrow}          % one of chapter header style for memoir documentclass
 %\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
 \renewcommand{\chapterheadstart}{}
 %\renewcommand{\beforechapskip}{\vspace{2pt}}