128 lines
3.5 KiB
TeX
128 lines
3.5 KiB
TeX
\newfontfamily{\headfont}{Sandwich}
|
|
\newfontfamily{\artfont}{Parisish}
|
|
\newfontfamily{\linefont}{FoglihtenDeH02} %https://www.1001fonts.com/foglihtendeh0-font.html
|
|
|
|
\usepackage{blindtext}
|
|
|
|
\backgroundsetup{contents={}}
|
|
|
|
% https://coolors.co/f6ebe0-ba5624-381d2a-9395d3-065143
|
|
|
|
\definecolor{bg}{HTML}{F6EBE0} % https://color.adobe.com/create/color-wheel
|
|
\definecolor{head}{HTML}{45252A}
|
|
\definecolor{desc}{HTML}{6C5B61}
|
|
%\definecolor{desc}{HTML}{381D2A}
|
|
%\definecolor{desc}{HTML}{363331}
|
|
\definecolor{text}{HTML}{413135}
|
|
\definecolor{boxbg}{HTML}{fbf5f0}
|
|
\color{text}
|
|
|
|
\graphicspath{{img/}}
|
|
|
|
\newcommand*\Icon[2]{%
|
|
\begin{tikzpicture}[remember picture,overlay]
|
|
\node[xshift=5mm,yshift=-2mm]{%
|
|
\includegraphics[width=#2]{img/Glasses/#1.png}
|
|
};
|
|
\end{tikzpicture}%
|
|
}
|
|
|
|
\let\olddotfill\dotfill
|
|
\renewcommand{\dotfill}{\scriptsize\leaders\hbox to 1mm{\hss.\hss}\hfill}
|
|
|
|
% a tabular* for each drink group
|
|
\newenvironment{Group}[2]{%
|
|
\heading{#1}
|
|
\centering{\dsctxt{#2}}
|
|
}
|
|
|
|
\newcommand*{\dsctxt}[1]{%
|
|
\textcolor{desc}{\fontsize{11}{14}\selectfont#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\\}}
|
|
|
|
\newcommand*{\illupage}[2]{\newpage
|
|
\PageBackground{#1}
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{#2}
|
|
\end{center}}
|
|
|
|
\newcommand{\bgl}{bg-border-l.png} % define used border background
|
|
\newcommand{\bgr}{bg-border-r.png} % define used border background
|
|
|
|
\newcommand*{\titlef}[1]{%
|
|
{\fontsize{60}{60}\headfont\textcolor{head}{#1}}\\\medskip}
|
|
|
|
\newcommand*{\heading}[1]{%
|
|
\makebox[\textwidth]{\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\\}}
|
|
|
|
\newcommand*{\subsubheading}[1]{%
|
|
{\centering\linefont\fontsize{20}{30}\selectfont Q+=q {\Large{\artfont\selectfont\textcolor{head}{#1}}} Q+=q\\}}
|
|
|
|
\newcommand*{\subsubsubheading}[1]{%
|
|
{\Large{\artfont\selectfont\textcolor{head}{#1}}\\}}
|
|
|
|
\newcommand*{\subsubsubsubheading}[1]{%
|
|
{\raggedright\Large\artfont\selectfont\textcolor{head}{#1}\\}}
|
|
|
|
% to format each subentry
|
|
\newcommand*{\Expl}[1]{%
|
|
\small #1}
|
|
|
|
\newcommand*{\Price}[1]{%
|
|
\normalsize #1 \texteuro}
|
|
|
|
% 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*{\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}\\
|
|
}
|
|
|
|
\newcommand*{\PriceMultB}[4]{%
|
|
\hspace*{0.5cm}\small #1 \dotfill\Price{#2}\\
|
|
\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}}
|
|
|
|
\newcommand*{\LoDrItem}[4]{%1 = Name; 2 = Desc; 3 = Size; 4 = Price
|
|
\normalsize#1\scriptsize\space\textit{#2}\dotfill\Price{#3}\hspace{1cm}\Price{#4}}
|
|
|
|
|
|
\newcommand*{\parseprule}{%
|
|
\par
|
|
\begingroup
|
|
\centering
|
|
\raisebox{.2\baselineskip}{%
|
|
\rule{.6667\linewidth}{.4pt}%
|
|
}%
|
|
\par
|
|
\endgroup
|
|
} |