From 57c72a89bd8f3f4f8087aae1ceaa901d7427a4eb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 5 Apr 2023 20:01:44 +0000 Subject: realhats (5apr23) git-svn-id: svn://tug.org/texlive/trunk@66775 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/realhats/hats/realhats-tile-blue.pdf | Bin 0 -> 1193 bytes .../tex/latex/realhats/hats/realhats-tile-gray.pdf | Bin 0 -> 1184 bytes .../realhats/hats/realhats-tile-light-blue.pdf | Bin 0 -> 1191 bytes .../tex/latex/realhats/hats/realhats-tile-white.pdf | Bin 0 -> 1181 bytes Master/texmf-dist/tex/latex/realhats/realhats.sty | 20 ++++++++++++++++++-- 5 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-blue.pdf create mode 100644 Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-gray.pdf create mode 100644 Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-light-blue.pdf create mode 100644 Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-white.pdf (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-blue.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-blue.pdf new file mode 100644 index 00000000000..06f84d16bab Binary files /dev/null and b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-blue.pdf differ diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-gray.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-gray.pdf new file mode 100644 index 00000000000..c8aba8b8dde Binary files /dev/null and b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-gray.pdf differ diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-light-blue.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-light-blue.pdf new file mode 100644 index 00000000000..76e02e51da6 Binary files /dev/null and b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-light-blue.pdf differ diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-white.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-white.pdf new file mode 100644 index 00000000000..1cfaf2076aa Binary files /dev/null and b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-white.pdf differ diff --git a/Master/texmf-dist/tex/latex/realhats/realhats.sty b/Master/texmf-dist/tex/latex/realhats/realhats.sty index 35f1cbab5c4..16c2dcb5ad0 100644 --- a/Master/texmf-dist/tex/latex/realhats/realhats.sty +++ b/Master/texmf-dist/tex/latex/realhats/realhats.sty @@ -26,14 +26,13 @@ %% SOFTWARE. %% - \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{realhats}[2022/06/13 realhats 6.0] \RequirePackage{amsmath} \RequirePackage{graphicx} \RequirePackage{ifthen} -\RequirePackage[first=0, last=11, counter=hat]{lcg} +\RequirePackage[first=0, last=14, counter=hat]{lcg} \RequirePackage{calc} \RequirePackage{stackengine} @@ -57,6 +56,10 @@ \DeclareOption{scottish}{\global\def\hatused{scottish}} \DeclareOption{birthday}{\global\def\hatused{birthday}} \DeclareOption{mortarboard}{\global\def\hatused{mortarboard}} +\DeclareOption{tile-white}{\global\def\hatused{tile-white}} +\DeclareOption{tile-gray}{\global\def\hatused{tile-gray}} +\DeclareOption{tile-light-blue}{\global\def\hatused{tile-light-blue}} +\DeclareOption{tile-blue}{\global\def\hatused{tile-blue}} \ProcessOptions\relax \newcommand{\gethat}{% @@ -74,6 +77,10 @@ \or scottish% \or birthday% \or mortarboard% + \or tile-white% + \or tile-gray% + \or tile-light-blue% + \or tile-blue% \fi } @@ -97,6 +104,10 @@ \ifthenelse{\equal{#1}{scottish}}{\hatn{#2}{scottish}}{}% \ifthenelse{\equal{#1}{birthday}}{\hatn{#2}{birthday}}{}% \ifthenelse{\equal{#1}{mortarboard}}{\hatn{#2}{mortarboard}}{}% + \ifthenelse{\equal{#1}{tile-white}}{\hatn{#2}{tile-white}}{}% + \ifthenelse{\equal{#1}{tile-gray}}{\hatn{#2}{tile-gray}}{}% + \ifthenelse{\equal{#1}{tile-light-blue}}{\hatn{#2}{tile-light-blue}}{}% + \ifthenelse{\equal{#1}{tile-blue}}{\hatn{#2}{tile-blue}}{}% }% } @@ -119,6 +130,11 @@ \ifthenelse{\equal{#2}{scottish}}{\renewcommand\myhat{hats/realhats-scottish}\setlength{\vshif}{-0.6ex} \setlength{\hshif}{0.5ex} }{}% \ifthenelse{\equal{#2}{birthday}}{\renewcommand\myhat{hats/realhats-birthday}\setlength{\vshif}{-0.2ex} \setlength{\hshif}{-0.1ex} }{}% \ifthenelse{\equal{#2}{mortarboard}}{\renewcommand\myhat{hats/realhats-mortarboard}\setlength{\vshif}{-0.15ex} \setlength{\hshif}{0ex} }{}% +\ifthenelse{\equal{#2}{tile-white}}{\renewcommand\myhat{hats/realhats-tile-white}\setlength{\vshif}{-0.3ex} \setlength{\hshif}{0ex} }{}% +\ifthenelse{\equal{#2}{tile-gray}}{\renewcommand\myhat{hats/realhats-tile-gray}\setlength{\vshif}{-0.3ex} \setlength{\hshif}{0ex} }{}% +\ifthenelse{\equal{#2}{tile-light-blue}}{\renewcommand\myhat{hats/realhats-tile-light-blue}\setlength{\vshif}{-0.3ex} \setlength{\hshif}{0ex} }{}% +\ifthenelse{\equal{#2}{tile-blue}}{\renewcommand\myhat{hats/realhats-tile-blue}\setlength{\vshif}{-0.3ex} \setlength{\hshif}{0ex} }{}% +\ifthenelse{\equal{#2}{,1}}{\renewcommand\myhat{hats/realhats-,1}\setlength{\vshif}{-0.15ex} \setlength{\hshif}{0ex} }{}% \addtolength{\hshif}{#3}% \addtolength{\vshif}{#4}% \stackMath % -- cgit v1.2.3