Files
SimplLatexMenu/cmds.tex
2023-03-28 00:33:13 +02:00

36 lines
1.0 KiB
TeX

% colorize text
\newcommand*\ColText[1]{\textcolor{desc}{#1}}
% a tabular* for each drink group
\newenvironment{Group}[2]
{
\centering{\Huge{\textcolor{head}{#1}}} \medskip\\
\begin{tabular*}{\textwidth}
{@{}p{1.0\linewidth}@{\extracolsep{\fill}}r@{}} %Change the number before \linewidth to allow text to extend further
{\fontsize{11}{14}\selectfont\ColText{#2}}\\}
{\end{tabular*}}
% 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)
\smallskip\large\fontfamily{qzc}\selectfont #1 & #2}
% 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*{1em}\footnotesize #1 \dotfill\Price{#2}\\
\hspace*{1em}\footnotesize #3 \dotfill\Price{#4}\\
}