Dave Jarvis' Repositories

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

Now using normal mode of memoir, so that we can style chapter titles (including TOC and Index headings).

Author liantze <email>
Date 2013-02-05 22:20:08 GMT+0800
Commit 216faaba8d1827dfda983850f30ad373ee7b04c4
Parent d1696bd
Delta 16 lines added, 6 lines removed, 10-line increase
example-recipe.tex
%\input{layout/twoonecolumn-spread-rev}
-%\usepackage{index}
\makeindex
\usepackage{hyperref}
\begin{document}
+\frontmatter
\tableofcontents*
-
+\mainmatter
\begin{recipe}{Pizza Dough}
% from http://stockfresh.com/image/949544/preparing-pizza-dough-in-a-kitchen
headfoot/FramedPageNo.tex
+\makeevenhead{headings}{}{}{}
+\makeoddhead{headings}{}{}{}
+\makeevenfoot{headings}{\framedPage}{}{}
+\makeoddfoot{headings}{}{}{\framedPage}
\makeevenfoot{plain}{\framedPage}{}{}
\makeoddfoot{plain}{}{}{\framedPage}
recipe-book.cls
\ProvidesClass{recipe-book}[2013/01/14]
-\LoadClass[twoside,article,11pt]{memoir}
+\LoadClass[twoside,11pt]{memoir}
%%%% Page Geometries
\newcommand{\headingfont}{\headingfamily\headingsize\color{\headingcolor}\headingstyle}
+\renewcommand{\chaptitlefont}{\recipefamily\color{\recipecolor}\bfseries\HUGE\centering}
\setsecheadstyle{\recipefont}
\setsubsecheadstyle{\headingfont}
%}
\newcommand{\ingred}[3]{%
-{#1} {#2} {#3}
+\item {#1} {#2} {#3}
}
theme/Modern.tex
\renewcommand{\headingstyle}{\bfseries\halfruled}
+\chapterstyle{bianchi}
+\patchcommand{\printchaptertitle}{\color{\recipecolor}}{}
+
\renewcommand{\ovenstyle}{\itshape\par}
theme/Notebook.tex
\input{layout/topbottom}
\input{color/Sugar}
+\input{headfoot/FramedPageNo}
\providecommand{\handUnderline}[1]{%
-\setlength{\columnsep}{3em}
-\renewcommand{\columnseprule}{6pt}
+%\setlength{\columnsep}{3em}
+%\renewcommand{\columnseprule}{6pt}
+\setcolsepandrule{3em}{6pt}
\renewcommand{\columnseprulecolor}{\color{\tertiarycolor}}