unifies all lists.
This commit is contained in:
24
cmds.tex
24
cmds.tex
@@ -2,20 +2,20 @@
|
||||
\renewcommand{\dotfill}{\scriptsize\olddotfill}
|
||||
|
||||
% colorize text
|
||||
\newcommand*{\ColText}[1]{\textcolor{desc}{#1}}
|
||||
\newcommand*{\ColText}[1]{\textcolor{}{#1}}
|
||||
|
||||
% a tabular* for each drink group
|
||||
\newenvironment{Group}[2]{%
|
||||
\heading{#1}
|
||||
\centering{\desctext{#2}}}
|
||||
\centering{\dsctxt{#2}}}
|
||||
|
||||
\newcommand*{\desctext}[1]{%
|
||||
\newcommand*{\dsctxt}[1]{%
|
||||
\fontsize{11}{14}\selectfont\ColText{#1}}
|
||||
|
||||
% 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}\\}
|
||||
\Large{\artfont #1 #2\\}}
|
||||
|
||||
\newcommand*{\illupage}[1]{\newpage
|
||||
\PageBackground{\bg}
|
||||
@@ -56,6 +56,18 @@
|
||||
page.center){\includegraphics[width=\paperwidth,height=\paperheight]{#1}};
|
||||
}
|
||||
|
||||
\newcommand*{\StdEntry}[6]{
|
||||
\Entry{#1}{}\\
|
||||
\Expl{#2}\\
|
||||
\DTLifnullorempty{#6}{\PriceSingl{#3}{#4}}{\PriceMultB{#3}{#4}{#5}{#6}}
|
||||
}
|
||||
|
||||
\newcommand*{\CofEntry}[6]{
|
||||
\Entry{#1}{}\\
|
||||
\Expl{#2}
|
||||
\DTLifnullorempty{#6}{\PriceSingl{}{#4}}{\\PriceMultB{#3}{#4}{#5}{#6}}
|
||||
}
|
||||
|
||||
\newcommand*{\PriceMultA}[4]{%
|
||||
\small #1 \dotfill\Price{#2}\\
|
||||
\small #3 \dotfill\Price{#4}\\
|
||||
@@ -66,6 +78,10 @@
|
||||
\hspace*{0.5cm}\small #3 \dotfill\Price{#4}\\
|
||||
}
|
||||
|
||||
\newcommand*{\PriceSingl}[2]{%
|
||||
\hspace*{0.5cm}\small#1\dotfill\Price{#2}\\
|
||||
}
|
||||
|
||||
\newcommand*{\ShotItem}[4]{%1 = Name; 2 = Desc; 3 = Size; 4 = Price
|
||||
\small#1\scriptsize\space\textit{#2}\small\dotfill #3\space\Price{#4}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user