summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-22 22:34:35 +0000
committerKarl Berry <karl@freefriends.org>2017-01-22 22:34:35 +0000
commit4c6b58ab43e9ecce8fea120a3c918f0e7c1a10d8 (patch)
treee542eadad741a8e983a2bf067c5a9462e584b672 /Master/texmf-dist
parent4f70a140932277cc2ef6292e47ebe25c5d8c3230 (diff)
scsnowman (22jan17)
git-svn-id: svn://tug.org/texlive/trunk@43017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/LICENSE2
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdfbin52624 -> 55875 bytes
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex15
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdfbin340931 -> 369348 bytes
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex189
-rw-r--r--Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def12
-rw-r--r--Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty10
-rw-r--r--Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty9
9 files changed, 198 insertions, 41 deletions
diff --git a/Master/texmf-dist/doc/latex/scsnowman/LICENSE b/Master/texmf-dist/doc/latex/scsnowman/LICENSE
index 613c036e2f8..c0bef0eeb91 100644
--- a/Master/texmf-dist/doc/latex/scsnowman/LICENSE
+++ b/Master/texmf-dist/doc/latex/scsnowman/LICENSE
@@ -1,6 +1,6 @@
(The BSD 2-Clause License)
-Copyright (c) 2015-2016 Hironobu Yamashita
+Copyright (c) 2015-2017 Hironobu Yamashita
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/Master/texmf-dist/doc/latex/scsnowman/README.md b/Master/texmf-dist/doc/latex/scsnowman/README.md
index 86bb99b11c5..8573223adf2 100644
--- a/Master/texmf-dist/doc/latex/scsnowman/README.md
+++ b/Master/texmf-dist/doc/latex/scsnowman/README.md
@@ -27,5 +27,5 @@ Then, execute mktexlsr.
This package is distributed under the BSD 2-Clause License.
See [LICENSE](./LICENSE).
-Copyright (c) 2015-2016 Hironobu Yamashita
+Copyright (c) 2015-2017 Hironobu Yamashita
http://acetaminophen.hatenablog.com/
diff --git a/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdf b/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdf
index e9fa7cca004..b9973bca309 100644
--- a/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdf
+++ b/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex b/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
index 50a9d07c7c8..634f945f60c 100644
--- a/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
+++ b/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
@@ -3,7 +3,7 @@
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2016 Hironobu Yamashita
+%% Copyright (c) 2015-2017 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
@@ -128,4 +128,17 @@
\end{itemize}
\makeitemother
+ベースラインの調節なし:\par
+Text,
+\scsnowman[scale=1]%
+\scsnowman[scale=4]%
+\scsnowman[scale=7],
+T.\par
+ベースラインの調節あり:\par
+Text,
+\scsnowman[adjustbaseline,scale=1]%
+\scsnowman[adjustbaseline,scale=4]%
+\scsnowman[adjustbaseline,scale=7],
+T.
+
\end{document}
diff --git a/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf b/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
index cc1a7bef9c7..975969af609 100644
--- a/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
+++ b/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex b/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
index 78aa99bca33..77688f561b1 100644
--- a/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
+++ b/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
@@ -1,10 +1,10 @@
%%
%% This is the documentation of scsnowman package.
-%% (Last Update: 2016/12/22)
+%% (Last Update: 2017/01/22)
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2016 Hironobu Yamashita
+%% Copyright (c) 2015-2017 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
@@ -25,24 +25,27 @@
\newjfontfamily\fmsmin{MS-Mincho}
\newjfontfamily\fvlgo{VLGothic}
\usepackage{hyperref}
+% documentation
+\newtheorem{theorem}{Theorem}
% misc
\def\Lpack#1{\textsf{#1}}
\def\Lopt#1{\texttt{#1}}
% scsnowman in title
-\def\scsnowmanleft{%
- \raisebox{-1ex}{\scsnowman[scale=2,hat=Green,arms=Brown,snow=SkyBlue,buttons=RoyalBlue,muffler=Red]}}
-\def\scsnowmanright{%
- \raisebox{-1ex}{\scsnowman[scale=2,hat=Green,arms=Brown,snow=SkyBlue,buttons=RoyalBlue]}}
+\scsnowmandefault{adjustbaseline,scale=2,hat=Green,buttons=RoyalBlue}
+\def\scsnowmanleft{\scsnowman[arms=Brown,muffler=Red]}
+\def\scsnowmanright{\scsnowman[snow=SkyBlue]}
\title{\scsnowmanleft\ The \Lpack{scsnowman} package \fileversion\ \scsnowmanright}
\author{Hironobu Yamashita}
\date{\filedate}
\begin{document}
\maketitle
+\scsnowmandefault{}
The \LaTeX\ package \Lpack{scsnowman} provides a command \verb+\scsnowman+, which can display
-many variants of snowman. This package utilizes Ti\emph{k}Z for drawing snowman.
+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}
@@ -109,7 +112,7 @@ at that time.
Since the shapes of the reference glyphs used in the Unicode code charts are not
prescriptive, the actual fonts have a wide variety of glyph designs. However, when it
-comes to snowman, the variation between fonts is enormous. This variation is very
+comes to snowmen, the variation between fonts is enormous. This variation is very
interesting, however, on the other hand, problematic.
Table \ref{table:actualfonts} shows the variety of ``snowman'' in actual fonts.
@@ -139,37 +142,81 @@ have to transfer the exact information to others.
\section{Introduction to \Lpack{scsnowman} Package}
The \LaTeX\ package \Lpack{scsnowman} provides a command \verb+\scsnowman+, which can
-display many variants of snowman. This package depends on Ti\emph{k}Z package for drawing
+display many variants of snowmen. This package depends on Ti\emph{k}Z package for drawing
snowman images.
To use this package, load it in preamble:
\begin{quote}\begin{verbatim}
\usepackage{scsnowman}
\end{verbatim}\end{quote}
-In the main document, use \verb+\scsnowman+ command to print snowman: \scsnowman.
+In the main document, use \verb+\scsnowman+ command to print a snowman: \scsnowman.
By default, the snowman is ``plain'' style, without any decoration such as snow, a hat or
a muffler.
\section{Command Options}
-You can customize the style of snowman using the optional argument. The syntax is
+You can customize the style of a snowman using the optional argument. The syntax is
\begin{quote}
\verb+\scsnowman[+\emph{$\langle$key-value list$\rangle$}\verb+]+
\end{quote}
+
+\subsection{Scaling and Adjustment Options}
+
+The following \emph{key}s are available:
+\begin{quote}
+ \Lopt{scale}, \Lopt{adjustbaseline}
+\end{quote}
+The key \Lopt{scale} takes a scale factor. The origin of scaling is set at the lower
+left corner of the bounding box. For example, \verb+\scsnowman+,
+\verb+\scsnowman[scale=3]+ and \verb+\scsnowman[scale=5]+ give:
+\begin{quote}\begin{minipage}{.9\textwidth}
+\scsnowman\scsnowman[scale=3]\scsnowman[scale=5]\quad
+with visualized bounding boxes:
+\fboxsep0pt\fbox{\scsnowman}\fbox{\scsnowman[scale=3]}\fbox{\scsnowman[scale=5]}
+\end{minipage}\end{quote}
+When the key \Lopt{adjustbaseline} is specified (or, \Lopt{adjustbaseline=true}),
+the base line of the in-line snowman will be adjusted to that of the surrounding texts.
+This will be helpful when a snowman appears to be ``floating in the air.''\\[1ex]
+\begin{minipage}{.55\textwidth}\begin{verbatim}
+ Text,
+ \scsnowman[scale=1]%
+ \scsnowman[scale=4]%
+ \scsnowman[scale=7],
+ T.\par
+ Text,
+ \scsnowman[adjustbaseline,scale=1]%
+ \scsnowman[adjustbaseline,scale=4]%
+ \scsnowman[adjustbaseline,scale=7],
+ T.
+\end{verbatim}\end{minipage}
+\begin{minipage}{.4\textwidth}
+ Text,
+ \scsnowman[scale=1]%
+ \scsnowman[scale=4]%
+ \scsnowman[scale=7],
+ T.\par
+ Text,
+ \scsnowman[adjustbaseline,scale=1]%
+ \scsnowman[adjustbaseline,scale=4]%
+ \scsnowman[adjustbaseline,scale=7],
+ T.
+\end{minipage}
+
+\subsection{Design Options}
+
Following \emph{key}s take a \emph{value} which specifies color. When the \emph{value} is omitted,
the default color, black or white, will be used:
\begin{quote}
\Lopt{body}, \Lopt{eyes}, \Lopt{mouth}, \Lopt{sweat},
\Lopt{hat}, \Lopt{arms}, \Lopt{muffler}, \Lopt{buttons}, \Lopt{snow}
\end{quote}
-Other \emph{key}s require one specific \emph{value}:
+The following \emph{key} require one specific \emph{value}:
\begin{quote}
- \Lopt{mouthshape}, \Lopt{scale}
+ \Lopt{mouthshape}
\end{quote}
The key \Lopt{mouthshape} takes one of the followings: \Lopt{smile}, \Lopt{tight} or \Lopt{frown}.
-The key \Lopt{scale} takes a scale factor.
-Here is some examples:\\[1ex]
+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]
@@ -192,20 +239,102 @@ The package default is the ``plain'' style snowman. This default can be changed
\end{quote}
The available \emph{key}s are the same as those in \verb+\scsnowman+.
-Here is some examples:\\[1ex]
-\begin{minipage}{.65\textwidth}\begin{verbatim}
+Here are some examples:\\[1ex]
+\begin{minipage}{.6\textwidth}\begin{verbatim}
\scsnowmandefault{scale=3,hat=red}
\scsnowman
- \scsnowman[body,hat=red,muffler=blue]
+ \scsnowman[body,muffler=blue]
\scsnowman[hat=green,snow]
\end{verbatim}\end{minipage}
-\begin{minipage}{.3\textwidth}
+\begin{minipage}{.35\textwidth}
\scsnowmandefault{scale=5,hat=red}
\scsnowman
- \scsnowman[body,hat=red,muffler=blue]
+ \scsnowman[body,muffler=blue]
\scsnowman[hat=green,snow]
\end{minipage}
+\section{Changing Item Labels and QED Symbols}
+
+For those who want more snowmen in the documents, currently \Lpack{scsnowman} provides
+the following additional commands:
+\begin{quote}
+\verb+\makeitemsnowman+:\\
+ \makeitemsnowman
+ Change item labels in \Lopt{itemize} environment to snowmen
+ {\labelitemi\labelitemii\labelitemiii\labelitemiv}.
+ \makeitemother
+ The command \verb+\makeitemother+ restores the default,
+ usually {\labelitemi\labelitemii\labelitemiii\labelitemiv}.\par
+\verb+\makeqedsnowman+:\\
+ \makeqedsnowman
+ Change the QED symbol in \Lopt{proof} environment to a snowman {\qedsymbol}.
+ The package \Lpack{amsthm} is required.
+ \makeqedother
+ The command \verb+\makeqedother+ restores the default, usually {\qedsymbol}.
+\end{quote}
+These commands can be used wherever you want, and are effective within the current group.
+
+Here are some examples:\\[1ex]
+\begin{minipage}{.5\textwidth}\begin{verbatim}
+ \begin{itemize}
+ \makeitemsnowman
+ \item Foo X.
+ \begin{itemize}
+ \item Bar A.
+ \begin{itemize}
+ \item Baz P. \item Baz Q.
+ \end{itemize}
+ \item Bar B. \item Bar C.
+ \end{itemize}
+ \end{itemize}
+\end{verbatim}\end{minipage}
+\begin{minipage}{.45\textwidth}
+ \begin{itemize}
+ \makeitemsnowman
+ \item Foo X.
+ \begin{itemize}
+ \item Bar A.
+ \begin{itemize}
+ \item Baz P. \item Baz Q.
+ \end{itemize}
+ \item Bar B. \item Bar C.
+ \end{itemize}
+ \end{itemize}
+\end{minipage}\\[1ex]
+\begin{minipage}{.55\textwidth}\begin{verbatim}
+ \makeqedsnowman
+ \begin{theorem}
+ Given two line segments whose
+ lengths are $a$ and $b$ respectively,
+ there is a real number $r$ such that
+ $b=ra$.
+ \end{theorem}
+ \begin{proof}
+ To prove it by contradiction try and
+ asuume that the statement is false,
+ proceed from there and at some point
+ you will arrive to a contradiction.
+ \end{proof}
+\end{verbatim}\end{minipage}
+\begin{minipage}{.45\textwidth}
+ \makeqedsnowman
+ \begin{theorem}
+ Given two line segments whose
+ lengths are $a$ and $b$ respectively,
+ there is a real number $r$ such that
+ $b=ra$.
+ \end{theorem}
+ \begin{proof}
+ To prove it by contradiction try and
+ asuume that the statement is false,
+ proceed from there and at some point
+ you will arrive to a contradiction.
+ \end{proof}
+\end{minipage}\medskip
+
+The names of these commands are, of course, named after the \LaTeX\ \verb+\makeatletter+
+and \verb+\makeatother+;-)
+
\section*{Version History}
This is the summary of changes. For more detail, see GitHub repository.
@@ -215,32 +344,36 @@ This is the summary of changes. For more detail, see GitHub repository.
Version 0.1 & 2015-12-13 & First public version on GitHub \\
Version 0.8 & 2016-08-08 & Second public version on GitHub: \\
& & new variants \Lopt{buttons}, \Lopt{mouthshape}, \Lopt{sweat} are added \\
-Version 1.0 & 2016-12-22 & First CTAN release
+Version 1.0 & 2016-12-22 & First CTAN release \\
+Version 1.1 & 2017-01-22 & Add new key \Lopt{adjustbaseline}, documentation update
\end{tabular}
\end{table}
\begin{thebibliography}{9}
\bibitem{NAOI1}
\href{http://d.hatena.ne.jp/NAOI/20080623/1214211959}{雪だるまの親子関係}
- -- Mac OS Xの文字コード問題に関するメモ
+\ --- Mac OS Xの文字コード問題に関するメモ
\bibitem{NAOI2}
\href{http://d.hatena.ne.jp/NAOI/20110707/1310031226}{ヒラギノの雪だるまは、なぜ寂しそうなのか}
- -- Mac OS Xの文字コード問題に関するメモ
+\ --- Mac OS Xの文字コード問題に関するメモ
\bibitem{DORA1}
\href{http://doratex.hatenablog.jp/entry/20140327/1395878814}{いろいろなゆきだるま}
- -- TeX Alchemist Online
+\ --- TeX Alchemist Online
\bibitem{ACE1}
\href{http://acetaminophen.hatenablog.com/entry/2014/09/05/090313}{「\TeX{}でゆきだるま」をもっとたくさん}
- -- Acetaminophen's diary
+\ --- Acetaminophen's diary
\bibitem{ZR1}
\href{http://d.hatena.ne.jp/zrbabbler/20140911/1410439004}{Unicode の例の雪だるまは多分アレ}
- -- マクロツイーター
+\ --- マクロツイーター
\bibitem{ACE2}
\href{http://acetaminophen.hatenablog.com/entry/2015/12/13/080226}{\TeX{}でゆきだるまを“もっともっと”たくさん}
- -- Acetaminophen's diary
+\ --- Acetaminophen's diary
\bibitem{ACE3}
\href{http://acetaminophen.hatenablog.com/entry/2016/08/08/080800}{夏といえば、やっぱり「ゆきだるま」!}
- -- Acetaminophen's diary
+\ --- Acetaminophen's diary
+\bibitem{SX229957}
+\href{http://tex.stackexchange.com/questions/229957/}{How do I redefine the QED symbol to be a Unicode character?}
+\ --- \TeX\ -- \LaTeX\ Stack Exchange
\end{thebibliography}
\end{document}
diff --git a/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def b/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def
index e8205179c2b..8c42db598fb 100644
--- a/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def
+++ b/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def
@@ -3,16 +3,22 @@
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2016 Hironobu Yamashita
+%% Copyright (c) 2015-2017 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{scsnowman-normal.def}[2016/12/22 v1.0 scsnowman definition (normal)]
+\ProvidesFile{scsnowman-normal.def}[2017/01/22 v1.1 scsnowman definition (normal)]
\def\sctkzsym@snowman@normal{%
- \begin{tikzpicture}[x=1.8ex,y=1.8ex,line width=0.025ex*\sctkzsym@coord@scl,line join=round,line cap=round,scale=\sctkzsym@snowman@scale]
+ \setlength{\sctkzsym@coord@baseline}{%
+ \ifsctkzsym@snowman@adjustbaseline
+ \dimexpr0.144ex*\sctkzsym@snowman@scale\relax
+ \else
+ \z@
+ \fi}%
+ \begin{tikzpicture}[x=1.8ex,y=1.8ex,line width=0.025ex*\sctkzsym@coord@scl,line join=round,line cap=round,scale=\sctkzsym@snowman@scale,baseline=\sctkzsym@coord@baseline]
\useasboundingbox(0,0) rectangle (1,1);
\sctkzsym@snowman@bodypath % body (IPA-like)
(0.5,0.72) .. controls (0.64,0.72) and (0.76,0.65) ..
diff --git a/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty b/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
index b3d2866b551..77d2ab22d3c 100644
--- a/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
+++ b/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
@@ -3,17 +3,17 @@
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2016 Hironobu Yamashita
+%% Copyright (c) 2015-2017 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{scsnowman}[2016/12/22 v1.0 Snowman variants using TikZ]
+\ProvidesPackage{scsnowman}[2017/01/22 v1.1 Snowman variants using TikZ]
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{sctkzsym-base}}
\ProcessOptions\relax
-\RequirePackage{sctkzsym-base}[2016/08/08]
+\RequirePackage{sctkzsym-base}[2017/01/22]
%
% make document snowman (joke)
\ifsctkzsym@document
@@ -116,6 +116,7 @@
\def\sctkzsym@snowman@muffler{false}%
\def\sctkzsym@snowman@buttons{false}%
\def\sctkzsym@snowman@snow{false}%
+ \def\sctkzsym@snowman@adjustbaseline{false}%
}
\newcommand{\sctkzsym@snowman@defaultkeys}{%
\sctkzsym@snowman@initkeys
@@ -135,6 +136,7 @@
\sctkzsym@define@key@withbool{snowman}{muffler}
\sctkzsym@define@key@withbool{snowman}{buttons}
\sctkzsym@define@key@withbool{snowman}{snow}
+\sctkzsym@define@key@withbool{snowman}{adjustbaseline}
%
% count definitions for \sctkzsym@hndl@key@wodefault
\newcount\sctkzsym@snowman@mouthshape@c
@@ -213,6 +215,8 @@
\def\sctkzsym@snowman@buttonpath{\path[draw=\sctkzsym@snowman@buttonstroke,fill=\sctkzsym@snowman@buttonfill]}%
% check snow
\sctkzsym@hndl@key@withbool{snowman}{snow}%
+ % check adjustbaseline
+ \sctkzsym@hndl@key@onlybool{snowman}{adjustbaseline}%
%
% drawing snowman
\set@sctkzsym@coord@scl{\sctkzsym@snowman@scale}%
diff --git a/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty b/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty
index 1f313f015c5..4f8eadd01d4 100644
--- a/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty
+++ b/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty
@@ -3,14 +3,14 @@
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2016 Hironobu Yamashita
+%% Copyright (c) 2015-2017 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{sctkzsym-base}[2016/12/22 v1.0 Base for emoji variants using TikZ]
+\ProvidesPackage{sctkzsym-base}[2017/01/22 v1.1 Base for emoji variants using TikZ]
\RequirePackage{tikz}
\RequirePackage{keyval}
%
@@ -84,7 +84,7 @@
\expandafter\ifx\csname sctkzsym@#1@#2\endcsname\sctkzsym@true\relax
\csname sctkzsym@#1@#2true\endcsname % <key>=true
\else
- \PackageError{sctkzsym-base}{Only true/false allowed for key `#2'}\@ehc
+ \PackageError{sc#1}{Only true/false allowed for key `#2'}\@ehc
\csname sctkzsym@#1@#2false\endcsname % <key>=false
\fi
\fi
@@ -102,7 +102,7 @@
\expandafter\ifx\csname sctkzsym@#1@#2\endcsname\@tempa\relax
\csname sctkzsym@#1@#2@c\endcsname\thr@@
\else
- \PackageError{sctkzsym-base}{Unsupported value `\csname sctkzsym@#1@#2\endcsname' for #2}\@ehc
+ \PackageError{sc#1}{Unsupported value `\csname sctkzsym@#1@#2\endcsname' for #2}\@ehc
\csname sctkzsym@#1@#2@c\endcsname\z@
\fi
\fi
@@ -110,6 +110,7 @@
}
%
% setup for tikzpicture
+\newlength{\sctkzsym@coord@baseline}
\newlength{\sctkzsym@coord@scl}
\newcommand*{\set@sctkzsym@coord@scl}[1]{\pgfmathsetlength{\sctkzsym@coord@scl}{#1pt}}
\newcommand{\sctkzsym@defaultcolor}{black}