initial commit

This commit is contained in:
mischbeck
2023-03-28 00:33:13 +02:00
commit 8285807f89
64 changed files with 2253 additions and 0 deletions

115
main.tex Normal file
View File

@@ -0,0 +1,115 @@
\documentclass[9pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[textwidth=12cm,centering]{geometry}
\usepackage[x11names]{xcolor}
% \usepackage[a4,center,noinfo,width=18cm,height=23cm]{crop}
\usepackage{background,mathpazo,pdfpages,tikz,datatool,graphicx}
% gute Website mit Bildern: https://illustrationage.com/2019/07/02/turn-back-the-pages-simplicissimus-magazine/
\usepackage{blindtext}
\usepackage{geometry} % https://www.overleaf.com/learn/latex/Page_size_and_margins
\geometry{
a5paper,
left=10mm,
right=10mm,
top=5mm,
bottom=5mm
}
\backgroundsetup{contents={}}
\newcommand*\wb[3]{%
{\fontsize{#1}{#2}\usefont{T1}{fonts/custom}{xl}{n}#3}}
% 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{text}{HTML}{381D2A}
%\definecolor{text}{HTML}{363331}
\definecolor{text}{HTML}{413135}
\color{text}
\newcommand{\bg}{bg-border.png} % define used border background
\graphicspath{{img/}}
\DTLsetseparator{;}
\DTLloaddb[headers={cat(\cat),note(\note)}]{drinks}{drinks.csv}
\input{glass.tex}
\input{cmds.tex}
\pagestyle{empty}
\begin{document}
\pagecolor{bg}
\PageBackground{cover32_48_649.jpg}
\begin{center}
\end{center}
\newpage
\PageBackground{\bg}
\includegraphics[width=\textwidth]{illus/kley.png}
\newpage
\PageBackground{\bg}
\begin{Group}{Kaffee}{Alle Kaffes werden von .... blablabla}
\DTLforeach[\DTLiseq{\cat}{Kaffee} \AND \NOT \DTLiseq{\note}{zusatz}]{drinks}{
\name=name,\desc=beschreibung,\img=img,\preisa=preis1,\preisb=preis2,\sizea=size1,\sizeb=size2,\cat=cat, \note=note}
{
\Entry{\name}{} \\
\Expl{\desc}
\DTLifnullorempty{\preisb}{ %wenn wenn nur ein preis, dann...
\dotfill\Price{\preisa} \\
}{ %wenn zwei preise, dann...
\\
\PriceMult{\sizea}{\preisa}{\sizeb}{\preisb}
}
}
\begin{center}
\textcolor{head}\large Extras \\ \smallskip
\parbox{10cm}{
\begin{center}
\DTLforeach[\DTLiseq{\cat}{Kaffee} \AND \DTLiseq{\note}{zusatz}]{drinks}{
\name=name,\desc=beschreibung,\img=img,\preisa=preis1,\preisb=preis2,\sizea=size1,\sizeb=size2,\cat=cat, \note=note}
{
\small\name\scriptsize\desc\small\dotfill\preisa\\
}
\end{center}
} \\
\smallskip \textcolor{head}\small
Wenn ihr weitere Wünsche habt, meldet euch gerne bei uns! \\
\end{center}
\end{Group}
\newpage
\PageBackground{\bg}
\begin{Group}{Tee}{Bester Biotee und so. Geiler Scheiß whaaaaat}
\centering 2,50€ \\
\DTLforeach[\DTLiseq{\cat}{Tee}]{drinks}{
\name=name,\desc=beschreibung,\img=img,\preis=preis1,\cat=cat}
{
\centering{\name}
}
\end{Group}
\vfill
%Back Page
\newpage
\hfill\vfill
\begin{center}
Alle Bilder sind auch auf Simplicissimus.info zu finden. \\
Created in \LaTeX and powered by Open Source. \\
Simplicissimus Trier
\end{center}
\end{document}