add recipes, update meal planner to function that I must have been doing wrong before
This commit is contained in:
parent
78601d30fe
commit
f86e1508c5
@ -15,38 +15,28 @@
|
|||||||
bottom=5mm
|
bottom=5mm
|
||||||
]{geometry}
|
]{geometry}
|
||||||
|
|
||||||
|
\newcommand{\paste}{
|
||||||
|
\noindent
|
||||||
|
\begin{tblr}{width = \textwidth,
|
||||||
|
vline{2,3} = {3,6,9,12,15,18,21}{solid}, % vertical lines
|
||||||
|
hline{2,5,8,11,14,17,20} = {2}{dotted}, % horizontal lines above Lunch
|
||||||
|
hline{3,4,6,7,9,10,12,13,15,16,18,19,21,22} = {solid}, % horizontal lines above text boxes
|
||||||
|
row{3,6,9,12,15,18,21} = {4.6em}, % the text boxes to write in
|
||||||
|
columns = {0.3\textwidth,c}}
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\\Breakfast & Lunch & Supper\\ \\
|
||||||
|
\end{tblr}
|
||||||
|
}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\pagestyle{empty}
|
\pagestyle{empty}
|
||||||
{\fontfamily{lmss}\selectfont
|
{\fontfamily{lmss}\selectfont
|
||||||
\noindent
|
\paste
|
||||||
\begin{tblr}{width = \textwidth,
|
|
||||||
vline{2,3} = {3,6,9,12,15,18,21}{solid}, % vertical lines
|
|
||||||
hline{2,5,8,11,14,17,20} = {2}{dotted}, % horizontal lines above Lunch
|
|
||||||
hline{3,4,6,7,9,10,12,13,15,16,18,19,21,22} = {solid}, % horizontal lines above text boxes
|
|
||||||
row{3,6,9,12,15,18,21} = {4.6em}, % the text boxes to write in
|
|
||||||
columns = {0.3\textwidth,c}}
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\end{tblr}
|
|
||||||
\break % so that its easier to print 2/page, just a copy of above
|
\break % so that its easier to print 2/page, just a copy of above
|
||||||
\noindent
|
\paste
|
||||||
\begin{tblr}{width = \textwidth,
|
|
||||||
vline{2,3} = {3,6,9,12,15,18,21}{solid}, % vertical lines
|
|
||||||
hline{2,5,8,11,14,17,20} = {2}{dotted}, % horizontal lines above Lunch
|
|
||||||
hline{3,4,6,7,9,10,12,13,15,16,18,19,21,22} = {solid}, % horizontal lines above text boxes
|
|
||||||
row{3,6,9,12,15,18,21} = {4.6em}, % the text boxes to write in
|
|
||||||
columns = {0.3\textwidth,c}}
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\\Breakfast & Lunch & Supper\\ \\
|
|
||||||
\end{tblr}
|
|
||||||
}\end{document}
|
}\end{document}
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
\newpage
|
\newpage
|
||||||
\part{Entrées}
|
\part{Entrées}
|
||||||
\input{recipes/ChickenSliders.tex}
|
|
||||||
\input{recipes/ChickenGyros.tex}
|
\input{recipes/ChickenGyros.tex}
|
||||||
|
\input{recipes/ChickenSliders.tex}
|
||||||
\input{recipes/TexasCaviar.tex}
|
\input{recipes/TexasCaviar.tex}
|
||||||
%\input{recipes/TurkeyBurgers.tex}
|
%\input{recipes/TurkeyBurgers.tex}
|
||||||
\input{recipes/SalmonGnocchi.tex}
|
\input{recipes/SalmonGnocchi.tex}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
\recipe{Coffee Cake Cookies}[Preheat the oven to \cutext{350}{F}.]
|
\recipe{Coffee Cake Cookies}[Preheat the oven to \cunum{350}{F}.]
|
||||||
\serves{12}
|
\serves{12}
|
||||||
\preptime{\cutext{15}{min}}
|
\preptime{\cutext{15}{min}}
|
||||||
\cooktime{\cutext{25}{min}}
|
\cooktime{\cutext{25}{min}}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
\cooktime{\textcolor{red}{??}}
|
\cooktime{\textcolor{red}{??}}
|
||||||
|
|
||||||
\begin{step} % TL=teaspoon, EL=Tablespoon
|
\begin{step} % TL=teaspoon, EL=Tablespoon
|
||||||
1 large onion \textcolor{red}{which kind?}
|
1 large yellow onion
|
||||||
2 large tomatoes
|
2 large tomatoes
|
||||||
4-5 spicy green chiles (or 1 serano pepper)
|
4-5 spicy green chiles (or 1 serano pepper)
|
||||||
Olive oil
|
Olive oil
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
\drink[Teddy's first smoothie and he loved it!]{Berry Good Smoothies}[Makes 3 x \cunum{300}{ml}/\cunum[ml=cup]{300}{ml} servings. \textcolor{gray}{\small(single serving in gray)}]
|
\culabel{single}{3} \cusetup{set-number-of-persons=1,recalculate-amount=true}
|
||||||
|
|
||||||
|
\drink[Teddy's first smoothie and he loved it!]{Berry Good Smoothies}[Makes 3 x \cunum{300}{ml}/\cunum[ml=cup]{300}{ml} servings. \textcolor{gray}{\small(\curef{single} serving in gray)}]
|
||||||
|
|
||||||
Blend the following ingredients:
|
Blend the following ingredients:
|
||||||
|
|
||||||
\medskip\noindent
|
\medskip\noindent
|
||||||
\cutext{1_1/2}{cup}/\cunum[cup=ml]{1.5}{cup} \textcolor{gray}{\small(\cunum{60}{ml})} milk (usually oat milk)\\
|
\cutext{1_1/2}{cup}/\cunum{355}{g} \textcolor{gray}{\small(\cunum<single>{355}{g})} milk (usually oat milk)\\
|
||||||
1 banana, in chunks\\
|
1 banana, in chunks\\
|
||||||
\cutext{2}{cup}/\cunum[cup=ml]{2}{cup} \textcolor{gray}{\small(\cunum{160}{ml})} frozen berries\\
|
\cutext{2}{cup}/\cunum{250}{g} \textcolor{gray}{\small(\cunum<single>{250}{g})} frozen berries\\
|
||||||
\cutext{1/2}{cup}/\cunum[cup=ml]{0.5}{cup} \textcolor{gray}{\small(\cunum{40}{ml})} vanilla greek yoghurt {\small(if only plain is at hand, add \cunum{1}{TL} vanilla extract)}
|
\cutext{1/2}{cup}/\cunum{130}{g} \textcolor{gray}{\small(\cunum<single>{130}{g})} vanilla greek yoghurt {\small(if only plain is at hand, add \cunum{1}{TL} vanilla extract)}
|
24
render.sh
24
render.sh
@ -5,20 +5,20 @@ cd "$(dirname "$0")"
|
|||||||
#git fetch --all
|
#git fetch --all
|
||||||
#git reset --hard origin/master
|
#git reset --hard origin/master
|
||||||
|
|
||||||
printf "\n-_-_-_-_-_-_-_-_- Main -_-_-_-_-_-_-_-_-\n"
|
#printf "\n-_-_-_-_-_-_-_-_- Main -_-_-_-_-_-_-_-_-\n"
|
||||||
pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=Recipes main.tex
|
#pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname=Recipes main.tex
|
||||||
printf "\n-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-\n\n\n"
|
#printf "\n-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-\n\n\n"
|
||||||
pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Recipes main.tex
|
#pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Recipes main.tex
|
||||||
|
|
||||||
printf "\n-_-_-_-_-_-_-_-_- Booklet -_-_-_-_-_-_-_-_-\n"
|
#printf "\n-_-_-_-_-_-_-_-_- Booklet -_-_-_-_-_-_-_-_-\n"
|
||||||
# https://github.com/jenom/pdfbook2
|
# https://github.com/jenom/pdfbook2
|
||||||
pdfbook2 --no-crop --top-margin=5 --bottom-margin=5 --outer-margin=0 --inner-margin=0 --short-edge --paper=letterpaper Recipes.pdf
|
#pdfbook2 --no-crop --top-margin=5 --bottom-margin=5 --outer-margin=0 --inner-margin=0 --short-edge --paper=letterpaper Recipes.pdf
|
||||||
mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf Recipes-book.pdf
|
#mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf Recipes-book.pdf
|
||||||
|
|
||||||
#printf "\n-_-_-_-_-_-_-_-_- Meal Planner -_-_-_-_-_-_-_-_-\n"
|
printf "\n-_-_-_-_-_-_-_-_- Meal Planner -_-_-_-_-_-_-_-_-\n"
|
||||||
#pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname="Meal Planner" meal-planner.tex
|
pdflatex -file-line-error -interaction nonstopmode -draftmode -shell-escape -jobname="Meal Planner" meal-planner.tex
|
||||||
#pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname="Meal Planner" meal-planner.tex
|
pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname="Meal Planner" meal-planner.tex
|
||||||
#mv -v -t /home/david/fileshare/LaTeX/Recipes "Meal Planner.pdf"
|
mv -v -t /home/david/fileshare/LaTeX/Recipes "Meal Planner.pdf"
|
||||||
|
|
||||||
rm *.aux *.out *.log *.toc *.fls *.fdb_latexmk
|
rm *.aux *.out *.log *.toc *.fls *.fdb_latexmk
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user