summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-06 23:53:14 +0000
committerKarl Berry <karl@freefriends.org>2017-12-06 23:53:14 +0000
commit67c7246d76c71b0a37485565aa8a917e606caf20 (patch)
treea2d4ac20eaaa9a3b3e19f191766bf11ee08bed39 /Master
parente621a3a4f58f8414fb7b021e88e97b08ae48522f (diff)
mensa-tex (7dec17)
git-svn-id: svn://tug.org/texlive/trunk@45997 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/doc/cafe-logo.pngbin0 -> 5651 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.pdfbin0 -> 155375 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.tex (renamed from Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.tex)19
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.pdfbin0 -> 88060 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.tex86
-rw-r--r--Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.pdfbin67732 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mensa-tex/mensa-tex.cls4
8 files changed, 104 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/README.md b/Master/texmf-dist/doc/latex/mensa-tex/README.md
index 2628673cd3c..39362faecd4 100644
--- a/Master/texmf-dist/doc/latex/mensa-tex/README.md
+++ b/Master/texmf-dist/doc/latex/mensa-tex/README.md
@@ -1,7 +1,9 @@
# mensa-tex
A LaTeX class for typesetting school cafeteria menus consisting of two lunches (with dessert) and dinner
-This work, consisting of the files `mensa-tex.cls` and `mensa-tex-doc.tex`, is licensed under the LPPL, Version 1.3c (or, at your option, any later version)
+This work, consisting of the files `mensa-tex.cls`, `mensa-tex-doc.tex` and `mensa-tex-example.tex`, is licensed under the LPPL, Version 1.3c (or, at your option, any later version)
Current maintainer of the work is Sebastian Friedl.
+The file `cafe-logo.png` used with `mensa-tex-example.tex` is licensed as public domain. It is *not* part of this work, although it is required to compile `mensa-tex-example.tex`.
+
mensa-tex requires LaTeX2e and depends on the packages `array`, `colortbl`, `datetime2`, `datetime2-calc`, `geometry`, `graphicx`, `lmodern`, `textcomp` and `xcolor`
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/doc/cafe-logo.png b/Master/texmf-dist/doc/latex/mensa-tex/doc/cafe-logo.png
new file mode 100644
index 00000000000..568208e8edd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mensa-tex/doc/cafe-logo.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.pdf b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.pdf
new file mode 100644
index 00000000000..0f95d2e35bf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.tex b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.tex
index 3e8be635400..34f88794915 100644
--- a/Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.tex
+++ b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-doc.tex
@@ -1,4 +1,4 @@
-%% This is file 'mensa-tex-doc.tex', Version 2017-12-02
+%% This is file 'mensa-tex-doc.tex', Version 2017-12-03
%% Copyright 2017 Sebastian Friedl <sfr682k@t-online.de>
%%
%% This work may be distributed and/or modified under the conditions of the LaTeX Project
@@ -11,7 +11,7 @@
%% Author: Sebastian Friedl
%% Current maintainer of this work is Sebastian Friedl
%%
-%% This work consists of the files mensa-tex.cls and mensa-tex-doc.tex
+%% This work consists of the files mensa-tex.cls, mensa-tex-doc.tex and mensa-tex-example.tex
%%
%% ---------------------------------------------------------------------------------------------------------------------------------------------
%%
@@ -38,8 +38,10 @@
\setdefaultlanguage{english}
\usepackage[english]{selnolig}
+\usepackage{amsmath}
\usepackage{array}
\usepackage{csquotes}
+\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{multicol}
\usepackage{textcomp}
@@ -58,7 +60,7 @@
\title{The \texttt{mensa-tex} class \\ {\large\url{https://github.com/SFr682k/mensa-tex}}}
\author{Sebastian Friedl \\ \href{mailto:sfr682k@t-online.de}{\ttfamily sfr682k@t-online.de}}
-\date{2017/12/02}
+\date{2017/12/03}
\hypersetup{pdftitle={The mensa-tex class},pdfauthor={Sebastian Friedl}}
@@ -107,8 +109,9 @@
This work has the LPPL maintenance status \enquote*{maintained}. The current maintainer of this work is Sebastian Friedl. \\
This work consists of the following files:
\begin{itemize} \itemsep 0pt
- \item \texttt{mensa-tex.cls} and
- \item \texttt{mensa-tex-doc.tex}
+ \item \texttt{mensa-tex.cls},
+ \item \texttt{mensa-tex-doc.tex} and
+ \item \texttt{mensa-tex-example.tex}
\end{itemize}
\end{small}
@@ -505,7 +508,7 @@
\verb|\institute{Some university far, far away}| \\
\verb|\mensaname{Café}| \\
- \verb|\setimage{\includegraphics[width=.95\linewidth]{cafe-logo}}| \\[\bigskipamount]
+ \verb|\setimage{\includegraphics[height=.125\textheight]{cafe-logo}}| \\[\bigskipamount]
\verb|\startdate{2017-09-18}| \\
@@ -551,4 +554,8 @@
\verb|\begin{document}| \\
\verb|\end{document}|
+
+ \bigskip
+ Output: \\[\medskipamount]\nopagebreak[4]
+ $\boxed{\text{\includegraphics[width=.95\textwidth]{mensa-tex-example}}}$
\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.pdf b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.pdf
new file mode 100644
index 00000000000..6182f645b43
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.tex b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.tex
new file mode 100644
index 00000000000..6b762d18af1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mensa-tex/doc/mensa-tex-example.tex
@@ -0,0 +1,86 @@
+%% This is file 'mensa-tex-example.tex', Version 2017-12-03
+%% Copyright 2017 Sebastian Friedl <sfr682k@t-online.de>
+%%
+%% This work may be distributed and/or modified under the conditions of the LaTeX Project
+%% Public License, either version 1.3c of this license or (at your option) any later version.
+%% The latest version of this license is available at
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX version 2008-05-04 or later.
+%%
+%% This work has the LPPL maintenance status 'maintained'.
+%% Author: Sebastian Friedl
+%% Current maintainer of this work is Sebastian Friedl
+%%
+%% This work consists of the files mensa-tex.cls, mensa-tex-doc.tex and mensa-tex-example.tex
+%%
+%% ---------------------------------------------------------------------------------------------------------------------------------------------
+%%
+%% A LaTeX class for typesetting school cafeteria menus consisting of two lunches (with dessert) and dinner
+%%
+%% ---------------------------------------------------------------------------------------------------------------------------------------------
+%%
+%% Please report bugs and other problems as well as suggestions for improvements to the following email address: sfr682k@t-online.de
+%%
+%% ---------------------------------------------------------------------------------------------------------------------------------------------
+
+
+\documentclass[en-US]{mensa-tex}
+
+\usepackage[american]{babel}
+\usepackage[utf8]{inputenc}
+
+\setbgcolor{blue}
+\setcolorfg{white}
+\setctextcolor{red}
+
+
+
+\institute{Some university far, far away}
+\mensaname{Café}
+
+\setimage{\includegraphics[height=.125\textheight]{cafe-logo}} % public domain
+
+
+\startdate{2017-09-18}
+
+\monday{Scrambled Eggs \linebreak\vgt}%
+ {Curry Potato Salad with Peas, Mint \& Red Onion \linebreak\vgn}%
+ {Ice Cream}%
+ {Turkey Burger}
+
+\tuesday{Philly Cheese Steak\sup{1)}}%
+ {Sesame Noodles \linebreak\vgn}%
+ {Donuts}%
+ {Orzo Pasta}
+
+\wednesday{-/-}{-/-}{-/-}{-/-}
+
+\thursday{Buffalo Wings}%
+ {Vegetarian Eggrolls \linebreak\vgt}%
+ {Sacher Cake}%
+ {Chicken Tortilla}
+
+\friday{Pastrami Melt}%
+ {Grilled Cheese \linebreak\vgt}%
+ {Tiramisu}%
+ {Salmon Burger}
+
+\longremarks{%
+ {\color{\ctextcolor}
+ Due to a training course of our staff, the café is closed
+ on Wednesday, 09/20/17.}
+
+ \medskip
+ In our efforts to sustain a seasonal menu, sometimes
+ substitutions may be required, and menu items may change
+ without notice.
+
+ \bigskip
+ \textbf{Key:} \quad
+ \vgt: vegetarian \quad
+ \vgn: vegan \quad
+ \sup{1)}: spicy
+}
+
+\begin{document}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.pdf b/Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.pdf
deleted file mode 100644
index f932cf74fd0..00000000000
--- a/Master/texmf-dist/doc/latex/mensa-tex/mensa-tex-doc.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mensa-tex/mensa-tex.cls b/Master/texmf-dist/tex/latex/mensa-tex/mensa-tex.cls
index 4ef8428fa5c..13863b149fd 100644
--- a/Master/texmf-dist/tex/latex/mensa-tex/mensa-tex.cls
+++ b/Master/texmf-dist/tex/latex/mensa-tex/mensa-tex.cls
@@ -1,4 +1,4 @@
-%% This is file 'mensa-tex.cls', Version 2017-12-02
+%% This is file 'mensa-tex.cls', Version 2017-12-03
%% Copyright 2017 Sebastian Friedl <sfr682k@t-online.de>
%%
%% This work may be distributed and/or modified under the conditions of the LaTeX Project
@@ -11,7 +11,7 @@
%% Author: Sebastian Friedl
%% Current maintainer of this work is Sebastian Friedl
%%
-%% This work consists of the files mensa-tex.cls and mensa-tex-doc.tex
+%% This work consists of the files mensa-tex.cls, mensa-tex-doc.tex and mensa-tex-example.tex
%%
%% ---------------------------------------------------------------------------------------------------------------------------------------------
%%