texlive[46320] Master/texmf-dist: scsnowman (15jan18)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 15 23:20:46 CET 2018


Revision: 46320
          http://tug.org/svn/texlive?view=revision&revision=46320
Author:   karl
Date:     2018-01-15 23:20:45 +0100 (Mon, 15 Jan 2018)
Log Message:
-----------
scsnowman (15jan18)

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
    trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty

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-01-15 22:20:31 UTC (rev 46319)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex	2018-01-15 22:20:45 UTC (rev 46320)
@@ -16,7 +16,7 @@
 \usepackage[svgnames]{xcolor}
 \usepackage{scsnowman}
 \title{\textsf{scsnowman}パッケージの実用例}
-\author{アセトアミノフェン}
+\author{Hironobu Yamashita}
 \begin{document}
 \maketitle
 
@@ -160,4 +160,7 @@
 お正月:\scsnowman[eyes=false,mouth=false,mikan]%
 \scsnowman[eyes=false,mouth=false,mikan=DarkOrange,leaf=DarkOliveGreen]
 
+The World Day of Snowman:
+\scsnowman[muffler=Red,arms=Brown,buttons=Green,broom=DarkGoldenrod]
+
 \end{document}

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-01-15 22:20:31 UTC (rev 46319)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex	2018-01-15 22:20:45 UTC (rev 46320)
@@ -1,6 +1,6 @@
 %%
 %% This is the documentation of scsnowman package.
-%% (Last Update: 2018/01/05)
+%% (Last Update: 2018/01/15)
 %% Maintained on GitHub:
 %% https://github.com/aminophen/scsnowman
 %%
@@ -208,8 +208,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{hat}, \Lopt{arms}, \Lopt{muffler}, \Lopt{buttons}, \Lopt{snow}
+  \Lopt{body}, \Lopt{eyes}, \Lopt{mouth}, \Lopt{sweat}, \Lopt{arms},
+  \Lopt{hat}, \Lopt{muffler}, \Lopt{buttons}, \Lopt{snow}, \Lopt{broom}
 \end{quote}
 The following \emph{key}s require one specific \emph{value}:
 \begin{quote}
@@ -226,13 +226,13 @@
 \begin{minipage}{.7\textwidth}\begin{verbatim}
   \scsnowman[scale=2,body,hat=red,muffler=blue]
   \scsnowman[scale=3,hat,snow,arms,buttons]
-  \scsnowman[scale=2,mouthshape=tight,muffler=red]
+  \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=2,mouthshape=tight,muffler=red]
+  \scsnowman[scale=2,muffler=red,arms,broom=brown]
   \scsnowman[scale=2,mouthshape=frown,hat=green]
 \end{minipage}\\[1ex]
 \begin{minipage}{.7\textwidth}\begin{verbatim}
@@ -239,7 +239,7 @@
  {\color{blue}
   \scsnowman[scale=2,body,hat=red,muffler=blue]
   \scsnowman[scale=3,hat,snow,arms,buttons]
-  \scsnowman[scale=2,mouthshape=tight,muffler=red]
+  \scsnowman[scale=2,muffler=red,arms,broom=brown]
   \scsnowman[scale=2,mouthshape=frown,hat=green]}
 \end{verbatim}\end{minipage}
 \begin{minipage}{.25\textwidth}
@@ -246,7 +246,7 @@
  {\color{blue}
   \scsnowman[scale=2,body,hat=red,muffler=blue]
   \scsnowman[scale=3,hat,snow,arms,buttons]
-  \scsnowman[scale=2,mouthshape=tight,muffler=red]
+  \scsnowman[scale=2,muffler=red,arms,broom=brown]
   \scsnowman[scale=2,mouthshape=frown,hat=green]}
 \end{minipage}
 
@@ -418,7 +418,8 @@
             &            & Add a new command \verb+\usescsnowmanlibrary+ \\
 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
