diff options
author | Norbert Preining <norbert@preining.info> | 2023-04-05 03:02:06 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-04-05 03:02:06 +0000 |
commit | 085271aaf9917d7116be9774c6cd0a117aa4111e (patch) | |
tree | f222fa9f21aed2a069c8d380429558a802964b66 /macros/latex/contrib/realhats | |
parent | e9f267fd4c8414d6146c5fee0dbe459613dd0f3b (diff) |
CTAN sync 202304050302
Diffstat (limited to 'macros/latex/contrib/realhats')
-rw-r--r-- | macros/latex/contrib/realhats/README.md | 2 | ||||
-rw-r--r-- | macros/latex/contrib/realhats/hats/realhats-tile-blue.pdf | bin | 0 -> 1193 bytes | |||
-rw-r--r-- | macros/latex/contrib/realhats/hats/realhats-tile-gray.pdf | bin | 0 -> 1184 bytes | |||
-rw-r--r-- | macros/latex/contrib/realhats/hats/realhats-tile-light-blue.pdf | bin | 0 -> 1191 bytes | |||
-rw-r--r-- | macros/latex/contrib/realhats/hats/realhats-tile-white.pdf | bin | 0 -> 1181 bytes | |||
-rw-r--r-- | macros/latex/contrib/realhats/readme_images/hats.png | bin | 18890 -> 22983 bytes | |||
-rw-r--r-- | macros/latex/contrib/realhats/realhats.dtx | 34 | ||||
-rw-r--r-- | macros/latex/contrib/realhats/realhats.pdf | bin | 2030450 -> 2034010 bytes |
8 files changed, 31 insertions, 5 deletions
diff --git a/macros/latex/contrib/realhats/README.md b/macros/latex/contrib/realhats/README.md index b30d25a9cb..bd3e69b5d7 100644 --- a/macros/latex/contrib/realhats/README.md +++ b/macros/latex/contrib/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/macros/latex/contrib/realhats/hats/realhats-tile-blue.pdf b/macros/latex/contrib/realhats/hats/realhats-tile-blue.pdf Binary files differnew file mode 100644 index 0000000000..06f84d16ba --- /dev/null +++ b/macros/latex/contrib/realhats/hats/realhats-tile-blue.pdf diff --git a/macros/latex/contrib/realhats/hats/realhats-tile-gray.pdf b/macros/latex/contrib/realhats/hats/realhats-tile-gray.pdf Binary files differnew file mode 100644 index 0000000000..c8aba8b8dd --- /dev/null +++ b/macros/latex/contrib/realhats/hats/realhats-tile-gray.pdf diff --git a/macros/latex/contrib/realhats/hats/realhats-tile-light-blue.pdf b/macros/latex/contrib/realhats/hats/realhats-tile-light-blue.pdf Binary files differnew file mode 100644 index 0000000000..76e02e51da --- /dev/null +++ b/macros/latex/contrib/realhats/hats/realhats-tile-light-blue.pdf diff --git a/macros/latex/contrib/realhats/hats/realhats-tile-white.pdf b/macros/latex/contrib/realhats/hats/realhats-tile-white.pdf Binary files differnew file mode 100644 index 0000000000..1cfaf2076a --- /dev/null +++ b/macros/latex/contrib/realhats/hats/realhats-tile-white.pdf diff --git a/macros/latex/contrib/realhats/readme_images/hats.png b/macros/latex/contrib/realhats/readme_images/hats.png Binary files differindex e3eeb1422c..16226b9a13 100644 --- a/macros/latex/contrib/realhats/readme_images/hats.png +++ b/macros/latex/contrib/realhats/readme_images/hats.png diff --git a/macros/latex/contrib/realhats/realhats.dtx b/macros/latex/contrib/realhats/realhats.dtx index 4a2ef49058..973da1e068 100644 --- a/macros/latex/contrib/realhats/realhats.dtx +++ b/macros/latex/contrib/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/macros/latex/contrib/realhats/realhats.pdf b/macros/latex/contrib/realhats/realhats.pdf Binary files differindex 086bce845f..2680bf90cf 100644 --- a/macros/latex/contrib/realhats/realhats.pdf +++ b/macros/latex/contrib/realhats/realhats.pdf |