Brownies for two, improve sections

This commit is contained in:
2024-08-14 22:20:50 -05:00
parent e8967c646a
commit 48a359fd1a
4 changed files with 55 additions and 10 deletions

View File

@@ -22,19 +22,26 @@
% https://tex.stackexchange.com/questions/366229/an-aesthetically-pleasing-recipe-book-template
% have to define a cup cause the cooking-units writer is german and doesn't understand the flawed american way to measure ingredients.
% have to define a cup cause the cooking-units writer is german and doesn't understand the flawed american way to measure ingredients.
\declarecookingunit{cup}
\cudefinename {English}
{
{cup} {cup}[cups]
% {oz} {ounce}[ounces]
{oz} {ounce}[ounces]
}
\cusetup{use-phrases=true}
% Removing the numbers from the sections & sub-sections
\setcounter{secnumdepth}{0}
\newcounter{stepnum}
\makeatletter
\def\plus{\texttt{+}\hspace{.3em}}
\def\minus{\texttt{-}\hspace{.3em}}
%% From Donald Arseneau. Add after the wrapping text. Whew!
\def\wrapfill{% Just glad it works.
\par
@@ -100,7 +107,7 @@
\rhead{}%
\lfoot{}%
\rfoot{}%
\section{#2}%
\subsection{#2}%
\IfNoValueF{#1}{\begin{center}\testoneline{#1}\end{center}}
\IfNoValueF{#3}{\noindent\emph{#3}\par\medskip}
}
@@ -134,8 +141,6 @@
\newcommand{\cooktime}[2][Cook time]{%
\rfoot{#1: #2}%
}
\newcommand{\temp}[1]{%
#1°C}
%% Optional argument is the width of the graphic, default = 1in
\newcommand{\showpic}[3][1in]{%
\begin{center}