summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-05 20:01:44 +0000
committerKarl Berry <karl@freefriends.org>2023-04-05 20:01:44 +0000
commit57c72a89bd8f3f4f8087aae1ceaa901d7427a4eb (patch)
tree3b788c810d565d7e1f82efded1b6ebed1e8fda4b /Master/texmf-dist
parent609c33069313159275d5ca40618aecdace382e2c (diff)
realhats (5apr23)
git-svn-id: svn://tug.org/texlive/trunk@66775 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/realhats/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/realhats/readme_images/hats.pngbin18890 -> 22983 bytes
-rw-r--r--Master/texmf-dist/doc/latex/realhats/realhats.pdfbin2030450 -> 2034010 bytes
-rw-r--r--Master/texmf-dist/source/latex/realhats/realhats.dtx34
-rw-r--r--Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-blue.pdfbin0 -> 1193 bytes
-rw-r--r--Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-gray.pdfbin0 -> 1184 bytes
-rw-r--r--Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-light-blue.pdfbin0 -> 1191 bytes
-rw-r--r--Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-white.pdfbin0 -> 1181 bytes
-rw-r--r--Master/texmf-dist/tex/latex/realhats/realhats.sty20
9 files changed, 49 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/realhats/README.md b/Master/texmf-dist/doc/latex/realhats/README.md
index b30d25a9cb5..bd3e69b5d75 100644
--- a/Master/texmf-dist/doc/latex/realhats/README.md
+++ b/Master/texmf-dist/doc/latex/realhats/README.md
@@ -13,6 +13,8 @@ Regretfully brought into the world by [Matthew Scroggs](https://github.com/mscro
![Letters with hats on](readme_images/hats.png)
## Changelog
+### Version 7.0 (2023-04-04)
+* Added aperiodic tile hat
### Version 6.0 (2022-06-13)
* Added Scottish hat
* Added police hat
diff --git a/Master/texmf-dist/doc/latex/realhats/readme_images/hats.png b/Master/texmf-dist/doc/latex/realhats/readme_images/hats.png
index e3eeb1422c6..16226b9a13f 100644
--- a/Master/texmf-dist/doc/latex/realhats/readme_images/hats.png
+++ b/Master/texmf-dist/doc/latex/realhats/readme_images/hats.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/realhats/realhats.pdf b/Master/texmf-dist/doc/latex/realhats/realhats.pdf
index 086bce845f7..2680bf90cf3 100644
--- a/Master/texmf-dist/doc/latex/realhats/realhats.pdf
+++ b/Master/texmf-dist/doc/latex/realhats/realhats.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/realhats/realhats.dtx b/Master/texmf-dist/source/latex/realhats/realhats.dtx
index 4a2ef490586..973da1e0683 100644
--- a/Master/texmf-dist/source/latex/realhats/realhats.dtx
+++ b/Master/texmf-dist/source/latex/realhats/realhats.dtx
@@ -19,7 +19,6 @@
%OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
%SOFTWARE.
%\fi
-
%\lstinline{realhats} is a package for \LaTeX{} that makes the \lstinline{\hat} command
%put real hats on symbols.
%For example, the input \lstinline@\hat{a}=\hat{b}@ will produce the output:
@@ -27,7 +26,7 @@
%To make a vector with a hat, the input \lstinline@\hat{\mathbf{a}}@ produces:
%\[\hat{\mathbf{a}}\]
%
-%The command \lstinline{\hat} will choose a hat randomly from thirteen hats:
+%The command \lstinline{\hat} will choose a hat randomly from eighteen hats:
%\begin{center}
%\begin{tabular}{cp{4cm}cl}
%\(\hatn{a}{beret}\) & beret &
@@ -43,7 +42,11 @@
%\(\hatn{a}{policeman}\) & policeman's hat \qquad&
%\(\hatn{a}{scottish}\) & Scottish hat \\
%\(\hatn{a}{birthday}\) & birthday hat &
-%\(\hatn{a}{mortarboard}\) & mortarboard
+%\(\hatn{a}{mortarboard}\) & mortarboard \\
+%\(\hatn{a}{tile-white}\) & aperiodic tile (white) &
+%\(\hatn{a}{tile-gray}\) & aperiodic tile (gray)\\
+%\(\hatn{a}{tile-light-blue}\) & aperiodic tile (light blue) &
+%\(\hatn{a}{tile-blue}\) & aperiodic tile (blue)
%\end{tabular}
%\end{center}
%
@@ -64,7 +67,11 @@
% \lstinline@\hat[policeman]{a}@ & \(\hat[policeman]{a}\) &
% \lstinline@\hat[scottish]{a}@ & \(\hat[scottish]{a}\) \\
% \lstinline@\hat[birthday]{a}@ & \(\hat[birthday]{a}\) &
-% \lstinline@\hat[mortarboard]{a}@ & \(\hat[mortarboard]{a}\)
+% \lstinline@\hat[mortarboard]{a}@ & \(\hat[mortarboard]{a}\) \\
+% \lstinline@\hat[tile-white]{a}@ & \(\hat[tile-white]{a}\) &
+% \lstinline@\hat[tile-gray]{a}@ & \(\hat[tile-gray]{a}\) \\
+% \lstinline@\hat[tile-light-blue]{a}@ & \(\hat[tile-light-blue]{a}\) &
+% \lstinline@\hat[tile-blue]{a}@ & \(\hat[tile-blue]{a}\)
%\end{tabular}
%\end{center}
%
@@ -96,7 +103,7 @@
\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}
@@ -120,6 +127,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}{%
@@ -137,6 +148,10 @@
\or scottish%
\or birthday%
\or mortarboard%
+ \or tile-white%
+ \or tile-gray%
+ \or tile-light-blue%
+ \or tile-blue%
\fi
}
@@ -160,6 +175,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}}{}%
}%
}
@@ -182,6 +201,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 %
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
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-blue.pdf
Binary files 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
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-gray.pdf
Binary files 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
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-light-blue.pdf
Binary files 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
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/realhats/hats/realhats-tile-white.pdf
Binary files 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 %