| | +\documentclass{recipe-book} |
| | +\usepackage{hyperref} |
| | +\usepackage{chemarrow} |
| | + |
| | +% Serif = Linux Libertine; Sans serif = Linux Biolinum |
| | +\renewcommand{\recipefamily}{\sffamily} |
| | +\renewcommand{\headingfamily}{\sffamily} |
| | +\renewcommand{\familydefault}{\rmdefault} |
| | + |
| | +% http://www.linuxlibertine.org/ |
| | +\usepackage[lf]{libertine} |
| | + |
| | +% http://www.colourlovers.com/palette/2634592/See_2 |
| | +\definecolor[named]{foggy}{HTML}{F5F6CE} |
| | +\definecolor[named]{RosyAlpaca}{HTML}{DBB9A1} |
| | +\definecolor[named]{LoveMeFour}{HTML}{A45F62} |
| | +\definecolor[named]{one}{HTML}{71574B} |
| | +\definecolor[named]{PlataMate}{HTML}{9A957A} |
| | +\definecolor[named]{sky}{HTML}{1921D1} |
| | + |
| | +\renewcommand{\primarycolor}{PlataMate} |
| | +\renewcommand{\secondarycolor}{RosyAlpaca!50} |
| | +\renewcommand{\tertiarycolor}{foggy} |
| | +\renewcommand{\primarycolorcomplement}{white} |
| | +\renewcommand{\secondarycolorcomplement}{black} |
| | +\renewcommand{\tertiarycolorcomplement}{black} |
| | +\renewcommand{\darkhighlight}{one} |
| | +\renewcommand{\brighthighlight}{LoveMeFour} |
| | +\renewcommand{\highlightcolor}{\brighthighlight} |
| | +\renewcommand{\externallinkcolor}{sky} |
| | +\renewcommand{\headingmarker}{\tikz[baseline=-3pt]\node[diamond,draw=none,inner sep=2.25pt,fill=\headingcolor]{};} |
| | +\renewcommand{\itemmarker}{\textcolor{\secondarycolor}{\scriptsize$\blacksquare$}} |
| | +\renewcommand{\inlinelistmarker}{\makebox[1.5em][c]{\color{\secondarycolor}\tiny$\blacksquare$}} |
| | +\renewcommand{\enumeratemarker}[1]{\framedNum{#1}} |
| | + |
| | +\renewenvironment{recipe}[1]{% |
| | + \clearpage% |
| | + \color{\maintextcolor}% |
| | + \raggedcolumns |
| | + \checkoddpage\strictpagecheck\ifoddpage\RLmulticolcolumns\else\LRmulticolcolumns\fi |
| | + \begin{multicols*}{2}[\section{#1}]% |
| | +}{% |
| | + \end{multicols*}% |
| | +} |
| | + |
| | +\renewcommand{\startinstructions}{\columnbreak} |
| | + |
| | +\renewcommand{\photo}[1]{\insetphoto{#1}} |
| | + |
| | +\normalingredients |
| | + |
| | +\makeevenhead{headings}{}{}{} |
| | +\makeoddhead{headings}{}{}{} |
| | +\makeevenfoot{headings}{\framedPage}{}{} |
| | +\makeoddfoot{headings}{}{}{\framedPage} |
| | +\makeevenfoot{plain}{\framedPage}{}{} |
| | +\makeoddfoot{plain}{}{}{\framedPage} |
| | +% Lian Tze LIM |
| | +% http://liantze.penguinattack.org/ |
| | +% 16 January 2013 |
| | +% |
| | +% Layout inspiration: "100 Recipes from Japanese Cooking" |
| | +% Authors: Hata Koichiro and Kondo Kazuki |
| | +% Publisher: Kodansha Books |
| | +% ISBN: 978-4770020796 |
| | + |
| | +\providecommand{\fullruled}[2][1pt]{#2\vskip-3pt\rule{\linewidth}{#1}} |
| | +\providecommand{\halfruled}[2][.4pt]{\headingmarker\ #2\vskip-6pt\rule{.5\linewidth}{#1}\vskip-3pt} |
| | + |
| | +%%%% Text-only cover |
| | +\renewcommand{\maketitle}{% |
| | +\begin{tikzpicture}[overlay,remember picture] |
| | +\fill[\primarycolor] ([xshift=-.5in]current page.north east) rectangle (current page.south east); |
| | +\draw[\primarycolor,line width=6pt] ([xshift=-.65in]current page.north east) -- ([xshift=-.65in]current page.south east); |
| | +\end{tikzpicture} |
| | +\vspace*{.5in}\par |
| | +\textcolor{\recipecolor}{\sffamily\fontsize{56pt}{58pt}\selectfont\fullruled[2pt]{\thetitle}}\par |
| | +\vfill |
| | +{\huge\itshape\color{\darkhighlight}A recipe compilation by \theauthor\par} |
| | +} |
| | + |
| | +\setcolsepandrule{3em}{6pt} |
| | +\renewcommand{\columnseprulecolor}{\color{\tertiarycolor}} |
| | + |
| | +\chapterstyle{bianchi} |
| | +\patchcommand{\printchaptertitle}{\color{\recipecolor}}{} |
| | + |
| | +\renewcommand{\recipesize}{\Huge} |
| | +\renewcommand{\recipestyle}{\bfseries\itshape\checkoddpage\strictpagecheck\ifoddpage\raggedleft\else\raggedright\fi\fullruled} |
| | +\renewcommand{\headingsize}{\large} |
| | +\renewcommand{\headingstyle}{\bfseries\halfruled} |
| | + |
| | +\renewcommand{\ovenstyle}{\itshape\par} |
| | + |
| | +\renewcommand{\ingredientsstyle}{% |
| | + nosep,% |
| | + label=\itemmarker,% |
| | + leftmargin=* |
| | +} |
| | + |
| | +\renewcommand{\equipmentstyle}{% |
| | + mode=unboxed,% |
| | + leftmargin=*,% |
| | + itemjoin=\inlinelistmarker, |
| | + noitemsep |
| | +} |
| | + |
| | +\renewcommand{\instructionsstyle}{% |
| | + leftmargin=*,% |
| | + itemsep=1pt,% |
| | + label={\enumeratemarker{\arabic*}} |
| | +} |
| | + |
| | +\renewcommand{\insetphoto}[1]{% |
| | + \includegraphics[width=\linewidth]{#1}\par\bigskip |
| | +} |
| | +% PDF hyperlink style and configuration |
| | +\hypersetup{ |
| | + % Show bookmarks bar? |
| | + bookmarks=true, |
| | + % Non-Latin characters in Acrobat's bookmarks |
| | + unicode=true, |
| | + % Show Acrobat's toolbar? |
| | + pdftoolbar=true, |
| | + % Show Acrobat's menu? |
| | + pdfmenubar=true, |
| | + % Window fit to page when opened |
| | + pdffitwindow=false, |
| | + % Fit the width of the page to the window |
| | + pdfstartview={FitH}, |
| | + % TODO: Title |
| | + %pdftitle={Recipe Title}, |
| | + % TODO: author |
| | + %pdfauthor={Recipe Book Author}, |
| | + % subject of the document |
| | + pdfsubject={Recipes}, |
| | + % Creator of the document |
| | + pdfcreator={LianTze Lim}, |
| | + % Producer of the document |
| | + pdfproducer={pdflatex}, |
| | + % TODO: List of keywords |
| | + pdfkeywords={recipe}, |
| | + % Links in new window |
| | + pdfnewwindow=true, |
| | + % false: boxed links; true: colored links |
| | + colorlinks=true, |
| | + % Color of internal links |
| | + linkcolor=\primarycolor, |
| | + % Color of links to bibliography |
| | + citecolor=black, |
| | + % Color of file links |
| | + filecolor=black, |
| | + % Color of external links |
| | + urlcolor=\externallinkcolor, |
| | + % No border around links |
| | + pdfborder={0 0 0} |
| | +} |
| | +\makeindex[flatingred] |
| | +\makeindex[catingred] |
| | +\title{Reddit's Recipes} |
| | +\date{2013-02-12} |
| | +\author{Dave Jarvis} |
| | +\frontcoverphoto{/tmp/latex/4/4bcfb10d5029fe91c553a6cbdb3144f8.png} |
| | +\begin{document} |
| | +\frontmatter |
| | +\makecover[copyrightpage] |
| | +\tableofcontents* |
| | +\mainmatter |
| | +\begin{recipe}{Pizza Dough} |
| | +\insetphoto{/tmp/latex/4/abcfb6ff8d0a390532af92904db4fbfa.jpg} |
| | +\begin{equipment} |
| | + \item[Bakeware] Bowl |
| | + \item[Electric] Mixer |
| | +\end{equipment} |
| | + |
| | +\begin{ingredients} |
| | +[Ingredients] |
| | + \ingred{6.5}{cup}{bread flour} |
| | +\index[catingred]{bread!bread flour} |
| | +\index[catingred]{seed $\to$ grain $\to$ wheat $\to$ flour!bread flour} |
| | +\index[flatingred]{bread flour} |
| | + \ingred{2}{teaspoon}{yeast} |
| | +\index[catingred]{fungi $\to$ yeast!yeast} |
| | +\index[flatingred]{yeast} |
| | + \ingred{3.25}{cup}{cold water} |
| | +\index[catingred]{water!cold water} |
| | +\index[flatingred]{cold water} |
| | + \ingred{6}{tablespoon}{olive oil} |
| | +\index[catingred]{oil!olive oil} |
| | +\index[flatingred]{olive oil} |
| | + \ingred{2--3}{teaspoon}{salt sugar} |
| | +\index[flatingred]{sugar} |
| | +\end{ingredients} |
| | + |
| | +\startinstructions |
| | + |
| | +\begin{instructions} |
| | +[Instructions] |
| | + \item Mix yeast, sugar and salt together with a cup of water. |
| | + \item Put 5 cups of flour in mixer. |
| | + \item Add yeast mixture, olive oil and water. |
| | + \item Start mixing. |
| | + \item Add remaining flour until you get a moist ball of dough. |
| | + \item Do not put to much flour in because the dough will get too dry. |
| | + \item Knead dough for around 10 minutes. |
| | + \item Leave it in the mixer and let the dough hook do the trick. |
| | + \item Cut the dough ball into 8 individual balls. |
| | + \item Coat each ball with more olive oil, put them in a bowl and let them rise over night in the fridge. |
| | + \item Take them out of the fridge an hour prior to cooking. |
| | + \item Take 3 or 4 minutes to cook depending on toppings. |
| | +\end{instructions} |
| | + |
| | +\end{recipe} |
| | + |
| | +\begin{recipe}{Ramen With Shiitake Mushroom Base} |
| | +\insetphoto{/tmp/latex/4/68102d2d73303a676c9537aba9b48497.jpg} |
| | +\begin{equipment} |
| | + \item[Cookware] Pot |
| | +\end{equipment} |
| | + |
| | +\begin{ingredients} |
| | +[Vegetables] |
| | + \ingred{1}{}{white onion} |
| | +\index[flatingred]{white onion} |
| | + \ingred{5}{}{chianti mushroom} |
| | +\index[catingred]{fungi $\to$ mushroom!chianti mushroom} |
| | +\index[flatingred]{chianti mushroom} |
| | + \ingred{1}{}{garlic clove} |
| | +\index[flatingred]{garlic clove} |
| | + \ingred{1}{cup}{water} |
| | +\index[catingred]{water!water} |
| | +\index[flatingred]{water} |
| | + \ingred{1}{}{carrot} |
| | +\index[catingred]{vegetable!carrot} |
| | +\index[flatingred]{carrot} |
| | + \ingred{2}{}{dried shiitake mushroom} |
| | +\index[catingred]{fungi $\to$ mushroom!dried shiitake mushroom} |
| | +\index[flatingred]{dried shiitake mushroom} |
| | + \ingred{1}{teaspoon}{sesame seed} |
| | +\index[catingred]{seed!sesame seed} |
| | +\index[flatingred]{sesame seed} |
| | + \ingred{1}{tablespoon}{sesame oil} |
| | +\index[catingred]{oil!sesame oil} |
| | +\index[flatingred]{sesame oil} |
| | + \ingred{1}{tablespoon}{chili oil} |
| | +\index[catingred]{oil!chili oil} |
| | +\index[flatingred]{chili oil} |
| | + \ingred{1}{tablespoon}{ginger} |
| | +\index[catingred]{spice!ginger} |
| | +\index[flatingred]{ginger} |
| | +\end{ingredients} |
| | + |
| | +\begin{ingredients} |
| | +[Broth] |
| | + \ingred{1}{tablespoon}{red miso} |
| | +\index[catingred]{vegetable $\to$ legume!red miso} |
| | +\index[flatingred]{red miso} |
| | + \ingred{1}{tablespoon}{white miso} |
| | +\index[catingred]{vegetable $\to$ legume!white miso} |
| | +\index[flatingred]{white miso} |
| | + \ingred{9}{cup}{cold water} |
| | +\index[catingred]{water!cold water} |
| | +\index[flatingred]{cold water} |
| | + \ingred{1}{package}{ramen noodle} |
| | +\index[flatingred]{ramen noodle} |
| | +\end{ingredients} |
| | + |
| | +\startinstructions |
| | + |
| | +\begin{instructions} |
| | +[Vegetables] |
| | + \item Add onion, chianti mushrooms, and garlic to a pot of water. |
| | + \item Add salt and pepper to taste. |
| | + \item Cover and cook on medium heat for two minutes. |
| | + \item Add carrots, dried shiitake mushrooms, sesame seeds, sesame oil, and chili oil. |
| | + \item Cook for 10 minutes. |
| | + \item Combine ginger and both miso, then add them to the mix. |
| | + \item Cook for one to two minutes. |
| | + \item Pour 9 cups of cold water. |
| | + \item Bring to a boil. |
| | + \item Let simmer for two hours. |
| | +\end{instructions} |
| | + |
| | +\begin{instructions} |
| | +[Noodles] |
| | + \item Drain the vegetables and press to make a broth. |
| | + \item Boil broth with noodles and add toppings. |
| | +\end{instructions} |
| | + |
| | +\end{recipe} |
| | + |
| | +\begin{recipe}{Candied Grapefruit Peel} |
| | +\insetphoto{/tmp/latex/4/b1ede6618a139a7d0902b54155a7dcd4.jpg} |
| | +\begin{equipment} |
| | + \item[Bakeware] Bowl |
| | + \item[Cookware] Pot |
| | +\end{equipment} |
| | + |
| | +\begin{ingredients} |
| | +[Ingredients] |
| | + \ingred{2}{cup}{sugar} |
| | +\index[flatingred]{sugar} |
| | + \ingred{2}{cup}{water} |
| | +\index[catingred]{water!water} |
| | +\index[flatingred]{water} |
| | + \ingred{10}{}{peel,quarter grapefruit} |
| | +\index[catingred]{fruit $\to$ citrus!grapefruit} |
| | +\index[flatingred]{grapefruit} |
| | +\end{ingredients} |
| | + |
| | +\startinstructions |
| | + |
| | +\begin{instructions} |
| | +[Instructions] |
| | + \item Cut the fruit away from the peel. |
| | + \item Peel into slivers, approximately a centimeter wide. |
| | + \item Put sliced peels in cooking pot. |
| | + \item Add sugar and enough water to cover the peels. |
| | + \item Boil for a few hours until peels are translucent. |
| | + \item Cool in pot. |
| | + \item Roll in a bowl of granulated sugar when cool enough to handle yet still tacky. |
| | + \item Serve on fresh waxed paper. |
| | +\end{instructions} |
| | + |
| | +\end{recipe} |
| | + |
| | +\begin{recipe}{Basic Guacamole} |
| | +\insetphoto{/tmp/latex/4/2d11e535f831c86bbf00385b11b3208f.jpg} |
| | +\begin{ingredients} |
| | +[Ingredients] |
| | + \ingred{3--4}{}{avocado} |
| | +\index[catingred]{fruit!avocado} |
| | +\index[flatingred]{avocado} |
| | + \ingred{1}{}{dice onion} |
| | +\index[flatingred]{onion} |
| | + \ingred{1}{}{mince garlic clove} |
| | +\index[flatingred]{garlic clove} |
| | + \ingred{1}{}{chop tomato} |
| | +\index[catingred]{fruit!tomato} |
| | +\index[flatingred]{tomato} |
| | + \ingred{1}{teaspoon}{lime juice} |
| | +\index[catingred]{fruit $\to$ citrus!lime juice} |
| | +\index[flatingred]{lime juice} |
| | +\end{ingredients} |
| | + |
| | +\startinstructions |
| | + |
| | +\begin{instructions} |
| | +[Instructions] |
| | + \item Add salt and pepper to taste. |
| | + \item Combine and mash. |
| | +\end{instructions} |
| | + |
| | +\end{recipe} |
| | + |
| | +\backmatter |
| | +\renewcommand{\clearforchapter}{\newpage} |
| | +\renewcommand{\indexname}{Ingredients in Alphabetic Order} |
| | +\printindex[flatingred] |
| | +\renewcommand{\indexname}{Ingredients by Categories} |
| | +\printindex[catingred] |
| | +\end{document} |
| | |