+             &            & Stopped loading \Lpack{amsthm} by default \\
+Version 1.2c & 2018-01-15 & Add a new key \Lopt{broom}
 \end{tabular}
 \end{table}
 

Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def	2018-01-15 22:20:31 UTC (rev 46319)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman-normal.def	2018-01-15 22:20:45 UTC (rev 46320)
@@ -10,7 +10,7 @@
 %%   Twitter :  @aminophen
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{scsnowman-normal.def}[2018/01/05 v1.2b scsnowman definition (normal)]
+\ProvidesFile{scsnowman-normal.def}[2018/01/15 v1.2c scsnowman definition (normal)]
 \def\sctkzsym at snowman@shape at normal{%
   \setlength{\sctkzsym at coord@baseline}{%
     \ifsctkzsym at snowman@adjustbaseline
@@ -69,6 +69,16 @@
         cycle;
     \fi
     \fi
+    \ifsctkzsym at snowman@broom
+      \sctkzsym at snowman@broompath[line width=0.08ex*\sctkzsym at coord@scl,line cap=butt]
+        (0.03,0.06) -- (0.12,0.50);
+      \sctkzsym at snowman@broompath[line width=0.03ex*\sctkzsym at coord@scl,line cap=butt]
+        (0.11,0.50) -- (0.06,0.75)
+        (0.12,0.50) -- (0.12,0.72)
+        (0.12,0.50) -- (0.18,0.76)
+        (0.12,0.50) -- (0.21,0.70)
+        (0.13,0.50) -- (0.27,0.74);
+    \fi
     \ifsctkzsym at snowman@arms
       \sctkzsym at snowman@armspath % right arm (SourceHanSans-like)
         (0.20,0.31) .. controls (0.19,0.33) and (0.14,0.41) ..
@@ -116,10 +126,14 @@
       \sctkzsym at snowman@buttonpath (0.50,0.29) circle (0.03);
     \fi\fi
     \ifsctkzsym at snowman@snow
+      \ifsctkzsym at snowman@broom
+      \sctkzsym at snowman@snowpath (0.13,0.81) circle (0.04);
+      \else
       \sctkzsym at snowman@snowpath (0.07,0.28) circle (0.04);
       \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
       \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);

Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty	2018-01-15 22:20:31 UTC (rev 46319)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty	2018-01-15 22:20:45 UTC (rev 46320)
@@ -10,7 +10,7 @@
 %%   Twitter :  @aminophen
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{scsnowman}[2018/01/05 v1.2b Snowman variants using TikZ]
+\ProvidesPackage{scsnowman}[2018/01/15 v1.2c Snowman variants using TikZ]
 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{sctkzsym-base}}
 \ProcessOptions\relax
 \RequirePackage{sctkzsym-base}[2017/08/08]
@@ -120,6 +120,7 @@
   \def\sctkzsym at snowman@adjustbaseline{false}%
   \def\sctkzsym at snowman@mikan{false}%
   \def\sctkzsym at snowman@leaf{false}%
+  \def\sctkzsym at snowman@broom{false}%
 }
 \newcommand{\sctkzsym at snowman@defaultkeys}{%
   \sctkzsym at snowman@initkeys
@@ -143,6 +144,7 @@
 \sctkzsym at define@key at withbool{snowman}{adjustbaseline}
 \sctkzsym at define@key at withbool{snowman}{mikan}
 \sctkzsym at define@key at withbool{snowman}{leaf}
+\sctkzsym at define@key at withbool{snowman}{broom}
 %
 % definition of \scsnowman[...]
 \DeclareRobustCommand\scsnowman[1][]{%
@@ -229,6 +231,10 @@
   \def\sctkzsym at snowman@leafstroke{\sctkzsym at snowman@leaf}%
   \def\sctkzsym at snowman@leaffill{\sctkzsym at snowman@leaf}%
   \def\sctkzsym at snowman@leafpath{\path[draw=\sctkzsym at snowman@leafstroke,fill=\sctkzsym at snowman@leaffill]}%
+  % check broom
+  \sctkzsym at hndl@key at withbool{snowman}{broom}%
+  \def\sctkzsym at snowman@broomstroke{\sctkzsym at snowman@broom}%
+  \def\sctkzsym at snowman@broompath{\path[draw=\sctkzsym at snowman@broomstroke]}%
   %
   % drawing snowman
   \set at sctkzsym@coord at scl{\sctkzsym at snowman@scale}%

Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty	2018-01-15 22:20:31 UTC (rev 46319)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty	2018-01-15 22:20:45 UTC (rev 46320)
@@ -10,7 +10,7 @@
 %%   Twitter :  @aminophen
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{sctkzsym-base}[2018/01/05 v1.2b Base for emoji variants using TikZ]
+\ProvidesPackage{sctkzsym-base}[2018/01/15 v1.2c Base for emoji variants using TikZ]
 \RequirePackage{tikz}
 \RequirePackage{keyval}
 %



More information about the tex-live-commits mailing list