Dave Jarvis' Repositories

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

Initial commit for Halloween theme.

Author liantze <email>
Date 2013-07-28 23:52:37 GMT+0800
Commit 2e4b1c927e381a8204ac0c42d9ec1d8948d17458
Parent f947b44
color/TrickOrTreat.tex
+% http://www.colourlovers.com/palette/54697/Trick_or_Treat
+\definecolor[named]{TrickNight}{HTML}{130912}
+\definecolor[named]{TrickPurple}{HTML}{3E1C33}
+\definecolor[named]{TrickMulberry}{HTML}{602749}
+\definecolor[named]{TrickPumpkin}{HTML}{B14623}
+\definecolor[named]{TrickPatch}{HTML}{F6921D}
+
+\renewcommand{\primarycolor}{TrickMulberry}
+\renewcommand{\secondarycolor}{TrickNight}
+\renewcommand{\tertiarycolor}{TrickPatch}
+\renewcommand{\darkhighlight}{TrickPurple}
+\renewcommand{\brighthighlight}{TrickPumpkin}
+\renewcommand{\primarycolorcomplement}{white}
+\renewcommand{\secondarycolorcomplement}{white}
+\renewcommand{\tertiarycolorcomplement}{white}
font/Antykwa.tex
+% Antykwa Torunska
+%\renewcommand{\recipefamily}{\rmfamily}
+%\renewcommand{\headingfamily}{\sffamily}
+\renewcommand{\recipefamily}{\fontfamily{antt}}
+\renewcommand{\headingfamily}{\fontfamily{antt}}
+\renewcommand{\familydefault}{\rmdefault}
+
+\usepackage{venturis}
+\usepackage[math,condensed]{anttor}
headfoot/NightPageNo.tex
-
+\makeevenhead{headings}{}{}{}
+\makeoddhead{headings}{}{}{}
+\newcommand{\NightBand}{\raisebox{-1.2ex}{\rule{\textwidth}{1.75em}}}
+\newcommand{\ScaryNightPageNum}{%
+ \color{\brighthighlight}\bfseries%
+ \raisebox{-.25ex}{\includegraphics[height=.95em]{theme/flyingbat}} \thepage\ \raisebox{-.25ex}{\includegraphics[height=.9em]{theme/Moon}}%
+}
+\makeevenfoot{plain}{\NightBand}{%
+\color{\darkhighlight}{\rule{\textwidth}{1em}}
+}{}
+\makeoddfoot{plain}{\NightBand}{\ScaryNightPageNum}{}
+\makeevenfoot{headings}{\NightBand}{\ScaryNightPageNum}{}
+\makeoddfoot{headings}{\NightBand}{\ScaryNightPageNum}{}
layout/topbottom.tex
\compactingredients
\compactinstructions
+\compactinsubstitutions
list/ghouls.tex
-
+\usepackage{adforn,fourier-orns}
+\renewcommand{\headingmarker}{\raisebox{-.25ex}{\includegraphics[height=1em]{theme/pumpkin}}}
+\renewcommand{\itemmarker}{\color{\secondarycolor}{\adfhangingleafright}}
+\renewcommand{\inlinelistmarker}{\ \raisebox{-.25ex}{\includegraphics[height=1em]{theme/blackcat-small}}\ }
+%\renewcommand{\inlinelistpunct}{\ {\includegraphics[height=.8em]{theme/flyingbat}}\ }
+\renewcommand{\inlinelistpunct}{\ \raisebox{-.75ex}{\includegraphics[height=1.5em,angle=5]{theme/Candy}}\ }
+\renewcommand{\enumeratemarker}[1]{\textcolor{\brighthighlight}{\Large\scriptfamily#1.}\space}
theme/Candy.png
Binary files differ
theme/Halloween.tex
+% Lian Tze LIM (liantze@gmail.com)
+% 6 July 2013
+
+\input{font/Antykwa}
+\input{layout/topbottom}
+\input{color/TrickOrTreat}
+\input{list/ghouls}
+\input{headfoot/NightPageNo}
+\input{toc/leftaligned}
+\input{catidx/topcateg}
+\input{flatidx/flatletter}
+
+\patchcommand{\makecrpage}{}{Uses icons from \url{http://garmahis.com/} and \url{http://inventicons.com/}.}
+
+\newcommand{\BlackCat}{\includegraphics[height=1.2em]{theme/blackcat-small}}
+\newcommand{\StyleHeading}[1]{\headingmarker\ \bfseries #1\vspace*{-1ex}%
+\tikz\shade[left color=\primarycolor!60!white, right color=white] rectangle (\linewidth,2pt);}
+
+
+\RequirePackage{everypage}
+
+\AddEverypageHook{%
+ \iftoggle{print}{%
+ \checkoddpage\strictpagecheck%
+ \ifoddpage
+ \tikz[overlay,remember picture]\draw[\primarycolor,line width=6pt] ([xshift=-.45in,yshift=-.5in]current page.north east) rectangle ([xshift=.95in,yshift=.57in]current page.south west);
+ \else
+ \tikz[overlay,remember picture]\draw[\primarycolor,line width=6pt] ([xshift=-.95in,yshift=-.5in]current page.north east) rectangle ([xshift=.45in,yshift=.57in]current page.south west);
+ \fi
+ }{%
+ \tikz[overlay,remember picture]\draw[\primarycolor,line width=6pt] ([xshift=-.45in,yshift=-.5in]current page.north east) rectangle ([xshift=.95in,yshift=.57in]current page.south west);
+ }
+}
+
+\setcolsepandrule{3em}{6pt}
+\renewcommand{\columnseprulecolor}{\color{\tertiarycolor}}
+\renewcommand{\recipesize}{\Huge}
+\renewcommand{\recipestyle}{%\tikz[overlay,remember picture]\node[anchor=north] at ([xshift=-1in,yshift=-.42in]current page.north east) {\includegraphics[width=1em]{theme/spider}};
+ \iftoggle{print}{%
+ \checkoddpage\strictpagecheck%
+ \ifoddpage
+ \tikz[overlay,remember picture]\node[anchor=north] at ([xshift=-1in,yshift=-.42in]current page.north east) {\includegraphics[width=1em]{theme/spider}};
+ \else
+ \tikz[overlay,remember picture]\node[anchor=north] at ([xshift=1in,yshift=-.42in]current page.north west) {\includegraphics[width=1em]{theme/spider}};
+ \fi
+ }{%
+ \tikz[overlay,remember picture]\node[anchor=north] at ([xshift=-1in,yshift=-.42in]current page.north east) {\includegraphics[width=1em]{theme/spider}};
+ }
+\centering\bfseries\includegraphics[width=2.5em]{theme/Hat}\\[-.5em]}
+\renewcommand{\headingsize}{\Large}
+\renewcommand{\headingstyle}{\StyleHeading}
+
+
+\providecommand{\framepic}[1]{%
+\noindent\raggedright%
+\begin{tikzpicture}
+\node[inner sep=1.5em,draw=gray!60,fill=\primarycolor, blur shadow={shadow blur steps=5,shadow xshift=1ex,shadow yshift=-1ex,shadow opacity=20,shadow blur radius=1ex}] (photo) {\includegraphics[width=.8\linewidth]{#1}};
+%\node[inner sep=0pt,font=\huge,anchor=north west,text=\darkhighlight,yshift=1.5em,xshift=-1.5em] (SE) at (photo.south east) {\adforn9};
+%\node[inner sep=0pt,font=\large,anchor=east,text=\darkhighlight] at (SE.west) {\adfflourishleftdouble};
+%\node[inner sep=0pt,font=\large,anchor=west,text=\darkhighlight,rotate=90] at (SE.north) {\adfflourishrightdouble};
+\end{tikzpicture}
+}
+
+\makeatletter
+\renewcommand{\insetphoto}[2][]{%
+\parsephotocitation{#1}
+\framepic{#2}\par\bigskip}
+\makeatother
theme/Hat.png
Binary files differ
theme/blackcat-small.png
Binary files differ
theme/flyingbat.png
Binary files differ
theme/moon.png
Binary files differ
theme/pumpkin.png
Binary files differ
theme/spider.png
Binary files differ
Delta 113 lines added, 2 lines removed, 111-line increase