diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-14 20:22:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-14 20:22:51 +0000 |
commit | 6227798296134e9cad2568032087e6aabf2f0356 (patch) | |
tree | 09a0c39d7c08096d91f8bf57abeb9e61156de74e /Master/texmf-dist/tex | |
parent | 87fa5c816607d9d5aa175a19007d463957d29714 (diff) |
realhats (14jun22)
git-svn-id: svn://tug.org/texlive/trunk@63595 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/realhats/hats/realhats-birthday.pdf | bin | 0 -> 1969 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/realhats/hats/realhats-mortarboard.pdf | bin | 0 -> 1382 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/realhats/hats/realhats-policeman.pdf | bin | 0 -> 171679 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/realhats/hats/realhats-scottish.pdf | bin | 0 -> 1764873 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/realhats/realhats.sty | 20 |
5 files changed, 18 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-birthday.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-birthday.pdf Binary files differnew file mode 100644 index 00000000000..4f38a8a4df3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-birthday.pdf diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-mortarboard.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-mortarboard.pdf Binary files differnew file mode 100644 index 00000000000..4a1a9ae5ef8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-mortarboard.pdf diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-policeman.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-policeman.pdf Binary files differnew file mode 100644 index 00000000000..f986ad5a3a5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-policeman.pdf diff --git a/Master/texmf-dist/tex/latex/realhats/hats/realhats-scottish.pdf b/Master/texmf-dist/tex/latex/realhats/hats/realhats-scottish.pdf Binary files differnew file mode 100644 index 00000000000..4e25c196309 --- /dev/null +++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-scottish.pdf diff --git a/Master/texmf-dist/tex/latex/realhats/realhats.sty b/Master/texmf-dist/tex/latex/realhats/realhats.sty index 92822a95fdb..35f1cbab5c4 100644 --- a/Master/texmf-dist/tex/latex/realhats/realhats.sty +++ b/Master/texmf-dist/tex/latex/realhats/realhats.sty @@ -28,12 +28,12 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{realhats}[2019/04/14 realhats 3.0] +\ProvidesPackage{realhats}[2022/06/13 realhats 6.0] \RequirePackage{amsmath} \RequirePackage{graphicx} \RequirePackage{ifthen} -\RequirePackage[first=0, last=9, counter=hat]{lcg} +\RequirePackage[first=0, last=11, counter=hat]{lcg} \RequirePackage{calc} \RequirePackage{stackengine} @@ -53,6 +53,10 @@ \DeclareOption{cowboy}{\global\def\hatused{cowboy}} \DeclareOption{crown}{\global\def\hatused{crown}} \DeclareOption{dunce}{\global\def\hatused{dunce}} +\DeclareOption{policeman}{\global\def\hatused{policeman}} +\DeclareOption{scottish}{\global\def\hatused{scottish}} +\DeclareOption{birthday}{\global\def\hatused{birthday}} +\DeclareOption{mortarboard}{\global\def\hatused{mortarboard}} \ProcessOptions\relax \newcommand{\gethat}{% @@ -66,6 +70,10 @@ \or cowboy% \or crown% \or dunce% + \or policeman% + \or scottish% + \or birthday% + \or mortarboard% \fi } @@ -85,6 +93,10 @@ \ifthenelse{\equal{#1}{cowboy}}{\hatn{#2}{cowboy}}{}% \ifthenelse{\equal{#1}{crown}}{\hatn{#2}{crown}}{}% \ifthenelse{\equal{#1}{dunce}}{\hatn{#2}{dunce}}{}% + \ifthenelse{\equal{#1}{policeman}}{\hatn{#2}{policeman}}{}% + \ifthenelse{\equal{#1}{scottish}}{\hatn{#2}{scottish}}{}% + \ifthenelse{\equal{#1}{birthday}}{\hatn{#2}{birthday}}{}% + \ifthenelse{\equal{#1}{mortarboard}}{\hatn{#2}{mortarboard}}{}% }% } @@ -103,6 +115,10 @@ \ifthenelse{\equal{#2}{cowboy}}{\renewcommand\myhat{hats/realhats-cowboy}\setlength{\vshif}{-0.3ex} \setlength{\hshif}{0.2ex}}{}% \ifthenelse{\equal{#2}{crown}}{\renewcommand\myhat{hats/realhats-crown}\setlength{\vshif}{-0.3ex} \setlength{\hshif}{0.2ex}}{}% \ifthenelse{\equal{#2}{dunce}}{\renewcommand\myhat{hats/realhats-dunce}\setlength{\vshif}{-0.3ex} \setlength{\hatwidth}{1.4ex}}{}% +\ifthenelse{\equal{#2}{policeman}}{\renewcommand\myhat{hats/realhats-policeman}\setlength{\vshif}{-0.4ex} \setlength{\hatwidth}{1.8ex} \addtolength{\hshif}{-1pt}}{}% +\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} }{}% \addtolength{\hshif}{#3}% \addtolength{\vshif}{#4}% \stackMath % |