summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex131
1 files changed, 131 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex b/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
new file mode 100644
index 00000000000..50a9d07c7c8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/scsnowman/scsnowman-sample.tex
@@ -0,0 +1,131 @@
+%%
+%% This is file `scsnowman-sample.tex', part of scsnowman package.
+%% Maintained on GitHub:
+%% https://github.com/aminophen/scsnowman
+%%
+%% Copyright (c) 2015-2016 Hironobu Yamashita
+%% Email : h.y.acetaminophen[a t]gmail.com
+%% GitHub : https://github.com/aminophen
+%% Blog : http://acetaminophen.hatenablog.com/
+%% Twitter : @aminophen
+%%
+% platex + dvipdfmx
+\documentclass[dvipdfmx,twocolumn]{jsarticle}
+\usepackage[margin=21truemm]{geometry}
+\usepackage[svgnames]{xcolor}
+\usepackage{scsnowman}
+\title{\textsf{scsnowman}パッケージの実用例}
+\author{アセトアミノフェン}
+\begin{document}
+\maketitle
+
+% ふつうのゆきだるま
+これはゆきだるま\scsnowman です。
+
+% 雪ありゆきだるま
+今日の天気は\scsnowman[snow]です。
+
+% 帽子をかぶったゆきだるま
+ゆきだるま\scsnowman[hat]が帽子をかぶりました。
+
+% 帽子をかぶったゆきだるま(帽子の色は青)
+私は青い帽子をかぶった\scsnowman[hat=blue]が大好きです。
+
+% 帽子とマフラー付(マフラーの色は赤)
+マフラー\scsnowman[hat=true,muffler=red]を付けてあげましょう。
+
+% 腕あり
+腕も作って\scsnowman[hat=true,muffler=red,arms=true]あげましょう。
+
+% サイズ変更
+小\scsnowman、
+中\scsnowman[scale=3]、
+大\scsnowman[scale=5]。
+
+% ゆきだるま三兄弟
+\begin{table}[htb]
+ \begin{tabular}{ccc}
+ \texttt{U+2603} & \texttt{U+26C4} & \texttt{U+26C7} \\
+ \texttt{SNOWMAN} & \texttt{SNOWMAN WITHOUT SNOW} & \texttt{BLACK SNOWMAN} \\
+ \scsnowman[scale=5,body=false,snow=true] & \scsnowman[scale=5,body=false,snow=false] & \scsnowman[scale=5,body=true,snow=true]
+ \end{tabular}
+\end{table}
+
+\begin{table}[htb]
+ \begin{tabular}{ccc}
+ \texttt{U+2603} & \texttt{U+26C4} & \texttt{U+26C7} \\
+ \texttt{SNOWMAN} & \texttt{SNOWMAN WITHOUT SNOW} & \texttt{BLACK SNOWMAN} \\
+ \scsnowman[scale=5,body=false,snow=true,muffler=true] & \scsnowman[scale=5,body=false,snow=false,muffler=true] & \scsnowman[scale=5,body=true,snow=true,muffler=true]
+ \end{tabular}
+\end{table}
+
+\begin{table}[htb]
+ \begin{tabular}{ccc}
+ \texttt{U+2603} & \texttt{U+26C4} & \texttt{U+26C7} \\
+ \texttt{SNOWMAN} & \texttt{SNOWMAN WITHOUT SNOW} & \texttt{BLACK SNOWMAN} \\
+ \scsnowman[scale=5,body=false,snow=true,hat=true,arms=true] & \scsnowman[scale=5,body=false,snow=false,hat=true,arms=true] & \scsnowman[scale=5,body=true,snow=true,hat=true,arms=true]
+ \end{tabular}
+\end{table}
+
+\begin{table}[htb]
+ \begin{tabular}{ccc}
+ \texttt{U+????} & \texttt{U+????} & \texttt{U+????} \\
+ \texttt{RED SNOWMAN} & \texttt{BLUE SNOWMAN} & \texttt{GREEN SNOWMAN} \\
+ \scsnowman[scale=5,body=red,snow=red,hat=red] & \scsnowman[scale=5,body=blue,hat=blue,arms=blue,muffler=blue] & \scsnowman[scale=5,body=green,snow=green,arms=green]
+ \end{tabular}
+\end{table}
+
+\newpage
+
+\scsnowmandefault{body,hat,snow,muffler}%
+私、黒\scsnowman 大輔は、1950年に黒\scsnowman 太郎の長男として
+誕生しました。その後、黒\scsnowman 家には…
+
+\scsnowmandefault{hat,snow,arms}%
+お隣には白\scsnowman さんが住んでいました。白\scsnowman さんは、
+宛名の文字を「\scsnowman」でなく「\scsnowman[arms=false,muffler]」
+と書いてしまうとお手紙を読まずに食べてしまうような変わった方でした。
+ただし、\scsnowman[hat=red]のように帽子に色が付いた宛名を見ると、
+白\scsnowman さんは喜んでいました。
+
+% buttons で「ボタン」(マフラーの有無で微妙に位置が変わる)
+\scsnowmandefault{scale=5,hat=Green,arms=Brown,snow=SkyBlue}
+\scsnowman[buttons=RoyalBlue,muffler=Red]
+\scsnowman[buttons=RoyalBlue]
+
+% mouthshape で「口の形」
+\scsnowmandefault{scale=5,hat,muffler=Red}
+\scsnowman[mouthshape=smile]% にっこり
+\scsnowman[mouthshape=frown]% しかめっ面
+\scsnowman[mouthshape=tight]% 真一文字
+
+% sweat で「汗」
+\scsnowmandefault{scale=5,hat}
+\scsnowman[mouthshape=tight,arms,buttons,sweat]
+
+ゆきだるまで箇条書き:
+\makeitemsnowman
+\begin{itemize}
+ \item 動物
+ \begin{itemize}
+ \item 哺乳類
+ \item 鳥類
+ \item …
+ \end{itemize}
+ \item 植物
+ \begin{itemize}
+ \item 裸子植物
+ \item 被子植物
+ \begin{itemize}
+ \item 単子葉類
+ \item 双子葉類
+ \begin{itemize}
+ \item 合弁花類
+ \item 離弁花類
+ \end{itemize}
+ \end{itemize}
+ \end{itemize}
+\end{itemize}
+\makeitemother
+
+\end{document}