Files
SimplLatexMenu/cmds.tex

37 lines
1.1 KiB
TeX

% colorize text
\newcommand*\ColText[1]{\textcolor{desc}{#1}}
% a tabular* for each drink group
\newenvironment{Group}[2]{
\heading{#1} \\
\fontsize{11}{14}\selectfont\ColText{#2}\\}
% to format each entry
\newcommand*\Entry[2]{%
%\vspace{0.5mm} % if you uncomment this line, change the Glass yshift to -4mm (idk why such difference)
\\\Large{\artfont #1 & #2}}
\newcommand*\heading[1]{
{\\\centering\linefont\fontsize{30}{10}\selectfont Q+=q {\fontsize{40}{60}{\headfont\textcolor{head}{#1}}} Q+=q\\\medskip}}
\newcommand*\subheading[1]{
{\centering\linefont\fontsize{20}{30}\selectfont Q++++=q {\LARGE{\artfont\selectfont\textcolor{head}{#1}}} Q++++=q\\}}
% to format each subentry
\newcommand*\Expl[1]{%
\scriptsize #1}
\newcommand*\Price[1]{%
\normalsize #1 €}
% sets page Backround to #1
\newcommand*{\PageBackground}[1]{
\tikz[remember picture,overlay] \node[opacity=1,inner sep=0pt] at (current
page.center){\includegraphics[width=\paperwidth,height=\paperheight]{#1}};
}
\newcommand*{\PriceMult}[4]{
\hspace*{0.5cm}\footnotesize #1 \dotfill\Price{#2}\\
\hspace*{0.5cm}\footnotesize #3 \dotfill\Price{#4}\\
}