TildePublishingUnlimited/recipes/recipe.tex

78 lines
1.8 KiB
TeX

% Template from https://www.sharelatex.com/templates/other/recipe
% Adapted for use with Pandoc by biglysmalls (somewhere in the tildeverse)
% for inclusion into: https://tildegit.org/biglysmalls/TildePublishingUnlimited
%
% Neither the arranger, nor the tildeverse claims ownership over this template nor the
% example recipe included here.
% This template is provided as an instructive example and comes with no warranty whatsoever.
%
\documentclass{article}
\usepackage{fancyhdr} % Required for custom headers
\usepackage{lastpage} % Required to determine the last page for the footer
\usepackage{extramarks} % Required for headers and footers
\usepackage{graphicx} % Required to insert images
%\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage{amsmath}
%\usepackage{amsfont}
%\usepackage{amssymb}
\usepackage{multicol}
% Margins
\topmargin=-0.5in
\evensidemargin=0in
\oddsidemargin=-0.5in
\textwidth=7.5in
\textheight=9.0in
\headsep=0.25in
\pagestyle{fancy}
\rhead{$author$} % Top right header
\lhead{$foodname$}
\chead{ }
%\title{}
\begin{document}% see the YAML block at the head of the markdown recipe file. Note the text for preheating the oven. For Centigrade, replace the F with C.
PRELIMINARIES:
$if(prelim)$\begin{itemize}
$for(prelim)$
\item $prelim$\\$sep$
$endfor$
\end{itemize}
$endif$
\bigskip
\bigskip
\begin{multicols}{2}
Ingredients% Ingredient amounts given in Imperial measurements for this example. Metric system measurements can be entered in the yaml block just as well.
$if(ingredient)$
\begin{itemize}
$for(ingredient)$
\item $ingredient$\\$sep$
$endfor$%
\end{itemize}
$endif$
\columnbreak
Procedure
$body$
\end{multicols}
%I suppose pictures could go here
\end{document}