commit 8285807f8917eac491790da87593337225871204 Author: mischbeck <62438635+mischbeck@users.noreply.github.com> Date: Tue Mar 28 00:33:13 2023 +0200 initial commit diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..ac44328 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,117 @@ + +CC0 1.0 Universal + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator and +subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for the +purpose of contributing to a commons of creative, cultural and scientific +works ("Commons") that the public can reliably and without fear of later +claims of infringement build upon, modify, incorporate in other works, reuse +and redistribute as freely as possible in any form whatsoever and for any +purposes, including without limitation commercial purposes. These owners may +contribute to the Commons to promote the ideal of a free culture and the +further production of creative, cultural and scientific works, or to gain +reputation or greater distribution for their Work in part through the use and +efforts of others. + +For these and/or other purposes and motivations, and without any expectation +of additional consideration or compensation, the person associating CC0 with a +Work (the "Affirmer"), to the extent that he or she is an owner of Copyright +and Related Rights in the Work, voluntarily elects to apply CC0 to the Work +and publicly distribute the Work under its terms, with knowledge of his or her +Copyright and Related Rights in the Work and the meaning and intended legal +effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not limited +to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, communicate, + and translate a Work; + + ii. moral rights retained by the original author(s) and/or performer(s); + + iii. publicity and privacy rights pertaining to a person's image or likeness + depicted in a Work; + + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + v. rights protecting the extraction, dissemination, use and reuse of data in + a Work; + + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation thereof, + including any amended or successor version of such directive); and + + vii. other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention of, +applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and +unconditionally waives, abandons, and surrenders all of Affirmer's Copyright +and Related Rights and associated claims and causes of action, whether now +known or unknown (including existing as well as future claims and causes of +action), in the Work (i) in all territories worldwide, (ii) for the maximum +duration provided by applicable law or treaty (including future time +extensions), (iii) in any current or future medium and for any number of +copies, and (iv) for any purpose whatsoever, including without limitation +commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes +the Waiver for the benefit of each member of the public at large and to the +detriment of Affirmer's heirs and successors, fully intending that such Waiver +shall not be subject to revocation, rescission, cancellation, termination, or +any other legal or equitable action to disrupt the quiet enjoyment of the Work +by the public as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason be +judged legally invalid or ineffective under applicable law, then the Waiver +shall be preserved to the maximum extent permitted taking into account +Affirmer's express Statement of Purpose. In addition, to the extent the Waiver +is so judged Affirmer hereby grants to each affected person a royalty-free, +non transferable, non sublicensable, non exclusive, irrevocable and +unconditional license to exercise Affirmer's Copyright and Related Rights in +the Work (i) in all territories worldwide, (ii) for the maximum duration +provided by applicable law or treaty (including future time extensions), (iii) +in any current or future medium and for any number of copies, and (iv) for any +purpose whatsoever, including without limitation commercial, advertising or +promotional purposes (the "License"). The License shall be deemed effective as +of the date CC0 was applied by Affirmer to the Work. Should any part of the +License for any reason be judged legally invalid or ineffective under +applicable law, such partial invalidity or ineffectiveness shall not +invalidate the remainder of the License, and in such case Affirmer hereby +affirms that he or she will not (i) exercise any of his or her remaining +Copyright and Related Rights in the Work or (ii) assert any associated claims +and causes of action with respect to the Work, in either case contrary to +Affirmer's express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + + b. Affirmer offers the Work as-is and makes no representations or warranties + of any kind concerning the Work, express, implied, statutory or otherwise, + including without limitation warranties of title, merchantability, fitness + for a particular purpose, non infringement, or the absence of latent or + other defects, accuracy, or the present or absence of errors, whether or not + discoverable, all to the greatest extent permissible under applicable law. + + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without limitation + any person's Copyright and Related Rights in the Work. Further, Affirmer + disclaims responsibility for obtaining any necessary consents, permissions + or other rights required for any use of the Work. + + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to this + CC0 or use of the Work. + +For more information, please see + diff --git a/README.md b/README.md new file mode 100644 index 0000000..842029a --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Simplicissimus LaTeX Menu diff --git a/cmds.log b/cmds.log new file mode 100644 index 0000000..3f6806b --- /dev/null +++ b/cmds.log @@ -0,0 +1,23 @@ +This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian) (preloaded format=pdflatex 2023.2.28) 19 MAR 2023 19:04 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**cmds.tex +(./cmds.tex +LaTeX2e <2021-11-15> patch level 1 +L3 programming layer <2022-01-21>) +! Emergency stop. +<*> cmds.tex + +*** (job aborted, no legal \end found) + + +Here is how much of TeX's memory you used: + 27 strings out of 478287 + 466 string characters out of 5849289 + 289007 words of memory out of 5000000 + 18324 multiletter control sequences out of 15000+600000 + 469259 words of font info for 28 fonts, out of 8000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 13i,0n,12p,129b,10s stack positions out of 5000i,500n,10000p,200000b,80000s +! ==> Fatal error occurred, no output PDF file produced! diff --git a/cmds.tex b/cmds.tex new file mode 100644 index 0000000..a5ce2d8 --- /dev/null +++ b/cmds.tex @@ -0,0 +1,36 @@ +% 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}\\ +} \ No newline at end of file diff --git a/drinks.csv b/drinks.csv new file mode 100644 index 0000000..8978fff --- /dev/null +++ b/drinks.csv @@ -0,0 +1,26 @@ +name;beschreibung;img;preis1;preis2;size1;size2;cat;note +Trierer Stadtkaffee;Finca Yuri von Mondo del Caffè;\GlassMugHot;2,10;3,00;klein;groß;Kaffee; +Capuccino;Espresso mit heißem Milchschaum.;\GlassMugHot;2,10;3,80;klein;groß;Kaffee; +Milchkaffee;Kaffee mit heißem Milchschaum.;\GlassMugHot;2,10;3,80;klein;groß;Kaffee; +Espresso;Einfach Espresso.;\GlassMugHot;2,10;3,00;einfach;doppelt;Kaffee; +Esspresso Macchiato;Espresso mit einer kleinen Schaumkrone.;\GlassMugHot;2,40;;;;Kaffee; +Latte Macchiato;Heißer Milchschaum mit einem Schuss Kaffee.;\GlassMugHot;3,80;;;;Kaffee; +Chocmoc;Cappucino mit Kakao.;\GlassMugHot;2,10;3,80;klein;groß;Kaffee; +Sahnehäubchen;;\GlassMugHot;0,20;;;;Kaffee;zusatz +Schuss Sirup;(z.B. Kokos, Haselnuss oder Karamell);\GlassMugHot;0,40;;;;Kaffee;zusatz +Schuss Schnaps;(z.B. Amaretto, Kahlua, Rum);\GlassMugHot;2,20;;;;Kaffee;zusatz +Hibiskus;;\GlassMugHot;2,50;-;;;Tee; +Grüner;;\GlassMugHot;2,50;-;;;Tee; +Schwarzer;;\GlassMugHot;2,50;-;;;Tee; +Grüner;;\GlassMugHot;2,50;-;;;Tee; +Pfefferminze;;\GlassMugHot;2,50;;;;Tee; +Fenchel;;\GlassMugHot;2,50;;;;Tee; +Kamille;;\GlassMugHot;2,50;;;;Tee; +Früchte;;\GlassMugHot;2,50;;;;Tee; +basischer Kräutertee;;\GlassMugHot;2,50;;;;Tee; +Kräuter;;\GlassMugHot;2,50;;;;Tee; +Classic Chai (Zimt, Yogi);;\GlassMugHot;2,50;;;;Tee; +Black Chai (Yogi);;\GlassMugHot;2,50;;;;Tee; +Ingwer;;\GlassMugHot;2,50;;;;Frischer Tee; +Heiße Limette;;\GlassMugHot;2,50;;;;Frischer Tee; +Heiße Zitrone;;\GlassMugHot;2,50;;;;Frischer Tee; diff --git a/drinks2.csv b/drinks2.csv new file mode 100644 index 0000000..492531c --- /dev/null +++ b/drinks2.csv @@ -0,0 +1,9 @@ +name beschreibung img preis groesse cat +Trierer Stadtkaffee Finca Yuri von Mondo del Caffè \GlassMugHot 3,00 0.15 Kaffee +cappuccino \GlassMugHot 3,80 0.3 Kaffee +kaffee beschreibung des kaffees \GlassMugHot 3,00 klein Kaffee +cappuccino kaffee mit milch \GlassMugHot 3,80 groß Kaffee +Hibiskus 2,50 Tee +Grüner 2,50 Tee +Schwarzer 2,50 Tee +Chai 2,50 Tee diff --git a/fonts/custom.tfm b/fonts/custom.tfm new file mode 100644 index 0000000..4656062 Binary files /dev/null and b/fonts/custom.tfm differ diff --git a/fonts/custom.ttf b/fonts/custom.ttf new file mode 100644 index 0000000..7d710fc Binary files /dev/null and b/fonts/custom.ttf differ diff --git a/fonts/t1custom.fd b/fonts/t1custom.fd new file mode 100644 index 0000000..49dfd05 --- /dev/null +++ b/fonts/t1custom.fd @@ -0,0 +1,4 @@ +\ProvidesFile{t1custom.fd} +\DeclareFontFamily{T1}{custom}{} +\DeclareFontShape{T1}{custom}{m}{n}{ <-> custom}{} +\pdfmapline{+custom\space Designed by rawpixel.com / Freepik + +For printing: + +Paste this text on the final work so the authorship is known. +- For example, in the acknowledgements chapter of a book: +"Designed by rawpixel.com / Freepik" + + +You are free to use this image: + +- For both personal and commercial projects and to modify it. +- In a website or presentation template or application or as part of your design. + +You are not allowed to: + +- Sub-license, resell or rent it. +- Include it in any online or offline archive or database. + +The full terms of the license are described in section 7 of the Freepik +terms of use, available online in the following link: + + http://www.freepik.com/terms_of_use + +The terms described in the above link have precedence over the terms described +in the present document. In case of disagreement, the Freepik Terms of Use +will prevail. diff --git a/img/Border/vintage-swirl-blank-badge/License premium.txt b/img/Border/vintage-swirl-blank-badge/License premium.txt new file mode 100644 index 0000000..c6cd87a --- /dev/null +++ b/img/Border/vintage-swirl-blank-badge/License premium.txt @@ -0,0 +1,30 @@ +IMPORTANT NOTICE: This license only applies if you downloaded this content as +a subscribed (or "premium") user. If you are an unsubscribed user (or "free" +user) you are bound to the license terms described in the accompanying file +"License free.txt". + +--------------------- + +You can download from your profile in Freepik a personalized license stating +your right to use this content as a "premium" user: + + https://profile.freepik.com/my_downloads + +You are free to use this image: + +- For both personal and commercial projects and to modify it. +- In a website or presentation template or application or as part of your design. + +You are not allowed to: + +- Sub-license, resell or rent it. +- Include it in any online or offline archive or database. + +The full terms of the license are described in sections 7 and 8 of the Freepik +terms of use, available online in the following link: + + http://www.freepik.com/terms_of_use + +The terms described in the above link have precedence over the terms described +in the present document. In case of disagreement, the Freepik Terms of Use +will prevail. diff --git a/img/Glasses/cordial.png b/img/Glasses/cordial.png new file mode 100644 index 0000000..b2d1048 Binary files /dev/null and b/img/Glasses/cordial.png differ diff --git a/img/Glasses/coupe.png b/img/Glasses/coupe.png new file mode 100644 index 0000000..a0883cc Binary files /dev/null and b/img/Glasses/coupe.png differ diff --git a/img/Glasses/flute.png b/img/Glasses/flute.png new file mode 100644 index 0000000..b8cef3e Binary files /dev/null and b/img/Glasses/flute.png differ diff --git a/img/Glasses/glencairn.png b/img/Glasses/glencairn.png new file mode 100644 index 0000000..3ef21dd Binary files /dev/null and b/img/Glasses/glencairn.png differ diff --git a/img/Glasses/goblet.png b/img/Glasses/goblet.png new file mode 100644 index 0000000..6bbd990 Binary files /dev/null and b/img/Glasses/goblet.png differ diff --git a/img/Glasses/highball.png b/img/Glasses/highball.png new file mode 100644 index 0000000..2cf77a7 Binary files /dev/null and b/img/Glasses/highball.png differ diff --git a/img/Glasses/hurricane.png b/img/Glasses/hurricane.png new file mode 100644 index 0000000..d38f5ab Binary files /dev/null and b/img/Glasses/hurricane.png differ diff --git a/img/Glasses/irish_coffee.png b/img/Glasses/irish_coffee.png new file mode 100644 index 0000000..efa22ea Binary files /dev/null and b/img/Glasses/irish_coffee.png differ diff --git a/img/Glasses/margarita.png b/img/Glasses/margarita.png new file mode 100644 index 0000000..5c64990 Binary files /dev/null and b/img/Glasses/margarita.png differ diff --git a/img/Glasses/martini.png b/img/Glasses/martini.png new file mode 100644 index 0000000..53feaa0 Binary files /dev/null and b/img/Glasses/martini.png differ diff --git a/img/Glasses/mug.png b/img/Glasses/mug.png new file mode 100644 index 0000000..c4139f4 Binary files /dev/null and b/img/Glasses/mug.png differ diff --git a/img/Glasses/mug_hot.png b/img/Glasses/mug_hot.png new file mode 100644 index 0000000..3b38929 Binary files /dev/null and b/img/Glasses/mug_hot.png differ diff --git a/img/Glasses/old_fashioned.png b/img/Glasses/old_fashioned.png new file mode 100644 index 0000000..9beb850 Binary files /dev/null and b/img/Glasses/old_fashioned.png differ diff --git a/img/Glasses/shooter.png b/img/Glasses/shooter.png new file mode 100644 index 0000000..30247ac Binary files /dev/null and b/img/Glasses/shooter.png differ diff --git a/img/Glasses/snifter.png b/img/Glasses/snifter.png new file mode 100644 index 0000000..d3e25e0 Binary files /dev/null and b/img/Glasses/snifter.png differ diff --git a/img/Glasses/vegan.png b/img/Glasses/vegan.png new file mode 100644 index 0000000..606df41 Binary files /dev/null and b/img/Glasses/vegan.png differ diff --git a/img/Glasses/vegan.svg b/img/Glasses/vegan.svg new file mode 100644 index 0000000..0b34c3c --- /dev/null +++ b/img/Glasses/vegan.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/Glasses/weizen.png b/img/Glasses/weizen.png new file mode 100644 index 0000000..8c7925d Binary files /dev/null and b/img/Glasses/weizen.png differ diff --git a/img/Glasses/wine-off.png b/img/Glasses/wine-off.png new file mode 100644 index 0000000..60f32fa Binary files /dev/null and b/img/Glasses/wine-off.png differ diff --git a/img/Glasses/wine-off.svg b/img/Glasses/wine-off.svg new file mode 100644 index 0000000..00e94b8 --- /dev/null +++ b/img/Glasses/wine-off.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/img/Glasses/wine.png b/img/Glasses/wine.png new file mode 100644 index 0000000..1b3dbc9 Binary files /dev/null and b/img/Glasses/wine.png differ diff --git a/img/Glasses/wine.svg b/img/Glasses/wine.svg new file mode 100644 index 0000000..6bad1e2 --- /dev/null +++ b/img/Glasses/wine.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/img/bg-border.png b/img/bg-border.png new file mode 100644 index 0000000..c1394df Binary files /dev/null and b/img/bg-border.png differ diff --git a/img/bg-border.svg b/img/bg-border.svg new file mode 100644 index 0000000..872d22f --- /dev/null +++ b/img/bg-border.svg @@ -0,0 +1,391 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/bg-border2-c1.png b/img/bg-border2-c1.png new file mode 100644 index 0000000..2229cf4 Binary files /dev/null and b/img/bg-border2-c1.png differ diff --git a/img/bg-border2-c2.png b/img/bg-border2-c2.png new file mode 100644 index 0000000..1577f95 Binary files /dev/null and b/img/bg-border2-c2.png differ diff --git a/img/bg-border2-c3-a1.png b/img/bg-border2-c3-a1.png new file mode 100644 index 0000000..7b36b2a Binary files /dev/null and b/img/bg-border2-c3-a1.png differ diff --git a/img/bg-border2-c3.png b/img/bg-border2-c3.png new file mode 100644 index 0000000..2351895 Binary files /dev/null and b/img/bg-border2-c3.png differ diff --git a/img/bg-border2.png b/img/bg-border2.png new file mode 100644 index 0000000..5e3bf5c Binary files /dev/null and b/img/bg-border2.png differ diff --git a/img/bg-border2.svg b/img/bg-border2.svg new file mode 100644 index 0000000..6a917e9 --- /dev/null +++ b/img/bg-border2.svg @@ -0,0 +1,1264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/cover32_48_649.jpg b/img/cover32_48_649.jpg new file mode 100644 index 0000000..ae307dd Binary files /dev/null and b/img/cover32_48_649.jpg differ diff --git a/img/icons/vegan.png b/img/icons/vegan.png new file mode 100644 index 0000000..606df41 Binary files /dev/null and b/img/icons/vegan.png differ diff --git a/img/icons/vegan.svg b/img/icons/vegan.svg new file mode 100644 index 0000000..0b34c3c --- /dev/null +++ b/img/icons/vegan.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/icons/wine-off.png b/img/icons/wine-off.png new file mode 100644 index 0000000..60f32fa Binary files /dev/null and b/img/icons/wine-off.png differ diff --git a/img/icons/wine-off.svg b/img/icons/wine-off.svg new file mode 100644 index 0000000..00e94b8 --- /dev/null +++ b/img/icons/wine-off.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/img/icons/wine.png b/img/icons/wine.png new file mode 100644 index 0000000..1b3dbc9 Binary files /dev/null and b/img/icons/wine.png differ diff --git a/img/icons/wine.svg b/img/icons/wine.svg new file mode 100644 index 0000000..6bad1e2 --- /dev/null +++ b/img/icons/wine.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/img/illus/kley.png b/img/illus/kley.png new file mode 100644 index 0000000..900318a Binary files /dev/null and b/img/illus/kley.png differ diff --git a/img/illus/kley.webp b/img/illus/kley.webp new file mode 100644 index 0000000..5a55f21 Binary files /dev/null and b/img/illus/kley.webp differ diff --git a/img/line-bottom-a2.png b/img/line-bottom-a2.png new file mode 100644 index 0000000..f5d2900 Binary files /dev/null and b/img/line-bottom-a2.png differ diff --git a/img/line-bottom.png b/img/line-bottom.png new file mode 100644 index 0000000..3762516 Binary files /dev/null and b/img/line-bottom.png differ diff --git a/img/line-top-a2.png b/img/line-top-a2.png new file mode 100644 index 0000000..b31d5bf Binary files /dev/null and b/img/line-top-a2.png differ diff --git a/img/line-top.png b/img/line-top.png new file mode 100644 index 0000000..aabf0c9 Binary files /dev/null and b/img/line-top.png differ diff --git a/main.aux b/main.aux new file mode 100644 index 0000000..f9c920d --- /dev/null +++ b/main.aux @@ -0,0 +1,11 @@ +\relax +\pgfsyspdfmark {pgfid2}{4736286}{34421990} +\pgfsyspdfmark {pgfid1}{2847719}{37570577} +\pgfsyspdfmark {pgfid4}{4736286}{34421990} +\pgfsyspdfmark {pgfid3}{2847719}{13745538} +\pgfsyspdfmark {pgfid6}{4736286}{34421990} +\pgfsyspdfmark {pgfid5}{2847719}{37570577} +\pgfsyspdfmark {pgfid8}{4736286}{34421990} +\pgfsyspdfmark {pgfid7}{2847719}{37570577} +\pgfsyspdfmark {pgfid9}{4736286}{34421990} +\gdef \@abspage@last{5} diff --git a/main.log b/main.log new file mode 100644 index 0000000..300cb58 --- /dev/null +++ b/main.log @@ -0,0 +1,58 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7300 64-bit) (preloaded format=pdflatex 2020.3.21) 20 MAR 2023 23:00 +entering extended mode +**./main.tex +(main.tex +LaTeX2e <2020-02-02> patch level 2 +L3 programming layer <2020-02-14> +("C:\Users\Michael\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\article.cls +" +Document Class: article 2019/12/20 v1.4l Standard LaTeX document class +("C:\Users\Michael\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\size10.clo" +File: size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option) +) +\c@part=\count167 +\c@section=\count168 +\c@subsection=\count169 +\c@subsubsection=\count170 +\c@paragraph=\count171 +\c@subparagraph=\count172 +\c@figure=\count173 +\c@table=\count174 +\abovecaptionskip=\skip47 +\belowcaptionskip=\skip48 +\bibindent=\dimen134 +) +("C:\Users\Michael\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\inputenc.st +y" +Package: inputenc 2018/08/11 v1.3c Input encoding file +\inpenc@prehook=\toks14 +\inpenc@posthook=\toks15 +) +("C:\Users\Michael\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\fontenc.sty +" +Package: fontenc 2020/02/11 v2.0o Standard LaTeX package +) + +! LaTeX Error: File `geometry.sty' not found. + +Type X to quit or to proceed, +or enter new name. (Default extension: sty) + +Enter file name: +! Emergency stop. + + +l.5 \usepackage + [x11names]{xcolor} +*** (cannot \read from terminal in nonstop modes) + + +Here is how much of TeX's memory you used: + 455 strings out of 481556 + 4589 string characters out of 2912933 + 236180 words of memory out of 3000000 + 15785 multiletter control sequences out of 15000+200000 + 533101 words of font info for 25 fonts, out of 3000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 25i,0n,20p,152b,38s stack positions out of 5000i,500n,10000p,200000b,50000s +! ==> Fatal error occurred, no output PDF file produced! diff --git a/main.pdf b/main.pdf new file mode 100644 index 0000000..dd1e216 Binary files /dev/null and b/main.pdf differ diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..87999e5 --- /dev/null +++ b/main.tex @@ -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} diff --git a/snippets.tex b/snippets.tex new file mode 100644 index 0000000..026702a --- /dev/null +++ b/snippets.tex @@ -0,0 +1,20 @@ + + + + \begin{Group}{Kaffee}{\blindtext[1][¹]} + \DTLforeach[\DTLiseq{\cat}{Kaffee}]{drinks}{ + \name=name,\desc=beschreibung,\img=img,\preis=preis,\cat=cat} + { + \Entry{\fontsize{13}{10}\name\scriptsize\dotfill}{\preis} \\ + \Expl{\desc} \\ + } + \end{Group} + + \begin{Group}{Kaffee}{Beschreibung hier hin. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.} + \DTLforeach[\DTLiseq{\cat}{Kaffee}]{drinks}{ + \name=name,\desc=beschreibung,\img=img,\preis=preis,\cat=cat} + { + \Entry{\fontsize{13}{10}\name\scriptsize\dotfill}{\preis} \\ + \Expl{\desc} \\ + } + \end{Group} \ No newline at end of file