texlive[47953] Master/texmf-dist: scsnowman (7jun18)
commits+karl at tug.org
commits+karl at tug.org
Thu Jun 7 23:23:10 CEST 2018
Revision: 47953
http://tug.org/svn/texlive?view=revision&revision=47953
Author: karl
Date: 2018-06-07 23:23:10 +0200 (Thu, 07 Jun 2018)
Log Message:
-----------
scsnowman (7jun18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdf
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def
trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex
Added: trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile 2018-06-07 21:23:10 UTC (rev 47953)
@@ -0,0 +1,32 @@
+KANJI = -kanji=utf8
+FONTMAP = -f ipaex.map -f ptex-ipaex.map
+TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
+
+all: scsnowman.pdf \
+ scsnowman-sample.pdf scsnowman-zrtest.pdf
+
+scsnowman.pdf: scsnowman.sty scsnowman.tex
+ lualatex scsnowman.tex
+ lualatex scsnowman.tex
+ lualatex scsnowman.tex
+scsnowman-sample.pdf: scsnowman.sty scsnowman-sample.tex
+ platex scsnowman-sample.tex
+ platex scsnowman-sample.tex
+ dvipdfmx scsnowman-sample.dvi
+scsnowman-zrtest.pdf: scsnowman.sty scsnowman-zrtest.tex
+ pdflatex scsnowman-zrtest.tex
+ pdflatex scsnowman-zrtest.tex
+
+.PHONY: install clean
+install:
+ mkdir -p ${TEXMF}/doc/latex/scsnowman
+ cp ./Makefile ${TEXMF}/doc/latex/scsnowman/
+ cp ./LICENSE ${TEXMF}/doc/latex/scsnowman/
+ cp ./README.md ${TEXMF}/doc/latex/scsnowman/
+ cp ./*.pdf ${TEXMF}/doc/latex/scsnowman/
+ cp ./*.tex ${TEXMF}/doc/latex/scsnowman/
+ mkdir -p ${TEXMF}/tex/latex/scsnowman
+ cp ./*.sty ${TEXMF}/tex/latex/scsnowman/
+ cp ./*.def ${TEXMF}/tex/latex/scsnowman/
+clean:
+ rm -f *.dvi *.pdf
Property changes on: trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex 2018-06-07 21:22:36 UTC (rev 47952)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex 2018-06-07 21:23:10 UTC (rev 47953)
@@ -162,5 +162,6 @@
The World Day of Snowman:
\scsnowman[muffler=Red,arms=Brown,buttons=Green,broom=DarkGoldenrod]
+\scsnowman[body,muffler=Red,arms=Brown,nose=Orange]
\end{document}
Added: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf 2018-06-07 21:22:36 UTC (rev 47952)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf 2018-06-07 21:23:10 UTC (rev 47953)
Property changes on: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex 2018-06-07 21:23:10 UTC (rev 47953)
@@ -0,0 +1,21 @@
+\documentclass[a4paper]{article}
+\usepackage[unicode,hidelinks,bookmarksnumbered]{hyperref}
+\usepackage{scsnowman}
+\scsnowmandefault{hat,arms,snow,scale=1.2,adjustbaseline}
+\renewcommand{\thesection}{\enumsnowman[muffler=red]{section}}
+\pagenumbering{enumsnowman}
+\begin{document}
+\setcounter{page}{8}
+\setcounter{section}{86}
+
+\section{Foo}\label{sec:Foo}
+Foo \scsnowmannumeral[muffler=blue]{42}.
+
+\section{Bar}\label{sec:Bar}
+Bar \scsnowmannumeral[muffler=blue]{84}.
+
+\section{Gee}\label{sec:Gee}
+Gee \scsnowmannumeral[muffler=blue]{168}.
+See also Sections \ref{sec:Bar} and \ref{sec:Foo}.
+
+\end{document}
Property changes on: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex 2018-06-07 21:22:36 UTC (rev 47952)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex 2018-06-07 21:23:10 UTC (rev 47953)
@@ -14,6 +14,7 @@
\usepackage{doc}
\usepackage[svgnames]{xcolor}
\usepackage{scsnowman}
+\pagenumbering{enumsnowman}
\GetFileInfo{scsnowman.sty}
\usepackage{array}
\usepackage{amsthm}
@@ -47,9 +48,9 @@
many variants of snowmen. This package utilizes Ti\emph{k}Z for drawing snowmen.
\begin{figure}[htb]\centering
\scsnowmandefault{adjustbaseline}
-\scsnowman[scale=3,hat,snow,arms]\scsnowman[scale=3,hat=RoyalBlue,muffler=Green]
-\scsnowman\scsnowman[scale=3]\scsnowman[scale=5]\par
-\scsnowmandefault{scale=5,hat,muffler=Red}
+\scsnowman[scale=5,hat,snow,arms]\scsnowman[scale=5,hat=RoyalBlue,muffler=Green]
+\scsnowman[scale=2]\scsnowman[scale=5]\scsnowman[scale=7]\par
+\scsnowmandefault{scale=6,hat,muffler=Red}
\scsnowman[mouthshape=smile]
\scsnowman[mouthshape=frown]
\scsnowman[mouthshape=tight]
@@ -67,6 +68,15 @@
\item \url{https://github.com/aminophen/scsnowman}
\end{itemize}
+\begin{figure}[htb]\centering
+\scsnowmandefault{adjustbaseline,scale=8,buttons=RoyalBlue}
+\scsnowman[hat=Green,muffler=Red,arms=Brown,buttons=Green,broom=DarkGoldenrod]
+\scsnowman[hat=Green,body,muffler=Red,arms=Brown,nose=Orange,snow=SkyBlue]
+\scsnowman[snow=SkyBlue,note=Red]
+\scsnowman[hat=Green,muffler=RoyalBlue,arms=Brown,buttons=Green,broom=DarkGoldenrod]
+\end{figure}
+
+\clearpage
\tableofcontents\clearpage
\section{The History of Snowman in Unicode}
@@ -208,8 +218,8 @@
Following \emph{key}s take a \emph{value} which specifies color. When the \emph{value} is omitted,
it reacts to the surrounding text color:
\begin{quote}
- \Lopt{body}, \Lopt{eyes}, \Lopt{mouth}, \Lopt{sweat}, \Lopt{arms},
- \Lopt{hat}, \Lopt{muffler}, \Lopt{buttons}, \Lopt{snow}, \Lopt{broom}
+ \Lopt{body}, \Lopt{eyes}, \Lopt{mouth}, \Lopt{nose}, \Lopt{sweat}, \Lopt{arms},
+ \Lopt{hat}, \Lopt{muffler}, \Lopt{buttons}, \Lopt{snow}, \Lopt{note}, \Lopt{broom}
\end{quote}
The following \emph{key}s require one specific \emph{value}:
\begin{quote}
@@ -225,13 +235,13 @@
Here are some examples:\\[1ex]
\begin{minipage}{.7\textwidth}\begin{verbatim}
\scsnowman[scale=2,body,hat=red,muffler=blue]
- \scsnowman[scale=3,hat,snow,arms,buttons]
+ \scsnowman[scale=3,hat,snow,arms,buttons,note]
\scsnowman[scale=2,muffler=red,arms,broom=brown]
\scsnowman[scale=2,mouthshape=frown,hat=green]
\end{verbatim}\end{minipage}
\begin{minipage}{.25\textwidth}
\scsnowman[scale=2,body,hat=red,muffler=blue]
- \scsnowman[scale=3,hat,snow,arms,buttons]
+ \scsnowman[scale=3,hat,snow,arms,buttons,note]
\scsnowman[scale=2,muffler=red,arms,broom=brown]
\scsnowman[scale=2,mouthshape=frown,hat=green]
\end{minipage}\\[1ex]
@@ -238,15 +248,15 @@
\begin{minipage}{.7\textwidth}\begin{verbatim}
{\color{blue}
\scsnowman[scale=2,body,hat=red,muffler=blue]
- \scsnowman[scale=3,hat,snow,arms,buttons]
- \scsnowman[scale=2,muffler=red,arms,broom=brown]
+ \scsnowman[scale=2,hat,snow,arms,buttons,note]
+ \scsnowman[scale=3,muffler=red,arms,broom=brown]
\scsnowman[scale=2,mouthshape=frown,hat=green]}
\end{verbatim}\end{minipage}
\begin{minipage}{.25\textwidth}
{\color{blue}
\scsnowman[scale=2,body,hat=red,muffler=blue]
- \scsnowman[scale=3,hat,snow,arms,buttons]
- \scsnowman[scale=2,muffler=red,arms,broom=brown]
+ \scsnowman[scale=2,hat,snow,arms,buttons,note]
+ \scsnowman[scale=3,muffler=red,arms,broom=brown]
\scsnowman[scale=2,mouthshape=frown,hat=green]}
\end{minipage}
@@ -263,14 +273,14 @@
\begin{minipage}{.6\textwidth}\begin{verbatim}
\scsnowmandefault{scale=5,hat=red}
\scsnowman
- \scsnowman[body,muffler=blue]
- \scsnowman[hat=green,snow]
+ \scsnowman[body,muffler=blue,arms]
+ \scsnowman[hat=green,snow,nose=orange]
\end{verbatim}\end{minipage}
\begin{minipage}{.35\textwidth}
\scsnowmandefault{scale=5,hat=red}
\scsnowman
- \scsnowman[body,muffler=blue]
- \scsnowman[hat=green,snow]
+ \scsnowman[body,muffler=blue,arms]
+ \scsnowman[hat=green,snow,nose=orange]
\end{minipage}
\section{Adding User-defined Snowman Shapes}\label{usescsnowmanlibrary}
@@ -400,6 +410,26 @@
\scsnowman[eyes=false,mouth=false,mikan=orange,leaf=green]
\end{minipage}
+\subsection{Replacing All ``8'' with Snowmen}
+
+You can replace all ``8'' inside an arabic number expression with snowmen
+\scsnowman\ by using \verb+\scsnowmannumeral+.
+Here is an example:\\[1ex]
+\begin{minipage}{.85\textwidth}\begin{verbatim}
+ \scsnowmandefault{adjustbaseline}\scsnowmannumeral{18882}
+ \scsnowmannumeral[muffler=blue,scale=1.5]{4283859}
+\end{verbatim}\end{minipage}
+\begin{minipage}{.1\textwidth}
+ \scsnowmandefault{adjustbaseline}\scsnowmannumeral{18882}
+ \scsnowmannumeral[muffler=blue,scale=1.5]{4283859}
+\end{minipage}\medskip
+
+You can also replace all ``8'' inside the page numbering with snowmen
+\scsnowman\ by adding \verb+\pagenumbering{enumsnowman}+.
+This documentation itself is an example!
+
+\clearpage
+
\section*{Version History}
This is the summary of changes. For more detail, see GitHub repository.
@@ -419,7 +449,9 @@
Version 1.2a & 2017-11-25 & Fix a bug in scaling with \Lopt{adjustbaseline} \\
Version 1.2b & 2018-01-05 & Add new keys \Lopt{mikan}, \Lopt{leaf} for drawing `kagami-mochi' \\
& & Stopped loading \Lpack{amsthm} by default \\
-Version 1.2c & 2018-01-15 & Add a new key \Lopt{broom}
+Version 1.2c & 2018-01-15 & Add a new key \Lopt{broom} \\
+Version 1.2d & 2018-06-07 & Add new keys \Lopt{nose}, \Lopt{note} \\
+ & & Add a new command \verb+\scsnowmannumeral+ \\
\end{tabular}
\end{table}
@@ -437,7 +469,7 @@
\href{http://acetaminophen.hatenablog.com/entry/2014/09/05/090313}{「\TeX{}でゆきだるま」をもっとたくさん}
\ --- Acetaminophen's diary
\bibitem{ZR1}
-\href{http://d.hatena.ne.jp/zrbabbler/20140911/1410439004}{Unicode の例の雪だるまは多分アレ}
+\href{http://d.hatena.ne.jp/zrbabbler/20140911/1410439004}{Unicodeの例の雪だるまは多分アレ}
\ --- マクロツイーター
\bibitem{ACE2}
\href{http://acetaminophen.hatenablog.com/entry/2015/12/13/080226}{\TeX{}でゆきだるまを“もっともっと”たくさん}
Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def 2018-06-07 21:22:36 UTC (rev 47952)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def 2018-06-07 21:23:10 UTC (rev 47953)
@@ -10,7 +10,7 @@
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{scsnowman-normal.def}[2018/01/15 v1.2c scsnowman definition (normal)]
+\ProvidesFile{scsnowman-normal.def}[2018/06/07 v1.2d scsnowman definition (normal)]
\def\sctkzsym at snowman@shape at normal{%
\setlength{\sctkzsym at coord@baseline}{%
\ifsctkzsym at snowman@adjustbaseline
@@ -37,6 +37,14 @@
\sctkzsym at snowman@eyepath (0.40,0.56) circle (0.02 and 0.03);
\sctkzsym at snowman@eyepath (0.60,0.56) circle (0.02 and 0.03);
\fi
+ \ifsctkzsym at snowman@nose
+ \sctkzsym at snowman@nosepath
+ (0.49,0.50) .. controls (0.52,0.51) and (0.51,0.54) ..
+ (0.48,0.54) .. controls (0.46,0.54) and (0.40,0.52) ..
+ (0.40,0.52) .. controls (0.39,0.51) and (0.46,0.50) ..
+ (0.49,0.50) --
+ cycle;
+ \fi
\ifsctkzsym at snowman@mouth
\ifx\sctkzsym at snowman@mouthshape\sctkzsym at snowman@mouthshape at iii
\sctkzsym at snowman@mouthpath (0.40,0.47) -- (0.60,0.47);
@@ -126,14 +134,16 @@
\sctkzsym at snowman@buttonpath (0.50,0.29) circle (0.03);
\fi\fi
\ifsctkzsym at snowman@snow
- \ifsctkzsym at snowman@broom
+ \ifsctkzsym at snowman@broom
\sctkzsym at snowman@snowpath (0.13,0.81) circle (0.04);
- \else
+ \else
\sctkzsym at snowman@snowpath (0.07,0.28) circle (0.04);
+ \sctkzsym at snowman@snowpath (0.13,0.55) circle (0.04);
+ \ifsctkzsym at snowman@note\else
\sctkzsym at snowman@snowpath (0.08,0.68) circle (0.04);
- \sctkzsym at snowman@snowpath (0.13,0.55) circle (0.04);
\sctkzsym at snowman@snowpath (0.23,0.76) circle (0.04);
- \fi
+ \fi
+ \fi
\sctkzsym at snowman@snowpath (0.42,0.89) circle (0.04);
\sctkzsym at snowman@snowpath (0.74,0.89) circle (0.04);
\sctkzsym at snowman@snowpath (0.88,0.73) circle (0.04);
@@ -140,6 +150,40 @@
\sctkzsym at snowman@snowpath (0.92,0.53) circle (0.04);
\sctkzsym at snowman@snowpath (0.94,0.23) circle (0.04);
\fi
+ \ifsctkzsym at snowman@note
+ \sctkzsym at snowman@notepath % musical note (eighth note, quaver)
+ (0.119,0.789) .. controls (0.114,0.788) and (0.114,0.788) ..
+ (0.115,0.781) .. controls (0.122,0.740) and (0.124,0.732) ..
+ (0.125,0.728) .. controls (0.127,0.717) and (0.127,0.717) ..
+ (0.118,0.717) .. controls (0.105,0.717) and (0.096,0.709) ..
+ (0.096,0.698) .. controls (0.096,0.691) and (0.100,0.686) ..
+ (0.106,0.683) .. controls (0.116,0.679) and (0.131,0.687) ..
+ (0.134,0.698) .. controls (0.135,0.700) and (0.134,0.710) ..
+ (0.132,0.720) .. controls (0.126,0.752) and (0.125,0.764) ..
+ (0.124,0.768) .. controls (0.124,0.773) and (0.124,0.773) ..
+ (0.132,0.773) .. controls (0.141,0.774) and (0.145,0.771) ..
+ (0.148,0.764) .. controls (0.150,0.760) and (0.154,0.758) ..
+ (0.155,0.761) .. controls (0.156,0.761) and (0.155,0.766) ..
+ (0.153,0.771) .. controls (0.151,0.780) and (0.146,0.785) ..
+ (0.139,0.789) .. controls (0.136,0.791) and (0.126,0.791) ..
+ (0.119,0.789) --
+ cycle;
+ \sctkzsym at snowman@notepath % wavy line
+ (0.235,0.770) .. controls (0.234,0.769) and (0.232,0.765) ..
+ (0.231,0.761) .. controls (0.228,0.750) and (0.223,0.749) ..
+ (0.210,0.760) .. controls (0.203,0.766) and (0.201,0.766) ..
+ (0.195,0.766) .. controls (0.186,0.766) and (0.179,0.761) ..
+ (0.174,0.750) .. controls (0.170,0.742) and (0.169,0.738) ..
+ (0.172,0.735) .. controls (0.176,0.732) and (0.179,0.734) ..
+ (0.183,0.741) .. controls (0.187,0.750) and (0.191,0.755) ..
+ (0.194,0.755) .. controls (0.196,0.755) and (0.200,0.752) ..
+ (0.203,0.749) .. controls (0.210,0.743) and (0.220,0.738) ..
+ (0.225,0.738) .. controls (0.231,0.738) and (0.237,0.742) ..
+ (0.241,0.749) .. controls (0.245,0.757) and (0.246,0.766) ..
+ (0.242,0.770) .. controls (0.239,0.772) and (0.238,0.772) ..
+ (0.235,0.770) --
+ cycle;
+ \fi
\end{tikzpicture}%
\sctkzsym at endyokobox
}
Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty 2018-06-07 21:22:36 UTC (rev 47952)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty 2018-06-07 21:23:10 UTC (rev 47953)
@@ -10,7 +10,7 @@
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{scsnowman}[2018/01/15 v1.2c Snowman variants using TikZ]
+\ProvidesPackage{scsnowman}[2018/06/07 v1.2d Snowman variants using TikZ]
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{sctkzsym-base}}
\ProcessOptions\relax
\RequirePackage{sctkzsym-base}[2017/08/08]
@@ -102,6 +102,88 @@
}
\fi
%
+%------------------------------- ZR something BEGIN
+
+% change enumerate label using \scsnowmannumeral (joke)
+% (this feature is `scsnowman'-specific, so the name-space
+% is intentionally set to \scsnowman at ...)
+
+% unique token
+\def\scsnowman at end{\scsnowman at end@}
+
+\let\scsnowman at eight\relax
+
+%% \scsnowman at scan@option\CScontinue{<prologue>}
+\def\scsnowman at scan@option#1#2{%
+ \scsnowman at scan@option at a#2[]\scsnowman at end#1%
+}
+\def\scsnowman at scan@option at a#1[#2]#3\scsnowman at end#4{%
+ #4{#2}%
+}
+
+\def\enumsnowman#1#{%
+ \scsnowman at scan@option\scsnowman at enumsnowman{#1}%
+}
+\def\scsnowman at enumsnowman#1#2{%
+ \scsnowmanNumeral{#1}{\@nameuse{c@#2}}%
+}
+
+% For use with \pagenumbering.
+\def\@enumsnowman{%
+ \scsnowmanNumeral{}%
+}
+
+\def\scsnowmannumeral#1#{%
+ \scsnowman at scan@option\scsnowmanNumeral{#1}%
+}
+
+% \scsnowmanNumeral{<option>}{<number>}
+% change 8 to snowman in counters (joke)
+% (this feature is `scsnowman'-specific, so the name-space
+% is intentionally set to \scsnowman at ...)
+
+% internal entry point
+\newcommand*\scsnowmanNumeral[2]{%
+ \expandafter\scsnowman@@numeral\number#2\relax\scsnowman at end{#1}%
+}
+\def\scsnowman@@numeral#1\relax#2\scsnowman at end#3{%
+ \scsnowman at numeral{#3}{#1}%
+}
+\DeclareRobustCommand*\scsnowman at numeral[2]{%
+ \begingroup
+ \def\scsnowman at eight{\scsnowman[#1]}%
+ \scsnowman at numeral@a#28\scsnowman at end
+ \endgroup
+}
+\def\scsnowman at numeral@a#18#2\scsnowman at end{%
+ \ifx\scsnowman at end#2\scsnowman at end
+ #1%
+ \else
+ #1\scsnowman at eight
+ \scsnowman at numeral@a#2\scsnowman at end
+ \fi
+}
+
+\providecommand*\pdfstringdefPreHook{}
+\g at addto@macro\pdfstringdefPreHook{%
+ \let\scsnowman at eight\scsnowman at hy@eight
+ \let\scsnowman at numeral\scsnowman at hy@numeral
+}
+\def\scsnowman at hy@numeral#1#2{% #1 is ignored
+ \scsnowman at numeral@a#28\scsnowman at end
+}
+
+\DeclareTextCommand{\scsnowman at hy@eight}{PU}{\9046\003}% U+2603
+\DeclareTextCommand{\scsnowman at hy@eight}{PD1}{8}%fallback
+\ifx\forcecjktoken\@undefined\else %upTeX
+ \begingroup
+ \kansujichar8="2603
+ \xdef\scsnowman at hy@eight{\kansuji8}
+ \endgroup
+\fi
+
+%------------------------------- ZR something END
+%
% key initialization
\newcommand\sctkzsym at snowman@initkeys{%
\def\sctkzsym at snowman@init{false}%
@@ -109,6 +191,7 @@
\def\sctkzsym at snowman@shape{normal}%
\def\sctkzsym at snowman@body{false}%
\def\sctkzsym at snowman@eyes{true}% default on
+ \def\sctkzsym at snowman@nose{false}%
\def\sctkzsym at snowman@mouthshape{smile}%
\def\sctkzsym at snowman@mouth{true}% default on
\def\sctkzsym at snowman@sweat{false}%
@@ -117,6 +200,7 @@
\def\sctkzsym at snowman@muffler{false}%
\def\sctkzsym at snowman@buttons{false}%
\def\sctkzsym at snowman@snow{false}%
+ \def\sctkzsym at snowman@note{false}%
\def\sctkzsym at snowman@adjustbaseline{false}%
\def\sctkzsym at snowman@mikan{false}%
\def\sctkzsym at snowman@leaf{false}%
@@ -133,6 +217,7 @@
\sctkzsym at define@key at wodefault{snowman}{shape}
\sctkzsym at define@key at withbool{snowman}{body}
\sctkzsym at define@key at withbool{snowman}{eyes}
+\sctkzsym at define@key at withbool{snowman}{nose}
\sctkzsym at define@key at withword{snowman}{mouthshape}{smile,frown,tight}
\sctkzsym at define@key at withbool{snowman}{mouth}
\sctkzsym at define@key at withbool{snowman}{sweat}
@@ -141,6 +226,7 @@
\sctkzsym at define@key at withbool{snowman}{muffler}
\sctkzsym at define@key at withbool{snowman}{buttons}
\sctkzsym at define@key at withbool{snowman}{snow}
+\sctkzsym at define@key at withbool{snowman}{note}
\sctkzsym at define@key at withbool{snowman}{adjustbaseline}
\sctkzsym at define@key at withbool{snowman}{mikan}
\sctkzsym at define@key at withbool{snowman}{leaf}
@@ -169,6 +255,8 @@
\def\sctkzsym at snowman@snowfill{\sctkzsym at snowman@snow}%
\def\sctkzsym at snowman@snowpath{\path[draw=\sctkzsym at snowman@snowstroke,fill=\sctkzsym at snowman@snowfill]}%
\def\sctkzsym at snowman@eyefill{\sctkzsym at defaultanticolor}%
+ \def\sctkzsym at snowman@nosestroke{\sctkzsym at defaultanticolor}%
+ \def\sctkzsym at snowman@nosefill{\sctkzsym at snowman@nose}%
\def\sctkzsym at snowman@mouthstroke{\sctkzsym at defaultanticolor}%
\def\sctkzsym at snowman@sweatstroke{\sctkzsym at defaultanticolor}%
\def\sctkzsym at snowman@sweatfill{\sctkzsym at snowman@sweat}%
@@ -184,6 +272,8 @@
\def\sctkzsym at snowman@snowfill{}%
\def\sctkzsym at snowman@snowpath{\path[draw=\sctkzsym at snowman@snowstroke]}%
\def\sctkzsym at snowman@eyefill{\sctkzsym at defaultcolor}%
+ \def\sctkzsym at snowman@nosestroke{\sctkzsym at snowman@nose}%
+ \def\sctkzsym at snowman@nosefill{\sctkzsym at snowman@nose}%
\def\sctkzsym at snowman@mouthstroke{\sctkzsym at defaultcolor}%
\def\sctkzsym at snowman@sweatstroke{\sctkzsym at snowman@sweat}%
\def\sctkzsym at snowman@sweatfill{\sctkzsym at defaultanticolor}%
@@ -195,6 +285,9 @@
% check eyes (currently eyes=<color> not supported; falling back to default-(anti)color)
\sctkzsym at hndl@key at withbool{snowman}{eyes}%
\def\sctkzsym at snowman@eyepath{\path[fill=\sctkzsym at snowman@eyefill]}%
+ % check nose
+ \sctkzsym at hndl@key at withbool{snowman}{nose}%
+ \def\sctkzsym at snowman@nosepath{\path[draw=\sctkzsym at snowman@nosestroke,fill=\sctkzsym at snowman@nosefill]}%
% check mouth (currently mouth=<color> not supported; falling back to default-(anti)color)
\sctkzsym at hndl@key at withword{snowman}{mouthshape}%
\sctkzsym at hndl@key at withbool{snowman}{mouth}%
@@ -220,9 +313,13 @@
\def\sctkzsym at snowman@buttonpath{\path[draw=\sctkzsym at snowman@buttonstroke,fill=\sctkzsym at snowman@buttonfill]}%
% check snow
\sctkzsym at hndl@key at withbool{snowman}{snow}%
+ % check note
+ \sctkzsym at hndl@key at withbool{snowman}{note}%
+ \def\sctkzsym at snowman@notefill{\sctkzsym at snowman@note}%
+ \def\sctkzsym at snowman@notepath{\path[fill=\sctkzsym at snowman@notefill]}%
% check adjustbaseline
\sctkzsym at hndl@key at onlybool{snowman}{adjustbaseline}%
- % check mikan
+ % check mikan/leaf
\sctkzsym at hndl@key at withbool{snowman}{mikan}%
\sctkzsym at hndl@key at withbool{snowman}{leaf}%
\def\sctkzsym at snowman@mikanstroke{\sctkzsym at snowman@mikan}%
More information about the tex-live-commits
mailing list