summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/menucard
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-18 21:09:42 +0000
committerKarl Berry <karl@freefriends.org>2020-06-18 21:09:42 +0000
commitee6c366fa37acfa08af6fe6bb693f1b1856d43fe (patch)
treea762faf21307f8e33b88fedb85e84cadaec25c1f /Master/texmf-dist/tex/latex/menucard
parent700211024849d94938004ff91e0a3928b1578e98 (diff)
menucard (18jun20)
git-svn-id: svn://tug.org/texlive/trunk@55587 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/menucard')
-rw-r--r--Master/texmf-dist/tex/latex/menucard/menucard.sty76
1 files changed, 76 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/menucard/menucard.sty b/Master/texmf-dist/tex/latex/menucard/menucard.sty
new file mode 100644
index 00000000000..65b69dd99fe
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/menucard/menucard.sty
@@ -0,0 +1,76 @@
+%%
+%% This is file `menucard.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% menucard.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2020 by Sascha Frank <menucard@sascha-frank.com>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{menucard}
+ [2020/06/17 v0.1 menucards ]
+\RequirePackage[x11names]{xcolor}
+\RequirePackage{soul}
+\newcommand{\ColTextColor}{Goldenrod3}
+\newcommand{\ColSubTextColor}{\ColTextColor!50}
+\newcommand*\ColText[1]{\textcolor{\ColTextColor}{#1}}
+\newcommand*\ColSubText[1]{\textcolor{\ColSubTextColor}{#1}}
+\newcounter{menucount}
+\newcommand{\zapf}{\fontfamily{pzc}\selectfont}
+\newcommand{\Allergens}[1]{\textsuperscript{\tiny\sffamily #1}}
+\newcommand*\Entry[2]{%
+ \sffamily#1 & #2}
+\newcommand*\Expl[1]{%
+ \hspace*{1em}\footnotesize #1}
+\newcommand*\Entrycount[2]{\stepcounter{menucount} %
+ \zapf{\themenucount}\hspace*{1em} & \sffamily#1 & #2 }
+\newenvironment{Group*}[1]{
+ \noindent\begin{tabular*}{\textwidth}{@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
+ {\fontsize{24}{29}\selectfont\ColText{#1}}\\[0.8em]}
+ {\end{tabular*}}
+\newenvironment{Group}[1]
+ {\noindent\begin{tabular*}{\textwidth}{p{2em}@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
+ \multicolumn{3}{l}{{\fontsize{24}{29}\selectfont\ColText{#1}}}\\[0.8em]}
+ {\end{tabular*}}
+\newenvironment{menugroup*}[2]
+ {
+\noindent\begin{tabular*}{\columnwidth}{@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
+ {\huge\textcolor{\ColTextColor}{#1}\hspace*{0.1em}
+ \LARGE\textcolor{\ColSubTextColor}{#2}}\\[0.2em]
+ \noindent\rule{\columnwidth}{0.4pt} & \\[0.8em]}
+ {\end{tabular*}}
+\newenvironment{menugroup}[2]
+ {
+\noindent\begin{tabular*}{\columnwidth}{p{2em}@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
+ \multicolumn{3}{l}{\hspace*{-0.5em}{\huge\textcolor{\ColTextColor}{#1}\hspace*{0.1em} \LARGE\textcolor{\ColSubTextColor}{#2}}}\\[0.2em]
+ \noindent\hspace*{-0.55em}\rule{\columnwidth}{0.4pt} & \\[0.8em]}
+ {\end{tabular*}}
+\newenvironment{menugroupsc*}[2]
+ {
+\noindent\begin{tabular*}{\columnwidth}{@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
+ {\huge\textcolor{\ColTextColor}{\caps{#1}}\hspace*{0.1em} \LARGE\textcolor{\ColSubTextColor}{\caps{#2}}}\\[0.2em]
+ \noindent\rule{\columnwidth}{0.4pt} & \\[0.8em]}
+ {\end{tabular*}}
+\newenvironment{menugroupsc}[2]
+ {
+\noindent\begin{tabular*}{\columnwidth}{p{2em}@{}p{.8\linewidth}@{\extracolsep{\fill}}r@{}}
+ \multicolumn{3}{l}{\hspace*{-0.5em}{\huge\textcolor{\ColTextColor}{\caps{#1}}\hspace*{0.1em} \LARGE\textcolor{\ColSubTextColor}{\caps{#2}}}}\\[0.2em]
+ \noindent\hspace*{-0.55em}\rule{\columnwidth}{0.4pt} & \\[0.8em]}
+ {\end{tabular*}}
+\endinput
+%%
+%% End of file `menucard.sty'.