Menu template
Author
Gonzalo Medina, Moriambar, Harlor
Last Updated
před 5 lety
License
Creative Commons CC BY 4.0
Abstract
Overleaf version of Gonzalo Medina post on tex.sx
Overleaf version of Gonzalo Medina post on tex.sx
\documentclass[12pt]{article}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[textwidth=12cm,centering]{geometry}
\usepackage[x11names]{xcolor}
\usepackage{background}
\newcommand*\wb[3]{%
{\fontsize{#1}{#2}\usefont{T1}{custom}{xl}{n}#3}}
%{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}#3}}
% The page frame
\SetBgColor{Goldenrod3}
\SetBgAngle{0}
\SetBgScale{1}
\SetBgOpacity{1}
\SetBgContents{%
\begin{tikzpicture}
\node at (0.5\paperwidth,0) {\wb{80}{34}{E}\rule[55pt]{.3\textwidth}{0.4pt}%
\raisebox{50pt}{%
\makebox[.4\textwidth]{\ \fontsize{24}{29}\selectfont\scshape Menü }}%
\rule[55pt]{.3\textwidth}{0.4pt}\wb{80}{34}{F}};
\node at (2.4,-0.5\textheight) {\rule{0.4pt}{.82\textheight}};
\node at (19.1,-0.5\textheight) {\rule{0.4pt}{.82\textheight}};
\node at (0.5\paperwidth,-\textheight) {\wb{80}{80}{G}\rule[-10pt]{\textwidth}{0.4pt}\wb{80}{34}{H}} ;
\end{tikzpicture}%
}
% colorize text
\newcommand*\ColText[1]{\textcolor{Goldenrod3}{#1}}
% a tabular* for each food group
\newenvironment{Group}[1]
{\noindent\begin{tabular*}{\textwidth}{@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
{\fontsize{24}{29}\selectfont\ColText{#1}}\\[0.8em]}
{\end{tabular*}}
% to format each entry
\newcommand*\Entry[2]{%
\sffamily#1 & #2}
% to format each subentry
\newcommand*\Expl[1]{%
\hspace*{1em}\footnotesize #1}
\pagestyle{empty}
\begin{document}
\begin{Group}{Snacks}
\Entry{Chicken Wings}{4.50} \\
\Expl{6 Stück inkl. 1 Dip nach Wahl} \\
\Entry{Chicken Wings}{5.90} \\
\Expl{9 Stück inkl. 2 Dips nach Wahl} \\
\Entry{Mozarella Sticks}{4.50} \\
\Expl{6 Stück inkl. 1 Dip nach Wahl} \\
\Entry{Mozarella Sticks}{5.90} \\
\Expl{9 Stück inkl. 2 Dips nach Wahl} \\
\Entry{Extra Dip}{1.00} \\
\Expl{Barbecue, Chili-Cheese, Sourcream, Curry, Süßsauer} \\
\end{Group}
\vfill
\begin{Group}{Pizza}
\Entry{Pizza Margherita}{6.50} \\
\Expl{Tomatensoße, Mozarella} \\
\Entry{Pizza Salame}{7.50} \\
\Expl{Tomatensoße, Mozarella, Salami} \\
\Entry{Pizza Funghi}{7.50} \\
\Expl{Tomatensoße, Mozarella, Champignons} \\
\Entry{Pizza Prosciutto}{7.50} \\
\Expl{Tomatensoße, Mozarella, Schinken} \\
\Entry{Pizza Tonno}{7.50} \\
\Expl{Tomatensoße, Mozarella, Thunfisch, rote Zwiebeln} \\
\Entry{Pizza Hawaii}{8.50} \\
\Expl{Tomatensoße, Mozarella, Ananas, Schinken} \\
\Entry{Pizza Salame e Prosciutto}{8.50} \\
\Expl{Tomatensoße, Mozarella, Salami, Schinken} \\
\Entry{Pizza Vegetariana}{8.50} \\
\Expl{Tomatensoße, Mozarella, Blattspinat, Mais, Tomaten} \\
\Entry{Pizza Texas}{9.50} \\
\Expl{BBQ-Soße, Mozarella, Salami, Bacon, Paprika} \\
\Entry{Pizza Chicken Deluxe}{9.50} \\
\Expl{BBQ-Soße, Mozarella, Salami, Bacon, Paprika} \\
\Entry{Pizza Brook}{9.50} \\
\Expl{Chilicheese-Soße, Mozarella, Mais, Chicken, Paprika} \\
\Entry{Pizza des Tages + 0,33l Softdrink}{9.50}\\
\Expl{Pizza des Tages auf dem Board ausgeschildert} \\
\end{Group}
\end{document}