Compare commits

..
5 Commits
Author SHA1 Message Date
david 31e11d0a40 Merge pull request 'Adding textboxes to the meal planner' (#3) from textbox-add into master
Reviewed-on: #3
2026-11-19 06:34:00 -06:00
david b26d4a82b8 minor fixes 2026-11-19 06:28:42 -06:00
david b5ea757d7b fixing units etc 2026-10-07 09:11:51 -05:00
david d66cc03343 minor fixes 2026-09-25 13:23:42 -05:00
david 2855cef45b add text box for meal planner 2026-09-10 10:51:53 -05:00
11 changed files with 138 additions and 70 deletions

No files matched your search

+31 -27
View File
@@ -5,38 +5,42 @@
\hfuzz=\maxdimen
\hbadness=10000
\documentclass{article}
\usepackage{xcolor,environ,lipsum,fontawesome5,calc,tikz,tabularray,graphicx,microtype,lmodern}
\usepackage{xcolor,environ,lipsum,fontawesome5,calc,tikz,tabularray,graphicx,microtype,lmodern,hyperref}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[%
papersize={5.5in,8.5in},
margin=15mm,
top=5mm,
bottom=5mm
papersize={5.5in,8.5in},
margin=15mm,
top=5mm,
bottom=5mm
]{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}
\newcounter{mealday} % this is to make sure each text box is distinct
\renewcommand*{\DefaultOptionsofText}{charsize = 10pt} % this is to change the formatting for every TextField
% source: https://tex.stackexchange.com/questions/36630/hyperref-how-to-format-text-in-a-forms-text-field
\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\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\\Breakfast & Lunch & Supper\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\\Breakfast & Lunch & Supper\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\\Breakfast & Lunch & Supper\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\\Breakfast & Lunch & Supper\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\\Breakfast & Lunch & Supper\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\\Breakfast & Lunch & Supper\\ \stepcounter{mealday}\TextField[name=B\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=L\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{} & \TextField[name=S\themealday,width=\linewidth,height=4.4em,multiline=true,bordercolor=,backgroundcolor=]{}\\
\end{tblr}
}
\begin{document}
\pagestyle{empty}
{\fontfamily{lmss}\selectfont
\paste
\break
\paste
}\end{document}
\begin{Form}
\pagestyle{empty}
{\fontfamily{lmss}\selectfont
\paste\\
\paste
}
\end{Form}
\end{document}
+1
View File
@@ -12,6 +12,7 @@
\input{recipes/ChickenSliders.tex}
\input{recipes/FauxLeftoverRice.tex}
\input{recipes/FirecrackerMeatballs.tex}
\input{recipes/GrandmasMacNcheese.tex}
\input{recipes/SalmonGnocchi.tex}
\input{recipes/TexasCaviar.tex}
%\input{recipes/TurkeyBurgers.tex} not complete
+2 -2
View File
@@ -16,7 +16,7 @@
\end{step}
\begin{step}
\cutext{340}{g}/\cunum{3/4}{lb}/3 sticks \textcolor{gray}{\small(\cunum<dbl>{340}{g})} salted butter, cold, cut into \cunum{1/2}{in} pieces or grated
\cunum{340}{g}/\cunum{3/4}{lb}/3 sticks \textcolor{gray}{\small(\cunum<dbl>{340}{g})} salted butter, cold, cut into \cunum{1/2}{in} pieces or grated
\method
Add the butter and use a pastry blender to cut the butter into the flour until the pieces are even and about the size of peas
\end{step}
@@ -28,7 +28,7 @@
\end{step}
\begin{step}
\cunum{340}{g}/\cutext{1 1/2}{cups} \textcolor{gray}{\small(\cunum<dbl>{340}{g})} buttermilk
\cunum{340}{g}/\cutext{1 1/2}{cup} \textcolor{gray}{\small(\cunum<dbl>{340}{g})} buttermilk
\method
Stir un until the dough comes together into a sticky mass. If it is too dry, add more buttermilk \cunum{1}{EL} at a time, mixing after each addition until it reaches the correct consistency
+30 -27
View File
@@ -1,40 +1,43 @@
\recipe[]{Chicken Gyros}[]
\serves{\textcolor{red}{??}}
\preptime{\textcolor{red}{2+ hours}}
\cooktime{\textcolor{red}{??}}
\recipe{Chicken Gyros}
\serves{6}
\preptime{\cunum{1--24}{h}}
\cooktime{\cunum{2}{h}}
\begin{step} % TL=teaspoon, EL=Tablespoon
\begin{step} % TL=teaspoon, EL=Tablespoon
\cunum{2--2.5}{lb} boneless skinless chicken thighs
\cutext{1}{TL} salt
\cutext{1/2}{TL} pepper
\cunum{2--3} garlic cloves, pressed
\cutext{1}{EL} dried oregano
½ lemon, juiced
\cutext{1/2}{TL} ground cumin
\cutext{1/2}{cup} full-fat plain greek yogurt
\cutext{2}{EL} olive oil
\cutext{1}{TL} salt
\cutext{1/2}{TL} pepper
\cunum{2--3} garlic cloves, pressed
\cutext{1/2}{TL} ground cumin
\cutext{1}{EL} dried oregano
½ lemon, juiced
\cutext{1/2}{cup} full-fat plain greek yogurt
\cutext{2}{EL} olive oil
\method
Make the marinade: Add to medium bowl and whisk together.
Marinate the chicken: Add the chicken thighs to the marinade, toss to combine well and
put in the fridge to marinate for a least one hour and up to 24 hours.
Marinate the chicken: Add the chicken thighs to the marinade, toss to combine well and
put in the fridge to marinate for a least one hour and up to 24 hours.
\end{step}
\begin{step}
\cutext{1}{cup} halved baby tomatoes
\cutext{1}{cup} chopped cucumber
\cutext{1/2}{cup} black olives
\cutext{1/2}{cup} crumbled feta cheese
\cutext{2}{cup} thinly sliced romaine lettuce
\cutext{1/2}{cup} Tzatziki
Pita bread
\vspace{0.75em}
\method
Once the chicken has marinated for at least 1 hour, remove from the fridge and preheat the oven to 400F.
Once the chicken has marinated for at least 1 hour, remove from the fridge and preheat the oven to 400F.
Use a vertical spit (or use half an onion as a base and position a skewer or two vertically into the onion like a spit on a sheet pan lined with foil). Thread the chicken thighs onto the skewer, making sure to rotate each thigh a bit as you go and the thighs are layered tightly together.
Use a vertical spit (or use half an onion as a base and position a skewer or two vertically into the onion like a spit on a sheet pan lined with foil). Thread the chicken thighs onto the skewer, making sure to rotate each thigh a bit as you go and the thighs are layered tightly together.
Bake for 1-1 ½ hours, until the internal temperature of the chicken reaches 165F (75C).
Let cool for 10-15 minutes before slicing/carving off slices of the chicken. Serve with pita, tzatziki and vegetables or in a bowl (by cooking layering everything on top of rice).
Bake for 1 hour wrapped in foil, then uncover and bake until the internal temperature of the chicken reaches \cunum{165}{F} (or \cunum{75}{C}).
\end{step}
\begin{step}
\cutext{1}{cup} halved baby tomatoes
\cutext{1}{cup} chopped cucumber
\cutext{1/2}{cup} black olives
\cutext{1/2}{cup} crumbled feta cheese
\cutext{2}{cup} thinly sliced romaine lettuce
\cutext{1/2}{cup} Tzatziki
Pita bread
\method
Let cool for 10-15 minutes before slicing/carving off slices of the chicken. Serve with pita, tzatziki and vegetables or in a bowl (by cooking layering everything on top of rice).
\end{step}
+1 -1
View File
@@ -5,7 +5,7 @@
\dishtype{\freeze} % options: vegetarian, glutenfree, freeze
\begin{step} % TL=teaspoon, EL=Tablespoon
\cutext{500}{g} cut \& pitted dates
\cunum{500}{g} cut \& pitted dates
\cunum{132}{g} sugar
\cunum{152}{g} water
+50
View File
@@ -0,0 +1,50 @@
\recipe{Grandma's Mac \& Cheese}[Preheat oven to \cunum{420}{F}]
\serves{12-16}
\preptime{\cutext{45}{min}}
\cooktime{\cutext{35}{min}}
\begin{step}
\cunum[oz=g]{16}{oz} elbow macaroni
\method
Boil the macaroni for 8-10 minutes, allow to cool
\end{step}
\begin{step}
3 eggs
\method
Beat eggs and pour into macaroni
\end{step}
\begin{step}
3 cans evaporated milk
garlic powder
garlic salt
Accent/MSG
seasoning salt
pepper
\method
Add seasonings and evaporated milk to taste
\end{step}
\begin{step}
1 block velveeta cheese
\cunum{1}{lb} extrasharp cheddar cheese
\cunum{1}{lb} sharp cheddar cheese
\cunum{1}{lb} colby jack cheese
\method
Grease a 9x13 pan and slice cheeses
Lay one of each cheese until you cover the bottom of the pan
Add half of macaroni mixture to pan, another layer of cheese, then repeat with the rest of the macaroni and cheese
Cover with foil and bake at \cunum{420}{F} for \cutext{35}{min}
\end{step}
{\large Smaller Recipe:}
Use a smaller portion of macaroni and one \cunum{1}{lb} block of cheese or two smaller blocks, one can of evaporated milk, and one or two eggs.
+9 -5
View File
@@ -3,15 +3,17 @@
\preptime{\textcolor{red}{??}}
\cooktime{\textcolor{red}{??}}
% THIS NEEDS TO BE CORRECTED, CHECK AGAINST ORIGINAL
\begin{step} % TL=teaspoon, EL=Tablespoon
1 large yellow onion
2 large tomatoes
2 large tomatoes (beefsteak)
4-5 spicy green chiles (or 1 serano pepper)
Olive oil
\method
Dice onion, tomatoes, and chile/pepper.
Sautee the onion in enough oil to cover the surface of the pan.
Sautee the onion in enough oil to cover the bottom of the pan.
\end{step}
\begin{step}
@@ -19,17 +21,19 @@
\cutext{1}{TL} coriander
\cutext{1}{TL} paprika
\cutext{1}{EL} tomato paste
diced chiles/pepper from previous step
\SnP
\method
Once onion starts to brown add the tomatoes. Season with salt, peepper cumin, coriander, paprika and tomato paste.
Once onion starts to brown add the tomatoes and peppers. Season with salt, peepper, cumin, coriander, paprika and tomato paste.
Cook tomatoes on medium/low heat untIl dissolved {\small (or able to be easily crushed with a spatula)}.
Cook tomatoes on medium/low heat until dissolved {\small (or able to be easily crushed with a spatula)}.
\end{step}
\begin{step}
3 eggs
\cutext{1/4}{cup} water
\method
\textbf{Switch heat off} then quickly crack eggs in tomato/onion mixture and mix thoroughly.\\Add a splash of water
\textbf{Remove from heat} then quickly crack eggs in tomato/onion mixture. Add a splash of water and mix immediately.
\end{step}
\begin{step}
+1 -1
View File
@@ -17,7 +17,7 @@
\begin{step}
\cutext{1_1/2}{cup} milk
\cutext{1/2}{cup} (1 stick) butter, melted
\cutext{1/4}{cup} (\cunum{1/2}{stick}) butter, melted
\cutext{2}{TL} vanilla extract
1 large egg
\method
+1 -1
View File
@@ -1,5 +1,5 @@
\recipe[]{Salmon \& Gnocchi}[]
\serves{\textcolor{red}{??}}
\serves{2--3}
\preptime{\textcolor{red}{??}}
\cooktime{\textcolor{red}{??}}
%\dishtype{\freeze} % options: vegetarian, glutenfree, freeze
+10 -5
View File
@@ -4,12 +4,13 @@
\cooktime{\cutext{10}{min}}
\begin{step}
\cunum{1/2}{lb} (\cunum[lb=g]{1/2}{lb}) salmon
\cunum{1/2}{lb} (\cunum[lb=g]{0.5}{lb})
olive oil
\SnP
garlic powder
\method
Season salmon with seasonings\\
Bake until center reaches \cunum{145}{F}, usually in the oven at \cunum{400}{F}
\end{step}
@@ -21,19 +22,21 @@
\end{step}
\begin{step}
\cunum{1/2}{lb} (\cunum[lb=g]{1/2}{lb}) imitation crab
\cunum{1/2}{lb} (\cunum[lb=g]{0.5}{lb}) imitation crab
\method
Add to large bowl, shred, and cut into bite-size pieces\\
Add cooked salmon \& shred
\end{step}
\begin{step}
\cutext{3}{oz} (\cutext[oz=g]{3}{oz}) cream cheese
\cutext{3}{oz} (\cunum[oz=g]{3}{oz}) cream cheese
\cutext{1/4}{cup} japanese mayo {\tiny(you can also use the white people kind)}
\cutext{1}{EL} siracha
\method
Add to bowl \& mix\\
Preheat oven to \cunum{380}{F}
\end{step}
@@ -42,7 +45,8 @@
seafood mixture
(optional) seaweed/furikake
\method
Spread rice in layer on bottom, optionally add layer of shredded seaweed/furikake and add seafood mixture on top\\
Spread rice in layer on bottom, optionally add layer of shredded seaweed/furikake and add seafood mixture on top
Bake in oven at \cunum{380}{F} for \cunum{10}{min}
\end{step}
@@ -52,6 +56,7 @@
(optional) scallions
(optional) sesame seeds
\method
Drizzle with siracha and mayo, garnishing with scallions, sesame seeds, or both\\
Drizzle with siracha and mayo, garnishing with scallions, sesame seeds, or both
Scoop with seaweed or crackers, better warm but still good cold.
\end{step}
+2 -1
View File
@@ -2,6 +2,7 @@
cd "$(dirname "$0")"
# these are so that later it can be edited through the web on gitea and automagically recompile without having to run anything on the webserver manually. MUST be commented out when modifying/running locally. I'm not gonna maintain two copies just for that automation, especially while I'm still actively creating stuff
#git stash
#git fetch --all
#git reset --hard origin/master
@@ -11,8 +12,8 @@ pdflatex -file-line-error -interaction nonstopmode -shell-escape -jobname=Recipe
mv -v -t /home/david/fileshare/LaTeX/Recipes Recipes.pdf
#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 -shell-escape -jobname="Meal Planner" meal-planner.tex
#qpdf "Meal Planner.pdf" --pages . 2-3 -- --replace-input # easier than trying to figure out how to remove the blank pages it auto-creates lol
#mv -v -t /home/david/fileshare/LaTeX/Recipes "Meal Planner.pdf"
#printf "\n-_-_-_-_-_-_-_-_- Shopping list -_-_-_-_-_-_-_-_-\n"