Guest User

LaTex subreddit Challenge Week 1

a guest
Feb 3rd, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 4.14 KB | None | 0 0
  1. \documentclass{article}
  2.  
  3. %for border
  4. \usepackage{background}
  5. \addtolength{\textwidth}{1in}
  6. \addtolength{\topmargin}{-0.25in}
  7.  
  8. %for changing page number position
  9. \usepackage{fancyhdr}
  10.  
  11. %for colour definitions
  12. \usepackage[utf8]{inputenc}
  13. \usepackage[english]{babel}
  14. %\usepackage[dvipsnames]{xcolor} can't use this as xcolor package clash error
  15.  
  16.  %for sloped fractions
  17.  \usepackage{xfrac}
  18.  
  19. %for vertical border text
  20. \usepackage{blindtext}
  21. \usepackage{eso-pic, rotating, graphicx}
  22.  
  23.  
  24.  %setting custom colour definitions
  25.  \definecolor{bordergrey}{RGB}{112, 129, 133}
  26. \definecolor{topitalicsred}{RGB}{83, 33, 28}
  27.  
  28. %setting border size and position
  29. \SetBgScale{0.7}
  30. \SetBgAngle{0}
  31. \SetBgColor{bordergrey}
  32. \SetBgContents{\rule{1pt}{\paperheight}}
  33. \SetBgHshift{-10cm}
  34.  
  35. %setting vertical border text elements
  36. \AddToShipoutPicture{\put(50,375){\rotatebox{90}{\scalebox{4}{\textcolor{topitalicsred}{Carnaroli Risotto}}}}}
  37. \AddToShipoutPicture{\put(85,485){\rotatebox{90}{\scalebox{1.25}{on Heirloom Tomato \& Basil Salad}}}}
  38.  
  39. \AddToShipoutPicture{\put(310,55){{\scalebox{0.75}{\textcolor{topitalicsred}{\textit{Fresh Sheet}}}}}}
  40.  
  41. \begin{document}
  42. \setcounter{page}{6}
  43.  
  44. \textcolor{topitalicsred}{\textit{Carnaroli rice is native to the Novara and Vercelli regions of northern Italy.
  45. The grains are slightly larger than the more common arborio rice, which means they absorb more liquid, resulting in a slightly creamier risotto. \textbf{Serves 6}}}
  46.  
  47. \vspace{10ex}
  48.  
  49. \noindent
  50. \begin{minipage}[t]{0.485\textwidth}
  51. \begin{enumerate}
  52. \setlength\itemsep{-0.25em}
  53.     {\fontfamily{cmss}\selectfont\item [] \large{Tomato and Basil Salad}}
  54.     \textbf{\item [6] large heirloom tomatoes (different colours if possible)}
  55.     \textbf{\item [$\sfrac{1}{2}$] cup basil leaves}
  56.     \textbf{\item [3] Tbsp traditional balsamic vinegar from Modena, Italy, or Venturi-Schulze (optional)}\end{enumerate}
  57. \end{minipage}%
  58. \hfill
  59. \noindent
  60. \begin{minipage}[t]{0.485\textwidth}
  61. \begin{enumerate}
  62. \setlength\itemsep{-0.25em}
  63.     {\fontfamily{cmss}\selectfont\item [] \large{Carnaroli Risotto}}
  64.     \textbf{\item [4] cups water}
  65.     \textbf{\item [2] Tbsp extra-virgin olive oil}
  66.     \textbf{\item [$\sfrac{1}{2}$] medium onion, minced}
  67.     \textbf{\item [1] clove garlic, minced}
  68.     \textbf{\item [$\sfrac{1}{2}$] cup carnaroli rice}
  69.     \textbf{\item [$\sfrac{1}{4}$] cup dry white wine}
  70.     \textbf{\item [2] Tbsp butter}
  71.     \textbf{\item [$\sfrac{1}{4}$] cup grated Parmesan cheese}
  72. \end{enumerate}
  73. \end{minipage}%
  74.  
  75. \vspace{10ex}
  76.  
  77.  
  78. \noindent
  79. \textcolor{topitalicsred}{\textit{Tomato and Basil Salad:}} Slice tomatoes $\sfrac{1}{4}$-inch thick and divide among six plates. Season with salt and pepper, then set aside.\\
  80.  
  81. \noindent
  82. \textcolor{topitalicsred}{\textit{Carnaroli Risotto:}} Heat water in a medium pot on medium heat and keep it at a gentle simmer, turning down the heat if necessary.
  83. \newline\indent Heat oil in a large heavy-bottomed pot on medium-high heat. Add onion and garlic, then sauté, stirring, for about 5 minutes, or until onion is translucent.
  84. \newline\indent Season well with salt and pepper. Stir in rice and cook for another 4 minutes, or until the grains are well coated with oil. Add wine and 1 cup of the simmering water, stirring constantly until the rice absorbs the liquid.
  85. \newline\indent Gradually add the remaining water, about $\sfrac{1}{2}$ cup at a time, so rice is always covered in liquid. Keep stirring. (It should take about 18 minutes for the rice to be perfectly cooked.
  86. Taste it at various intervals near the end. You may need a little more or a little less water, depending on the age of the rice.) When all the liquid is absorbed and rice is al dente, stir in butter and Parmesan.
  87. Stir vigorously to emulsify everything together. Season if necessary.\\
  88.  
  89. \noindent
  90. \textcolor{topitalicsred}{\textit{To Serve:}} Divide risotto evenly on top of plated tomatoes, leaving at least one-third of the colourful tomatoes exposed. Place a few basil leaves around each plate and garnish with a drizzle of balsamic vinegar (optional).
  91.  
  92. \pagestyle{fancy}
  93. \renewcommand\headrulewidth{0pt}
  94. \lhead{}\chead{}\rhead{}
  95. \cfoot{\hspace*{-39\baselineskip}\thepage}
  96.  
  97. \end{document}
Add Comment
Please, Sign In to add comment