Debian Codegraph @

texmf-dist/doc/latex/tikzpingus/tikzpingus-doc.tex

raw
1 %% tikzpingus-doc.tex
2 %% Copyright 2026 Florian Sihler
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either version 1.3
6 % of this license or (at your option) any later version.
7 % The latest version of this license is in
8 % https://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions of LaTeX
10 % version 2008 or later.
11 %
12 % This work has the LPPL maintenance status `maintained'.
13 %
14 % The Current Maintainer of this work is Florian Sihler
15 %
16 % This work consists of the files tikzpingus.sty and tikzpingus-doc.tex
17 \errorcontextlines9999
18 \documentclass[parskip=half,english,numbers=noenddot,footnotes=nomultiple,oneside,fontsize=10pt,DIV=14]{scrartcl}
19 %
20
21 \usepackage[T1]{fontenc}
22 \usepackage[utf8]{inputenc}
23 \usepackage{babel}
24
25 \usepackage{marginnote}
26
27 \makeatletter
28 \def\input@path{{../tex/}}
29 \usepackage[glows]{../tex/tikzpingus}
30
31 % \definecolor{doc-main}{RGB}{204,0,25}
32 \colorlet{doc-main}{pingu@blue!65!pingu@black}
33 \colorlet{@opcolor}{doc-main!70!pingu@black}
34 \usepackage[linkcolor=@opcolor,urlcolor=@opcolor,colorlinks,breaklinks,pdfusetitle]{hyperref}
35 \usetikzlibrary{shapes.misc,arrows.meta}
36 \urlstyle{same}
37 \expandafter\def\expandafter\UrlBreaks\expandafter{\UrlBreaks\do-}
38
39 \usepackage[hyper]{listings}
40 \usepackage[skins,breakable,hooks,xparse,listingsutf8,external]{tcolorbox}
41 \usepackage[sfdefault,scale=.9]{FiraSans}
42 % fitting math font
43 \usepackage{newtxsf}
44
45 \usepackage{imakeidx}
46 \usepackage{tikz}
47 \usepackage{fontawesome}
48 \usepackage{csquotes}
49 \usepackage{enumitem}
50 \usepackage{microtype}
51 \usepackage{tikzducks}
52 \usepackage{datatool}
53 \usepackage{multicol}
54 \usepackage{footnotebackref}
55 \usepackage{adjustbox}
56 \usepackage{xstring}
57 \usepackage{colorinfo}
58
59 \makeindex[title={Key Overview},name=\jobname,columns=2,columnsep=.75cm,noautomatic=true,intoc]
60 \def\indexinternalsoverviewname{Internals Overview}
61 \makeindex[title={\indexinternalsoverviewname},name=\jobname-internals,columns=2,columnsep=.75cm,noautomatic=true,intoc]
62 \def\current@indexfile{\jobname}
63
64 \deffootnote{1.5em}{1em}{\textsuperscript{\hyperref[\BackrefFootnoteTag]{\thefootnotemark}}\thinspace}
65 \def\thefootnote{$\langle$\arabic{footnote}$\rangle$}
66 % https://tex.stackexchange.com/questions/78423/how-to-use-the-footnotebackref-package-with-footnotemark-and-footnotetext
67
68 \LetLtxMacro\BHFN@Old@footnotemark\@footnotemark
69 \def\@footnotemark{%
70 \refstepcounter{BackrefHyperFootnoteCounter}%
71 \xdef\BackrefFootnoteTag{bhfn:\theBackrefHyperFootnoteCounter}%
72 \label{\BackrefFootnoteTag}%
73 \BHFN@Old@footnotemark
74 }
75
76 \newlist{inlist}{enumerate*}{1}
77 \setlist[inlist]{itemjoin={{, }},itemjoin*={{, and }},label=$\roman*$),mode=boxed}
78
79 \def\MapDTLList#1{\ifcsname ListnameOf#1\endcsname\csname ListnameOf#1\endcsname\else#1\fi}
80 \def\ListnameOflefteye{eyes}
81 \def\ListnameOfbodytype{body type}
82
83 \let\say\enquote
84 \def\DTLlistformatoxford{,}\def\DTLandname{and}
85 % TODO: do guard against same keys for different selectors
86 \long\def\ParseDTLListElement#1"#2"\@nil{}
87 \def\DTLlistformatitem#1{\textit{#1\expandafter\ParseDTLListElement :#1\@nil}}
88 \newcommand*\typesetselection[1][]{\begingroup\ifx!#1!\else\def\DTLlistformatitem##1{#1}\fi\dotypesetselection}
89 \def\dotypesetselection#1{\label{expl-list:#1}\def\CurrentList{#1}\expandafter\DTLformatlist\expandafter{\csname @pingu@#1@\endcsname}\endgroup}
90
91 % this can be used to remove some prefixes of the keys if necessary
92 \let\@gobblekey\@gobble
93
94 \addtokomafont{sectioning}{\@declaredcolor{black}}
95 \addtokomafont{title}{\@declaredcolor{@opcolor}}
96 \addtokomafont{author}{\normalsize}
97 \addtokomafont{date}{\normalsize}
98
99 \colorlet{@softgray}{gray!60!white}
100 \colorlet{@softgray@b}{gray!75!white}
101 \colorlet{@darkerblue}{pingu@blue!40!black}
102
103 \def\optstyle{\@declaredcolor{@opcolor}\slshape}
104 \def\cmdstyle{\@declaredcolor{@darkerblue}}
105 \def\nostyle{\@declaredcolor{black}}
106 \let\lstfnsize\small
107 \lstdefinestyle{lstpingu}{%
108 tabsize=2, breaklines,
109 basicstyle=\lstfnsize\ttfamily,
110 commentstyle={\@declaredcolor{gray}\slshape},
111 columns=fullflexible,
112 emphstyle=\slshape,
113 emphstyle=[2]\optstyle,
114 emphstyle=[3]\@declaredcolor{@softgray@b},
115 emphstyle=[4]\@declaredcolor{@darkerblue},
116 lineskip=2.5pt,
117 keepspaces=true,
118 moredelim=[s][\itshape]{<}{>},
119 }
120 \lstset{style=lstpingu}
121 \def\ipingu#1{\lstinline'#1'}
122 \def\lpingu#1{\lstinline[style=lstpingu,language=pingulang]'#1'}
123 \def\ltex#1{\lstinline[style=lstpingu,language=pinguinternallang]'#1'}
124 \def\doccmd#1{{\@declaredcolor{doc-main}\bfseries\textbackslash #1}}
125 \def\graycmd#1{{\@declaredcolor{gray}\bfseries\textbackslash #1}}
126 \def\ghostcmd#1{{\@declaredcolor{@softgray}\textbackslash #1}}
127
128 \lstdefinelanguage{pinguinternallang}{
129 language={[LaTeX]TeX},
130 moreemph={tikzpicture},
131 alsoletter={@},
132 add to literate=
133 {\\pingu@block}{{\doccmd{pingu@block}}}{12}
134 {\\pingu@draw}{{\doccmd{pingu@draw}}}{11}
135 {\\@pingu@none}{{\graycmd{@pingu@none}}}{11}
136 {\\path}{{\graycmd{path}}}5
137 {\\coordinate}{{\graycmd{coordinate}}}5
138 {\\definecolor}{{\doccmd{definecolor}}}{12}
139 {\\pgfqkeys}{{\graycmd{pgfqkeys}}}9
140 {\\@ifnextchar}{{\graycmd{@ifnextchar}}}9
141 {\\csname}{{\graycmd{csname}}}6
142 {\\endcsname}{{\graycmd{endcsname}}}9
143 {/pingu/}{{\@declaredcolor{@softgray}/pingu/}}7
144 }
145
146 \def\t@lst@addToLiterate#1{\protected@edef\lst@literate{\unexpanded\expandafter{\lst@literate}\unexpanded{#1}}}
147 \lst@Key{add to literate}{}{\t@lst@addToLiterate{#1}}
148 \let\lst@ifxliterate\iftrue % make literate a star literate
149
150 \lstdefinelanguage{pingulang}{
151 language={[LaTeX]TeX},
152 moreemph={tikzpicture},
153 alsoletter={.-!:0123456789},%disable number
154 deletetexcs={begin,end}, % -> lift 3
155 moreemph=[3]{!hide,.style,xshift,yshift},
156 add to literate={/pingu/}{{\@declaredcolor{gray}/pingu/}}7
157 {\{tikzpicture\}}{{\@declaredcolor{@softgray}\{tikzpicture\}}}{13}
158 {\{\\number\\pdfrandomseed\}}{{\@declaredcolor{@softgray}\{\textbackslash number\textbackslash pdfrandomseed\}}}{23}
159 % otherwise these would interfere with random
160 {!random}{{\@declaredcolor{darkgray}\itshape!random}}7
161 {\\node}{{\doccmd{node}}}5
162 {\\duck}{{\doccmd{duck}}}5
163 {\\begin}{{\ghostcmd{begin}}}6
164 {\\end}{{\ghostcmd{end}}}4
165 {\\tikz}{{\ghostcmd{tikz}}}5
166 {\\pgfmathsetseed}{{\ghostcmd{pgfmathsetseed}}}{15}
167 }
168
169 \def\@CreateCodeHyperLink#1#2#3#4#5{\lstset{add to literate={#2}{{\hyperref[#3]{#5#4}}}{#1}}}
170 % #1 Keys | #2 length (optimized)
171 \def\CreateCodeHyperLink#1#2{% \StrLen{\@elem}[\@cclen]
172 \@for\@elem:=#1\do{\ifx\@elem\@empty\else
173 % space to space cmd % TODO: do this on store and just keep store?
174 \StrSubstitute{\@elem}{ }{\noexpand\ }[\@sub]\relax
175 \let\hyperstyle\optstyle
176 \IfBeginWith{\@sub}{_}{% update hypersyle
177 \let\hyperstyle\cmdstyle
178 \StrSubstitute{\@sub}{_}{\\}[\@sub]%
179 \StrSubstitute{\@sub}{\\}{\textbackslash}[\@subb]% deal with backslash
180 }{%
181 \IfBeginWith{\@sub}{+}{% update blockstyle
182 \let\hyperstyle\nostyle
183 \StrDel{\@sub}{+}[\@sub]%
184 }{}%
185 \let\@subb\@sub
186 }%
187 \edef\@tmp{\noexpand\@CreateCodeHyperLink{#2}{\@sub}{pk:/pingu/\@elem}{\@subb}{\expandonce{\hyperstyle}}}\@tmp\fi}%
188 }
189 % store all. we use their precalculated length to ensure prefixes we go from small to large on set
190 \def\cmdsstore#1#2{\csxdef{allcmds@#1}{#2}}
191 \def\allcmdsmin{3}% think
192 \def\allcmdsmax{3}%
193 \AtEndDocument{%
194 \pgfkeys{/pingu/.cd,defaults}% this way we have active defaults
195 \foreach \i in {\allcmdsmin,...,\allcmdsmax} {%
196 \immediate\write\@auxout{\noexpand\cmdsstore{\i}{\csuse{allcmds@\i}}}%
197 }%
198 \immediate\write\@auxout{%
199 \noexpand\gdef\noexpand\allcmdsmin{\allcmdsmin}%
200 \noexpand\gdef\noexpand\allcmdsmax{\allcmdsmax}%
201 \noexpand\gdef\noexpand\pengu@all@showcases{\pengu@all@showcases}%
202 }%
203 }
204
205
206 \def\RawShowcase#1#2{\scalebox{.62}{%\begin{tcbexternal}{showcase-#2#1}%
207 \tikzpicture[baseline={(pingu-bottom-center)}]
208 \pingu[:mix=30!white,name=pingu,#1#2]
209 \pgfonlayer{foreground}
210 \node[below=3mm] at(pingu-bottom-center) {\strut}; % buffer
211 \pgfinterruptboundingbox
212 \node[below=3mm,fill=white,fill opacity=.52,text opacity=1,rounded corners=3pt] at(pingu-bottom-center) {\textsf{\strut\smash{#1}}};
213 \endpgfinterruptboundingbox
214 \endpgfonlayer
215 \endtikzpicture
216 %\end{tcbexternal}%
217 }}
218
219 \setbox0=\hbox{\RawShowcase{}{}}
220 \newdimen\pingu@showcase@height
221 \pingu@showcase@height=\dimexpr\ht0+\dp0\relax
222
223 \def\ShowcasePengu#1=#2;{{\hypersetup{linkcolor=.}%
224 \hyperref[pk:/pingu/#1]{%
225 \parbox[b][\pingu@showcase@height]{.14\linewidth}{\centering\ifx!#2!\def\Arg{}\else\def\Arg{=#2}\fi\edef\MakeShowcase{\noexpand\RawShowcase{#1}{\Arg}}~\clap{\MakeShowcase}~}%
226 }}}
227 \def\pengu@all@showcases{}
228 % we mix them somewhat funny
229 \def\@showcase@pre{pre}
230 \let\@showcase@cur\@showcase@pre
231 \def\@toggle@showcase{\ifx\@showcase@cur\@showcase@pre\global\let\@showcase@cur\@empty\else \global\let\@showcase@cur\@showcase@pre\fi}
232 \newcommand\ShowcaseThis[2][]{\ifx\@showcase@cur\@showcase@pre \global\let\@showcase@cur\@empty\expandafter\gpreto\else \global\let\@showcase@cur\@showcase@pre\expandafter\gappto\fi\pengu@all@showcases{{#2=#1},}}
233
234 \RedeclareSectionCommand[runin=false,beforeskip=3mm,afterskip=-2mm]{section}
235 \RedeclareSectionCommand[runin=false,beforeskip=3mm,afterskip=-2mm]{subsection}
236 \RedeclareSectionCommand[runin=false,beforeskip=2mm,afterskip=-2mm]{subsubsection}
237
238 \tcbset{%
239 colframe=gray,enhanced,breakable, arc=2mm,
240 fonttitle=\bfseries, sidebyside,
241 boxrule=.35mm,listing options={style=lstpingu,language=pingulang},
242 center lower,segmentation at break=false,
243 righthand width=4.75cm, bottom=0pt, top=0pt,boxsep=2.25pt,
244 before lower app={}, colback=white
245 }
246 \lstMakeShortInline[style=lstpingu,language=pingulang,basicstyle=\small\ttfamily\@declaredcolor{black!90!white},moredelim={[s][\itshape]{<}{>}}]{|}
247
248 \def\explaincolor{@opcolor!9!white}
249 \def\cursub{}
250 \def\keyexplainindent{2.5em}%
251 \let\@explainsuff\@empty
252 \let\@labelhack\@empty
253
254 \def\@append@key{\protected@csxappto{allcmds@\@cclen}{\@key,}%
255 % update the range
256 \ifnum\@cclen>\allcmdsmax\relax \xdef\allcmdsmax{\@cclen}\fi
257 \ifnum\@cclen<\allcmdsmin\relax \xdef\allcmdsmin{\@cclen}\fi}
258
259 % allow the oxes to have minor overlaps
260 \newcommand\DefineKey[2][/pingu/]{%
261 \StrSubstitute{#2}{ }{-}[\keyexternalname]%
262 % create valid artifact path names for github
263 \StrSubstitute{\keyexternalname}{:}{_}[\keyexternalname]%
264 \StrSubstitute{\keyexternalname}{*}{_}[\keyexternalname]%
265 % only use _ to keep the length intact when replace with the backslash
266 \StrSubstitute{\keyexternalname}{\\}{_}[\keyexternalname]%
267 {\def\\{_}\protected@xdef\@key{#2}}%
268 {\def\\{}\protected@xdef\@idxkey{#2}\@gobblekey{\@idxkey}}% backslash should not interfere with keys
269 \tcbset{@/.style={externalize listing=key-\keyexternalname}}% set for externalize
270 \phantomsection\label{pk:#1\@labelhack\@key}\index[\current@indexfile]{\cursub\@idxkey?\hyperref[pk:#1\@key]{\protect\lpingu{#2}}}%
271 % get its length:
272 \StrLen{#2}[\@cclen]%
273 \@append@key
274 }
275 % prevent something from get a highlight
276 \newcommand\BlockString[2][/pingu/]{%
277 {\def\\{_}\protected@xdef\@key{+#2}}%
278 % no index
279 \phantomsection\label{pk:#1\@labelhack\@key}%
280 % get its length:
281 \StrLen{#2}[\@cclen]%
282 % now, remove prefix it with a char which marks block:
283 \edef\@cclen{\the\numexpr\@cclen-1\relax}
284 \@append@key
285 }
286
287 \newenvironment{keyexplain}[4][/pingu/]{\minipage{\linewidth}
288 \parskip\smallskipamount
289 \DefineKey[#1]{#2}%
290 \expandafter\gdef\csname pinguopt\@key\endcsname{#3}%
291 \expandafter\gdef\csname pingudefa\@key\endcsname{#4}%
292 \begingroup\pgfkeys{/pingu/.cd,defaults}\protected@edef\@tmp{#4}%
293 \protected@edef\@tmpb{#3}%
294 \hspace*{-\keyexplainindent}\tcbox[left=3pt,right=3pt,top=3pt,bottom=3pt,colframe=white,colback=\explaincolor,on line]{%
295 \parbox{\dimexpr\linewidth-2\fboxsep+\keyexplainindent}{\small
296 \ifx\@tmpb\@empty\lpingu{#1#2}\@explainsuff\else\lpingu{#1#2 =\ }\texttt{<\textit{\@tmpb}>}\fi\hfill
297 \ifx\@tmp\@empty\else{\@declaredcolor{gray}(}#4{\@declaredcolor{gray})}\fi
298 }
299 }\kern-\linewidth\par\endgroup
300 }
301 {\endminipage\smallskip\par}
302
303 \def\singleshortcut#1#2"#3"#4{\def\cursub{#2?\hyperref[pk:#1#2]{\protect\lpingu{#2}}!}\keyexplain[#1]{#2 #3}{\csname pinguopt#4\endcsname}{\csname pingudefa#4\endcsname}%
304 \textcolor{gray}{\small This is a shortcut for: \texttt{\keyref[#1]{#2}{\small\ =\ {\optstyle#3}}}. The \enquote{\texttt{\textit{\csname pinguopt#4\endcsname}}} argument is passed to \keyref[#1]{#4}.}
305 \endkeyexplain}
306 \newcommand*\shortcuts[4][/pingu/]{\begingroup
307 \protected@edef\@tmp{#3}%
308 \def\explaincolor{@softexplaincolor}%
309 \foreach \type in \@tmp {%
310 \edef\tmp{\noexpand\singleshortcut{#1}{#2}\type{#4}}\tmp
311 }\endgroup}
312
313 \newcommand*\keyref[2][/pingu/]{\hyperref[pk:#1#2]{\lpingu{#1#2}}}
314 \newcommand*\dkeyref[2][/pingu/]{\hyperref[pk:#1#2]{\lpingu{#2}}}
315 \newcommand*\cmdref[1]{\hyperref[pk:/pingu/:bs:#1]{\lpingu{\\#1}}}
316 \newcommand*\cmddef[1]{\DefineKey{\\#1}\cmdref{#1}\nobreak}
317
318 % master-cmd | cmd
319 \newif\ifsubcmddefprint
320 \newcommand*\subcmddef{\@ifstar{\subcmddefprintfalse\@subcmddef}{\subcmddefprinttrue\@subcmddef}}
321 \def\@subcmddef#1#2{\begingroup
322 {\def\\{}\protected@xdef\@subidxkey{#1}\@gobblekey{\@subidxkey}}%% backslash should not interfere with keys
323 \def\cursub{\@subidxkey?\hyperref[pk:/pingu/_\@subidxkey]{\protect\lpingu{\\#1}}!}%
324 \ifsubcmddefprint\cmddef{#2}\else\DefineKey{\\#2}\fi%
325 \endgroup}
326
327 \newcommand*\cmdcoldef[1]{\cmddef{pingu@color@#1}}
328 \newcommand*\cmd[1]{\texttt{\small\doccmd{#1}}}
329
330 \colorlet{@softexplaincolor}{gray!8!white}
331 \def\pingu@nokeyindent{0pt}
332 \def\pingu@softexplaincolor{@softexplaincolor}
333 \newenvironment{subkeyexplain}[5][/pingu/]{%
334 \begingroup
335 \let\explaincolor\pingu@softexplaincolor\let\keyexplainindent\pingu@nokeyindent%
336 \def\cursub{#2?\hyperref[pk:#1#2]{\protect\lpingu{#2}}!}%
337 \keyexplain[#1]{#3}{#4}{#5}%
338 {\@declaredcolor{gray}\footnotesize This command is only in effect if \keyref[#1]{#2} is active.}\par
339 }{\endkeyexplain\endgroup}
340
341 \newenvironment{commandexplain}[3][]{%
342 \begingroup
343 \def\@labelhack{/pingu/}%
344 \def\mand##1{\texttt{\{\textsf{\small##1}\}}}%
345 \def\@pingu@command@keypartner{#1}%
346 % #1 is the default
347 \newcommand\opt[2][]{\texttt{\textit{[\textsf{\small##2\ifx!##1!\else\textcolor{gray}{\small\sffamily=##1}\fi}]}}}%
348 \def\@explainsuff{#3}%
349 \keyexplain[]{\\#2}{}{}%
350 \ifx\@pingu@command@keypartner\@empty\else
351 {\@declaredcolor{gray}\footnotesize Do \textbf{not} redefine this command, it is controlled by \keyref{#1}.}\par\fi
352 }{\endkeyexplain\endgroup}
353
354 \newenvironment{subcommandexplain}[4][]{%
355 \begingroup
356 \def\explaincolor{@softexplaincolor}\def\keyexplainindent{0em}%
357 {\def\\{}\protected@xdef\@subidxkey{#2}\@gobblekey{\@subidxkey}}%% backslash should not interfere with keys
358 \def\cursub{\@subidxkey?\hyperref[pk:_\@subidxkey]{\protect\lpingu{\\#2}}!}%
359 \commandexplain[#1]{#3}{#4}%
360 {\@declaredcolor{gray}\footnotesize This command is only usable in combination with \cmdref{#2}.}\par
361 }{\endcommandexplain\endgroup}
362
363 \def\consumeshowkeyexplain#1(#2){\ShowcaseThis[#2]{#1}}
364 \newenvironment{showkeyexplain}[4][/pingu/]{%
365 \keyexplain[#1]{#2}{#3}{#4}%
366 \@ifnextchar({\consumeshowkeyexplain{#2}}{\consumeshowkeyexplain{#2}()}
367 }{\endkeyexplain}
368
369 \newcommand\keyalias[3][/pingu/]{\begingroup
370 \def\explaincolor{@softexplaincolor}\def\keyexplainindent{0em}%
371 \def\cursub{#3?\hyperref[pk:#1#3]{\protect\lpingu{#3}}!}%
372 \keyexplain[#1]{#2}{\csname pinguopt#3\endcsname}{\csname pingudefa#3\endcsname}%
373 {\@declaredcolor{gray}\small This is an alias for \keyref[#1]{#3}.}%
374 \endkeyexplain\endgroup}
375 \newcommand\subkeyalias[4][/pingu/]{\begingroup
376 \def\explaincolor{@softexplaincolor}\def\keyexplainindent{0em}%
377 \def\cursub{#4?\hyperref[pk:#1#4]{\protect\lpingu{#4}}!#3?\hyperref[pk:#1#3]{\protect\lpingu{#3}}!}%
378 \keyexplain[#1]{#2}{\csname pinguopt#3\endcsname}{\csname pingudefa#3\endcsname}%
379 {\@declaredcolor{gray}\small This is an alias for \keyref[#1]{#3}.}%
380 \endkeyexplain\endgroup}
381
382 \def\TikZ{Ti\textit{k}Z}
383 \def\tikzpingus{\TikZ pingus}
384
385 \tcbset{external/prefix=sub_}
386 \tcbEXTERNALIZE % we do not need the other configurations in the externalized images :D
387
388 \hfuzz=25pt
389
390 % this should not happen in the external images
391 \AtBeginDocument{%
392 % we do not use foreach to avoid groups
393 \count@=\allcmdsmin
394 \edef\@cntmax@{\the\numexpr\allcmdsmax+1\relax}%
395 \@whilenum\count@<\@cntmax@\do{%
396 \edef\i{\number\count@}\relax
397 \ifcsname allcmds@\i\endcsname
398 \edef\allcmds{\csname allcmds@\i\endcsname}% if undefined => empty
399 \expandafter\CreateCodeHyperLink\expandafter{\allcmds}{\i}%
400 \csxdef{allcmds@\i}{}%
401 \fi% csx kill to stop infinite
402 \global\advance\count@\@ne
403 }%
404 }
405 \def\TypesetShowcases{\@tempcnta\z@
406 \begingroup\parskip\z@ \parindent\z@
407 \@for\@elem:=\pengu@all@showcases\do{%
408 \advance\@tempcnta\@ne
409 \ifnum\@tempcnta>6 \global\@tempcnta\@ne\par\fi
410 \ifx\@elem\@empty\else
411 % space to space cmd
412 \edef\@tmp{\noexpand\ShowcasePengu\@elem;}\hfill\@tmp\hfill
413 \fi}%
414 \endgroup\global\let\pengu@all@showcases\@empty}
415
416 \def\PenguinTitle{%
417 \setbox0=\hbox{\tikz{\pingu[body type=tilt-right,eyes wink,conical hat,cane right,bow tie=pingu@purple,left wing grab,cup=doc-main]}}%
418 \begin{tikzpicture}[overlay,remember picture]
419 \node[below left=1.5cm,rotate=-10] at (current page.north east) {\box0};
420 \end{tikzpicture}%
421 }
422
423 \title{The \texorpdfstring{\tikzpingus}{tikzpingus} package}
424 % \subtitle{Penguins with \TikZ}
425 \author{%
426 \texorpdfstring{Florian Sihler\\*
427 \url{https://github.com/EagleoutIce/tikzpingus}
428 }{Florian Sihler}}
429 \date{Version v1.4 \textendash{} 2026/02/27}
430
431 \begin{document}
432 \maketitle
433 \PenguinTitle
434
435 \begingroup
436 \vspace*{-4em}\newsavebox\pinguboxA
437 \savebox\pinguboxA{\tikz{\pingu[wings raise,santa hat,eyes wink,bow tie=pingu@yellow]}}
438 \newsavebox\pinguboxB
439 \savebox\pinguboxB{\tikz{\pingu[wings raise,head band,eyes angry,sunglasses,bow tie=doc-main,body type=chubby]}}
440 \begin{center}
441 \begin{tikzpicture}
442 \node[text width=.95\linewidth, inner sep=11pt] (m) {%
443 For my slides at university, I started to use the famous \LaTeX-package \textsl{\href{https://github.com/samcarter/tikzducks}{tikzducks}} a few years ago.
444 Yet, it seemed somewhat of a necessity to extend the range of available \say{cute} animals in \LaTeX.
445 Therefore, I started writing this package: \textsl{tikzpingus}.\footnotemark\medskip\\
446 \textit{Please note:} While tikzpingus is certainly inspired by tikzducks, it does offer a different set of features (e.g., multiple wing positions,~\ldots).\medskip\\
447 I would be happy for any feedback or issues on the \href{https://github.com/EagleoutIce/tikzpingus}{tikzpingus}-GitHub.
448 };
449 \pgfonlayer{background}
450 \node[below,xshift=1.1cm,yshift=19.5pt,scale=.4] at(m.south west) {\usebox\pinguboxA};
451 \node[below,xshift=-1cm,yshift=13.5pt,scale=.4] at(m.south east) {\usebox\pinguboxB};
452 \draw[rounded corners,gray,fill=white] (m.north west) -- (m.north east) -- (m.south east) -- ++(-.45cm,0) to[bend right=40] ++(-1.2cm,0) -- ([xshift=1.65cm]m.south west) to[bend right=40] ++(-1.2cm,0) -- ++(-.45cm,0) -- cycle;
453 \endpgfonlayer
454 \node[above=3mm,font=\bfseries\sffamily\Large] at(current bounding box.north) {Motivation};
455 \end{tikzpicture}\vspace*{-\baselineskip}
456 \end{center}
457 \footnotetext{Why \say{pingu} and not \say{pengu}? Well, this is the third try on achieving cute penguins without using any templates or vector formats as a basis. As a German, the short form \say{pingu} was merely a typo that originated from the German word \say{pinguin} for \say{penguin}. It somewhat stuck\ldots{}}
458 \endgroup\vfill
459
460 \begin{center}
461 \newsavebox\pinguA \newsavebox\pinguB \newsavebox\pinguC \newsavebox\pinguD \newsavebox\pinguE \newsavebox\pinguF \newsavebox\pinguG
462 \def\Table#1(#2)#3{\scope[shift={(#2)},xshift=1.75cm,yshift=1.75cm]\pingu[#1]\endscope\pgfonlayer{foreground}\draw[lightgray,line width=6pt,rounded corners=2pt,line cap=round](#2) |- ++(4.5,1.35) -- ++(0,-1.35);\fill[draw=lightgray,fill=white,line width=3pt,rounded corners=2pt] (#2)++(3pt-1.5pt,-3pt+1.5pt+2mm) rectangle ++(1.15,1.15) node[midway,centered]{\Large$\mathsf{#3}$};\endpgfonlayer}%
463 \setbox\pinguA=\hbox{\tikz{\pingu[santa hat,santa beard,eyes vertical,blush]}}%
464 \setbox\pinguB=\hbox{\tikz{\pingu[:back,right wing wave,rook=pingu@silver!80!white,rook hatch=false]}}%
465 \resizebox*!{4.5cm}{\begin{tikzpicture}
466 \Table{right wing wave,horse right,crown, eyes wink, crown position={1:(-.1cm,-.255cm){1.33}}}(2.5,3.5){\text{\sffamily f}(x)}
467 \Table{right wing wave,eyes wink,shirt=gray,tie,blush}(0,0)+
468 \Table{right wing wave,eyes vertical,cloak=gray,body type=legacy,cup,left wing grab,blush}(5,0)*
469
470 \Table{right wing wave,left wing shock,eyes shock,halo,heart=gray!40!pingu@white}(-2.5,-4)\div
471 \Table{right wing wave,cake-hat,eyes wink,flag right}(2.5,-4)\ln
472 \pgfonlayer{foreground}
473 \node[scale=.125,circle,fill=white] at (a) {\rotatebox{13}{\copy\pinguA}}; % a sets flag core
474 \endpgfonlayer
475 \Table{right wing wave,vr-headset,vr-headset hair}(7.5,-4)\bmod
476 \pgfonlayer{foreground}
477 \node[scale=2] at([yshift=-3.45cm]current bounding box.south) {\copy\pinguB};
478 \endpgfonlayer
479 \end{tikzpicture}}\hskip6em%
480 % todo: regroup that
481 \setbox\pinguA=\hbox{\tikz{%
482 \pingu[wings wave,name=pingu,eyes wink,body type=legacy,eye patch right]
483 \draw[line cap=round,lightgray,line width=1.5pt] (pingu-wing-right-tip) circle[radius=2mm];
484 \draw[line cap=round,lightgray,line width=1.5pt] (pingu-head-back-con-left) circle[radius=3mm];
485 \draw[line cap=round,lightgray,line width=1.5pt] (pingu-waist-right) circle[radius=4mm];
486 \draw[line cap=round,lightgray,line width=1.5pt] (pingu-foot-left) circle[radius=3.5mm];
487 \draw[line cap=round,lightgray,line width=1.5pt] (pingu-head) circle[radius=2.5mm];
488 \draw[line cap=round,-Kite,lightgray,line width=1.5pt] ([xshift=1mm,yshift=-1mm]pingu-wing-left-tip) to[bend left] ++(3mm,-1cm);
489 \draw[line cap=round,Kite-Kite,lightgray,line width=1.5pt] ([xshift=4mm]pingu-foot-left) -- ++(1cm,0);
490 \draw[line cap=round,Kite-Kite,lightgray,line width=1.5pt] ([yshift=-1.75cm]pingu-head-top)++(60:1.75cm and 2cm) arc(60:120:1.75cm and 2cm);
491 }}%
492 \newsavebox\whitepingu
493 \setbox\whitepingu=\hbox{\tikz{\pingu[@block/.style={fill=pingu@white,draw=pingu@white},wings wave]}}
494 \setbox\pinguB=\hbox{\rlap{\kern2.8pt\box\whitepingu}\tikz{
495 \pingu[wings wave,:line,name=pingu]
496 \path[line width=1.5pt] (pingu-wing-right-tip) circle[radius=2mm];
497 }}%
498 \setbox\pinguC=\hbox{\tikz{\pingu[eyes shiny,hat, hat position={1:(0cm,-.09cm){1.33}}]}}%
499 \setbox\pinguD=\hbox{\tikz{\pingu[eyes shiny,lightsaber right=pingu@purple,hat, hat position={1:(0cm,-.09cm){1.33}},right item angle=-13,medal]}}%
500 \setbox\pinguE=\hbox{\tikz{\pingu[eyes shiny,hat,cane left, hat position={1:(0cm,-.09cm){1.33}},left item angle=-13,tie,tie dots]}}%
501 \setbox\pinguF=\hbox{\tikz{\pingu[eyes shiny,hat,cane left, hat position={1:(0cm,-.09cm){1.33}},left item angle=-13,shirt=gray,second shirt,bill=flat,tie,tie dots]}}%
502 \setbox\pinguG=\hbox{\tikz{\pingu}}
503 \resizebox*!{4.5cm}{\begin{tikzpicture}
504 \node[scale=2] (a) at(0,0) {\copy\pinguA};
505 \node[above=1.5cm,scale=2] at(a.north) {\small\copy\pinguB};
506
507 \node[right] (x) at(7.5,8) {\copy\pinguC};
508 \node[below right=1cm](e) at(x.south) {\copy\pinguE};
509 \node[below left=1cm] (d) at(x.south) {\copy\pinguD};
510 \node[below=1cm] (f) at(e.south) {\copy\pinguF};
511
512 \node[above left=1cm] (g) at(x.north) {\copy\pinguG};
513
514 \draw[lightgray,line width=3pt,{Triangle[round,open,fill=white,scale=1.42]}-] (g) -- (x);
515 \draw[lightgray,line width=3pt,{Triangle[round,open,fill=white,scale=1.42]}-] (x) -- (e);
516 \draw[lightgray,line width=3pt,{Triangle[round,open,fill=white,scale=1.42]}-] (x) -- (d);
517 \draw[lightgray,line width=3pt,{Triangle[round,open,fill=white,scale=1.42]}-] (e) -- (f);
518 \end{tikzpicture}}
519 \end{center}
520 \vfill\null
521
522 \clearpage
523 % only show chapters and sections in toc
524 \setcounter{tocdepth}{1}
525 \tableofcontents
526 \clearpage
527 \phantomsection\label{Gadget-Overview}
528 \begin{center}
529 {\large\textbf{Gadget Overview}}\\
530 These automatically link to the respective documentation sections.
531 \end{center}
532 \TypesetShowcases
533 \clearpage
534
535 \setcounter{tocdepth}{3}
536 \tableofcontents
537
538 \section{Introduction}
539 \subsection{Dependencies}
540
541 As this package is constantly work in progress, the concrete dependencies may change any time.
542 At the moment, it loads \href{https://www.ctan.org/pkg/pgf}{\TikZ}, which loads a lot of other packages (e.g.\ \href{https://www.ctan.org/pkg/xcolor}{xcolor}), and \href{https://www.ctan.org/pkg/etoolbox}{etoolbox}.
543 Furthermore, the following \TikZ-Libraries are in use:\footnote{A lot of the libraries loaded are important only for specific extras. I plan on cleaning them up.} \textit{intersections}, \textit{shadings}, \textit{patterns.meta}, \textit{decorations.pathmorphing}, and \textit{shapes.symbols}.
544
545 \subsection{Copyright}
546
547 Copyright \textcopyright\ \textit{Florian Sihler}. Permission is granted to copy, distribute and\slash or modify this software under the terms of LPPL Version~1.3c (please note that this changed on 2026-02-27 from GPL~v3, versions \textbf{after}~v1.3 are licensed with LPPL~1.3c).\\*
548 The shown example penguins are purely fictional characters, any resemblance to real penguins or real persons is purely coincidental and no copyright infringement is intended.
549
550 \section{Usage}\label{Usage}
551
552 If you just want a penguin, import the package and start with the following:
553 \begin{tcblisting}{title={One small penguin},externalize listing=small-pengu}
554 \begin{tikzpicture}
555 \pingu
556 \end{tikzpicture}
557 \end{tcblisting}
558
559 There are \textit{a lot} of configuration-options which can be passed as an optional argument via the known |<key>=<value>|-style. See \autoref{Gadget-Overview} at the start for a complete gadget overview.
560 \begin{tcblisting}{title={Happy penguin with cup!},externalize listing=happy-cup}
561 \begin{tikzpicture}
562 \pingu[left wing wave, right wing grab,
563 eyes shiny, cup]
564 \end{tikzpicture}
565 \end{tcblisting}
566 Please note, that \say{left} and \say{right} have been chosen from the penguin-perspective.
567
568 \begin{commandexplain}{pingu}{\opt{penguin keys}}
569 The command to draw the penguin!
570 If you want to use |\pengu| instead, you can use |\let\pengu\pingu| in your preamble to create an alias.
571 \end{commandexplain}
572
573 \clearpage Besides the keys defined by this package, you can use the keys of \TikZ\ and |pgf| as well (the duck was generated by the lovely \href{https://github.com/samcarter/tikzducks}{tikzducks} package):
574 \begin{tcblisting}{title={The Reunion},externalize listing=pengu-duck}
575 \begin{tikzpicture}
576 \duck
577 \pingu[xshift=2.7cm, yshift=14mm,
578 eyes wink]
579 \end{tikzpicture}
580 \end{tcblisting}
581
582 \subsection{Using the Coordinates}
583 \label{mrk:coordinates}While there are a lot of gadgets available already,
584 every penguin is accompanied by \textit{several} adaptive coordinates
585 to place custom items, texts,~\ldots\ % TODO: links
586 They can be visualized by the \keyref{meta-dots} option.
587 Furthermore, some extras create further coordinates themselves!
588 All coordinates are available with |<pingu-name>-<coordinate>|.
589 While the default name of a penguin is \say{pingu}, it can be
590 changed with the name option:
591 \begin{tcblisting}{title={Lotta dots},externalize listing=dotted-pengu}
592 \begin{tikzpicture}
593 \pingu[meta dots,left wing wave,
594 right wing grab, name=paula]
595 \node at (paula-belly-center) {X};
596 \node at (paula-foot-left) {Foot};
597 \end{tikzpicture}
598 \end{tcblisting}
599 \phantomsection\label{pingu-coordinates}Lets look at those coordinates in more detail (all labels are to be prefixed by |<|\keyref{name}|>-|):
600 \newsavebox\pinguwingright
601 \savebox\pinguwingright{%
602 \begin{tikzpicture}%
603 \scope
604 \path[clip] (.25,-1.25) rectangle (-1.1,.7);
605 \pgfonlayer{foreground}\path[clip] (.25,-1.25) rectangle (-1.1,.7);\endpgfonlayer
606 \pingu[@block/.append style={fill=#1!35!white},wings hug,eyes shiny,heart=gray!30!white,feet=none]
607 \path[draw,pink,thick] (pingu-wing-right-start) -- (pingu-wing-right);
608 \endscope
609 \foreach \c/\a/\n in {wing-right/left/.75mm,wing-right-low/left/.75mm,wing-right-up/above/.75mm,wing-right-start-low/below left/1.75mm,wing-right-start-up/above left/.75mm} {
610 \path[fill=teal] (pingu-\c) circle [radius=1.125pt];
611 \node[\a=\n,font=\ttfamily,scale=.35,inner sep=2.5pt] (expl-\c) at (pingu-\c) {\c};
612 \draw[teal,thin] (expl-\c) -- (pingu-\c);
613 }
614 \end{tikzpicture}}
615
616 \newsavebox\pinguwingleft
617 \savebox\pinguwingleft{%
618 \begin{tikzpicture}%
619 \scope
620 \path[clip] (\pingu@w@half*2-.25cm,-1.25) rectangle ++(1.25,1.95);
621 \pgfonlayer{foreground}\path[clip] (\pingu@w@half*2-.25cm,-1.25) rectangle ++(1.25,1.95);\endpgfonlayer
622 \pingu[@block/.append style={fill=#1!35!white}, wings wave,eyes shiny,heart=gray!30!white,feet=none]
623 \path[draw,pink,thick] (pingu-wing-left-start) -- (pingu-wing-left);
624 \endscope
625 \foreach \c/\a/\n in {wing-left/right/.75mm,wing-left-low/below right/.75mm,wing-left-up/above/.75mm,wing-left-start-low/below right/1.25mm,wing-left-start-up/below right/1.5mm} {
626 \path[fill=teal] (pingu-\c) circle [radius=1.125pt];
627 \node[\a=\n,font=\ttfamily,scale=.35,inner sep=1.5pt] (expl-\c) at (pingu-\c) {\c};
628 \draw[teal,thin] (expl-\c) -- (pingu-\c);
629 }
630 \end{tikzpicture}%
631 }
632 \vfill
633 \def\PinguCoords#1{\begin{tikzpicture}
634 \pingu[@block/.append style={fill=##1!35!white}, wings wave,eyes shiny,heart=gray!30!white,#1]
635 \pgfonlayer{foreground}
636 \foreach \c/\a in {belly-center/above,head/below,head-top/above,foot-left/right,foot-right/left,eye-right/above left,eye-left/above right,bill/right,bill-bottom/below,wings-side-left/right,wings-side-right/left,wing-left-start/below right,wing-left-tip/right,wing-right-start/below left,wing-right-tip/left,head-right/left,head-left/right,head-center/below,head-back-con-left/above right,head-back-con-right/above left,bottom-center/above,waist-left/right,waist-right/left} {
637 \path[fill=green] (pingu-\c) circle [radius=1.125pt];
638 \node[\a=.5mm,font=\ttfamily,scale=.35,inner sep=1.5pt] (expl-\c) at (pingu-\c) {\c};
639 \draw[green,thin] (expl-\c) -- (pingu-\c);
640 }
641 \endpgfonlayer
642 \end{tikzpicture}}%
643 \begin{center}
644 \edef\measurepage{\the\dimexpr\pagegoal-\pagetotal-2\baselineskip\relax}%
645 \ifdim\measurepage<4\baselineskip\clearpage\edef\measurepage{\the\dimexpr\pagegoal-\pagetotal-2\baselineskip\relax}\fi
646 \resizebox*!{\measurepage}{%
647 \PinguCoords{}%
648 }
649 \end{center}
650
651 \paragraph{The Wings}
652 This view excluded a lot of special data collected on the wings!
653 While there is more information stored for each wing, the following five coordinates are the most important to place items into penguins hand:\vspace*{-1.5em}
654 \begin{center}
655 \null\hfill\parbox[c]{2.6\wd\pinguwingright}{\scalebox{2.5}{\usebox\pinguwingright}}\hfill\parbox[c]{3.5cm}{\centering\small\@declaredcolor{gray}\sffamily And yes, the wings are deliberately placed asymmetrical.\endgraf}\hfill
656 \parbox[c]{2.6\wd\pinguwingleft}{\scalebox{2.5}{\usebox\pinguwingleft}}\hfill\null
657 \end{center}
658
659 \paragraph{The Body} Similarly to the wing position, different
660 body types can change the coordinates (left the \keyref{body type} \textit{chubby} and right the \keyref{body type} \textit{legacy}):
661 \begin{center}
662 \resizebox\linewidth!{%
663 \PinguCoords{body type=chubby,wings hug}\quad\PinguCoords{body type=legacy,wings hug}
664 }
665 \end{center}
666
667 \subsection{Colors}
668 \label{Colors}A lot of options allow for a color to be passed. In general, you can provide any color that \TikZ\ is happy with! Yet, there are some predefined pingu-colors shipped with this package:
669 \def\getCol#1{\pgfmathparse{int(round(#1*255))}\pgfmathresult}
670 \def\parseRGB#1,#2,#3;{r:~\getCol{#1}, g:~\getCol{#2}, b:~\getCol{#3}}
671 \begin{multicols}{4}
672 \begin{itemize}
673 \foreach \col in {main,black,silver,bronze,white,yellow,lightblue,blue,green,red,purple} {
674 \item[{\tikz[baseline=-.6ex]{\fill[pingu@\col,semithick,draw=black] circle (4pt);}}] \footnotesize\strut
675 % somehow outputs, therefore box
676 \setbox0=\hbox{\colorInfoRGB{pingu@\col}\xdef\colorValue{\colorValue}}\rlap{\smash{\raisebox{-2.9mm}{\sffamily\@declaredcolor{gray}\tiny\expandafter\parseRGB\colorValue;}}}%
677 \texttt{pingu@\col}%
678 }
679 \item[] \footnotesize\strut% buffer
680 \end{itemize}
681 \end{multicols}
682 Furthermore, there is the special color \say{\expandafter\ipingu\expandafter{\@pingu@none}} (\cmdref{@pingu@none}) which is available for most\footnote{Why just \say{most}? Well, this package is work in progress and I have added the option late, so I may have forgotten to patch some keys.} extras and wing-items. This color prohibits the compartments from being drawn. To be more precise, the package defines the macro \ltex{\\@pingu@none}, which is matched against the selected color.
683
684 As an example, lets take a look at the \keyref{cup}-extra, which provides an additional key \keyref{cup straw} to color the straw:
685 \begin{tcblisting}{title={Cup without a straw},externalize listing=extra-options}
686 \begin{tikzpicture}
687 \pingu[wings grab, cup=pingu@purple,
688 cup straw=pingu@blue]
689 \pingu[wings grab, cup, xshift=2.7cm,
690 cup straw=!hide]
691 \end{tikzpicture}
692 \end{tcblisting}
693 As you can see, using \lpingu{!hide}, the straw will not be drawn.
694
695 \subsection{Setting the defaults}
696 You do not have to re-state every key.
697 With \cmdref{pingudefaults} and \cmdref{pingudefaultsappend} (similar, but extends the current options) you can set default-options for all penguins to come:
698 \begin{tcblisting}{title={Change the mainstream},externalize listing=update-defaults}
699 \begin{tikzpicture}
700 \pingudefaults{wings grab, eyes shiny}
701 \pingu
702 \pingu[left wing shock, xshift=2.7cm]
703 \end{tikzpicture}
704 \end{tcblisting}
705
706 \begin{commandexplain}{pingudefaults}{\mand{penguin keys}}
707 Sets the given \textit{penguin keys} as defaults for the local group.
708 Overwrites any previews defaults (see \cmdref{pingudefaultsappend}).
709 \end{commandexplain}
710
711 \begin{commandexplain}{pingudefaultsappend}{\mand{penguin keys}}
712 Appends the given \textit{penguin keys} as defaults for the local group.
713 To overwrite these keys, see \cmdref{pingudefaults}.
714 \end{commandexplain}
715
716 \subsection{Changing the wings}
717 \label{subsec:wings}As already demonstrated, it is possible to change the wing positions!
718 All selected wing-items will adapt to the wing-position (although not all wing-items will make sense with every wing-position).
719 Currently, there are the following wing-positions:
720 \typesetselection{leftwing}. \say{none} is a special wing-position: it omits the drawing of wings (teaser: every selection has a none-option, which prohibits the part from being drawn)!
721
722 For each valid wing-position you can use |wings <position>| to change both wings or |left wing <position>| and |right wing <position>| to change only one wing respectively. The default wing-position is \say{normal}. If you supply multiple options for a wing, only the last one survives.\footnote{For the sake of completeness: \ipingu{wings <position>}, \ipingu{left wing <position>}, and \ipingu{right wing <position>} are just alternatives i prefer: \ipingu{wings=<position>}, \ipingu{left wing=<position>} and \ipingu{right wing=<position>}.}
723 This is shown in Box~\say{\nameref{wing-showcase}}.
724
725 \begin{tcblisting}{sidebyside=false, title=Wing-Showcase,nameref=Wing-Showcase,externalize listing=wings-showcase,float,phantomlabel=wing-showcase}
726 \begin{tikzpicture}
727 \pingu[left wing none, heart=green]
728 \pingu[wings wave, heart=teal, xshift=3.5cm]
729 \pingu[wings hug, heart=orange, xshift=7cm]
730 \pingu[left wing grab, right wing shock, heart=purple, xshift=10.5cm]
731 \end{tikzpicture}
732 \end{tcblisting}
733
734 \subsection{Changing the eyes}
735 \label{mrk:pengu-eye}Just like the wings, there are a couple of different eye-styles to choose from: \typesetselection{lefteye}.
736 Similar to the wings, there is a \say{none} and a \say{normal}-option (which is the default).
737 Furthermore, the convenient selectors |eyes <style>|, |left eye <style>|, and |right eye <style>| exist as well. All of this is showcased in~Box~\say{\nameref{eye-showcase}}.
738
739 \begin{tcblisting}{sidebyside=false,title=Eye-Showcase,nameref=Eye-Showcase,externalize listing=eyes-showcase,float,phantomlabel=eye-showcase}
740 \begin{tikzpicture}
741 \pingu[left eye none, heart=green]
742 \pingu[eyes wink, heart=teal, xshift=3.5cm]
743 \pingu[eyes shock, heart=orange, xshift=7cm]
744 \pingu[left eye devil, right eye angry, heart=purple, xshift=10.5cm]
745 \end{tikzpicture}
746 \end{tcblisting}
747
748 \subsection{Changing other components}
749 \label{mrk:pengu-change-comps}Just like for the wings and the eyes, you can change the following body parts:
750 \begin{itemize}
751 \itemsep0pt\relax
752 \item The \textit{body type} itself\\*
753 Select from: \typesetselection{bodytype}.
754 \item The \textit{feet} (again with separate left and right)\\*
755 Select from: \typesetselection{leftfoot}.
756 \item The \textit{bill} (does not have left and right, as there is just one)\\*
757 Select from: \typesetselection{bill}.
758 \item The \textit{hairstyle} (does not have left and right)\\*
759 Select from: \typesetselection{hairstyle}.
760 \end{itemize}
761 For each selection, \say{none} will prohibit the drawing, and \say{normal} is the default chosen. See Box~\say{\nameref{bodyparts-showcase}} for a example.
762 \begin{tcblisting}{sidebyside=false,title=Bodyparts-Showcase,nameref=Bodyparts-Showcase,externalize listing=bodyparts-showcase,float,phantomlabel=bodyparts-showcase}
763 \begin{tikzpicture}
764 \pingu[bill angry, heart=green]
765 \pingu[feet back, hairstyle none, heart=teal, xshift=3.5cm]
766 \pingu[bill open, feet simple, heart=orange, xshift=7cm]
767 \pingu[feet none, bill none, heart=purple, xshift=10.5cm]
768 \end{tikzpicture}
769 \end{tcblisting}
770
771 \subsection{Predefined Styles}
772 While the penguin options offer the modification of basically every drawing routine (through other styles like |@block|), it is tedious to change them every time.
773 So I have started to create some predefined styles, that do change some of the penguins appearance (and are completely new, so beware of bugs). The following list presents an incomplete overview:
774 \begin{multicols}{2}
775 \begin{itemize}
776 \itemsep0pt
777 \foreach \tx/\s in {{draw everything with a line}/{:line}, {fill main penguin}/{:fill}, {draw components with transparency}/{:ghost parts}, {draw all layers with transparency}/{:ghost}, {set main \say{devil}-components}/{:devil},{flip the penguin (swaps left \& right)}/{:back},{do not draw main pingu}/{:hide},{mix the main penguin with a given color}/{:mix},{one slice of cuteness}/{:toast},{mix the main penguin completely with a given color}/{:mix-draw},{mix everything with a given color}/{:mix-all}} {
778 \item \parbox[t]{.8\linewidth}{\raggedright\expandafter\dkeyref\expandafter{\s}, \tx.} \hfill
779 \parbox[t]{.175\linewidth}{\scalebox{.4}{%[email protected]:EagleoutIce/tikzpingus.git
780 \begin{tikzpicture}[baseline=.35\baselineskip]%
781 \pingu[\s]
782 \end{tikzpicture}%
783 }}
784 }
785 \item[] \parbox[t][2.25\baselineskip]{0pt}{}% buffer
786 \end{itemize}
787 \end{multicols}
788 Currently, only some of the styles do affect other items. As an example, consider |:line|, that changes the draw-style of wing-items and extras:
789 \begin{tcblisting}{title={Line Penguin},externalize listing=line-pengu}
790 \begin{tikzpicture}
791 \pingu[:line, princess crown, silver medal]
792 \end{tikzpicture}
793 \end{tcblisting}
794
795 \subsection{Randomness}
796 Each selection (like the wings or the eyes) can receive a special command \lpingu{!random}. If given, the penguin will receive a randomly picked component.
797 Please note, that \textit{none} (the component removing it) will never be picked.
798 The first line in the example in Box~\say{\nameref{random-penguin}} sets the seed. % we do not externalize this one
799 \begin{tcblisting}{title={Random Penguin},nameref={Random Penguin},label=random-penguin,float}
800 \pgfmathsetseed{\number\pdfrandomseed}
801 \begin{tikzpicture}
802 \pingu[wings=!random,eyes=!random,
803 left foot=!random,
804 bill=!random,
805 hairstyle=!random]
806 \end{tikzpicture}
807 \end{tcblisting}
808
809 In a more general fashion, there is a \keyref{random from} key for completely random penguins.
810
811 \keyexplain{random from}{list}{}
812 You can pass any list of penguin keys and exactly one of them will be selected. You can nest \keyref{random from}-calls. Please note, that the items are not separated by comma but in braces. The first line in the example sets the seed:% do not externalize
813 \begin{tcblisting}{}
814 \pgfmathsetseed{\number\pdfrandomseed}
815 \begin{tikzpicture}
816 \pingu[random from={{eye patch left}{eye patch right}{halo,halo raise=4mm}},random from={{right eye color=pingu@blue}{random from={{bow tie}{gold medal}}}},random from={{eyes=!random}{wings=!random}},body type=legacy]
817 \end{tikzpicture}
818 \end{tcblisting}
819 \endkeyexplain
820
821
822 \subsection{Extras}
823 An extra is considered everything, that is attached to the main penguin and not to the wings (as those items may be placed separately for both wings).
824 Most extras are activated with the format |<extra>=<color>| (the |<color>| option is not mandatory)
825 and try to adapt with other extras that have been placed (yet you can place multiple hats if you really like to). A lot of the extras do offer more keys to customize their appearance.
826 They are explained in the full reference~(\autoref{sec:full-ref}).
827
828 Consider the somewhat overkill-example of \say{\nameref{lord-gadget}}.
829 \begin{tcblisting}{title={Lord-Gadget, the penguin},externalize listing=lord-gadget,nameref={Lord-Gadget, the penguin},label=lord-gadget,float}
830 \begin{tikzpicture}
831 \pingu[crown 2d=pingu@bronze,
832 medal=pingu@purple, tie,
833 eye patch left=teal,
834 eye patch right=orange,
835 right wing wave, sunglasses,
836 glow thick=yellow]
837 \end{tikzpicture}
838 \end{tcblisting}
839
840 \subsection{Wing-Items}
841 Wing items are basically just like extras, but they can be selected separately for the left and right wing. Furthermore, they adapt their \textit{default} appearance to the active wing positions (\autoref{subsec:wings}).
842 Currently there are the following wing items:
843 % add a extra guard not present with the wing items
844 \typesetselection[\textit{#1\expandafter\ParseDTLListElement :"#1"\@nil}]{wingitems}.
845 They are selected using |<wing item> <left/right>|.
846
847 Additionally, they can be customized by \keyref{left item angle} and \keyref{right item angle}, as well as \keyref{left item flip} and \keyref{right item flip}.
848 Lets consider an example\ldots
849 \begin{tcblisting}{title={Penguin with full wings!}}
850 \begin{tikzpicture}[scale=.75]
851 \pingu[lightsaber right=orange,
852 lollipop left,
853 right item angle=70,
854 right wing raise, left wing grab]
855 \pingu[cane left, right item flip,
856 sign post right={Hi!}, xshift=35mm]
857 \end{tikzpicture}
858 \end{tcblisting}
859
860 \subsection{Clothing}
861 Clothing is the newest extension to the collection, at and the moment there is not one \say{real} clothing, that really adapts to the penguins-position.
862 I am working on the \textit{cloak}-Clothing at the moment:
863 \begin{tcblisting}{title={Pengu-Clothes},externalize listing=clothes}
864 \begin{tikzpicture}[scale=.75]
865 \pingu[cloak]
866 \end{tikzpicture}
867 \end{tcblisting}
868
869 \section{A collection of Examples}
870
871 To showcase the capabilities of this package, I have created a couple of example-penguins.
872
873 \begin{tcblisting}{title={The Waddlers!},externalize listing=musicians,nameref={Example: Musicians},label=example-musicians,float}
874 \begin{tikzpicture}
875 \pingu[wings hug, eyes wink,flip-flops, conical hat=pingu@bronze!40!black,body type=legacy,tie=pingu@purple,drum stick left,drum stick right,drum stick right handle shift=-0.5mm,right wing wave,drums,drums center text={The\\\fontseries{sb}\selectfont Waddlers!}]
876 \pingu[xshift=3.5cm,right wing grab, left wing wave, eyes wink,guitar right, right item angle=20, left wing grab,body type=legacy,bow tie=pingu@yellow!60!orange, headphones=pingu@blue, headphones inner=pingu@blue!5!pingu@white,sneaker,blush]
877 \pingu[xshift=1.75cm,yshift=-3cm, right wing grab, eyes shiny,body type=legacy,small,shoes=pingu@purple,heart,wool hat=pingu@purple!80!black,bill=open,microphone right]
878 \end{tikzpicture}
879 \end{tcblisting}
880
881 \begin{tcblisting}{title={Lord Double-Dagger},externalize listing=double-dagger,nameref={Example: Double-Dagger},label=example-double-dagger,float}
882 \begin{tikzpicture}
883 \pingu[body type=legacy,wings=wave,sword left,sword right,sword left length=5mm,sword left width=.25mm,left wing item angle=-40,sword left handle length=2.65mm,right eye wink,eye patch left,bill open,cape=pingu@bronze!70!pingu@blue!50!black,deer hat=pingu@bronze!70!pingu@blue!50!black,belt=pingu@black,belt knot color=pingu@bronze!70!pingu@blue!50!black]
884 \end{tikzpicture}
885 \end{tcblisting}
886
887 % \section{Examples}
888
889 \clearpage
890 \appendix
891
892 \section{Full Reference}\label{sec:full-ref}
893
894 \def\percenttargetreductionpengus{50}\let\lstfnsize\footnotesize
895 \tcbset{%
896 before lower={\begin{adjustbox}{scale=.\percenttargetreductionpengus}},
897 after lower={\end{adjustbox}},%
898 boxsep=1pt%
899 }
900
901 \begin{center}
902 \textit{Please note, that all preview-penguins have been reduced in scale to \percenttargetreductionpengus\,\% to save space and make the documentation more concise.}
903 \end{center}
904
905 Aliases may set custom defaults. Those defaults are not listed as they may change.
906
907 \subsection{Penguin Keys}
908
909 \keyexplain{name}{text}{\pingu@name}
910 Sets the name of the penguin. This name is used for all the automatically generated coordinates (see~\autoref{mrk:coordinates}).
911 \endkeyexplain
912
913 \keyexplain{scale}{floating point}{active scale}
914 Changes the scale for the penguin. This is not supported by all items by default (as some scales have to be re-calculated according to their rotation).
915 Yet, it should work with most.
916
917 Furthermore, this value can be used to make the penguin independent of the outer scaling.
918 \endkeyexplain
919
920
921 \keyexplain{meta-dots}{true/false}{\if@pingu@draw@metadots true\else false\fi}
922 Can be used to enable and disable the meta dots (\autoref{mrk:coordinates}).
923 Passed true by default.
924 \endkeyexplain
925
926 \keyalias{meta dots}{meta-dots}
927
928 \subsubsection{The Feet}
929
930 \keyexplain{left foot}{foot-selector}{\@pingu@select@leftfoot@}
931 Change the style of the left foot. All valid values are listed in \autoref{mrk:pengu-change-comps}.
932 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{simple}}}}
933 \begin{tikzpicture}
934 \pingu[left foot=simple]
935 \end{tikzpicture}
936 \end{tcblisting}
937 \endkeyexplain
938
939
940 \keyexplain{left foot color}{color}{\pingu@color@foot@left}
941 \begin{tcblisting}{@}
942 \begin{tikzpicture}
943 \pingu[left foot color=green]
944 \end{tikzpicture}
945 \end{tcblisting}
946 \endkeyexplain
947
948 \shortcuts{left foot}{\@pingu@leftfoot@}{left foot color}
949
950 \keyexplain{right foot}{foot-selector}{\@pingu@select@rightfoot@}
951 Change the style of the right foot. All valid values are listed in \autoref{mrk:pengu-change-comps}.
952 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{simple}}}}
953 \begin{tikzpicture}
954 \pingu[right foot=simple]
955 \end{tikzpicture}
956 \end{tcblisting}
957 \endkeyexplain
958
959
960 \keyexplain{right foot color}{color}{\pingu@color@foot@right}
961 \begin{tcblisting}{@}
962 \begin{tikzpicture}
963 \pingu[right foot color=green]
964 \end{tikzpicture}
965 \end{tcblisting}
966 \endkeyexplain
967
968 \shortcuts{right foot}{\@pingu@rightfoot@}{right foot color}
969
970 \keyexplain{feet}{foot-selector}{}
971 Change the style of both feet by calling \keyref{left foot} and \keyref{right foot} with the same value.
972 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{simple}}}}
973 \begin{tikzpicture}
974 \pingu[feet=simple]
975 \end{tikzpicture}
976 \end{tcblisting}
977 \endkeyexplain
978
979
980 \keyexplain{feet color}{color}{}
981 Sets the color of both feet (using \keyref{left foot color} and \keyref{right foot color}).
982 \begin{tcblisting}{@}
983 \begin{tikzpicture}
984 \pingu[feet color=green]
985 \end{tikzpicture}
986 \end{tcblisting}
987 \endkeyexplain
988
989 \shortcuts{feet}{\@pingu@leftfoot@}{feet color}
990
991 \keyexplain{feet front}{true/false}{\if@pingu@feet@front true\else false\fi}
992 If set to true, the feet will be drawn in front of the body:
993 \begin{tcblisting}{@}
994 \begin{tikzpicture}
995 \pingu[feet front]
996 \end{tikzpicture}
997 \end{tcblisting}
998 \endkeyexplain
999
1000 \subsubsection{The Body}
1001
1002 \keyexplain{body main}{color}{\pingu@color@body@main}
1003 Set the main color of the penguin. This will affect \keyref{hair} as well, as this chooses its default value from the main color.%
1004 \begin{tcblisting}{@}
1005 \begin{tikzpicture}
1006 \pingu[body main=green]
1007 \end{tikzpicture}
1008 \end{tcblisting}
1009 \endkeyexplain
1010
1011
1012 \keyexplain{body head}{color}{\pingu@color@body@head}
1013 Set the color of the penguin head.%
1014 \begin{tcblisting}{@}
1015 \begin{tikzpicture}
1016 \pingu[body head=green]
1017 \end{tikzpicture}
1018 \end{tcblisting}
1019 \endkeyexplain
1020
1021
1022 \keyexplain{body}{color}{}
1023 Sets the color of the main penguin and the head, by calling \keyref{body main} and \keyref{body head} with the same value.
1024 \begin{tcblisting}{@}
1025 \begin{tikzpicture}
1026 \pingu[body=green]
1027 \end{tikzpicture}
1028 \end{tcblisting}
1029 \endkeyexplain
1030
1031
1032 \keyexplain{body front}{color}{\pingu@color@body@front}
1033 Sets the frontal color of the penguin.
1034 \begin{tcblisting}{@}
1035 \begin{tikzpicture}
1036 \pingu[body front=green]
1037 \end{tikzpicture}
1038 \end{tcblisting}
1039 \endkeyexplain
1040
1041
1042 \keyexplain{body type}{body type}{normal}
1043 Change the active body type. All valid values are listed in \autoref{mrk:pengu-change-comps}:
1044 \begin{tcblisting}{@}
1045 \begin{tikzpicture}
1046 \pingu[body type=legacy]
1047 \end{tikzpicture}
1048 \end{tcblisting}
1049 \endkeyexplain
1050
1051 \subsubsection{The Size}
1052
1053
1054 \keyexplain{height}{length}{\the\pingu@side@h@half}
1055 Change the height of the penguin manually. You probably should not use this key directly and refer to \keyref{small size}, \keyref{normal size}, and \keyref{large size}:
1056 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang}}
1057 \begin{tikzpicture}
1058 \pingu[height=17mm]
1059 \end{tikzpicture}
1060 \end{tcblisting}
1061 \endkeyexplain
1062
1063
1064 \keyexplain{small size}{}{}
1065 Will use \keyref{height} to create a small pingu:
1066 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang}}
1067 \begin{tikzpicture}
1068 \pingu[small size]
1069 \end{tikzpicture}
1070 \end{tcblisting}
1071 \endkeyexplain
1072
1073 \keyalias{small}{small size}
1074 \keyalias{small height}{small size}
1075
1076
1077 \keyexplain{normal size}{}{}
1078 Will use \keyref{height} to create a normal pingu:
1079 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang}}
1080 \begin{tikzpicture}
1081 \pingu[normal size]
1082 \end{tikzpicture}
1083 \end{tcblisting}
1084 \endkeyexplain
1085
1086 \keyalias{normal}{normal size}
1087 \keyalias{normal height}{normal size}
1088
1089
1090 \keyexplain{large size}{}{}
1091 Will use \keyref{height} to create a large pingu:
1092 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang}}
1093 \begin{tikzpicture}
1094 \pingu[large size]
1095 \end{tikzpicture}
1096 \end{tcblisting}
1097 \endkeyexplain
1098
1099 \keyalias{large}{large size}
1100 \keyalias{large height}{large size}
1101
1102 \subsubsection{The Eyes}
1103 \keyexplain{left eye}{eye-selector}{\@pingu@select@lefteye@}
1104 Change the style of the left eye. All valid values are listed in \autoref{mrk:pengu-eye}.
1105 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{wink}}}}
1106 \begin{tikzpicture}
1107 \pingu[left eye=wink]
1108 \end{tikzpicture}
1109 \end{tcblisting}
1110 \endkeyexplain
1111
1112
1113 \keyexplain{left eye color}{color}{\pingu@color@eye@left}
1114 \begin{tcblisting}{@}
1115 \begin{tikzpicture}
1116 \pingu[left eye color=green]
1117 \end{tikzpicture}
1118 \end{tcblisting}
1119 \endkeyexplain
1120
1121
1122 \keyexplain{left eye second color}{color}{\pingu@color@eye@second@left}
1123 Change the secondary color of the left eye. It will be used in some styles selected by \keyref{left eye} (e.g.\ \textit{shiny}):
1124 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{shiny}}}}
1125 \begin{tikzpicture}
1126 \pingu[left eye=shiny,
1127 left eye second color=green]
1128 \end{tikzpicture}
1129 \end{tcblisting}
1130 \endkeyexplain
1131
1132 \shortcuts{left eye}{\@pingu@lefteye@}{left eye color}
1133
1134 \keyexplain{right eye}{eye-selector}{\@pingu@select@righteye@}
1135 Change the style of the right eye. All valid values are listed in \autoref{mrk:pengu-eye}.
1136 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{wink}}}}
1137 \begin{tikzpicture}
1138 \pingu[right eye=wink]
1139 \end{tikzpicture}
1140 \end{tcblisting}
1141 \endkeyexplain
1142
1143
1144 \keyexplain{right eye color}{color}{\pingu@color@eye@right}
1145 \begin{tcblisting}{@}
1146 \begin{tikzpicture}
1147 \pingu[right eye color=green]
1148 \end{tikzpicture}
1149 \end{tcblisting}
1150 \endkeyexplain
1151
1152
1153 \keyexplain{right eye second color}{color}{\pingu@color@eye@second@right}
1154 Change the secondary color of the right eye. It will be used in some styles selected by \keyref{right eye} (e.g.\ \textit{shiny}):
1155 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{shock}}}}
1156 \begin{tikzpicture}
1157 \pingu[right eye=shock,
1158 right eye second color=green]
1159 \end{tikzpicture}
1160 \end{tcblisting}
1161 \endkeyexplain
1162
1163 \shortcuts{right eye}{\@pingu@righteye@}{right eye color}
1164
1165 \keyexplain{eyes}{eye-selector}{}
1166 Change the style of both eyes by calling \keyref{left eye} and \keyref{right eye} with the same value.
1167 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{wink}}}}
1168 \begin{tikzpicture}
1169 \pingu[eyes=wink]
1170 \end{tikzpicture}
1171 \end{tcblisting}
1172 \endkeyexplain
1173
1174
1175 \keyexplain{eyes color}{color}{}
1176 Change the main color of both eyes by calling \keyref{left eye color} and \keyref{right eye color} with the same value.
1177 \begin{tcblisting}{@}
1178 \begin{tikzpicture}
1179 \pingu[eyes color=green]
1180 \end{tikzpicture}
1181 \end{tcblisting}
1182 \endkeyexplain
1183
1184
1185 \keyexplain{eyes second color}{color}{}
1186 Change the secondary color of both eyes by calling \keyref{left eye second color} and \keyref{right eye second color} with the same value.
1187 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{shock,shiny}}}}
1188 \begin{tikzpicture}
1189 \pingu[left eye=shock, right eye=shiny,
1190 eyes second color=green]
1191 \end{tikzpicture}
1192 \end{tcblisting}
1193 \endkeyexplain
1194
1195 \shortcuts{eyes}{\@pingu@lefteye@}{eyes color}
1196
1197 \subsubsection{The Wings}
1198
1199 \keyexplain{left wing}{wing-selector}{\@pingu@select@leftwing@}
1200 Change the style of the left wing. All valid values are listed in \autoref{subsec:wings}.
1201 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{wave}}}}
1202 \begin{tikzpicture}
1203 \pingu[left wing=wave]
1204 \end{tikzpicture}
1205 \end{tcblisting}
1206 \endkeyexplain
1207
1208 \keyexplain{left wing color}{color}{\pingu@color@left@wing}
1209 \begin{tcblisting}{@}
1210 \begin{tikzpicture}
1211 \pingu[left wing color=green]
1212 \end{tikzpicture}
1213 \end{tcblisting}
1214 \endkeyexplain
1215
1216 \shortcuts{left wing}{\@pingu@leftwing@}{left wing color}
1217
1218 \keyexplain{right wing}{wing-selector}{\@pingu@select@rightwing@}
1219 Change the style of the right wing. All valid values are listed in \autoref{subsec:wings}.
1220 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{wave}}}}
1221 \begin{tikzpicture}
1222 \pingu[right wing=hug]
1223 \end{tikzpicture}
1224 \end{tcblisting}
1225 \endkeyexplain
1226
1227 \keyexplain{right wing color}{color}{\pingu@color@right@wing}
1228 \begin{tcblisting}{@}
1229 \begin{tikzpicture}
1230 \pingu[right wing color=green]
1231 \end{tikzpicture}
1232 \end{tcblisting}
1233 \endkeyexplain
1234
1235 \shortcuts{right wing}{\@pingu@rightwing@}{right wing color}
1236
1237 \keyexplain{wings}{wing-selector}{}
1238 Change the style of both wings by calling \keyref{left wing} and \keyref{right wing} with the same value.
1239 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{wink}}}}
1240 \begin{tikzpicture}
1241 \pingu[wings=grab]
1242 \end{tikzpicture}
1243 \end{tcblisting}
1244 \endkeyexplain
1245
1246 \keyexplain{wings color}{color}{}
1247 Change the main color of both wings by calling \keyref{left wing color} and \keyref{right wing color} with the same value.
1248 \begin{tcblisting}{@}
1249 \begin{tikzpicture}
1250 \pingu[wings color=green]
1251 \end{tikzpicture}
1252 \end{tcblisting}
1253 \endkeyexplain
1254
1255 \shortcuts{wings}{\@pingu@leftwing@}{wings color}
1256
1257 \subsubsection{The Hair}
1258
1259
1260 \keyexplain{hair 1 color}{color}{\pingu@color@hair@a}
1261 Set the color of the first hair (this may be used differently by other hairstyles):
1262 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,moreemph={[2]{1}}}}
1263 \begin{tikzpicture}
1264 \pingu[hair 1 color=green]
1265 \end{tikzpicture}
1266 \end{tcblisting}
1267 \endkeyexplain
1268
1269 \keyexplain{hair 2 color}{color}{\pingu@color@hair@b}
1270 Set the color of the second hair (this may be used differently by other hairstyles):
1271 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,moreemph={[2]{2}}}}
1272 \begin{tikzpicture}
1273 \pingu[hair 2 color=green]
1274 \end{tikzpicture}
1275 \end{tcblisting}
1276 \endkeyexplain
1277
1278 \keyexplain{hair 3 color}{color}{\pingu@color@hair@c}
1279 Set the color of the third hair (this may be used differently by other hairstyles):
1280 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,moreemph={[2]{3}}}}
1281 \begin{tikzpicture}
1282 \pingu[hair 3 color=green]
1283 \end{tikzpicture}
1284 \end{tcblisting}
1285 \endkeyexplain
1286
1287 \keyexplain{hair 4 color}{color}{\pingu@color@hair@d}
1288 Set the color of the fourth hair (this may be used differently by other hairstyles):
1289 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,moreemph={[2]{4}}}}
1290 \begin{tikzpicture}
1291 \pingu[hair 4 color=green]
1292 \end{tikzpicture}
1293 \end{tcblisting}
1294 \endkeyexplain
1295
1296 \keyexplain{hair 5 color}{color}{\pingu@color@hair@e}
1297 Set the color of the fifth hair (this may be used differently by other hairstyles):
1298 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,moreemph={[2]{5}}}}
1299 \begin{tikzpicture}
1300 \pingu[hair 5 color=green]
1301 \end{tikzpicture}
1302 \end{tcblisting}
1303 \endkeyexplain
1304
1305 \keyexplain{hairs color}{color}{}
1306 Set the color of all hairs by calling \keyref{hair 1 color}, \keyref{hair 2 color}, \keyref{hair 3 color}, \keyref{hair 4 color}, and \keyref{hair 5 color} with the same argument:
1307 \begin{tcblisting}{@}
1308 \begin{tikzpicture}
1309 \pingu[hairs color=green]
1310 \end{tikzpicture}
1311 \end{tcblisting}
1312 \endkeyexplain
1313
1314 \keyalias{hairs}{hairs color}
1315 \keyalias{hair}{hairs color}
1316
1317 \keyexplain{hairstyle}{hair-selector}{\@pingu@select@hairstyle@}
1318 Change the hairstyle (\autoref{mrk:pengu-change-comps}):
1319 \begin{tcblisting}{@}
1320 \begin{tikzpicture}
1321 \pingu[hairstyle=none]
1322 \end{tikzpicture}
1323 \end{tcblisting}
1324 \endkeyexplain
1325
1326 \keyalias{hair style}{hairstyle}
1327 \shortcuts{hairstyle}{\@pingu@hairstyle@}{hairs color}
1328
1329 \subsubsection{The Bill}
1330 \keyexplain{bill}{bill-selector}{\@pingu@select@bill@}
1331 Change the style of the bill (\autoref{mrk:pengu-change-comps}):
1332 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{flat}}}}
1333 \begin{tikzpicture}
1334 \pingu[bill=flat]
1335 \end{tikzpicture}
1336 \end{tcblisting}
1337 \endkeyexplain
1338
1339 \keyexplain{bill color}{color}{\pingu@color@bill}
1340 \begin{tcblisting}{@}
1341 \begin{tikzpicture}
1342 \pingu[bill color=green]
1343 \end{tikzpicture}
1344 \end{tcblisting}
1345 \endkeyexplain
1346
1347 \keyexplain{bill above}{true/false}{\if@pingu@bill@above true\else false\fi}
1348 Makes any bill appear on the foreground layer.
1349 \begin{tcblisting}{@}
1350 \begin{tikzpicture}
1351 \pingu[bill color=green,bill above]
1352 \end{tikzpicture}
1353 \end{tcblisting}
1354 \endkeyexplain
1355
1356 \shortcuts{bill}{\@pingu@bill@}{bill color}
1357
1358 \subsection{Drawing Styles}
1359 \index{Styles}
1360 \def\cursub{Styles!}
1361 \keyexplain{:line}{}{}
1362 Disable glows, shades and fills and enforce a line. This line will be darker
1363 than the original fill color:
1364 \begin{tcblisting}{@}
1365 \begin{tikzpicture}
1366 \pingu[:line]
1367 \end{tikzpicture}
1368 \end{tcblisting}
1369 \endkeyexplain
1370
1371 \keyexplain{:fill}{}{}
1372 Makes the whole penguin in one solid color (basically a shortcut for setting all main penguin colors to the same):
1373 \begin{tcblisting}{@}
1374 \begin{tikzpicture}
1375 \pingu[:fill,tie=white,eyes color=white]
1376 \end{tikzpicture}
1377 \end{tcblisting}
1378 \endkeyexplain
1379
1380 \keyexplain{:ghost parts}{opacity}{.5}
1381 Set the opacity of each penguin component individually. At the moment, this
1382 excludes some glow calculations.
1383 \begin{tcblisting}{@}
1384 \begin{tikzpicture}
1385 \pingu[:ghost parts]
1386 \end{tikzpicture}
1387 \end{tcblisting}
1388 \endkeyexplain
1389
1390 \keyexplain{:ghost}{opacity}{.5}
1391 Set the opacity of the complete penguin. At the moment, this
1392 excludes some glow calculations.
1393 \begin{tcblisting}{@}
1394 \begin{tikzpicture}
1395 \pingu[:ghost]
1396 \end{tikzpicture}
1397 \end{tcblisting}
1398 \endkeyexplain
1399
1400 \keyexplain{:devil}{color}{pingu@purple}
1401 Enable all devil components (not the wing items) and set their main color:
1402 \begin{tcblisting}{@}
1403 \begin{tikzpicture}
1404 \pingu[:devil=green]
1405 \end{tikzpicture}
1406 \end{tcblisting}
1407 \endkeyexplain
1408
1409
1410 \keyexplain{:hide}{}{}
1411 Do not draw the main pingu:
1412 \begin{tcblisting}{@}
1413 \begin{tikzpicture}
1414 \pingu[santa hat,:hide]
1415 \end{tikzpicture}
1416 \end{tcblisting}
1417 \endkeyexplain
1418
1419 \keyexplain{:back}{}{}
1420 Mirror the penguin, this swaps left and right, the rotation and more.
1421 Yet, at least at the time of writing, this does not swap the drawing order in each layer, but just the layers:
1422 \begin{tcblisting}{@}
1423 \begin{tikzpicture}
1424 \pingu[:back, left wing wave,
1425 cane left, left item angle=70]
1426 \end{tikzpicture}
1427 \end{tcblisting}
1428 \endkeyexplain
1429
1430 \keyexplain{:pingu}{options}{}
1431 Apply the given options to all penguin-keys (for \keyref{body}, \keyref{wings color}, \keyref{eyes color}, \keyref{bill color}, \keyref{hair color}, and \keyref{feet color}) allowing to re-use the original color:
1432 \begin{tcblisting}{@}
1433 \begin{tikzpicture}
1434 \pingu[:pingu={/pingu/@block/.style={fill=green}}]
1435 \end{tikzpicture}
1436 \end{tcblisting}
1437 \endkeyexplain
1438
1439 \keyexplain{:mix}{color-mix}{50!white}
1440 Mix the main penguin with given colors by adapting the individual drawing colors individually, but leave all extras intact. This can be used (for example) to gray-out the penguin:
1441 \begin{tcblisting}{@}
1442 \begin{tikzpicture}
1443 \pingu[mask,tie=red,lollipop left,:mix=50!green]
1444 \end{tikzpicture}
1445 \end{tcblisting}
1446 In contrast to \dkeyref{:mix-draw} this changes the active colors of the penguin.
1447 \endkeyexplain
1448
1449 \keyexplain{:mix-draw}{color-mix}{50!white}
1450 Mix the main penguin with given colors, but leave all extras intact. This can be used (for example) to gray-out the penguin:
1451 \begin{tcblisting}{@}
1452 \begin{tikzpicture}
1453 \pingu[mask,tie=red,:mix-draw=50!green]
1454 \end{tikzpicture}
1455 \end{tcblisting}
1456 In contrast to \dkeyref{:mix} this changes the drawing options (using \keyref{:pingu}).
1457 \endkeyexplain
1458
1459 \keyexplain{:mix-all}{color-mix}{50!white}
1460 Mix everything of the penguin with given colors, including all extras intact. This can be used (for example) to gray-out the penguin:
1461 \begin{tcblisting}{@}
1462 \begin{tikzpicture}
1463 \pingu[mask,tie=red,:mix-all=50!green]
1464 \end{tikzpicture}
1465 \end{tcblisting}
1466 \endkeyexplain
1467
1468 \def\cursub{}
1469 \subsection{Extras}
1470 \subsubsection{The heart}
1471 \showkeyexplain{heart}{color}{lightgray}(pingu@main)
1472 \begin{tcblisting}{@}
1473 \begin{tikzpicture}
1474 \pingu[heart=green]
1475 \end{tikzpicture}
1476 \end{tcblisting}
1477 \endshowkeyexplain
1478
1479 \subsubsection{The vampire teeth}
1480 \showkeyexplain{vampire teeth}{color}{pingu@yellow!10!pingu@black!70!lightgray}
1481 \begin{tcblisting}{@}
1482 \begin{tikzpicture}
1483 \pingu[vampire teeth=green]
1484 \end{tikzpicture}
1485 \end{tcblisting}
1486 \endshowkeyexplain
1487
1488 \subsubsection{The tie}
1489 \showkeyexplain{tie}{color}{pingu@green}
1490 \begin{tcblisting}{@}
1491 \begin{tikzpicture}
1492 \pingu[tie]
1493 \end{tikzpicture}
1494 \end{tcblisting}
1495 \endshowkeyexplain
1496
1497 {\def\pingu@color@tie{<tie-color>}
1498 \subkeyexplain{tie}{tie knot}{color}{\pingu@color@tie@knot}
1499 \begin{tcblisting}{@}
1500 \begin{tikzpicture}
1501 \pingu[tie, tie knot=orange]
1502 \end{tikzpicture}
1503 \end{tcblisting}
1504 \endsubkeyexplain
1505 }
1506
1507 \subkeyexplain{tie}{tie length}{length}{\expandafter\detokenize\expandafter{\pingu@x@tie@length}}
1508 \begin{tcblisting}{@}
1509 \begin{tikzpicture}
1510 \pingu[tie, tie length=1.25cm]
1511 \end{tikzpicture}
1512 \end{tcblisting}
1513 \endsubkeyexplain
1514
1515 \subkeyexplain{tie}{tie offset}{length}{\pingu@x@tie@offset}
1516 Change the upper vertical offset of the tie:
1517 \begin{tcblisting}{@}
1518 \begin{tikzpicture}
1519 \pingu[tie, tie offset=.75cm]
1520 \end{tikzpicture}
1521 \end{tcblisting}
1522 \endsubkeyexplain
1523
1524 \subkeyexplain{tie}{tie width}{length}{\pingu@x@tie@width}
1525 \begin{tcblisting}{@}
1526 \begin{tikzpicture}
1527 \pingu[tie, tie width=.5cm]
1528 \end{tikzpicture}
1529 \end{tcblisting}
1530 \endsubkeyexplain
1531
1532 \subkeyexplain{tie}{tie pattern}{tex-code}{}
1533 Change the tie pattern.
1534 \endsubkeyexplain
1535
1536 \subkeyexplain{tie}{tie dots}{color}{pingu@white}
1537 Change the \keyref{tie pattern} to dots:
1538 \begin{tcblisting}{@}
1539 \begin{tikzpicture}
1540 \pingu[tie, tie dots]
1541 \end{tikzpicture}
1542 \end{tcblisting}
1543 \endsubkeyexplain
1544
1545 \subsubsection{The sheriff star}
1546 \showkeyexplain{sheriff star}{color}{pingu@yellow}
1547 \begin{tcblisting}{@}
1548 \begin{tikzpicture}
1549 \pingu[sheriff star=green]
1550 \end{tikzpicture}
1551 \end{tcblisting}
1552 \endshowkeyexplain
1553
1554 \subkeyexplain{sheriff star}{sheriff star content}{length}{\pingu@x@sheriff@star@content}
1555 \begin{tcblisting}{@}
1556 \begin{tikzpicture}
1557 \pingu[sheriff star, sheriff star content=X]
1558 \end{tikzpicture}
1559 \end{tcblisting}
1560 \endsubkeyexplain
1561
1562
1563 {\def\pingu@color@sheriffstar{<sheriff-star-color>}
1564 \subkeyexplain{sheriff star}{sheriff star lines}{color}{\pingu@color@sheriffstar@lines}
1565 \begin{tcblisting}{@}
1566 \begin{tikzpicture}
1567 \pingu[sheriff star, sheriff star lines=green]
1568 \end{tikzpicture}
1569 \end{tcblisting}
1570 \endsubkeyexplain
1571 }
1572
1573
1574 \subsubsection{The bowtie}
1575 \showkeyexplain{bow tie}{color}{pingu@blue}
1576 \begin{tcblisting}{@}
1577 \begin{tikzpicture}
1578 \pingu[bow tie]
1579 \end{tikzpicture}
1580 \end{tcblisting}
1581 \endshowkeyexplain
1582
1583 \keyalias{bowtie}{bow tie}
1584 \keyalias{bow-tie}{bow tie}
1585
1586 \subkeyexplain{bow tie}{bow tie b}{color}{<bowtie-color>}
1587 \begin{tcblisting}{@}
1588 \begin{tikzpicture}
1589 \pingu[bow tie, bow tie b=green]
1590 \end{tikzpicture}
1591 \end{tcblisting}
1592 \endsubkeyexplain
1593
1594 \subkeyalias{bowtie b}{bow tie b}{bow tie}
1595 \subkeyalias{bow-tie b}{bow tie b}{bow tie}
1596
1597 {\def\pingu@color@bowtie{<bowtie-color>}
1598 \subkeyexplain{bow tie}{bow tie knot}{color}{\pingu@color@bowtie@knot}
1599 \begin{tcblisting}{@}
1600 \begin{tikzpicture}
1601 \pingu[bow tie, bow tie knot=green]
1602 \end{tikzpicture}
1603 \end{tcblisting}
1604 \endsubkeyexplain
1605
1606 \subkeyalias{bowtie knot}{bow tie knot}{bow tie}
1607 \subkeyalias{bow-tie knot}{bow tie knot}{bow tie}
1608 }
1609
1610 \subkeyexplain{bow tie}{bow tie offset}{length}{\pingu@x@bowtie@offset}
1611 \begin{tcblisting}{@}
1612 \begin{tikzpicture}
1613 \pingu[bow tie, bow tie offset=8mm]
1614 \end{tikzpicture}
1615 \end{tcblisting}
1616 \endsubkeyexplain
1617
1618 \subkeyalias{bowtie offset}{bow tie offset}{bow tie}
1619 \subkeyalias{bow-tie offset}{bow tie offset}{bow tie}
1620
1621 \subsubsection{The cup}
1622
1623 \showkeyexplain{cup}{color}{pingu@green}
1624 \begin{tcblisting}{@}
1625 \begin{tikzpicture}
1626 \pingu[cup]
1627 \end{tikzpicture}
1628 \end{tcblisting}
1629 \endshowkeyexplain
1630
1631 {\def\pingu@color@cup{<cup-color>}
1632 \subkeyexplain{cup}{cup straw}{color}{\pingu@color@cup@straw}
1633 \begin{tcblisting}{@}
1634 \begin{tikzpicture}
1635 \pingu[cup, cup straw=!hide]
1636 \end{tikzpicture}
1637 \end{tcblisting}
1638 \endsubkeyexplain}
1639
1640 {\def\pingu@color@cup{<cup-color>}
1641 \subkeyexplain{cup}{cup steam}{color}{\pingu@color@cup@steam}
1642 \begin{tcblisting}{@}
1643 \begin{tikzpicture}
1644 \pingu[cup, cup steam=green]
1645 \end{tikzpicture}
1646 \end{tcblisting}
1647 \endsubkeyexplain}
1648
1649 \subkeyexplain{cup}{cup steam shift}{length}{\pingu@x@cup@steam@shift}
1650 \begin{tcblisting}{@}
1651 \begin{tikzpicture}
1652 \pingu[cup, cup steam, cup steam shift=2mm]
1653 \end{tikzpicture}
1654 \end{tcblisting}
1655 \endsubkeyexplain
1656
1657 \subsubsection{The medal}
1658 \showkeyexplain{medal}{color}{pingu@yellow}
1659 \begin{tcblisting}{@}
1660 \begin{tikzpicture}
1661 \pingu[medal]
1662 \end{tikzpicture}
1663 \end{tcblisting}
1664 \endshowkeyexplain
1665
1666 \subkeyexplain{medal}{medal band}{color}{\pingu@color@medal@band}
1667 \begin{tcblisting}{@}
1668 \begin{tikzpicture}
1669 \pingu[medal, medal band=green]
1670 \end{tikzpicture}
1671 \end{tcblisting}
1672 \endsubkeyexplain
1673
1674 {\def\pingu@color@medal{<medal-color>}
1675 \subkeyexplain{medal}{medal shade}{color}{\pingu@color@medal@shade}
1676 Change the color of the outer medal ring:
1677 \begin{tcblisting}{@}
1678 \begin{tikzpicture}
1679 \pingu[medal, medal shade=green]
1680 \end{tikzpicture}
1681 \end{tcblisting}
1682 \endsubkeyexplain}
1683
1684 \subkeyexplain{medal}{medal shade width}{length}{.75pt}
1685 Change the width of the outer medal ring:
1686 \begin{tcblisting}{@}
1687 \begin{tikzpicture}
1688 \pingu[medal, medal shade=green,
1689 medal shade width=2mm]
1690 \end{tikzpicture}
1691 \end{tcblisting}
1692 \endsubkeyexplain
1693
1694 \subkeyexplain{medal}{medal text}{text}{\pingu@x@medal@text}
1695 Set the text displayed in the medal. The style can be changed by
1696 updating the substyle \texttt{medal text style}.
1697 \begin{tcblisting}{@}
1698 \begin{tikzpicture}
1699 \pingu[medal, medal text=XY,
1700 medal text style/.style={black}]
1701 \end{tikzpicture}
1702 \end{tcblisting}
1703 \endsubkeyexplain
1704
1705 \keyexplain{gold medal}{text}{1}
1706 Basically the same as the normal medal. This will activate \keyref{medal}:
1707 \begin{tcblisting}{@}
1708 \begin{tikzpicture}
1709 \pingu[gold medal]
1710 \end{tikzpicture}
1711 \end{tcblisting}
1712 \endkeyexplain
1713
1714 \keyexplain{silver medal}{text}{2}
1715 Basically the same as the normal medal, but with a silver color. This will activate \keyref{medal}:
1716 \begin{tcblisting}{@}
1717 \begin{tikzpicture}
1718 \pingu[silver medal]
1719 \end{tikzpicture}
1720 \end{tcblisting}
1721 \endkeyexplain
1722
1723 \keyexplain{bronze medal}{text}{3}
1724 Basically the same as the normal medal, but with a bronze color. This will activate \keyref{medal}:
1725 \begin{tcblisting}{@}
1726 \begin{tikzpicture}
1727 \pingu[bronze medal]
1728 \end{tikzpicture}
1729 \end{tcblisting}
1730 \endkeyexplain
1731
1732 \subsubsection{The eye patches}
1733
1734 \showkeyexplain{eye patch left}{color}{<pingu-main-color>}
1735 \begin{tcblisting}{@}
1736 \begin{tikzpicture}
1737 \pingu[eye patch left]
1738 \end{tikzpicture}
1739 \end{tcblisting}
1740 \endshowkeyexplain
1741
1742 \keyalias{eyepatch left}{eye patch left}
1743 \keyalias{eye-patch left}{eye patch left}
1744
1745 \showkeyexplain{eye patch right}{color}{<pingu-main-color>}
1746 \begin{tcblisting}{@}
1747 \begin{tikzpicture}
1748 \pingu[eye patch right]
1749 \end{tikzpicture}
1750 \end{tcblisting}
1751 \endshowkeyexplain
1752
1753 \keyalias{eyepatch right}{eye patch right}
1754 \keyalias{eye-patch right}{eye patch right}
1755
1756 \subsubsection{The monocle}
1757
1758 \showkeyexplain{monocle left}{color}{pingu@black}
1759 \begin{tcblisting}{@}
1760 \begin{tikzpicture}
1761 \pingu[monocle left]
1762 \end{tikzpicture}
1763 \end{tcblisting}
1764 \endshowkeyexplain
1765
1766 \subkeyexplain{monocle left}{monocle left glass}{color}{\pingu@color@monocleleft@glass}
1767 Set the color of the glass of the left monocle. The opacity of this color is set by \keyref{monocle left opacity}.
1768 \begin{tcblisting}{@}
1769 \begin{tikzpicture}
1770 \pingu[monocle left,
1771 monocle left glass=green]
1772 \end{tikzpicture}
1773 \end{tcblisting}
1774 \endsubkeyexplain
1775
1776 \subkeyalias{monocle left fill}{monocle left glass}{monocle left}
1777
1778
1779 \subkeyexplain{monocle left}{monocle left opacity}{factor}{\pingu@x@monocleleft@opacity}
1780 Set the opacity of the glass color of the left monocle (set by \keyref{monocle left glass}):
1781 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
1782 \begin{tikzpicture}
1783 \pingu[monocle left,
1784 monocle left opacity=1]
1785 \end{tikzpicture}
1786 \end{tcblisting}
1787 \endsubkeyexplain
1788
1789 \subkeyalias{monocle left fill opacity}{monocle left opacity}{monocle left}
1790
1791 {\def\pingu@color@monocleleft{<left-monocle-color>}
1792 \subkeyexplain{monocle left}{monocle left string}{color}{\pingu@color@monocleleft@string}
1793 Set the color of the string of the left monocle:
1794 \begin{tcblisting}{@}
1795 \begin{tikzpicture}
1796 \pingu[monocle left,
1797 monocle left string=green]
1798 \end{tikzpicture}
1799 \end{tcblisting}
1800 \endsubkeyexplain}
1801
1802 \subkeyexplain{monocle left}{monocle left string length}{length}{\pingu@x@monocleleft@string@l}
1803 \begin{tcblisting}{@}
1804 \begin{tikzpicture}
1805 \pingu[monocle left,
1806 monocle left string length=1cm]
1807 \end{tikzpicture}
1808 \end{tcblisting}
1809 \endsubkeyexplain
1810
1811 {\def\pingu@color@monocleleft{<left-monocle-color>}
1812 \subkeyexplain{monocle left}{monocle left blob}{color}{\pingu@color@monocleleft@blob}
1813 Set the color of the blob at the end of the string of the left monocle:
1814 \begin{tcblisting}{@}
1815 \begin{tikzpicture}
1816 \pingu[monocle left,
1817 monocle left blob=green]
1818 \end{tikzpicture}
1819 \end{tcblisting}
1820 \endsubkeyexplain}
1821
1822 \showkeyexplain{monocle right}{color}{pingu@black}
1823 \begin{tcblisting}{@}
1824 \begin{tikzpicture}
1825 \pingu[monocle right]
1826 \end{tikzpicture}
1827 \end{tcblisting}
1828 \endshowkeyexplain
1829
1830 \subkeyexplain{monocle right}{monocle right glass}{color}{\pingu@color@monocleright@glass}
1831 Set the color of the glass of the right monocle. The opacity of this color is set by \keyref{monocle right opacity}.
1832 \begin{tcblisting}{@}
1833 \begin{tikzpicture}
1834 \pingu[monocle right,
1835 monocle right glass=green]
1836 \end{tikzpicture}
1837 \end{tcblisting}
1838 \endsubkeyexplain
1839
1840 \subkeyalias{monocle right fill}{monocle right glass}{monocle right}
1841
1842 \subkeyexplain{monocle right}{monocle right opacity}{factor}{\pingu@x@monocleright@opacity}
1843 Set the opacity of the glass color of the right monocle (set by \keyref{monocle right glass}):
1844 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
1845 \begin{tikzpicture}
1846 \pingu[monocle right,
1847 monocle right opacity=1]
1848 \end{tikzpicture}
1849 \end{tcblisting}
1850 \endsubkeyexplain
1851
1852 \subkeyalias{monocle right fill opacity}{monocle right opacity}{monocle right}
1853
1854 {\def\pingu@color@monocleright{<right-monocle-color>}
1855 \subkeyexplain{monocle right}{monocle right string}{color}{\pingu@color@monocleright@string}
1856 \begin{tcblisting}{@}
1857 \begin{tikzpicture}
1858 \pingu[monocle right,
1859 monocle right string=green]
1860 \end{tikzpicture}
1861 \end{tcblisting}
1862 \endsubkeyexplain}
1863
1864
1865 \subkeyexplain{monocle right}{monocle right string length}{length}{\pingu@x@monocleright@string@r}
1866 Set the length of the right monocle string:
1867 \begin{tcblisting}{@}
1868 \begin{tikzpicture}
1869 \pingu[monocle right,
1870 monocle right string length=1cm]
1871 \end{tikzpicture}
1872 \end{tcblisting}
1873 \endsubkeyexplain
1874
1875 {\def\pingu@color@monocleright{<right-monocle-color>}
1876 \subkeyexplain{monocle right}{monocle right blob}{color}{\pingu@color@monocleright@blob}
1877 Set the color of the blob at the end of the string of the right monocle:
1878 \begin{tcblisting}{@}
1879 \begin{tikzpicture}
1880 \pingu[monocle right,
1881 monocle right blob=green]
1882 \end{tikzpicture}
1883 \end{tcblisting}
1884 \endsubkeyexplain}
1885
1886 \subsubsection{The pants}
1887 \showkeyexplain{pants}{color}{pingu@red}
1888 Sets the color of the pants:
1889 \begin{tcblisting}{@}
1890 \begin{tikzpicture}
1891 \pingu[pants=green]
1892 \end{tikzpicture}
1893 \end{tcblisting}
1894 \endshowkeyexplain
1895
1896 \subkeyexplain{pants}{pants bands}{true/false}{false}
1897 Switch the bands of the pants on and of:
1898 \begin{tcblisting}{@}
1899 \begin{tikzpicture}
1900 \pingu[pants, pants bands]
1901 \end{tikzpicture}
1902 \end{tcblisting}
1903 \endsubkeyexplain
1904
1905
1906 \subkeyexplain{pants}{pants button left}{color}{\pingu@color@pants@button@left}
1907 Set the color of the left pant button:
1908 \begin{tcblisting}{@}
1909 \begin{tikzpicture}
1910 \pingu[pants, pants button left=green]
1911 \end{tikzpicture}
1912 \end{tcblisting}
1913 \endsubkeyexplain
1914
1915 \subkeyexplain{pants}{pants button right}{color}{\pingu@color@pants@button@right}
1916 Set the color of the right pant button:
1917 \begin{tcblisting}{@}
1918 \begin{tikzpicture}
1919 \pingu[pants, pants button right=green]
1920 \end{tikzpicture}
1921 \end{tcblisting}
1922 \endsubkeyexplain
1923
1924 \subkeyexplain{pants}{pants buttons}{color}{\pingu@color@pants@button@left}
1925 Sets \keyref{pants button left} and \keyref{pants button right} with the same color.
1926 \begin{tcblisting}{@}
1927 \begin{tikzpicture}
1928 \pingu[pants, pants buttons=green]
1929 \end{tikzpicture}
1930 \end{tcblisting}
1931 \endsubkeyexplain
1932
1933 {\def\pingu@color@pants@button@left{<left-button-color>}%
1934 \subkeyexplain{pants}{pants button left shade}{color}{\pingu@color@pants@button@left@shade}
1935 Set the color of the left pant button shade:
1936 \begin{tcblisting}{@}
1937 \begin{tikzpicture}
1938 \pingu[pants,
1939 pants button left shade=green]
1940 \end{tikzpicture}
1941 \end{tcblisting}
1942 \endsubkeyexplain}
1943
1944 {\def\pingu@color@pants@button@left{<right-button-color>}%
1945 \subkeyexplain{pants}{pants button right shade}{color}{\pingu@color@pants@button@right@shade}
1946 Set the color of the right pant button shade:
1947 \begin{tcblisting}{@}
1948 \begin{tikzpicture}
1949 \pingu[pants,
1950 pants button right shade=green]
1951 \end{tikzpicture}
1952 \end{tcblisting}
1953 \endsubkeyexplain}
1954
1955 {\def\pingu@color@pants@button@left{<left-button-color>}%
1956 \subkeyexplain{pants}{pants buttons shade}{color}{\pingu@color@pants@button@left@shade}
1957 Sets \keyref{pants button left shade} and \keyref{pants button right shade} with the same color.
1958 \begin{tcblisting}{@}
1959 \begin{tikzpicture}
1960 \pingu[pants, pants buttons shade=green]
1961 \end{tikzpicture}
1962 \end{tcblisting}
1963 \endsubkeyexplain}
1964
1965 \subkeyexplain{pants}{pants no buttons}{}{}
1966 Remove the buttons from the pants:
1967 \begin{tcblisting}{@}
1968 \begin{tikzpicture}
1969 \pingu[pants, pants no buttons]
1970 \end{tikzpicture}
1971 \end{tcblisting}
1972 \endsubkeyexplain
1973
1974 \subkeyexplain{pants}{pants extra height}{length}{\pingu@x@pants@extra@height}
1975 Raise the pants:
1976 \begin{tcblisting}{@}
1977 \begin{tikzpicture}
1978 \pingu[pants, pants extra height=6mm]
1979 \end{tikzpicture}
1980 \end{tcblisting}
1981 \endsubkeyexplain
1982
1983 \subkeyalias{pants without buttons}{pants no buttons}{pants}
1984
1985 \subsubsection{The glow}
1986
1987 \showkeyexplain{glow}{color}{pingu@white}(orange,glow solid=orange)
1988 Active a glow around the penguin:
1989 \begin{tcblisting}{@}
1990 \begin{tikzpicture}
1991 \pingu[glow=green]
1992 \end{tikzpicture}
1993 \end{tcblisting}
1994 \endshowkeyexplain
1995
1996 \keyexplain{glow thick}{color}{}
1997 Will pass on the color to \keyref{glow} and use a \keyref{glow width function} width a thicker line width:
1998 \begin{tcblisting}{@}
1999 \begin{tikzpicture}
2000 \pingu[glow thick=green]
2001 \end{tikzpicture}
2002 \end{tcblisting}
2003 \endkeyexplain
2004
2005 \keyexplain{glow solid}{color}{}
2006 Will pass on the color to \keyref{glow} and use a \keyref{glow width function} combined with \keyref{glow function} to create a solid glow:
2007 \begin{tcblisting}{@}
2008 \begin{tikzpicture}
2009 \pingu[glow solid=green, wings wave]
2010 \end{tikzpicture}
2011 \end{tcblisting}
2012 \endkeyexplain
2013
2014 \subkeyexplain{glow}{glow steps}{list}{\pingu@x@extra@glow@steps}
2015 Comma separated list of discrete intervals for the glow calculation:
2016 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2017 \begin{tikzpicture}
2018 \pingu[glow=green, glow steps={.3,.5,1}]
2019 \end{tikzpicture}
2020 \end{tcblisting}
2021 \endsubkeyexplain
2022
2023 {\def\i{\textbackslash i~}%
2024 \subkeyexplain{glow}{glow function}{function}{\pingu@x@extra@glow@func}
2025 Function using the token \lpingu{\i} to refer to the current \keyref{glow steps}. Its evaluation will be used to determine the opacity of the current step:
2026 \begin{tcblisting}{@}
2027 \begin{tikzpicture}
2028 \pingu[glow=green,
2029 glow function={.5/\i}]
2030 \end{tikzpicture}
2031 \end{tcblisting}
2032 \endsubkeyexplain}
2033
2034 {\def\i{\textbackslash i~}%
2035 \subkeyexplain{glow}{glow width function}{function}{\pingu@x@extra@glow@width@func}
2036 Function using the token \lpingu{\i} to refer to the current \keyref{glow steps}. Its evaluation will be used to determine the width of the current step:
2037 \begin{tcblisting}{@}
2038 \begin{tikzpicture}
2039 \pingu[glow=green,
2040 glow width function={5mm-\i mm}]
2041 \end{tikzpicture}
2042 \end{tcblisting}
2043 \endsubkeyexplain}
2044
2045 \subsubsection{The eye frame}
2046
2047 \keyexplain{eye frame}{color}{pingu@black}
2048 This is more of a test extra that adds a frame around both eyes:
2049 \begin{tcblisting}{@}
2050 \begin{tikzpicture}
2051 \pingu[eye frame=green]
2052 \end{tikzpicture}
2053 \end{tcblisting}
2054 \endkeyexplain
2055
2056 \keyalias{eyeframe}{eye frame}
2057 \keyalias{eye-frame}{eye frame}
2058
2059 \subsubsection{The glasses}
2060
2061 \showkeyexplain{glasses}{color}{pingu@black}
2062 Display glasses for the penguin:
2063 \begin{tcblisting}{@}
2064 \begin{tikzpicture}
2065 \pingu[glasses=green]
2066 \end{tikzpicture}
2067 \end{tcblisting}
2068 \endshowkeyexplain
2069
2070 \subkeyexplain{glasses}{glasses left fill}{color}{\pingu@color@glasses@fill@l}
2071 Sets the fill color of the left glass. The opacity is determined by \keyref{glasses left opacity}.
2072 \begin{tcblisting}{@}
2073 \begin{tikzpicture}
2074 \pingu[glasses,
2075 glasses left fill=green]
2076 \end{tikzpicture}
2077 \end{tcblisting}
2078 \endsubkeyexplain
2079
2080 \subkeyexplain{glasses}{glasses right fill}{color}{\pingu@color@glasses@fill@r}
2081 Sets the fill color of the right glass. The opacity is determined by \keyref{glasses right opacity}.
2082 \begin{tcblisting}{@}
2083 \begin{tikzpicture}
2084 \pingu[glasses,
2085 glasses right fill=green]
2086 \end{tikzpicture}
2087 \end{tcblisting}
2088 \endsubkeyexplain
2089
2090 \subkeyexplain{glasses}{glasses fill}{color}{}
2091 Change the color of both glasses by calling \keyref{glasses left fill} and \keyref{glasses right fill} with the same value.
2092 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{simple}}}}
2093 \begin{tikzpicture}
2094 \pingu[glasses, glasses fill=green]
2095 \end{tikzpicture}
2096 \end{tcblisting}
2097 \endsubkeyexplain
2098
2099 \subkeyexplain{glasses}{glasses left opacity}{factor}{\pingu@x@glasses@op@l}
2100 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2101 \begin{tikzpicture}
2102 \pingu[glasses,
2103 glasses left fill=green,
2104 glasses left opacity=1]
2105 \end{tikzpicture}
2106 \end{tcblisting}
2107 \endsubkeyexplain
2108
2109 \subkeyexplain{glasses}{glasses right opacity}{factor}{\pingu@x@glasses@op@r}
2110 Sets the fill opacity of the right glass:
2111 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2112 \begin{tikzpicture}
2113 \pingu[glasses,
2114 glasses right fill=green,
2115 glasses right opacity=1]
2116 \end{tikzpicture}
2117 \end{tcblisting}
2118 \endsubkeyexplain
2119
2120 \subkeyexplain{glasses}{glasses opacity}{factor}{}
2121 Change the opacity of both glasses by calling \keyref{glasses left opacity} and \keyref{glasses right opacity} with the same value.
2122 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2123 \begin{tikzpicture}
2124 \pingu[glasses,
2125 glasses fill=teal,
2126 glasses opacity=1]
2127 \end{tikzpicture}
2128 \end{tcblisting}
2129 \endsubkeyexplain
2130
2131 \subkeyexplain{glasses}{glasses line width}{length}{1.125pt}
2132 \begin{tcblisting}{@}
2133 \begin{tikzpicture}
2134 \pingu[glasses, glasses line width=1mm]
2135 \end{tikzpicture}
2136 \end{tcblisting}
2137 \endsubkeyexplain
2138
2139 \showkeyexplain{sun glasses}{color}{pingu@black}
2140 Configure the \keyref{glasses} to display sunglasses. The color is passed on to \keyref{glasses fill}
2141 \begin{tcblisting}{@}
2142 \begin{tikzpicture}
2143 \pingu[sun glasses=orange]
2144 \end{tikzpicture}
2145 \end{tcblisting}
2146 \endshowkeyexplain
2147
2148 \keyalias{sunglasses}{sun glasses}
2149
2150 \subsubsection{The rounded glasses}
2151
2152 \showkeyexplain{glasses round}{color}{pingu@black}
2153 Behaves equivalent to \keyref{glasses} but produces a round counterpart:
2154 \begin{tcblisting}{@}
2155 \begin{tikzpicture}
2156 \pingu[glasses round=green]
2157 \end{tikzpicture}
2158 \end{tcblisting}
2159 \endshowkeyexplain
2160
2161 \subkeyexplain{glasses round}{glasses round left fill}{color}{\pingu@color@glassesround@fill@l}
2162 Sets the fill color of the left glass. The opacity is determined by \keyref{glasses round left opacity}.
2163 \begin{tcblisting}{@}
2164 \begin{tikzpicture}
2165 \pingu[glasses round,
2166 glasses round left fill=green]
2167 \end{tikzpicture}
2168 \end{tcblisting}
2169 \endsubkeyexplain
2170
2171 \subkeyexplain{glasses round}{glasses round right fill}{color}{\pingu@color@glassesround@fill@r}
2172 Sets the fill color of the right glass. The opacity is determined by \keyref{glasses round right opacity}.
2173 \begin{tcblisting}{@}
2174 \begin{tikzpicture}
2175 \pingu[glasses round,
2176 glasses round right fill=green]
2177 \end{tikzpicture}
2178 \end{tcblisting}
2179 \endsubkeyexplain
2180
2181 \subkeyexplain{glasses round}{glasses round fill}{color}{}
2182 Change the color of both glasses by calling \keyref{glasses round left fill} and \keyref{glasses round right fill} with the same value.
2183 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{simple}}}}
2184 \begin{tikzpicture}
2185 \pingu[glasses round, glasses round fill=green]
2186 \end{tikzpicture}
2187 \end{tcblisting}
2188 \endsubkeyexplain
2189
2190 \subkeyexplain{glasses round}{glasses round left opacity}{factor}{\pingu@x@glassesround@op@l}
2191 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2192 \begin{tikzpicture}
2193 \pingu[glasses round,
2194 glasses round left fill=green,
2195 glasses round left opacity=1]
2196 \end{tikzpicture}
2197 \end{tcblisting}
2198 \endsubkeyexplain
2199
2200 \subkeyexplain{glasses round}{glasses round right opacity}{factor}{\pingu@x@glassesround@op@r}
2201 Sets the fill opacity of the right glass:
2202 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2203 \begin{tikzpicture}
2204 \pingu[glasses round,
2205 glasses round right fill=green,
2206 glasses round right opacity=1]
2207 \end{tikzpicture}
2208 \end{tcblisting}
2209 \endsubkeyexplain
2210
2211 \subkeyexplain{glasses round}{glasses round opacity}{factor}{}
2212 Change the opacity of both glasses round by calling \keyref{glasses round left opacity} and \keyref{glasses round right opacity} with the same value.
2213 \begin{tcblisting}{listing options={style=lstpingu,language=pingulang,deleteemph={[2]{1}}}}
2214 \begin{tikzpicture}
2215 \pingu[glasses round,
2216 glasses round fill=teal,
2217 glasses round opacity=1]
2218 \end{tikzpicture}
2219 \end{tcblisting}
2220 \endsubkeyexplain
2221
2222 \subkeyexplain{glasses round}{glasses round line width}{length}{1.125pt}
2223 \begin{tcblisting}{@}
2224 \begin{tikzpicture}
2225 \pingu[glasses round, glasses round line width=1mm]
2226 \end{tikzpicture}
2227 \end{tcblisting}
2228 \endsubkeyexplain
2229
2230 \showkeyexplain{sun glasses round}{color}{pingu@black}
2231 Configure the \keyref{glasses round} to display sunglasses round. The color is passed on to \keyref{glasses round fill}
2232 \begin{tcblisting}{@}
2233 \begin{tikzpicture}
2234 \pingu[sun glasses round=orange]
2235 \end{tikzpicture}
2236 \end{tcblisting}
2237 \endshowkeyexplain
2238
2239 \keyalias{sunglasses round}{sun glasses round}
2240
2241 \subsubsection{The devil horns}
2242
2243 \showkeyexplain{devil horns}{color}{pingu@black}
2244 \begin{tcblisting}{@}
2245 \begin{tikzpicture}
2246 \pingu[devil horns=green]
2247 \end{tikzpicture}
2248 \end{tcblisting}
2249 \endshowkeyexplain
2250
2251 \keyalias{devilhorns}{devil horns}
2252 \keyalias{devil-horns}{devil horns}
2253
2254 \subsubsection{The devil wings}
2255
2256 \showkeyexplain{devil wings}{color}{pingu@black}
2257 \begin{tcblisting}{@}
2258 \begin{tikzpicture}
2259 \pingu[devil wings=green]
2260 \end{tikzpicture}
2261 \end{tcblisting}
2262 \endshowkeyexplain
2263
2264 \keyalias{devilwings}{devil wings}
2265 \keyalias{devil-wings}{devil wings}
2266
2267 \subkeyexplain{devil wings}{devil wings b}{color}{<devil--color>}
2268 \begin{tcblisting}{@}
2269 \begin{tikzpicture}
2270 \pingu[devil wings, devil wings b=green]
2271 \end{tikzpicture}
2272 \end{tcblisting}
2273 \endsubkeyexplain
2274
2275 \subkeyalias{devilwings b}{devil wings b}{devil wings}
2276 \subkeyalias{devil-wings b}{devil wings b}{devil wings}
2277
2278 \subsubsection{The belt}
2279
2280 \showkeyexplain{belt}{color}{pingu@bronze!80!black}
2281 \begin{tcblisting}{@}
2282 \begin{tikzpicture}
2283 \pingu[belt=green]
2284 \end{tikzpicture}
2285 \end{tcblisting}
2286 \endshowkeyexplain
2287
2288 \subkeyexplain{belt}{belt knot color}{color}{\pingu@color@belt@knot}
2289 \begin{tcblisting}{@}
2290 \begin{tikzpicture}
2291 \pingu[belt,belt knot color=green]
2292 \end{tikzpicture}
2293 \end{tcblisting}
2294 \endsubkeyexplain
2295
2296
2297 \subsubsection{The bunny hears}
2298
2299 \showkeyexplain{bunny ears}{color}{brown!95!pingu@main}
2300 \begin{tcblisting}{@}
2301 \begin{tikzpicture}
2302 \pingu[bunny ears=green]
2303 \end{tikzpicture}
2304 \end{tcblisting}
2305 \endshowkeyexplain
2306
2307 \keyalias{bunnyears}{bunny ears}
2308 \keyalias{bunny-ears}{bunny ears}
2309
2310 {\def\pingu@color@bunnyears{<bunny ears-color>}
2311 \subkeyexplain{bunny ears}{bunny ears band}{color}{\pingu@color@bunnyears@band}
2312 \begin{tcblisting}{@}
2313 \begin{tikzpicture}
2314 \pingu[bunny ears,bunny ears band=green]
2315 \end{tikzpicture}
2316 \end{tcblisting}
2317 \endsubkeyexplain
2318 \subkeyalias{bunnyears band}{bunny ears band}{bunny ears}
2319 \subkeyalias{bunny-ears band}{bunny ears band}{bunny ears}
2320 }
2321
2322 {\def\pingu@color@bunnyears{<bunny ears-color>}
2323 \subkeyexplain{bunny ears}{bunny ears b}{color}{\pingu@color@bunnyears@b}
2324 \begin{tcblisting}{@}
2325 \begin{tikzpicture}
2326 \pingu[bunny ears,bunny ears b=green]
2327 \end{tikzpicture}
2328 \end{tcblisting}
2329 \endsubkeyexplain
2330
2331 \subkeyalias{bunnyears b}{bunny ears b}{bunny ears}
2332 \subkeyalias{bunny-ears b}{bunny ears b}{bunny ears}
2333 }
2334
2335 \subsubsection{The head band}
2336
2337 \showkeyexplain{head band}{color}{pingu@red}
2338 \begin{tcblisting}{@}
2339 \begin{tikzpicture}
2340 \pingu[head band=green]
2341 \end{tikzpicture}
2342 \end{tcblisting}
2343 \endshowkeyexplain
2344
2345 \keyalias{headband}{head band}
2346 \keyalias{head-band}{head band}
2347
2348
2349 \subkeyexplain{head band}{head band bend}{angle}{\pingu@x@headband@bend}
2350 \begin{tcblisting}{@}
2351 \begin{tikzpicture}
2352 \pingu[head band, head band bend=25]
2353 \end{tikzpicture}
2354 \end{tcblisting}
2355 \endsubkeyexplain
2356
2357 \subkeyalias{headband bend}{head band bend}{head band}
2358 \subkeyalias{head-band bend}{head band bend}{head band}
2359
2360 \subkeyexplain{head band}{head band angle}{angle}{\pingu@x@headband@angle}
2361 \begin{tcblisting}{@}
2362 \begin{tikzpicture}
2363 \pingu[head band, head band angle=25]
2364 \end{tikzpicture}
2365 \end{tcblisting}
2366 \endsubkeyexplain
2367
2368 \subkeyalias{headband angle}{head band angle}{head band}
2369 \subkeyalias{head-band angle}{head band angle}{head band}
2370
2371 \subkeyexplain{head band}{head band upper angle}{angle}{\pingu@x@headband@angle}
2372 \begin{tcblisting}{@}
2373 \begin{tikzpicture}
2374 \pingu[head band, head band upper angle=25]
2375 \end{tikzpicture}
2376 \end{tcblisting}
2377 \endsubkeyexplain
2378
2379 \subkeyalias{headband upper angle}{head band upper angle}{head band}
2380 \subkeyalias{head-band upper angle}{head band upper angle}{head band}
2381
2382 \subkeyexplain{head band}{head band knot}{true/false}{\if@pingu@x@headband@knot@ true\else false\fi}
2383 \begin{tcblisting}{@}
2384 \begin{tikzpicture}
2385 \pingu[head band, head band knot]
2386 \end{tikzpicture}
2387 \end{tcblisting}
2388 \endsubkeyexplain
2389
2390 \subkeyalias{headband knot}{head band knot}{head band}
2391 \subkeyalias{head-band knot}{head band knot}{head band}
2392
2393 {\def\pingu@color@headband{<headband-color>}
2394 \subkeyexplain{head band}{head band knot color}{color}{\pingu@color@headband@knot}
2395 If \keyref{head band knot} is enabled, this setting changes the color of the knot:
2396 \begin{tcblisting}{@}
2397 \begin{tikzpicture}
2398 \pingu[head band, head band knot,
2399 head band knot color=green]
2400 \end{tikzpicture}
2401 \end{tcblisting}
2402 \endsubkeyexplain
2403
2404 \subkeyalias{headband knot color}{head band knot color}{head band}
2405 \subkeyalias{head-band knot color}{head band knot color}{head band}}
2406
2407 {\def\pingu@color@headband{<headband-color>}
2408 \subkeyexplain{head band}{head band knot a color}{color}{\pingu@color@headband@knot@a}
2409 If \keyref{head band knot} is enabled, this setting changes the color of the left headband wing (this will, by default, affect the right wing was well):
2410 \begin{tcblisting}{@}
2411 \begin{tikzpicture}
2412 \pingu[head band, head band knot,
2413 head band knot a color=green]
2414 \end{tikzpicture}
2415 \end{tcblisting}
2416 \endsubkeyexplain
2417
2418 \subkeyalias{headband knot a color}{head band knot a color}{head band}
2419 \subkeyalias{head-band knot a color}{head band knot a color}{head band}}
2420
2421 {\def\pingu@color@headband{<headband-color>}
2422 \subkeyexplain{head band}{head band knot b color}{color}{\pingu@color@headband@knot@b}
2423 If \keyref{head band knot} is enabled, this setting changes the color of the left headband wing (this will, by default, affect the right wing was well):
2424 \begin{tcblisting}{@}
2425 \begin{tikzpicture}
2426 \pingu[head band, head band knot,
2427 head band knot a color=blue,
2428 head band knot b color=green]
2429 \end{tikzpicture}
2430 \end{tcblisting}
2431 \endsubkeyexplain
2432
2433 \subkeyalias{headband knot b color}{head band knot b color}{head band}
2434 \subkeyalias{head-band knot b color}{head band knot b color}{head band}}
2435
2436 \subkeyexplain{head band}{head band bands}{true/false}{\if@pingu@x@headband@bands@ true\else false\fi}
2437 \begin{tcblisting}{@}
2438 \begin{tikzpicture}
2439 \pingu[head band, head band bands=false]
2440 \end{tikzpicture}
2441 \end{tcblisting}
2442 \endsubkeyexplain
2443
2444 \subkeyalias{headband bands}{head band bands}{head band}
2445 \subkeyalias{head-band bands}{head band bands}{head band}
2446
2447 {\def\pingu@color@headband{<headband-color>}
2448 \subkeyexplain{head band}{head band bands a color}{color}{\pingu@color@headband@bands@a}
2449 If \keyref{head band bands} is enabled, this setting changes the color of the large one of the both bands:
2450 \begin{tcblisting}{@}
2451 \begin{tikzpicture}
2452 \pingu[head band, head band bands,
2453 head band bands a color=green]
2454 \end{tikzpicture}
2455 \end{tcblisting}
2456 \endsubkeyexplain
2457
2458 \subkeyalias{headband bands a color}{head band bands a color}{head band}
2459 \subkeyalias{head-band bands a color}{head band bands a color}{head band}}
2460
2461 {\def\pingu@color@headband{<headband-color>}
2462 \subkeyexplain{head band}{head band bands b color}{color}{\pingu@color@headband@bands@b}
2463 If \keyref{head band bands} is enabled, this setting changes the color of the left headband wing (this will, by default, affect the right wing was well):
2464 \begin{tcblisting}{@}
2465 \begin{tikzpicture}
2466 \pingu[head band, head band bands,
2467 head band bands a color=blue,
2468 head band bands b color=green]
2469 \end{tikzpicture}
2470 \end{tcblisting}
2471 \endsubkeyexplain
2472
2473 \subkeyalias{headband bands b color}{head band bands b color}{head band}
2474 \subkeyalias{head-band bands b color}{head band bands b color}{head band}}
2475
2476 \subsubsection{The rook}
2477
2478 \showkeyexplain{rook}{color}{pingu@silver}
2479 \begin{tcblisting}{@}
2480 \begin{tikzpicture}
2481 \pingu[rook=green]
2482 \end{tikzpicture}
2483 \end{tcblisting}
2484 \endshowkeyexplain
2485
2486 {\def\pingu@color@rook{<rook-color>}
2487 \subkeyexplain{rook}{rook back}{color}{\pingu@color@rook@back}
2488 Change the color of the rook-costume background:
2489 \begin{tcblisting}{@}
2490 \begin{tikzpicture}
2491 \pingu[rook, rook back=green]
2492 \end{tikzpicture}
2493 \end{tcblisting}
2494 \endsubkeyexplain}
2495
2496 \subkeyexplain{rook}{rook hatch}{true/false}{\if@pingu@x@rook@draw@hatch@ true\else false\fi}
2497 Toggles the opening in the rook costume:
2498 \begin{tcblisting}{@}
2499 \begin{tikzpicture}
2500 \pingu[rook, rook hatch=false]
2501 \end{tikzpicture}
2502 \end{tcblisting}
2503 \endsubkeyexplain
2504
2505 {\def\pingu@color@rook{<rook-color>}
2506 \subkeyexplain{rook}{rook shade}{color}{\pingu@color@rook@shade}
2507 \begin{tcblisting}{@}
2508 \begin{tikzpicture}
2509 \pingu[rook, rook shade=green]
2510 \end{tikzpicture}
2511 \end{tcblisting}
2512 \endsubkeyexplain}
2513
2514 \subsubsection{The halo}
2515 \showkeyexplain{halo}{color}{pingu@lightblue}
2516 \begin{tcblisting}{@}
2517 \begin{tikzpicture}
2518 \pingu[halo=green]
2519 \end{tikzpicture}
2520 \end{tcblisting}
2521 \endshowkeyexplain
2522
2523 \subkeyexplain{halo}{halo raise}{length}{\pingu@x@halo@raise}
2524 Define the vertical raise of the halo above the penguins head:
2525 \begin{tcblisting}{@}
2526 \begin{tikzpicture}
2527 \pingu[halo, halo raise=4mm]
2528 \end{tikzpicture}
2529 \end{tcblisting}
2530 \endsubkeyexplain
2531
2532 \subkeyexplain{halo}{halo glow}{true/false}{\if@pingu@x@halo@glow true\else false\fi}
2533 Disable or enable the glow of the halo. The default is controlled by the \texttt{glows}-package option.
2534 \begin{tcblisting}{@}
2535 \begin{tikzpicture}
2536 \pingu[halo, halo glow=false]
2537 \end{tikzpicture}
2538 \end{tcblisting}
2539 \endsubkeyexplain
2540
2541 \subkeyexplain{halo}{halo above}{true/false}{\if@pingu@x@halo@above true\else false\fi}
2542 Draws the halo above, which is useful in case of other gadgets:
2543 \begin{tcblisting}{@}
2544 \begin{tikzpicture}
2545 \pingu[halo, halo above=true]
2546 \end{tikzpicture}
2547 \end{tcblisting}
2548 \endsubkeyexplain
2549
2550 \subsubsection{The strawhat}
2551 \showkeyexplain{strawhat}{color}{brown!50!white}
2552 \begin{tcblisting}{@}
2553 \begin{tikzpicture}
2554 \pingu[strawhat=green]
2555 \end{tikzpicture}
2556 \end{tcblisting}
2557 \endshowkeyexplain
2558
2559 \keyalias{straw hat}{strawhat}
2560
2561 \subkeyexplain{strawhat}{strawhat ribbon}{color}{\pingu@color@strawhat@ribbon}
2562 \begin{tcblisting}{@}
2563 \begin{tikzpicture}
2564 \pingu[strawhat, strawhat ribbon=green]
2565 \end{tikzpicture}
2566 \end{tcblisting}
2567 \endsubkeyexplain
2568
2569 \subkeyalias{straw hat ribbon}{strawhat ribbon}{strawhat}
2570
2571 \subkeyexplain{strawhat}{strawhat position}{angle>:(<x>,<y>)<scale}{\pingu@x@strawhat@angle:(\pingu@x@strawhat@xshift,\pingu@x@strawhat@yshift)\{\pingu@x@strawhat@scale\}}
2572 Currently, this is a very cumbersome command to change various strawhat parameters at the same time:
2573 \begin{tcblisting}{@}
2574 \begin{tikzpicture}
2575 \pingu[strawhat,
2576 strawhat position={33:(-.8cm,.14cm){1.4}}]
2577 \end{tikzpicture}
2578 \end{tcblisting}
2579 \endsubkeyexplain
2580
2581 \subkeyalias{straw hat position}{strawhat position}{strawhat}
2582
2583 \subsubsection{The hat}
2584 \showkeyexplain{hat}{color}{brown!50!white}
2585 \begin{tcblisting}{@}
2586 \begin{tikzpicture}
2587 \pingu[hat=green]
2588 \end{tikzpicture}
2589 \end{tcblisting}
2590 \endshowkeyexplain
2591
2592 {\def\pingu@color@hat{<hat-color>}
2593 \subkeyexplain{hat}{hat ribbon}{color}{\pingu@color@hat@ribbon}
2594 \begin{tcblisting}{@}
2595 \begin{tikzpicture}
2596 \pingu[hat, hat ribbon=green]
2597 \end{tikzpicture}
2598 \end{tcblisting}
2599 \endsubkeyexplain}
2600
2601 {\def\pingu@color@hat{<hat-color>}
2602 \subkeyexplain{hat}{hat base}{color}{\pingu@color@hat@base}
2603 \begin{tcblisting}{@}
2604 \begin{tikzpicture}
2605 \pingu[hat, hat base=green]
2606 \end{tikzpicture}
2607 \end{tcblisting}
2608 \endsubkeyexplain}
2609
2610 {\def\pingu@color@hat{<hat-color>}
2611 \subkeyexplain{hat}{hat coronal}{color}{\pingu@color@hat@coronal}
2612 \begin{tcblisting}{@}
2613 \begin{tikzpicture}
2614 \pingu[hat, hat coronal=green]
2615 \end{tikzpicture}
2616 \end{tcblisting}
2617 \endsubkeyexplain}
2618
2619 \subkeyexplain{hat}{hat position}{angle>:(<x>,<y>)<scale}{\pingu@x@hat@angle:(\pingu@x@hat@xshift,\pingu@x@hat@yshift)\{\pingu@x@hat@scale\}}
2620 Currently, this is a very cumbersome command to change various hat parameters at the same time:
2621 \begin{tcblisting}{@}
2622 \begin{tikzpicture}
2623 \pingu[hat, hat position={1:(0cm,-.09cm){1.33}}]
2624 \end{tikzpicture}
2625 \end{tcblisting}
2626 \endsubkeyexplain
2627
2628 \subsubsection{The graduate cap}
2629 \showkeyexplain{graduate}{color}{pingu@black!95!white}
2630 \begin{tcblisting}{@}
2631 \begin{tikzpicture}
2632 \pingu[graduate=green]
2633 \end{tikzpicture}
2634 \end{tcblisting}
2635 \endshowkeyexplain
2636
2637 \keyalias{graduate cap}{graduate}
2638
2639 {\def\pingu@color@graduate{<graduate-color>}
2640 \subkeyexplain{graduate}{graduate top}{color}{\pingu@color@graduate@top}
2641 \begin{tcblisting}{@}
2642 \begin{tikzpicture}
2643 \pingu[graduate, graduate top=green]
2644 \end{tikzpicture}
2645 \end{tcblisting}
2646 \endsubkeyexplain
2647 \subkeyalias{graduate cap top}{graduate top}{graduate}
2648 }
2649
2650 {
2651 \subkeyexplain{graduate}{graduate tilt}{length}{\pingu@x@graduate@tilt}
2652 \begin{tcblisting}{@}
2653 \begin{tikzpicture}
2654 \pingu[graduate, graduate tilt=5mm]
2655 \end{tikzpicture}
2656 \end{tcblisting}
2657 \endsubkeyexplain
2658 \subkeyalias{graduate cap tilt}{graduate tilt}{graduate}
2659 }
2660
2661 {\def\pingu@color@graduate{<graduate-color>}
2662 \def\pingu@color@graduate@tassel{<graduate-tassel-color>}
2663 \subkeyexplain{graduate}{graduate tassel}{color}{\pingu@color@graduate@tassel}
2664 \begin{tcblisting}{@}
2665 \begin{tikzpicture}
2666 \pingu[graduate, graduate tassel=green]
2667 \end{tikzpicture}
2668 \end{tcblisting}
2669 \endsubkeyexplain
2670 \subkeyalias{graduate cap tassel}{graduate tassel}{graduate}
2671 }
2672
2673 {\def\pingu@color@graduate{<graduate-color>}
2674 \def\pingu@color@graduate@tassel{<graduate-tassel-color>}
2675 \subkeyexplain{graduate}{graduate tassel drop}{color}{\pingu@color@graduate@tassel@drop}
2676 \begin{tcblisting}{@}
2677 \begin{tikzpicture}
2678 \pingu[graduate, graduate tassel,
2679 graduate tassel drop=green]
2680 \end{tikzpicture}
2681 \end{tcblisting}
2682 \endsubkeyexplain
2683 \subkeyalias{graduate cap tassel drop}{graduate tassel drop}{graduate}
2684 }
2685
2686 {\def\pingu@color@graduate{<graduate-color>}
2687 \def\pingu@color@graduate@tassel{<graduate-tassel-color>}
2688 \subkeyexplain{graduate}{graduate tassel start}{coordinate}{\pingu@x@tassel@start}
2689 \begin{tcblisting}{@}
2690 \begin{tikzpicture}
2691 \pingu[graduate, graduate tassel,
2692 graduate tassel start={(2mm,4mm)}]
2693 \end{tikzpicture}
2694 \end{tcblisting}
2695 \endsubkeyexplain
2696 \subkeyalias{graduate cap tassel start}{graduate tassel start}{graduate}
2697 }
2698
2699 {\def\pingu@color@graduate{<graduate-color>}
2700 \def\pingu@color@graduate@tassel{<graduate-tassel-color>}
2701 \subkeyexplain{graduate}{graduate tassel width}{length}{\pingu@x@tassel@width}
2702 \begin{tcblisting}{@}
2703 \begin{tikzpicture}
2704 \pingu[graduate, graduate tassel,
2705 graduate tassel width=2mm]
2706 \end{tikzpicture}
2707 \end{tcblisting}
2708 \endsubkeyexplain
2709 \subkeyalias{graduate cap tassel width}{graduate tassel width}{graduate}
2710 }
2711
2712 {\def\pingu@color@graduate{<graduate-color>}
2713 \def\pingu@color@graduate@tassel{<graduate-tassel-color>}
2714 \subkeyexplain{graduate}{graduate tassel length}{length}{\pingu@x@tassel@length}
2715 \begin{tcblisting}{@}
2716 \begin{tikzpicture}
2717 \pingu[graduate, graduate tassel,
2718 graduate tassel length=12mm]
2719 \end{tikzpicture}
2720 \end{tcblisting}
2721 \endsubkeyexplain
2722 \subkeyalias{graduate cap tassel length}{graduate tassel length}{graduate}
2723 }
2724
2725 {\def\pingu@color@graduate{<graduate-color>}
2726 \def\pingu@color@graduate@tassel{<graduate-tassel-color>}
2727 \def\pingu@x@tassel@width{<graduate-tassel-width>}
2728 \subkeyexplain{graduate}{graduate tassel drop size}{length}{\pingu@x@tassel@length}
2729 \begin{tcblisting}{@}
2730 \begin{tikzpicture}
2731 \pingu[graduate, graduate tassel,
2732 graduate tassel drop size=4mm]
2733 \end{tikzpicture}
2734 \end{tcblisting}
2735 \endsubkeyexplain
2736 \subkeyalias{graduate cap tassel drop size}{graduate tassel drop size}{graduate}
2737 }
2738
2739 \subkeyexplain{graduate}{graduate position}{angle>:(<x>,<y>)<scale}{\pingu@x@graduate@angle:(\pingu@x@graduate@xshift,\pingu@x@graduate@yshift)\{\pingu@x@graduate@scale\}}
2740 Currently, this is a very cumbersome command to change various graduate parameters at the same time:
2741 \begin{tcblisting}{@}
2742 \begin{tikzpicture}
2743 \pingu[graduate,
2744 graduate position={1:(0cm,-.09cm){1.33}}]
2745 \end{tikzpicture}
2746 \end{tcblisting}
2747 \endsubkeyexplain
2748 \subkeyalias{graduate cap position}{graduate position}{graduate}
2749
2750
2751
2752 \subsubsection{The space helmet}
2753 \showkeyexplain{space helmet}{color}{pingu@black!45!white}
2754 \begin{tcblisting}{@}
2755 \begin{tikzpicture}
2756 \pingu[space helmet=green]
2757 \end{tikzpicture}
2758 \end{tcblisting}
2759 \endshowkeyexplain
2760
2761 \subkeyexplain{space helmet}{space helmet glass}{color}{\pingu@color@spacehelmet@glass}
2762 \begin{tcblisting}{@}
2763 \begin{tikzpicture}
2764 \pingu[space helmet, space helmet glass=green]
2765 \end{tikzpicture}
2766 \end{tcblisting}
2767 \endsubkeyexplain
2768
2769 \subkeyexplain{space helmet}{space helmet glass opacity}{factor}{\pingu@x@spacehelmet@glass@opacity}
2770 \begin{tcblisting}{@}
2771 \begin{tikzpicture}
2772 \pingu[space helmet, space helmet glass opacity=1]
2773 \end{tikzpicture}
2774 \end{tcblisting}
2775 \endsubkeyexplain
2776
2777 \subkeyexplain{space helmet}{space helmet position}{angle>:(<x>,<y>)<scale}{\pingu@x@spacehelmet@angle:(\pingu@x@spacehelmet@xshift,\pingu@x@spacehelmet@yshift)\{\pingu@x@spacehelmet@scale\}}
2778 Currently, this is a very cumbersome command to change various space helmet parameters at the same time:
2779 \begin{tcblisting}{@}
2780 \begin{tikzpicture}
2781 \pingu[space helmet, space helmet position={1:(0cm,-.09cm){1.33}}]
2782 \end{tikzpicture}
2783 \end{tcblisting}
2784 \endsubkeyexplain
2785
2786
2787 \subsubsection{The mitra}
2788 \showkeyexplain{mitra}{color}{pingu@red!67!pingu@black}
2789 \begin{tcblisting}{@}
2790 \begin{tikzpicture}
2791 \pingu[mitra=green]
2792 \end{tikzpicture}
2793 \end{tcblisting}
2794 \endshowkeyexplain
2795
2796 \subkeyexplain{hat}{mitra height}{length}{\pingu@x@mitra@height}
2797 \begin{tcblisting}{@}
2798 \begin{tikzpicture}
2799 \pingu[mitra,mitra height=1.5cm]
2800 \end{tikzpicture}
2801 \end{tcblisting}
2802 \endsubkeyexplain
2803
2804 {\def\pingu@color@mitra{<mitra-color>}
2805 \subkeyexplain{mitra}{mitra background}{color}{\pingu@color@mitra@background}
2806 \begin{tcblisting}{@}
2807 \begin{tikzpicture}
2808 \pingu[mitra, mitra background=green]
2809 \end{tikzpicture}
2810 \end{tcblisting}
2811 \endsubkeyexplain
2812
2813 \subkeyexplain{mitra}{mitra overset}{length}{\pingu@x@mitra@overset}
2814 \begin{tcblisting}{@}
2815 \begin{tikzpicture}
2816 \pingu[mitra,mitra overset=2.5mm]
2817 \end{tikzpicture}
2818 \end{tcblisting}
2819 \endsubkeyexplain
2820
2821 \subkeyexplain{mitra}{mitra lower angle}{angle}{\pingu@x@mitra@lowerangle}
2822 \begin{tcblisting}{@}
2823 \begin{tikzpicture}
2824 \pingu[mitra,mitra lower angle=140]
2825 \end{tikzpicture}
2826 \end{tcblisting}
2827 \endsubkeyexplain
2828
2829 \subkeyexplain{mitra}{mitra upper angle}{angle}{\pingu@x@mitra@upperangle}
2830 \begin{tcblisting}{@}
2831 \begin{tikzpicture}
2832 \pingu[mitra,mitra upper angle=-45]
2833 \end{tikzpicture}
2834 \end{tcblisting}
2835 \endsubkeyexplain
2836
2837 \subkeyexplain{mitra}{mitra lower band}{color}{\pingu@color@mitra@lower@band}
2838 \begin{tcblisting}{@}
2839 \begin{tikzpicture}
2840 \pingu[mitra,mitra lower band=green]
2841 \end{tikzpicture}
2842 \end{tcblisting}
2843 \endsubkeyexplain
2844
2845 \subkeyexplain{mitra}{mitra lower band height}{factor}{\pingu@x@mitra@lowerband@height}
2846 \begin{tcblisting}{@}
2847 \begin{tikzpicture}
2848 \pingu[mitra,mitra lower band height=.5]
2849 \end{tikzpicture}
2850 \end{tcblisting}
2851 \endsubkeyexplain
2852
2853 \def\pingu@color@mitra@lower@band{<mitra-lower-band-color>}
2854 \def\pingu@x@mitra@lowerband@height{<mitra-lower-band-height>}
2855 \subkeyexplain{mitra}{mitra upper band}{color}{\pingu@color@mitra@upper@band}
2856 \begin{tcblisting}{@}
2857 \begin{tikzpicture}
2858 \pingu[mitra,mitra upper band=green]
2859 \end{tikzpicture}
2860 \end{tcblisting}
2861 \endsubkeyexplain
2862
2863 \subkeyexplain{mitra}{mitra upper band height}{factor}{\pingu@x@mitra@upperband@height}
2864 \begin{tcblisting}{@}
2865 \begin{tikzpicture}
2866 \pingu[mitra,mitra upper band height=.5]
2867 \end{tikzpicture}
2868 \end{tcblisting}
2869 \endsubkeyexplain
2870
2871
2872 \subkeyexplain{mitra}{mitra center band}{color}{\pingu@color@mitra@center@band}
2873 \begin{tcblisting}{@}
2874 \begin{tikzpicture}
2875 \pingu[mitra,mitra center band=green]
2876 \end{tikzpicture}
2877 \end{tcblisting}
2878 \endsubkeyexplain
2879
2880 \subkeyexplain{mitra}{mitra center band width}{factor}{\pingu@x@mitra@centerband@width}
2881 \begin{tcblisting}{@}
2882 \begin{tikzpicture}
2883 \pingu[mitra,mitra center band width=.5]
2884 \end{tikzpicture}
2885 \end{tcblisting}
2886 \endsubkeyexplain
2887 }
2888
2889 \subkeyexplain{mitra}{mitra position}{angle>:(<x>,<y>)<scale}{\pingu@x@mitra@angle:(\pingu@x@mitra@xshift,\pingu@x@mitra@yshift)\{\pingu@x@mitra@scale\}}
2890 Currently, this is a very cumbersome command to change various mitra parameters at the same time:
2891 \begin{tcblisting}{@}
2892 \begin{tikzpicture}
2893 \pingu[mitra, mitra position={1:(0cm,-.09cm){1.33}}]
2894 \end{tikzpicture}
2895 \end{tcblisting}
2896 \endsubkeyexplain
2897
2898 \subsubsection{The witch hat}
2899 \showkeyexplain{witch hat}{color}{pingu@purple!40!black}
2900 \begin{tcblisting}{@}
2901 \begin{tikzpicture}
2902 \pingu[witch hat=green]
2903 \end{tikzpicture}
2904 \end{tcblisting}
2905 \endshowkeyexplain
2906
2907 {\def\pingu@color@witchhat{<witch-hat-color>}
2908 \subkeyexplain{witch hat}{witch hat ribbon}{color}{\pingu@color@witchhat@ribbon}
2909 \begin{tcblisting}{@}
2910 \begin{tikzpicture}
2911 \pingu[witch hat, witch hat ribbon=green]
2912 \end{tikzpicture}
2913 \end{tcblisting}
2914 \endsubkeyexplain}
2915
2916 {\def\pingu@color@witchhat{<witch-hat-color>}
2917 \subkeyexplain{witch hat}{witch hat base}{color}{\pingu@color@witchhat@base}
2918 \begin{tcblisting}{@}
2919 \begin{tikzpicture}
2920 \pingu[witch hat, witch hat base=green]
2921 \end{tikzpicture}
2922 \end{tcblisting}
2923 \endsubkeyexplain}
2924
2925 {\def\pingu@color@witchhat{<witch-hat-color>}
2926 \subkeyexplain{witch hat}{witch hat coronal}{color}{\pingu@color@witchhat@coronal}
2927 \begin{tcblisting}{@}
2928 \begin{tikzpicture}
2929 \pingu[witch hat, witch hat coronal=green]
2930 \end{tikzpicture}
2931 \end{tcblisting}
2932 \endsubkeyexplain}
2933
2934 {\def\pingu@color@witchhat{<witch-hat-color>}
2935 \subkeyexplain{witch hat}{witch hat band}{color}{\pingu@color@witchhat@band}
2936 \begin{tcblisting}{@}
2937 \begin{tikzpicture}
2938 \pingu[witch hat, witch hat band=green]
2939 \end{tikzpicture}
2940 \end{tcblisting}
2941 \endsubkeyexplain}
2942
2943 \subkeyexplain{witch hat}{witch hat position}{angle>:(<x>,<y>)<scale}{\pingu@x@witchhat@angle:(\pingu@x@witchhat@xshift,\pingu@x@witchhat@yshift)\{\pingu@x@witchhat@scale\}}
2944 Currently, this is a very cumbersome command to change various witch hat parameters at the same time:
2945 \begin{tcblisting}{@}
2946 \begin{tikzpicture}
2947 \pingu[witch hat, witch hat position={1:(0cm,-.09cm){1.33}}]
2948 \end{tikzpicture}
2949 \end{tcblisting}
2950 \endsubkeyexplain
2951
2952
2953 \subsubsection{The conical hat}
2954 \showkeyexplain{conical hat}{color}{pingu@yellow}
2955 \begin{tcblisting}{@}
2956 \begin{tikzpicture}
2957 \pingu[conical hat=green]
2958 \end{tikzpicture}
2959 \end{tcblisting}
2960 \endshowkeyexplain
2961
2962 \subkeyexplain{conical hat}{conical hat rounding}{length}{\pingu@x@conicalhat@rounding}
2963 \begin{tcblisting}{@}
2964 \begin{tikzpicture}
2965 \pingu[conical hat,
2966 conical hat rounding=.25pt]
2967 \end{tikzpicture}
2968 \end{tcblisting}
2969 \endsubkeyexplain
2970
2971 {
2972 \def\pingu@color@conicalhat{<canonical-hat-color>}
2973 \subkeyexplain{conical hat}{conical hat shade}{length}{\pingu@x@conicalhat@shade}
2974 \begin{tcblisting}{@}
2975 \begin{tikzpicture}
2976 \pingu[conical hat, conical hat shade=green]
2977 \end{tikzpicture}
2978 \end{tcblisting}
2979 \endsubkeyexplain
2980 }
2981
2982 \subkeyexplain{conical hat height}{conical hat height}{length}{\pingu@x@conicalhat@height}
2983 \begin{tcblisting}{@}
2984 \begin{tikzpicture}
2985 \pingu[conical hat, conical hat height=10mm]
2986 \end{tikzpicture}
2987 \end{tcblisting}
2988 \endsubkeyexplain
2989
2990 \subkeyexplain{conical hat width}{conical hat width}{length}{\pingu@x@conicalhat@width}
2991 \begin{tcblisting}{@}
2992 \begin{tikzpicture}
2993 \pingu[conical hat, conical hat width=3cm]
2994 \end{tikzpicture}
2995 \end{tcblisting}
2996 \endsubkeyexplain
2997
2998 \subkeyexplain{conical hat}{conical hat position}{angle>:(<x>,<y>)<scale}{\pingu@x@conicalhat@angle:(\pingu@x@conicalhat@xshift,\pingu@x@conicalhat@yshift)\{\pingu@x@conicalhat@scale\}}
2999 Currently, this is a very cumbersome command to change various conical hat parameters at the same time:
3000 \begin{tcblisting}{@}
3001 \begin{tikzpicture}
3002 \pingu[conical hat,
3003 conical hat position={1:(-.1cm,-.275cm){1.33}}]
3004 \end{tikzpicture}
3005 \end{tcblisting}
3006 \endsubkeyexplain
3007
3008 \subsubsection{The cap}
3009 \showkeyexplain{cap}{color}{pingu@bronze}
3010 \begin{tcblisting}{@}
3011 \begin{tikzpicture}
3012 \pingu[cap=green]
3013 \end{tikzpicture}
3014 \end{tcblisting}
3015 \endshowkeyexplain
3016
3017 \subkeyexplain{cap}{cap padding}{length}{\pingu@x@cap@padding}
3018 \begin{tcblisting}{@}
3019 \begin{tikzpicture}
3020 \pingu[cap, cap padding=4mm]
3021 \end{tikzpicture}
3022 \end{tcblisting}
3023 \endsubkeyexplain
3024
3025
3026 \subkeyexplain{cap}{cap extra height}{length}{\pingu@x@cap@height}
3027 \begin{tcblisting}{@}
3028 \begin{tikzpicture}
3029 \pingu[cap, cap extra height=2mm]
3030 \end{tikzpicture}
3031 \end{tcblisting}
3032 \endsubkeyexplain
3033
3034 \subsubsection{The construction helmet}
3035 \showkeyexplain{construction helmet}{color}{pingu@yellow}
3036 \begin{tcblisting}{@}
3037 \begin{tikzpicture}
3038 \pingu[construction helmet=green]
3039 \end{tikzpicture}
3040 \end{tcblisting}
3041 \endshowkeyexplain
3042
3043 \subkeyexplain{construction helmet}{construction helmet padding}{length}{\pingu@x@constructionhelmet@padding}
3044 \begin{tcblisting}{@}
3045 \begin{tikzpicture}
3046 \pingu[construction helmet,
3047 construction helmet padding=4mm]
3048 \end{tikzpicture}
3049 \end{tcblisting}
3050 \endsubkeyexplain
3051
3052 \subkeyexplain{construction helmet}{construction helmet extra height}{length}{\pingu@x@constructionhelmet@height}
3053 \begin{tcblisting}{@}
3054 \begin{tikzpicture}
3055 \pingu[construction helmet,
3056 construction helmet extra height=2mm]
3057 \end{tikzpicture}
3058 \end{tcblisting}
3059 \endsubkeyexplain
3060
3061 \subkeyexplain{construction helmet}{construction helmet position}{angle>:(<x>,<y>)<scale}{\pingu@x@constructionhelmet@angle:(\pingu@x@constructionhelmet@xshift,\pingu@x@constructionhelmet@yshift)\{\pingu@x@constructionhelmet@scale\}}
3062 Currently, this is a very cumbersome command to change various construction helmet parameters at the same time:
3063 \begin{tcblisting}{@}
3064 \begin{tikzpicture}
3065 \pingu[construction helmet,
3066 construction helmet position={1:(-.1cm,-.275cm){1.33}}]
3067 \end{tikzpicture}
3068 \end{tcblisting}
3069 \endsubkeyexplain
3070
3071
3072 \subsubsection{The detective cap}
3073 \showkeyexplain{detective cap}{color}{pingu@bronze!60!lightgray!95!green}
3074 \begin{tcblisting}{@}
3075 \begin{tikzpicture}
3076 \pingu[detective cap=green]
3077 \end{tikzpicture}
3078 \end{tcblisting}
3079 \endshowkeyexplain
3080
3081 \subkeyexplain{detective cap}{detective cap padding}{length}{\pingu@x@detectivecap@padding}
3082 \begin{tcblisting}{@}
3083 \begin{tikzpicture}
3084 \pingu[detective cap,
3085 detective cap padding=4mm]
3086 \end{tikzpicture}
3087 \end{tcblisting}
3088 \endsubkeyexplain
3089
3090 \subkeyexplain{detective cap}{detective cap position}{angle>:(<x>,<y>)<scale}{\pingu@x@detectivecap@angle:(\pingu@x@detectivecap@xshift,\pingu@x@detectivecap@yshift)\{\pingu@x@detectivecap@scale\}}
3091 Currently, this is a very cumbersome command to change various detective cap parameters at the same time:
3092 \begin{tcblisting}{@}
3093 \begin{tikzpicture}
3094 \pingu[detective cap,
3095 detective cap position={1:(-.1cm,-.275cm){1.33}}]
3096 \end{tikzpicture}
3097 \end{tcblisting}
3098 \endsubkeyexplain
3099
3100 \subsubsection{The drums}
3101
3102 \showkeyexplain{drums}{color}{brown!10!pingu@white}
3103 \begin{tcblisting}{@}
3104 \begin{tikzpicture}
3105 \pingu[drums=green]
3106 \end{tikzpicture}
3107 \end{tcblisting}
3108 \endshowkeyexplain
3109
3110 {\def\pingu@color@drums{<drums-color>}
3111 \subkeyexplain{drums}{drums center band}{color}{\pingu@color@drums@band@center}
3112 \begin{tcblisting}{@}
3113 \begin{tikzpicture}
3114 \pingu[drums,drums center band=green]
3115 \end{tikzpicture}
3116 \end{tcblisting}
3117 \endsubkeyexplain}
3118
3119 {\def\pingu@color@drums{<drums-color>}
3120 \subkeyexplain{drums}{drums center side}{color}{\pingu@color@drums@side@center}
3121 \begin{tcblisting}{@}
3122 \begin{tikzpicture}
3123 \pingu[drums,drums center side=green]
3124 \end{tikzpicture}
3125 \end{tcblisting}
3126 \endsubkeyexplain}
3127
3128 {\def\pingu@color@drums{<drums-color>}
3129 \subkeyexplain{drums}{drums center text}{text}{\pingu@drums@text}
3130 \begin{tcblisting}{@}
3131 \begin{tikzpicture}
3132 \pingu[drums,drums center text=Foo!]
3133 \end{tikzpicture}
3134 \end{tcblisting}
3135 \endsubkeyexplain}
3136
3137 {\def\pingu@color@drums{<drums-color>}
3138 \subkeyexplain{drums}{drums left base}{color}{\pingu@color@drums@base@left}
3139 \begin{tcblisting}{@}
3140 \begin{tikzpicture}
3141 \pingu[drums,drums left base=green]
3142 \end{tikzpicture}
3143 \end{tcblisting}
3144 \endsubkeyexplain}
3145
3146 {\def\pingu@color@drums{<drums-color>}
3147 \subkeyexplain{drums}{drums left band}{color}{\pingu@color@drums@band@left}
3148 \begin{tcblisting}{@}
3149 \begin{tikzpicture}
3150 \pingu[drums,drums left band=green]
3151 \end{tikzpicture}
3152 \end{tcblisting}
3153 \endsubkeyexplain}
3154
3155 {\def\pingu@color@drums{<drums-color>}
3156 \subkeyexplain{drums}{drums left side}{color}{\pingu@color@drums@side@left}
3157 \begin{tcblisting}{@}
3158 \begin{tikzpicture}
3159 \pingu[drums,drums left side=green]
3160 \end{tikzpicture}
3161 \end{tcblisting}
3162 \endsubkeyexplain}
3163
3164
3165 {\def\pingu@color@drums{<drums-color>}
3166 \subkeyexplain{drums}{drums left color}{color}{\pingu@color@drums@left}
3167 \begin{tcblisting}{@}
3168 \begin{tikzpicture}
3169 \pingu[drums,drums left color=green]
3170 \end{tikzpicture}
3171 \end{tcblisting}
3172 \endsubkeyexplain}
3173
3174 {\def\pingu@color@drums{<drums-color>}
3175 \subkeyexplain{drums}{drums right base}{color}{\pingu@color@drums@base@right}
3176 \begin{tcblisting}{@}
3177 \begin{tikzpicture}
3178 \pingu[drums,drums right base=green]
3179 \end{tikzpicture}
3180 \end{tcblisting}
3181 \endsubkeyexplain}
3182
3183 {\def\pingu@color@drums{<drums-color>}
3184 \subkeyexplain{drums}{drums right band}{color}{\pingu@color@drums@band@right}
3185 \begin{tcblisting}{@}
3186 \begin{tikzpicture}
3187 \pingu[drums,drums right band=green]
3188 \end{tikzpicture}
3189 \end{tcblisting}
3190 \endsubkeyexplain}
3191
3192 {\def\pingu@color@drums{<drums-color>}
3193 \subkeyexplain{drums}{drums right side}{color}{\pingu@color@drums@side@right}
3194 \begin{tcblisting}{@}
3195 \begin{tikzpicture}
3196 \pingu[drums,drums right side=green]
3197 \end{tikzpicture}
3198 \end{tcblisting}
3199 \endsubkeyexplain}
3200
3201
3202 {\def\pingu@color@drums{<drums-color>}
3203 \subkeyexplain{drums}{drums right color}{color}{\pingu@color@drums@right}
3204 \begin{tcblisting}{@}
3205 \begin{tikzpicture}
3206 \pingu[drums,drums right color=green]
3207 \end{tikzpicture}
3208 \end{tcblisting}
3209 \endsubkeyexplain}
3210
3211 \subsubsection{The crown}
3212 \showkeyexplain{crown}{color}{pingu@yellow}
3213 \begin{tcblisting}{@}
3214 \begin{tikzpicture}
3215 \pingu[crown=green]
3216 \end{tikzpicture}
3217 \end{tcblisting}
3218 \endshowkeyexplain
3219
3220 \subkeyexplain{crown}{crown 3d}{true/false}{\if@pingu@x@crown@ddd@ true\else false\fi}
3221 Toggle the 3d-Design of the crown.
3222 \begin{tcblisting}{@}
3223 \begin{tikzpicture}
3224 \pingu[crown, crown 3d=false]
3225 \end{tikzpicture}
3226 \end{tcblisting}
3227 \endsubkeyexplain
3228
3229 {\def\pingu@color@crown{<crown-color>}
3230 \subkeyexplain{crown}{crown back}{color}{\pingu@color@crown@back}
3231 Change the back color of the crown:
3232 \begin{tcblisting}{@}
3233 \begin{tikzpicture}
3234 \pingu[crown, crown back=green]
3235 \end{tikzpicture}
3236 \end{tcblisting}
3237 \endsubkeyexplain}
3238
3239 \subkeyexplain{crown}{crown front bend}{angle}{\pingu@x@crown@f@bend}
3240 Change the front lower bend of the crown:
3241 \begin{tcblisting}{@}
3242 \begin{tikzpicture}
3243 \pingu[crown, crown front bend=52]
3244 \end{tikzpicture}
3245 \end{tcblisting}
3246 \endsubkeyexplain
3247
3248 \subkeyexplain{crown}{crown back bend}{angle}{\pingu@x@crown@b@bend}
3249 Change the back lower bend of the crown:
3250 \begin{tcblisting}{@}
3251 \begin{tikzpicture}
3252 \pingu[crown, crown back bend=46]
3253 \end{tikzpicture}
3254 \end{tcblisting}
3255 \endsubkeyexplain
3256
3257 \subkeyexplain{crown}{crown gem shade}{true/false}{\if@pingu@x@crown@shade@ true\else false\fi}
3258 Toggle the gem shading of the crown.
3259 \begin{tcblisting}{@}
3260 \begin{tikzpicture}
3261 \pingu[crown, crown gem shade=false]
3262 \end{tikzpicture}
3263 \end{tcblisting}
3264 \endsubkeyexplain
3265
3266 \subkeyexplain{crown}{crown gem colors}{a><b><c><d><e><f}{\{\pingu@color@crown@gem@a\}\{\pingu@color@crown@gem@b\}\ldots}
3267 Change the color of all the seven gems of the crown:
3268 \begin{tcblisting}{@}
3269 \begin{tikzpicture}
3270 \pingu[crown, crown gem colors={green}{green}
3271 {green}{white}{green}{green}{green}]
3272 \end{tikzpicture}
3273 \end{tcblisting}
3274 \endsubkeyexplain
3275
3276 {\def\pingu@color@crown{<crown-color>}
3277 \subkeyexplain{crown}{crown gem ring}{color}{\pingu@color@crown@gem@ring}
3278 Change the color of the rings around the crown:
3279 \begin{tcblisting}{@}
3280 \begin{tikzpicture}
3281 \pingu[crown, crown gem ring=green]
3282 \end{tikzpicture}
3283 \end{tcblisting}
3284 \endsubkeyexplain}
3285
3286 \subkeyexplain{crown}{crown position}{angle>:(<x>,<y>)<scale}{\pingu@x@crown@angle:(\pingu@x@crown@xshift,\pingu@x@crown@yshift)\{\pingu@x@crown@scale\}}
3287 Currently, this is a very cumbersome command to change various crown parameters at the same time:
3288 \begin{tcblisting}{@}
3289 \begin{tikzpicture}
3290 \pingu[crown, eyes wink,
3291 crown position={1:(-.1cm,-.275cm){1.33}}]
3292 \end{tikzpicture}
3293 \end{tcblisting}
3294 \endsubkeyexplain
3295
3296 \keyexplain{crown 2d}{color}{pingu@yellow}
3297 Enables the \keyref{crown} with the given color and disables \keyref{crown 3d}:
3298 \begin{tcblisting}{@}
3299 \begin{tikzpicture}
3300 \pingu[crown 2d=green]
3301 \end{tikzpicture}
3302 \end{tcblisting}
3303 \endkeyexplain
3304
3305 \subsubsection{The princess crown}
3306 Similar to \keyref{crown} but smaller.
3307
3308 \showkeyexplain{princess crown}{color}{pingu@yellow}
3309 Enable the smaller crown with a specific color:
3310 \begin{tcblisting}{@}
3311 \begin{tikzpicture}
3312 \pingu[princess crown=green]
3313 \end{tikzpicture}
3314 \end{tcblisting}
3315 \endshowkeyexplain
3316
3317 \subkeyexplain{princess crown}{princess crown 3d}{true/false}{\if@pingu@x@princesscrown@ddd@ true\else false\fi}
3318 Toggle the 3d-Design of the smaller crown.
3319 \begin{tcblisting}{@}
3320 \begin{tikzpicture}
3321 \pingu[princess crown, princess crown 3d=false]
3322 \end{tikzpicture}
3323 \end{tcblisting}
3324 \endsubkeyexplain
3325
3326 {\def\pingu@color@princesscrown{<princess-crown-color>}
3327 \subkeyexplain{princess crown}{princess crown back}{color}{\pingu@color@princesscrown@back}
3328 Change the back color of the smaller crown:
3329 \begin{tcblisting}{@}
3330 \begin{tikzpicture}
3331 \pingu[princess crown, princess crown back=green]
3332 \end{tikzpicture}
3333 \end{tcblisting}
3334 \endsubkeyexplain}
3335
3336 \subkeyexplain{princess crown}{princess crown front bend}{angle}{\pingu@x@princesscrown@f@bend}
3337 Change the front lower bend of the smaller crown:
3338 \begin{tcblisting}{@}
3339 \begin{tikzpicture}
3340 \pingu[princess crown, princess crown front bend=52]
3341 \end{tikzpicture}
3342 \end{tcblisting}
3343 \endsubkeyexplain
3344
3345 \subkeyexplain{princess crown}{princess crown back bend}{angle}{\pingu@x@princesscrown@b@bend}
3346 Change the back lower bend of the smaller crown:
3347 \begin{tcblisting}{@}
3348 \begin{tikzpicture}
3349 \pingu[princess crown, princess crown back bend=46]
3350 \end{tikzpicture}
3351 \end{tcblisting}
3352 \endsubkeyexplain
3353
3354 \subkeyexplain{princess crown}{princess crown gem shade}{true/false}{\if@pingu@x@princesscrown@shade@ true\else false\fi}
3355 Toggle the gem shading of the smaller crown.
3356 \begin{tcblisting}{@}
3357 \begin{tikzpicture}
3358 \pingu[princess crown,
3359 princess crown gem shade=false]
3360 \end{tikzpicture}
3361 \end{tcblisting}
3362 \endsubkeyexplain
3363
3364 \subkeyexplain{princess crown}{princess crown bobbles}{true/false}{\if@pingu@x@princesscrown@bobbles@ true\else false\fi}
3365 Toggle the bobbles of the smaller crown.
3366 \begin{tcblisting}{@}
3367 \begin{tikzpicture}
3368 \pingu[princess crown, princess crown bobbles=false]
3369 \end{tikzpicture}
3370 \end{tcblisting}
3371 \endsubkeyexplain
3372
3373 \subkeyexplain{princess crown}{princess crown gem colors}{a><b><c><d}{\{\pingu@color@princesscrown@gem@a\}\{\pingu@color@princesscrown@gem@b\}\ldots}
3374 Change the color of all the seven gems of the smaller crown:
3375 \begin{tcblisting}{@}
3376 \begin{tikzpicture}
3377 \pingu[princess crown,
3378 princess crown gem colors={green}{green}{white}
3379 {green}{green}]
3380 \end{tikzpicture}
3381 \end{tcblisting}
3382 \endsubkeyexplain
3383
3384 {\def\pingu@color@princesscrown{<princess-crown-color>}
3385 \subkeyexplain{princess crown}{princess crown gem ring}{color}{\pingu@color@princesscrown@gem@ring}
3386 Change the color of the rings around the small crown:
3387 \begin{tcblisting}{@}
3388 \begin{tikzpicture}
3389 \pingu[princess crown,
3390 princess crown gem ring=green]
3391 \end{tikzpicture}
3392 \end{tcblisting}
3393 \endsubkeyexplain}
3394
3395 \subkeyexplain{princess crown}{princess crown position}{angle>:(<x>,<y>)<scale}{\pingu@x@princesscrown@angle:(\pingu@x@princesscrown@xshift,\pingu@x@princesscrown@yshift)\{\pingu@x@princesscrown@scale\}}
3396 Currently, this is a very cumbersome command to change various princess crown parameters at the same time:
3397 \begin{tcblisting}{@}
3398 \begin{tikzpicture}
3399 \pingu[princess crown, eyes wink,
3400 princess crown position={1:(-.19cm,-.2cm){2.2}}]
3401 \end{tikzpicture}
3402 \end{tcblisting}
3403 \endsubkeyexplain
3404
3405 \keyexplain{princess crown 2d}{color}{pingu@yellow}
3406 Enables the \keyref{princess crown} with the given color and disables \keyref{princess crown 3d}:
3407 \begin{tcblisting}{@}
3408 \begin{tikzpicture}
3409 \pingu[princess crown 2d=green]
3410 \end{tikzpicture}
3411 \end{tcblisting}
3412 \endkeyexplain
3413
3414 \subsubsection{The cake hat}
3415
3416 \showkeyexplain{cake-hat}{color}{pingu@white!92!<pingu-cake-hat-top>}
3417 Enable a cake hat with a specific color:
3418 \begin{tcblisting}{@}
3419 \begin{tikzpicture}
3420 \pingu[cake-hat=green]
3421 \end{tikzpicture}
3422 \end{tcblisting}
3423 \endshowkeyexplain
3424
3425 \subkeyexplain{cake-hat}{cake-hat top}{color}{\pingu@color@cakehat@top}
3426 Change the color of the cake hat top:
3427 \begin{tcblisting}{@}
3428 \begin{tikzpicture}
3429 \pingu[cake-hat, cake-hat top=green]
3430 \end{tikzpicture}
3431 \end{tcblisting}
3432 \endsubkeyexplain
3433
3434 \subkeyexplain{cake-hat}{cake-hat shade}{color}{\pingu@color@cakehat@shade}
3435 Change the color of the heavily transparent cake hat shading:
3436 \begin{tcblisting}{@}
3437 \begin{tikzpicture}
3438 \pingu[cake-hat, cake-hat shade=green]
3439 \end{tikzpicture}
3440 \end{tcblisting}
3441 \endsubkeyexplain
3442
3443 \subkeyexplain{cake-hat}{cake-hat candle}{color}{\pingu@color@cakehat@candle}
3444 \begin{tcblisting}{@}
3445 \begin{tikzpicture}
3446 \pingu[cake-hat, cake-hat candle=green]
3447 \end{tikzpicture}
3448 \end{tcblisting}
3449 \endsubkeyexplain
3450
3451 \subkeyexplain{cake-hat}{cake-hat candle fire}{color}{\pingu@color@cakehat@candle@fire}
3452 Change the color of the cake hats' candle most outer fire:
3453 \begin{tcblisting}{@}
3454 \begin{tikzpicture}
3455 \pingu[cake-hat, cake-hat candle fire=green]
3456 \end{tikzpicture}
3457 \end{tcblisting}
3458 \endsubkeyexplain
3459
3460 {\def\pingu@color@cakehat@candle@fire{<cake-hat-candle-fire>}
3461 \subkeyexplain{cake-hat}{cake-hat candle fire 2}{color}{\pingu@color@cakehat@candle@fire@b}
3462 Change the color of the cake hats' candle middle fire:
3463 \begin{tcblisting}{@}
3464 \begin{tikzpicture}
3465 \pingu[cake-hat, cake-hat candle fire 2=green]
3466 \end{tikzpicture}
3467 \end{tcblisting}
3468 \endsubkeyexplain}
3469
3470 {\def\pingu@color@cakehat@candle@fire{<cake-hat-candle-fire>}
3471 \subkeyexplain{cake-hat}{cake-hat candle fire 3}{color}{\pingu@color@cakehat@candle@fire@b}
3472 Change the color of the cake hats' candle inner fire:
3473 \begin{tcblisting}{@}
3474 \begin{tikzpicture}
3475 \pingu[cake-hat, cake-hat candle fire 3=green]
3476 \end{tikzpicture}
3477 \end{tcblisting}
3478 \endsubkeyexplain}
3479
3480 \subkeyexplain{cake-hat}{cake-hat candle wick}{color}{\pingu@color@cakehat@candle@wick}
3481 \begin{tcblisting}{@}
3482 \begin{tikzpicture}
3483 \pingu[cake-hat, cake-hat candle wick=green]
3484 \end{tikzpicture}
3485 \end{tcblisting}
3486 \endsubkeyexplain
3487
3488 \subkeyexplain{cake-hat}{cake-hat candle shade}{color}{\pingu@color@cakehat@candle@shade}
3489 \begin{tcblisting}{@}
3490 \begin{tikzpicture}
3491 \pingu[cake-hat, cake-hat candle shade=green]
3492 \end{tikzpicture}
3493 \end{tcblisting}
3494 \endsubkeyexplain
3495
3496 \subkeyexplain{cake-hat}{cake-hat candle back}{color}{\pingu@color@cakehat@candle@back}
3497 \begin{tcblisting}{@}
3498 \begin{tikzpicture}
3499 \pingu[cake-hat, cake-hat candle back=green]
3500 \end{tikzpicture}
3501 \end{tcblisting}
3502 \endsubkeyexplain
3503
3504 {\def\pingu@color@cakehat{<cake-hat-color>}
3505 \subkeyexplain{cake-hat}{cake-hat outline}{color}{\pingu@color@cakehat@outline}
3506 Change the color of the cake hats' outline (width by \keyref{cake-hat outline width}):
3507 \begin{tcblisting}{@}
3508 \begin{tikzpicture}
3509 \pingu[cake-hat, cake-hat outline=green]
3510 \end{tikzpicture}
3511 \end{tcblisting}
3512 \endsubkeyexplain}
3513
3514 \subkeyexplain{cake-hat}{cake-hat outline width}{length}{\pingu@x@cakehat@outline@w}
3515 Change the width of the cake hats' outline (color by \keyref{cake-hat outline}):
3516 \begin{tcblisting}{@}
3517 \begin{tikzpicture}
3518 \pingu[cake-hat, cake-hat outline width=1mm]
3519 \end{tikzpicture}
3520 \end{tcblisting}
3521 \endsubkeyexplain
3522
3523 \subkeyexplain{cake-hat}{cake-hat position}{angle>:(<x>,<y>)<scale}{\pingu@x@cakehat@angle:(\pingu@x@cakehat@xshift,\pingu@x@cakehat@yshift)\{\pingu@x@cakehat@scale\}}
3524 Currently, this is a very cumbersome command to change various cake hat parameters at the same time:
3525 \begin{tcblisting}{@}
3526 \begin{tikzpicture}
3527 \pingu[cake-hat,
3528 cake-hat position={1:(-.085cm,-.2cm){1.275}}]
3529 \end{tikzpicture}
3530 \end{tcblisting}
3531 \endsubkeyexplain
3532
3533 \subsubsection{The pumpkin hat}
3534
3535 \showkeyexplain{pumpkin-hat}{color}{pingu@bronze!97!white}
3536 Enable a pumpkin hat with a specific color:
3537 \begin{tcblisting}{@}
3538 \begin{tikzpicture}
3539 \pingu[pumpkin-hat=green]
3540 \end{tikzpicture}
3541 \end{tcblisting}
3542 \endshowkeyexplain
3543
3544 {\def\pingu@color@pumpkinhat{<pumpkinhat-color>}
3545 \subkeyexplain{pumpkin-hat}{pumpkin-hat stalk}{color}{\pingu@color@pumpkinhat@stalk}
3546 \begin{tcblisting}{@}
3547 \begin{tikzpicture}
3548 \pingu[pumpkin-hat,pumpkin-hat stalk=teal]
3549 \end{tikzpicture}
3550 \end{tcblisting}
3551 \endsubkeyexplain}
3552
3553 {\subkeyexplain{pumpkin-hat}{pumpkin-hat stalk top}{color}{<pumpkinhat-stalk-color>!95!pingu@black}
3554 \begin{tcblisting}{@}
3555 \begin{tikzpicture}
3556 \pingu[pumpkin-hat,pumpkin-hat stalk top=teal]
3557 \end{tikzpicture}
3558 \end{tcblisting}
3559 \endsubkeyexplain}
3560
3561 \subkeyexplain{pumpkin-hat}{pumpkin-hat stripe a}{color}{\pingu@color@pumpkinhat@stripe@a}
3562 Change the color of the first stripe. By default the other stripes share this ones color:
3563 \begin{tcblisting}{@}
3564 \begin{tikzpicture}
3565 \pingu[pumpkin-hat,pumpkin-hat stripe a=green]
3566 \end{tikzpicture}
3567 \end{tcblisting}
3568 \endsubkeyexplain
3569
3570 \subkeyexplain{pumpkin-hat}{pumpkin-hat stripe b}{color}{\pingu@color@pumpkinhat@stripe@b}
3571 Change the color of the second stripe. By default the third stripe share this ones color:
3572 \begin{tcblisting}{@}
3573 \begin{tikzpicture}
3574 \pingu[pumpkin-hat,pumpkin-hat stripe b=green]
3575 \end{tikzpicture}
3576 \end{tcblisting}
3577 \endsubkeyexplain
3578
3579 \subkeyexplain{pumpkin-hat}{pumpkin-hat stripe c}{color}{\pingu@color@pumpkinhat@stripe@c}
3580 Change the color of the third stripe:
3581 \begin{tcblisting}{@}
3582 \begin{tikzpicture}
3583 \pingu[pumpkin-hat,pumpkin-hat stripe c=green]
3584 \end{tikzpicture}
3585 \end{tcblisting}
3586 \endsubkeyexplain
3587
3588 \subkeyexplain{pumpkin-hat}{pumpkin-hat outline}{color}{\pingu@color@pumpkinhat@outline}
3589 \begin{tcblisting}{@}
3590 \begin{tikzpicture}
3591 \pingu[pumpkin-hat,pumpkin-hat outline=green]
3592 \end{tikzpicture}
3593 \end{tcblisting}
3594 \endsubkeyexplain
3595
3596 \subkeyexplain{pumpkin-hat}{pumpkin-hat outline width}{length}{\pingu@x@pumpkinhat@outline@w}
3597 \begin{tcblisting}{@}
3598 \begin{tikzpicture}
3599 \pingu[pumpkin-hat,pumpkin-hat outline width=3pt]
3600 \end{tikzpicture}
3601 \end{tcblisting}
3602 \endsubkeyexplain
3603
3604 \subkeyexplain{pumpkin-hat}{pumpkin-hat position}{angle>:(<x>,<y>)<scale}{\pingu@x@pumpkinhat@angle:(\pingu@x@pumpkinhat@xshift,\pingu@x@pumpkinhat@yshift)\{\pingu@x@pumpkinhat@scale\}}
3605 Currently, this is a very cumbersome command to change various pumpkin hat parameters at the same time:
3606 \begin{tcblisting}{@}
3607 \begin{tikzpicture}
3608 \pingu[pumpkin-hat,
3609 pumpkin-hat position={1:(-.085cm,-.15cm){1.275}}]
3610 \end{tikzpicture}
3611 \end{tcblisting}
3612 \endsubkeyexplain
3613
3614 \subsubsection{The jack o lantern}
3615
3616 \showkeyexplain{jack o lantern}{color}{pingu@bronze!97!pingu@black}
3617 \begin{tcblisting}{@}
3618 \begin{tikzpicture}
3619 \pingu[jack o lantern=green]
3620 \end{tikzpicture}
3621 \end{tcblisting}
3622 \endshowkeyexplain
3623
3624 {\def\pingu@color@jackolantern{<jackolantern-color>}
3625 \subkeyexplain{jack o lantern}{jack o lantern stalk}{color}{\pingu@color@jackolantern@stalk}
3626 \begin{tcblisting}{@}
3627 \begin{tikzpicture}
3628 \pingu[jack o lantern,jack o lantern stalk=teal]
3629 \end{tikzpicture}
3630 \end{tcblisting}
3631 \endsubkeyexplain}
3632
3633 {\subkeyexplain{jack o lantern}{jack o lantern stalk top}{color}{<jackolantern-stalk-color>!95!pingu@black}
3634 \begin{tcblisting}{@}
3635 \begin{tikzpicture}
3636 \pingu[jack o lantern,jack o lantern stalk top=teal]
3637 \end{tikzpicture}
3638 \end{tcblisting}
3639 \endsubkeyexplain}
3640
3641 \subkeyexplain{jack o lantern}{jack o lantern stripe a}{color}{\pingu@color@jackolantern@stripe@a}
3642 Change the color of the first stripe. By default the other stripes share this ones color:
3643 \begin{tcblisting}{@}
3644 \begin{tikzpicture}
3645 \pingu[jack o lantern,jack o lantern stripe a=green]
3646 \end{tikzpicture}
3647 \end{tcblisting}
3648 \endsubkeyexplain
3649
3650 \subkeyexplain{jack o lantern}{jack o lantern stripe b}{color}{\pingu@color@jackolantern@stripe@b}
3651 Change the color of the second stripe. By default the third stripe share this ones color:
3652 \begin{tcblisting}{@}
3653 \begin{tikzpicture}
3654 \pingu[jack o lantern,jack o lantern stripe b=green]
3655 \end{tikzpicture}
3656 \end{tcblisting}
3657 \endsubkeyexplain
3658
3659 \subkeyexplain{jack o lantern}{jack o lantern stripe c}{color}{\pingu@color@jackolantern@stripe@c}
3660 Change the color of the third stripe:
3661 \begin{tcblisting}{@}
3662 \begin{tikzpicture}
3663 \pingu[jack o lantern,jack o lantern stripe c=green]
3664 \end{tikzpicture}
3665 \end{tcblisting}
3666 \endsubkeyexplain
3667
3668 \subkeyexplain{jack o lantern}{jack o lantern back stripe a}{color}{\pingu@color@jackolantern@backstripe@a}
3669 Change the color of the first stripe. By default the other stripes share this ones color:
3670 \begin{tcblisting}{@}
3671 \begin{tikzpicture}
3672 \pingu[jack o lantern,jack o lantern back stripe a=green]
3673 \end{tikzpicture}
3674 \end{tcblisting}
3675 \endsubkeyexplain
3676
3677 \subkeyexplain{jack o lantern}{jack o lantern back stripe b}{color}{\pingu@color@jackolantern@backstripe@b}
3678 Change the color of the second stripe. By default the third stripe share this ones color:
3679 \begin{tcblisting}{@}
3680 \begin{tikzpicture}
3681 \pingu[jack o lantern,jack o lantern back stripe b=green]
3682 \end{tikzpicture}
3683 \end{tcblisting}
3684 \endsubkeyexplain
3685
3686 \subkeyexplain{jack o lantern}{jack o lantern back stripe c}{color}{\pingu@color@jackolantern@backstripe@c}
3687 Change the color of the third stripe:
3688 \begin{tcblisting}{@}
3689 \begin{tikzpicture}
3690 \pingu[jack o lantern,jack o lantern back stripe c=green]
3691 \end{tikzpicture}
3692 \end{tcblisting}
3693 \endsubkeyexplain
3694
3695 {\def\pingu@color@jackolantern{<jackolantern-color>}
3696 \subkeyexplain{jack o lantern}{jack o lantern background}{color}{\pingu@color@jackolantern@background}
3697 \begin{tcblisting}{@}
3698 \begin{tikzpicture}
3699 \pingu[jack o lantern,jack o lantern background=green]
3700 \end{tikzpicture}
3701 \end{tcblisting}
3702 \endsubkeyexplain}
3703
3704 \subkeyexplain{jack o lantern}{jack o lantern outline}{color}{\pingu@color@jackolantern@outline}
3705 \begin{tcblisting}{@}
3706 \begin{tikzpicture}
3707 \pingu[jack o lantern,jack o lantern outline=green]
3708 \end{tikzpicture}
3709 \end{tcblisting}
3710 \endsubkeyexplain
3711
3712 \subkeyexplain{jack o lantern}{jack o lantern outline width}{length}{\pingu@x@jackolantern@outline@w}
3713 \begin{tcblisting}{@}
3714 \begin{tikzpicture}
3715 \pingu[jack o lantern,jack o lantern outline width=3pt]
3716 \end{tikzpicture}
3717 \end{tcblisting}
3718 \endsubkeyexplain
3719
3720 \subkeyexplain{jack o lantern}{jack o lantern width}{length}{\pingu@x@jackolantern@width}
3721 \begin{tcblisting}{@}
3722 \begin{tikzpicture}
3723 \pingu[jack o lantern,jack o lantern width=8mm]
3724 \end{tikzpicture}
3725 \end{tcblisting}
3726 \endsubkeyexplain
3727
3728 \subkeyexplain{jack o lantern}{jack o lantern height}{length}{\pingu@x@jackolantern@height}
3729 \begin{tcblisting}{@}
3730 \begin{tikzpicture}
3731 \pingu[jack o lantern,jack o lantern height=8mm]
3732 \end{tikzpicture}
3733 \end{tcblisting}
3734 \endsubkeyexplain
3735
3736 \subkeyexplain{jack o lantern}{jack o lantern position}{angle>:(<x>,<y>)<scale}{\pingu@x@jackolantern@angle:(\pingu@x@jackolantern@xshift,\pingu@x@jackolantern@yshift)\{\pingu@x@jackolantern@scale\}}
3737 Currently, this is a very cumbersome command to change various pumpkin hat parameters at the same time:
3738 \begin{tcblisting}{@}
3739 \begin{tikzpicture}
3740 \pingu[jack o lantern,
3741 jack o lantern position={1:(-.085cm,-.15cm){1.275}}]
3742 \end{tikzpicture}
3743 \end{tcblisting}
3744 \endsubkeyexplain
3745
3746 \showkeyexplain{jack o lantern helmet}{color}{pingu@bronze!97!pingu@black}
3747 Uses \keyref{jack o lantern} and some of its keys:
3748 \begin{tcblisting}{@}
3749 \begin{tikzpicture}
3750 \pingu[jack o lantern helmet=green]
3751 \end{tikzpicture}
3752 \end{tcblisting}
3753 \endshowkeyexplain
3754
3755 \subsubsection{The bee}
3756 \showkeyexplain{bee}{color}{pingu@bee@base}
3757 \begin{tcblisting}{@}
3758 \begin{tikzpicture}
3759 \pingu[bee=green]
3760 \end{tikzpicture}
3761 \end{tcblisting}
3762 \endshowkeyexplain
3763
3764 \subkeyexplain{bee}{bee body}{color}{\pingu@color@bee@body}
3765 \begin{tcblisting}{@}
3766 \begin{tikzpicture}
3767 \pingu[bee, bee body=green]
3768 \end{tikzpicture}
3769 \end{tcblisting}
3770 \endsubkeyexplain
3771
3772 \subkeyexplain{bee}{bee wings}{color}{\pingu@color@bee@wings}
3773 \begin{tcblisting}{@}
3774 \begin{tikzpicture}
3775 \pingu[bee, bee wings=green]
3776 \end{tikzpicture}
3777 \end{tcblisting}
3778 \endsubkeyexplain
3779
3780 {
3781 \def\pingu@color@bee@body{<bee-body-color>}
3782 \subkeyexplain{bee}{bee mouth}{color}{\pingu@color@bee@mouth}
3783 \begin{tcblisting}{@}
3784 \begin{tikzpicture}
3785 \pingu[bee, bee mouth=green]
3786 \end{tikzpicture}
3787 \end{tcblisting}
3788 \endsubkeyexplain
3789
3790 \subkeyexplain{bee}{bee eyes}{color}{\pingu@color@bee@eyes}
3791 \begin{tcblisting}{@}
3792 \begin{tikzpicture}
3793 \pingu[bee, bee eyes=green]
3794 \end{tikzpicture}
3795 \end{tcblisting}
3796 \endsubkeyexplain
3797
3798 \def\pingu@color@bee{<bee-color>}
3799 \subkeyexplain{bee}{bee blush}{color}{\pingu@color@bee@blush}
3800 \begin{tcblisting}{@}
3801 \begin{tikzpicture}
3802 \pingu[bee, bee blush=green]
3803 \end{tikzpicture}
3804 \end{tcblisting}
3805 \endsubkeyexplain
3806 }
3807
3808 \subkeyexplain{bee}{bee position}{angle>:(<x>,<y>)<scale}{\pingu@x@bee@angle:(\pingu@x@bee@xshift,\pingu@x@bee@yshift)\{\pingu@x@bee@scale\}}
3809 Currently, this is a very cumbersome command to change various bee parameters at the same time:
3810 \begin{tcblisting}{@}
3811 \begin{tikzpicture}
3812 \pingu[bee, bee position={1:(0cm,-.09cm){1.33}}]
3813 \end{tikzpicture}
3814 \end{tcblisting}
3815 \endsubkeyexplain
3816
3817 \subsubsection{The horse}
3818 Although the horse does not have a bounding box by default (\keyref{on horse has bounding box}), we add it so you can see everything.
3819
3820 \showkeyexplain{on horse}{color}{pingu@bronze!80!pingu@black}
3821 Place your penguin on a not-so-to-scale horse (see \keyref{horse left} and \keyref{horse right}):
3822 \begin{tcblisting}{@}
3823 \begin{tikzpicture}
3824 \pingu[on horse=green, on horse has bounding box]
3825 \end{tikzpicture}
3826 \end{tcblisting}
3827 \endshowkeyexplain
3828
3829 \subkeyexplain{on horse}{on horse flip}{true/false}{\if@pingu@x@horse@on@flip@ true\else false\fi}
3830 \begin{tcblisting}{@}
3831 \begin{tikzpicture}
3832 \pingu[on horse, on horse has bounding box,
3833 on horse flip=true]
3834 \end{tikzpicture}
3835 \end{tcblisting}
3836 \endsubkeyexplain
3837
3838 \subkeyexplain{on horse}{on horse donkey}{true/false}{\if@pingu@x@horse@on@donkey@ true\else false\fi}
3839 \begin{tcblisting}{@}
3840 \begin{tikzpicture}
3841 \pingu[on horse, on horse has bounding box,
3842 on horse donkey=true]
3843 \end{tikzpicture}
3844 \end{tcblisting}
3845 \endsubkeyexplain
3846
3847 \subkeyexplain{on horse}{on horse has base}{true/false}{\if@pingu@x@horse@on@base@ true\else false\fi}
3848 \begin{tcblisting}{@}
3849 \begin{tikzpicture}
3850 \pingu[on horse, on horse has bounding box,
3851 on horse has base]
3852 \end{tikzpicture}
3853 \end{tcblisting}
3854 \endsubkeyexplain
3855
3856 \subkeyexplain{on horse}{on horse has bounding box}{true/false}{\if@pingu@x@horse@on@boundingbox@ true\else false\fi}
3857 \begin{tcblisting}{@}
3858 \begin{tikzpicture}
3859 \pingu[on horse,on horse has bounding box]
3860 \end{tikzpicture}
3861 \end{tcblisting}
3862 \endsubkeyexplain
3863 {\def\pingu@color@horseon{<on-horse-color>}
3864 \subkeyexplain{on horse}{on horse draw}{color}{\pingu@color@horseon@draw}
3865 \begin{tcblisting}{@}
3866 \begin{tikzpicture}
3867 \pingu[on horse, on horse has bounding box,
3868 on horse draw=green]
3869 \end{tikzpicture}
3870 \end{tcblisting}
3871 \endsubkeyexplain
3872
3873 \subkeyexplain{on horse}{on horse mane}{color}{\pingu@color@horseon@mane}
3874 \begin{tcblisting}{@}
3875 \begin{tikzpicture}
3876 \pingu[on horse, on horse has bounding box,
3877 on horse mane=green]
3878 \end{tikzpicture}
3879 \end{tcblisting}
3880 \endsubkeyexplain
3881
3882 \def\pingu@color@horseon@mane{<on-horse-mane-color>}
3883 \subkeyexplain{on horse}{on horse mane draw}{color}{\pingu@color@horseon@mane@draw}
3884 \begin{tcblisting}{@}
3885 \begin{tikzpicture}
3886 \pingu[on horse, on horse has bounding box,
3887 on horse mane draw=green]
3888 \end{tikzpicture}
3889 \end{tcblisting}
3890 \endsubkeyexplain
3891
3892 \subkeyexplain{on horse}{on horse thatch}{color}{\pingu@color@horseon@thatch}
3893 \begin{tcblisting}{@}
3894 \begin{tikzpicture}
3895 \pingu[on horse, on horse has bounding box,
3896 on horse thatch=green]
3897 \end{tikzpicture}
3898 \end{tcblisting}
3899 \endsubkeyexplain
3900
3901 \def\pingu@color@horseon@thatch{<on-horse-thatch-color>}
3902 \subkeyexplain{on horse}{on horse thatch draw}{color}{\pingu@color@horseon@thatch@draw}
3903 \begin{tcblisting}{@}
3904 \begin{tikzpicture}
3905 \pingu[on horse, on horse has bounding box,
3906 on horse thatch draw=green]
3907 \end{tikzpicture}
3908 \end{tcblisting}
3909 \endsubkeyexplain
3910
3911 \subkeyexplain{on horse}{on horse tail}{color}{\pingu@color@horseon@tail}
3912 \begin{tcblisting}{@}
3913 \begin{tikzpicture}
3914 \pingu[on horse, on horse has bounding box,
3915 on horse tail=green]
3916 \end{tikzpicture}
3917 \end{tcblisting}
3918 \endsubkeyexplain
3919
3920 \def\pingu@color@horseon@tail{<on-horse-tail-color>}
3921 \subkeyexplain{on horse}{on horse tail draw}{color}{\pingu@color@horseon@tail@draw}
3922 \begin{tcblisting}{@}
3923 \begin{tikzpicture}
3924 \pingu[on horse, on horse has bounding box,
3925 on horse tail draw=green]
3926 \end{tikzpicture}
3927 \end{tcblisting}
3928 \endsubkeyexplain
3929
3930 \subkeyexplain{on horse}{on horse eyes}{color}{\pingu@color@horseon@eyes}
3931 \begin{tcblisting}{@}
3932 \begin{tikzpicture}
3933 \pingu[on horse, on horse has bounding box,
3934 on horse eyes=green]
3935 \end{tikzpicture}
3936 \end{tcblisting}
3937 \endsubkeyexplain
3938 \subkeyalias{on horse eye}{on horse eyes}{on horse}
3939
3940 \subkeyexplain{on horse}{on horse mouth}{color}{\pingu@color@horseon@mouth}
3941 \begin{tcblisting}{@}
3942 \begin{tikzpicture}
3943 \pingu[on horse, on horse has bounding box,
3944 on horse mouth=green]
3945 \end{tikzpicture}
3946 \end{tcblisting}
3947 \endsubkeyexplain
3948
3949 \subkeyexplain{on horse}{on horse nose}{color}{\pingu@color@horseon@nose}
3950 \begin{tcblisting}{@}
3951 \begin{tikzpicture}
3952 \pingu[on horse, on horse has bounding box,
3953 on horse nose=green]
3954 \end{tikzpicture}
3955 \end{tcblisting}
3956 \endsubkeyexplain
3957
3958 \subkeyexplain{on horse}{on horse ears}{color}{\pingu@color@horseon@ears}
3959 \begin{tcblisting}{@}
3960 \begin{tikzpicture}
3961 \pingu[on horse, on horse has bounding box,
3962 on horse ears=green]
3963 \end{tikzpicture}
3964 \end{tcblisting}
3965 \endsubkeyexplain
3966
3967 \subkeyexplain{on horse}{on horse base}{color}{\pingu@color@horseon@base}
3968 \begin{tcblisting}{@}
3969 \begin{tikzpicture}
3970 \pingu[on horse,on horse has base,
3971 on horse has bounding box,
3972 on horse base=green]
3973 \end{tikzpicture}
3974 \end{tcblisting}
3975 \endsubkeyexplain
3976
3977 \def\pingu@color@horseon@base{<on-horse-base-color>}
3978 \subkeyexplain{on horse}{on horse base draw}{color}{\pingu@color@horseon@base@draw}
3979 \begin{tcblisting}{@}
3980 \begin{tikzpicture}
3981 \pingu[on horse, on horse has bounding box,
3982 on horse has base,
3983 on horse base draw=green]
3984 \end{tikzpicture}
3985 \end{tcblisting}
3986 \endsubkeyexplain
3987
3988 \subkeyexplain{on horse}{on horse base shade}{color}{\pingu@color@horseon@base@shade}
3989 \begin{tcblisting}{@}
3990 \begin{tikzpicture}
3991 \pingu[on horse, on horse has bounding box,
3992 on horse has base,
3993 on horse base shade=green]
3994 \end{tikzpicture}
3995 \end{tcblisting}
3996 \endsubkeyexplain
3997
3998 \def\pingu@color@horseon@base@shade{<on-horse-base-shade-color>}
3999 \subkeyexplain{on horse}{on horse base shade draw}{color}{\pingu@color@horseon@base@shade@draw}
4000 \begin{tcblisting}{@}
4001 \begin{tikzpicture}
4002 \pingu[on horse, on horse has base,
4003 on horse has bounding box,
4004 on horse base shade draw=green]
4005 \end{tikzpicture}
4006 \end{tcblisting}
4007 \endsubkeyexplain
4008
4009 \subkeyexplain{on horse}{on horse front left hoof}{color}{}
4010 \begin{tcblisting}{@}
4011 \begin{tikzpicture}
4012 \pingu[on horse,on horse has bounding box,
4013 on horse front left hoof=green]
4014 \end{tikzpicture}
4015 \end{tcblisting}
4016 \endsubkeyexplain
4017
4018 \subkeyexplain{on horse}{on horse front right hoof}{color}{}
4019 \begin{tcblisting}{@}
4020 \begin{tikzpicture}
4021 \pingu[on horse,on horse has bounding box,
4022 on horse front right hoof=green]
4023 \end{tikzpicture}
4024 \end{tcblisting}
4025 \endsubkeyexplain
4026
4027 \subkeyexplain{on horse}{on horse back left hoof}{color}{}
4028 \begin{tcblisting}{@}
4029 \begin{tikzpicture}
4030 \pingu[on horse,on horse has bounding box,
4031 on horse back left hoof=green]
4032 \end{tikzpicture}
4033 \end{tcblisting}
4034 \endsubkeyexplain
4035
4036 \subkeyexplain{on horse}{on horse back right hoof}{color}{}
4037 \begin{tcblisting}{@}
4038 \begin{tikzpicture}
4039 \pingu[on horse,on horse has bounding box,
4040 on horse back right hoof=green]
4041 \end{tikzpicture}
4042 \end{tcblisting}
4043 \endsubkeyexplain
4044
4045 \subkeyexplain{on horse}{on horse front hoofs}{color}{}
4046 \begin{tcblisting}{@}
4047 \begin{tikzpicture}
4048 \pingu[on horse,on horse has bounding box,
4049 on horse front hoofs=green]
4050 \end{tikzpicture}
4051 \end{tcblisting}
4052 \endsubkeyexplain
4053
4054 \subkeyexplain{on horse}{on horse back hoofs}{color}{}
4055 \begin{tcblisting}{@}
4056 \begin{tikzpicture}
4057 \pingu[on horse,on horse has bounding box,
4058 on horse back hoofs=green]
4059 \end{tikzpicture}
4060 \end{tcblisting}
4061 \endsubkeyexplain
4062
4063 \subkeyexplain{on horse}{on horse hoofs}{color}{gray!80!white}
4064 \begin{tcblisting}{@}
4065 \begin{tikzpicture}
4066 \pingu[on horse,on horse has bounding box,
4067 on horse hoofs=green]
4068 \end{tikzpicture}
4069 \end{tcblisting}
4070 \endsubkeyexplain
4071
4072 \subkeyexplain{on horse}{on horse xshift}{length}{\pingu@x@horseon@xshift}
4073 This key reacts with the \keyref{on horse flip} option!
4074 \begin{tcblisting}{@}
4075 \begin{tikzpicture}
4076 \pingu[on horse, on horse has bounding box,
4077 on horse xshift=1cm]
4078 \end{tikzpicture}
4079 \end{tcblisting}
4080 \endsubkeyexplain
4081
4082 \subkeyexplain{on horse}{on horse yshift}{length}{\pingu@x@horseon@yshift}
4083 \begin{tcblisting}{@}
4084 \begin{tikzpicture}
4085 \pingu[on horse, on horse has bounding box,
4086 on horse yshift=1cm]
4087 \end{tikzpicture}
4088 \end{tcblisting}
4089 \endsubkeyexplain
4090
4091 \subkeyexplain{on horse}{on horse scale}{length}{\pingu@x@horseon@scale}
4092 \begin{tcblisting}{@}
4093 \begin{tikzpicture}
4094 \pingu[on horse, on horse has bounding box,
4095 on horse scale=.25]
4096 \end{tikzpicture}
4097 \end{tcblisting}
4098 \endsubkeyexplain
4099 }
4100
4101 \showkeyexplain{horse behind}{color}{pingu@bronze!80!pingu@black}
4102 Place your penguin in front of a horse (configures \keyref{on horse}):
4103 \begin{tcblisting}{@}
4104 \begin{tikzpicture}
4105 \pingu[horse behind=green]
4106 \end{tikzpicture}
4107 \end{tcblisting}
4108 \endshowkeyexplain
4109
4110 \subsubsection{The VR-headset}
4111
4112 \showkeyexplain{vr-headset}{color}{pingu@black!92!gray}
4113 \begin{tcblisting}{@}
4114 \begin{tikzpicture}
4115 \pingu[vr-headset=green]
4116 \end{tikzpicture}
4117 \end{tcblisting}
4118 \endshowkeyexplain
4119
4120 {\def\pingu@color@vrheadset{<vr-headset>}
4121 \subkeyexplain{vr-headset}{vr-headset band}{color}{\pingu@color@vrheadset@band}
4122 \begin{tcblisting}{@}
4123 \begin{tikzpicture}
4124 \pingu[vr-headset, vr-headset band=purple]
4125 \end{tikzpicture}
4126 \end{tcblisting}
4127 \endsubkeyexplain}
4128
4129 {\def\pingu@color@vrheadset{<vr-headset>}
4130 \subkeyexplain{vr-headset}{vr-headset band top}{color}{\pingu@color@vrheadset@band@top}
4131 \begin{tcblisting}{@}
4132 \begin{tikzpicture}
4133 \pingu[vr-headset, vr-headset band top=purple]
4134 \end{tikzpicture}
4135 \end{tcblisting}
4136 \endsubkeyexplain}
4137
4138 \subkeyexplain{vr-headset}{vr-headset hair}{}{}
4139 Change the hair to support the headset:
4140 \begin{tcblisting}{@}
4141 \begin{tikzpicture}
4142 \pingu[vr-headset, vr-headset hair]
4143 \end{tikzpicture}
4144 \end{tcblisting}
4145 \endsubkeyexplain
4146
4147 \subkeyexplain{vr-headset}{vr-headset text}{text}{omitted}
4148 \begin{tcblisting}{@}
4149 \begin{tikzpicture}
4150 \pingu[vr-headset, vr-headset text={ABCD}]
4151 \end{tikzpicture}
4152 \end{tcblisting}
4153 \endsubkeyexplain
4154
4155 \subkeyexplain{vr-headset}{vr-headset text color}{color}{\pingu@color@vrheadset@text@color}
4156 \begin{tcblisting}{@}
4157 \begin{tikzpicture}
4158 \pingu[vr-headset, vr-headset text color=green]
4159 \end{tikzpicture}
4160 \end{tcblisting}
4161 \endsubkeyexplain
4162
4163 \subsubsection{The headphones}
4164
4165 \showkeyexplain{headphone}{color}{pingu@blue!80!pingu@black}
4166 \begin{tcblisting}{@}
4167 \begin{tikzpicture}
4168 \pingu[headphone=green]
4169 \end{tikzpicture}
4170 \end{tcblisting}
4171 \endshowkeyexplain
4172
4173 \keyalias{headphones}{headphone}
4174
4175 {\def\pingu@color@headphone{<headphone>}
4176 \subkeyexplain{headphone}{headphone left}{color}{\pingu@color@headphone@left}
4177 Change the color of the left headphone (automatically sets the color of \keyref{headphone right}):
4178 \begin{tcblisting}{@}
4179 \begin{tikzpicture}
4180 \pingu[headphone, headphone left=green]
4181 \end{tikzpicture}
4182 \end{tcblisting}
4183 \endsubkeyexplain}
4184
4185 {\def\pingu@color@headphone{<headphone>}
4186 \subkeyexplain{headphone}{headphone right}{color}{\pingu@color@headphone@right}
4187 \begin{tcblisting}{@}
4188 \begin{tikzpicture}
4189 \pingu[headphone, headphone right=green]
4190 \end{tikzpicture}
4191 \end{tcblisting}
4192 \endsubkeyexplain}
4193
4194 \subkeyexplain{headphone}{headphone left outer}{color}{pingu@black}
4195 \begin{tcblisting}{@}
4196 \begin{tikzpicture}
4197 \pingu[headphone, headphone left outer=green]
4198 \end{tikzpicture}
4199 \end{tcblisting}
4200 \endsubkeyexplain
4201
4202 \subkeyexplain{headphone}{headphone right outer}{color}{pingu@black}
4203 \begin{tcblisting}{@}
4204 \begin{tikzpicture}
4205 \pingu[headphone, headphone right outer=green]
4206 \end{tikzpicture}
4207 \end{tcblisting}
4208 \endsubkeyexplain
4209
4210 \subkeyexplain{headphone}{headphone outer}{color}{pingu@black}
4211 Set \keyref{headphone left outer} and \keyref{headphone right outer} with the same value:
4212 \begin{tcblisting}{@}
4213 \begin{tikzpicture}
4214 \pingu[headphone, headphone outer=green]
4215 \end{tikzpicture}
4216 \end{tcblisting}
4217 \endsubkeyexplain
4218
4219 \subkeyalias{headphones outer}{headphone outer}{headphone}
4220
4221 \subkeyexplain{headphone}{headphone left inner}{color}{pingu@black}
4222 \begin{tcblisting}{@}
4223 \begin{tikzpicture}
4224 \pingu[headphone, headphone left inner=green]
4225 \end{tikzpicture}
4226 \end{tcblisting}
4227 \endsubkeyexplain
4228
4229 \subkeyexplain{headphone}{headphone right inner}{color}{pingu@black}
4230 \begin{tcblisting}{@}
4231 \begin{tikzpicture}
4232 \pingu[headphone, headphone right inner=green]
4233 \end{tikzpicture}
4234 \end{tcblisting}
4235 \endsubkeyexplain
4236
4237 \subkeyexplain{headphone}{headphone inner}{color}{pingu@black}
4238 Set \keyref{headphone left inner} and \keyref{headphone right inner} with the same value:
4239 \begin{tcblisting}{@}
4240 \begin{tikzpicture}
4241 \pingu[headphone, headphone inner=green]
4242 \end{tikzpicture}
4243 \end{tcblisting}
4244 \endsubkeyexplain
4245
4246 \subkeyalias{headphones inner}{headphone inner}{headphone}
4247
4248 \subsubsection{The santa hat}
4249
4250 \showkeyexplain{santa hat}{color}{pingu@red!87!pingu@black}
4251 Merry christmas:
4252 \begin{tcblisting}{@}
4253 \begin{tikzpicture}
4254 \pingu[santa hat=pingu@red]
4255 \end{tikzpicture}
4256 \end{tcblisting}
4257 \endshowkeyexplain
4258
4259 {\def\pingu@color@santahat{<santa hat>}
4260 \subkeyexplain{santa hat}{santa hat second}{color}{\pingu@color@santahat@second}
4261 Change the wool color:
4262 \begin{tcblisting}{@}
4263 \begin{tikzpicture}
4264 \pingu[santa hat,santa hat second=green]
4265 \end{tikzpicture}
4266 \end{tcblisting}
4267 \endsubkeyexplain}
4268
4269 {
4270 \subkeyexplain{santa hat}{santa hat bobble}{color}{<santa hat second>}
4271 \begin{tcblisting}{@}
4272 \begin{tikzpicture}
4273 \pingu[santa hat,santa hat bobble=green]
4274 \end{tikzpicture}
4275 \end{tcblisting}
4276 \endsubkeyexplain}
4277
4278 \subsubsection{The santa beard}
4279
4280 \showkeyexplain{santa beard}{color}{pingu@white!96!pingu@red!98!pingu@black!92!gray}
4281 \begin{tcblisting}{@}
4282 \begin{tikzpicture}
4283 \pingu[santa beard=brown!20!white]
4284 \end{tikzpicture}
4285 \end{tcblisting}
4286 \endshowkeyexplain
4287
4288 {\def\pingu@color@body@main{<body main>}
4289 \subkeyexplain{santa beard}{santa beard string}{color}{\pingu@color@santabeard@string}
4290 \begin{tcblisting}{@}
4291 \begin{tikzpicture}
4292 \pingu[santa beard,santa beard string=green]
4293 \end{tikzpicture}
4294 \end{tcblisting}
4295 \endsubkeyexplain}
4296
4297 \subsubsection{The snowball}
4298
4299 \showkeyexplain{snowball left}{color}{pingu@white!90!pingu@black}
4300 \begin{tcblisting}{@}
4301 \begin{tikzpicture}
4302 \pingu[snowball left=pingu@bronze!80!pingu@black]
4303 \end{tikzpicture}
4304 \end{tcblisting}
4305 \endshowkeyexplain
4306
4307 \subkeyexplain{snowball left}{snowball left size}{length}{\pingu@snowball@left@size}
4308 \begin{tcblisting}{@}
4309 \begin{tikzpicture}
4310 \pingu[snowball left, snowball left size=2mm]
4311 \end{tikzpicture}
4312 \end{tcblisting}
4313 \endsubkeyexplain
4314
4315 \subkeyexplain{snowball left}{snowball left xshift}{length}{\pingu@snowball@left@xshift}
4316 \begin{tcblisting}{@}
4317 \begin{tikzpicture}
4318 \pingu[snowball left, snowball left xshift=2mm]
4319 \end{tikzpicture}
4320 \end{tcblisting}
4321 \endsubkeyexplain
4322
4323 \subkeyexplain{snowball left}{snowball left yshift}{length}{\pingu@snowball@left@yshift}
4324 \begin{tcblisting}{@}
4325 \begin{tikzpicture}
4326 \pingu[snowball left, snowball left yshift=2mm]
4327 \end{tikzpicture}
4328 \end{tcblisting}
4329 \endsubkeyexplain
4330
4331
4332 \showkeyexplain{snowball right}{color}{pingu@white!90!pingu@black}
4333 \begin{tcblisting}{@}
4334 \begin{tikzpicture}
4335 \pingu[snowball right=pingu@bronze!80!pingu@black]
4336 \end{tikzpicture}
4337 \end{tcblisting}
4338 \endshowkeyexplain
4339
4340 \subkeyexplain{snowball right}{snowball right size}{length}{\pingu@snowball@right@size}
4341 \begin{tcblisting}{@}
4342 \begin{tikzpicture}
4343 \pingu[snowball right, snowball right size=2mm]
4344 \end{tikzpicture}
4345 \end{tcblisting}
4346 \endsubkeyexplain
4347
4348 \subkeyexplain{snowball right}{snowball right xshift}{length}{\pingu@snowball@right@xshift}
4349 \begin{tcblisting}{@}
4350 \begin{tikzpicture}
4351 \pingu[snowball right, snowball right xshift=2mm]
4352 \end{tikzpicture}
4353 \end{tcblisting}
4354 \endsubkeyexplain
4355
4356 \subkeyexplain{snowball right}{snowball right yshift}{length}{\pingu@snowball@right@yshift}
4357 \begin{tcblisting}{@}
4358 \begin{tikzpicture}
4359 \pingu[snowball right, snowball right yshift=2mm]
4360 \end{tikzpicture}
4361 \end{tcblisting}
4362 \endsubkeyexplain
4363
4364
4365 \subsubsection{The basket}
4366
4367 \showkeyexplain{basket left}{color}{pingu@white!90!pingu@black}
4368 \begin{tcblisting}{@}
4369 \begin{tikzpicture}
4370 \pingu[basket left=green]
4371 \end{tikzpicture}
4372 \end{tcblisting}
4373 \endshowkeyexplain
4374
4375 {\def\pingu@color@basket@left{<basket left-color>}
4376 \subkeyexplain{basket left}{basket left back}{color}{\pingu@color@basketleft@back}
4377 \begin{tcblisting}{@}
4378 \begin{tikzpicture}
4379 \pingu[basket left, basket left back=green]
4380 \end{tikzpicture}
4381 \end{tcblisting}
4382 \endsubkeyexplain
4383 }
4384
4385 \subkeyexplain{basket left}{basket left egg a}{color}{\pingu@color@basketleft@egg@a}
4386 \begin{tcblisting}{@}
4387 \begin{tikzpicture}
4388 \pingu[basket left, basket left egg a=green]
4389 \end{tikzpicture}
4390 \end{tcblisting}
4391 \endsubkeyexplain
4392
4393 \subkeyexplain{basket left}{basket left egg b}{color}{\pingu@color@basketleft@egg@b}
4394 \begin{tcblisting}{@}
4395 \begin{tikzpicture}
4396 \pingu[basket left, basket left egg b=green]
4397 \end{tikzpicture}
4398 \end{tcblisting}
4399 \endsubkeyexplain
4400
4401 \subkeyexplain{basket left}{basket left egg c}{color}{\pingu@color@basketleft@egg@c}
4402 \begin{tcblisting}{@}
4403 \begin{tikzpicture}
4404 \pingu[basket left, basket left egg c=green]
4405 \end{tikzpicture}
4406 \end{tcblisting}
4407 \endsubkeyexplain
4408
4409 \subkeyexplain{basket left}{basket left xshift}{length}{\pingu@basket@left@xshift}
4410 \begin{tcblisting}{@}
4411 \begin{tikzpicture}
4412 \pingu[basket left, basket left xshift=2mm]
4413 \end{tikzpicture}
4414 \end{tcblisting}
4415 \endsubkeyexplain
4416
4417 \subkeyexplain{basket left}{basket left yshift}{length}{\pingu@basket@left@yshift}
4418 \begin{tcblisting}{@}
4419 \begin{tikzpicture}
4420 \pingu[basket left, basket left yshift=2mm]
4421 \end{tikzpicture}
4422 \end{tcblisting}
4423 \endsubkeyexplain
4424
4425
4426 \showkeyexplain{basket right}{color}{pingu@white!90!pingu@black}
4427 \begin{tcblisting}{@}
4428 \begin{tikzpicture}
4429 \pingu[basket right=green]
4430 \end{tikzpicture}
4431 \end{tcblisting}
4432 \endshowkeyexplain
4433
4434 {\def\pingu@color@basket@right{<basket right-color>}
4435 \subkeyexplain{basket right}{basket right back}{color}{\pingu@color@basketright@back}
4436 \begin{tcblisting}{@}
4437 \begin{tikzpicture}
4438 \pingu[basket right, basket right back=green]
4439 \end{tikzpicture}
4440 \end{tcblisting}
4441 \endsubkeyexplain
4442 }
4443
4444 \subkeyexplain{basket right}{basket right egg a}{color}{\pingu@color@basketright@egg@a}
4445 \begin{tcblisting}{@}
4446 \begin{tikzpicture}
4447 \pingu[basket right, basket right egg a=green]
4448 \end{tikzpicture}
4449 \end{tcblisting}
4450 \endsubkeyexplain
4451
4452 \subkeyexplain{basket right}{basket right egg b}{color}{\pingu@color@basketright@egg@b}
4453 \begin{tcblisting}{@}
4454 \begin{tikzpicture}
4455 \pingu[basket right, basket right egg b=green]
4456 \end{tikzpicture}
4457 \end{tcblisting}
4458 \endsubkeyexplain
4459
4460 \subkeyexplain{basket right}{basket right egg c}{color}{\pingu@color@basketright@egg@c}
4461 \begin{tcblisting}{@}
4462 \begin{tikzpicture}
4463 \pingu[basket right, basket right egg c=green]
4464 \end{tikzpicture}
4465 \end{tcblisting}
4466 \endsubkeyexplain
4467
4468 \subkeyexplain{basket right}{basket right xshift}{length}{\pingu@basket@right@xshift}
4469 \begin{tcblisting}{@}
4470 \begin{tikzpicture}
4471 \pingu[basket right, basket right xshift=2mm]
4472 \end{tikzpicture}
4473 \end{tcblisting}
4474 \endsubkeyexplain
4475
4476 \subkeyexplain{basket right}{basket right yshift}{length}{\pingu@basket@right@yshift}
4477 \begin{tcblisting}{@}
4478 \begin{tikzpicture}
4479 \pingu[basket right, basket right yshift=2mm]
4480 \end{tikzpicture}
4481 \end{tcblisting}
4482 \endsubkeyexplain
4483
4484
4485 \subsubsection{The wool hat}
4486
4487 \showkeyexplain{wool hat}{color}{pingu@blue!57!pingu@black}
4488 \begin{tcblisting}{@}
4489 \begin{tikzpicture}
4490 \pingu[wool hat=pingu@red]
4491 \end{tikzpicture}
4492 \end{tcblisting}
4493 \endshowkeyexplain
4494
4495 {\def\pingu@color@woolhat{<wool hat>}
4496 \subkeyexplain{wool hat}{wool hat second}{color}{\pingu@color@woolhat@second}
4497 Change the wool color:
4498 \begin{tcblisting}{@}
4499 \begin{tikzpicture}
4500 \pingu[wool hat,wool hat second=green]
4501 \end{tikzpicture}
4502 \end{tcblisting}
4503 \endsubkeyexplain}
4504
4505 {
4506 \subkeyexplain{wool hat}{wool hat bobble}{color}{<wool hat second>}
4507 \begin{tcblisting}{@}
4508 \begin{tikzpicture}
4509 \pingu[wool hat,wool hat bobble=green]
4510 \end{tikzpicture}
4511 \end{tcblisting}
4512 \endsubkeyexplain}
4513
4514 \subsubsection{The deer hat}
4515
4516 \showkeyexplain{deer hat}{color}{pingu@red!87!pingu@black}
4517 \begin{tcblisting}{@}
4518 \begin{tikzpicture}
4519 \pingu[deer hat=green]
4520 \end{tikzpicture}
4521 \end{tcblisting}
4522 \endshowkeyexplain
4523 {\def\pingu@color@deerhat{<deer hat>}
4524 \subkeyexplain{deer hat}{deer hat b}{color}{\pingu@color@deerhat@b}
4525 \begin{tcblisting}{@}
4526 \begin{tikzpicture}
4527 \pingu[deer hat, deer hat b=green]
4528 \end{tikzpicture}
4529 \end{tcblisting}
4530 \endsubkeyexplain}
4531
4532 {\def\pingu@color@deerhat{<deer hat>}
4533 \subkeyexplain{deer hat}{deer hat band}{color}{\pingu@color@deerhat@band}
4534 \begin{tcblisting}{@}
4535 \begin{tikzpicture}
4536 \pingu[deer hat, deer hat band=green]
4537 \end{tikzpicture}
4538 \end{tcblisting}
4539 \endsubkeyexplain}
4540
4541 \subsubsection{The flip flops}
4542
4543 \showkeyexplain{flip-flops}{color}{pingu@blue!70!pingu@white!60!cyan}
4544 \begin{tcblisting}{@}
4545 \begin{tikzpicture}
4546 \pingu[flip-flops=green]
4547 \end{tikzpicture}
4548 \end{tcblisting}
4549 \endshowkeyexplain
4550
4551 {\def\pingu@color@flipflop{<flip-flops>}
4552 \subkeyexplain{flip-flops}{flip-flops base left}{color}{\pingu@color@flipflop@base@left}
4553 \begin{tcblisting}{@}
4554 \begin{tikzpicture}
4555 \pingu[flip-flops, flip-flops base left=green]
4556 \end{tikzpicture}
4557 \end{tcblisting}
4558 \endsubkeyexplain}
4559
4560 {\def\pingu@color@flipflop{<flip-flops>}
4561 \subkeyexplain{flip-flops}{flip-flops base right}{color}{\pingu@color@flipflop@base@right}
4562 \begin{tcblisting}{@}
4563 \begin{tikzpicture}
4564 \pingu[flip-flops, flip-flops base right=green]
4565 \end{tikzpicture}
4566 \end{tcblisting}
4567 \endsubkeyexplain}
4568
4569 {\def\pingu@color@flipflop{<flip-flops>}
4570 \subkeyexplain{flip-flops}{flip-flops band left}{color}{\pingu@color@flipflop@band@left}
4571 \begin{tcblisting}{@}
4572 \begin{tikzpicture}
4573 \pingu[flip-flops, flip-flops band left=green]
4574 \end{tikzpicture}
4575 \end{tcblisting}
4576 \endsubkeyexplain}
4577
4578 {\def\pingu@color@flipflop{<flip-flops>}
4579 \subkeyexplain{flip-flops}{flip-flops band right}{color}{\pingu@color@flipflop@band@right}
4580 \begin{tcblisting}{@}
4581 \begin{tikzpicture}
4582 \pingu[flip-flops, flip-flops band right=green]
4583 \end{tikzpicture}
4584 \end{tcblisting}
4585 \endsubkeyexplain}
4586
4587 {\def\pingu@color@flipflop{<flip-flops>}
4588 \subkeyexplain{flip-flops}{flip-flops color right}{color}{\pingu@color@flipflop@right}
4589 \begin{tcblisting}{@}
4590 \begin{tikzpicture}
4591 \pingu[flip-flops, flip-flops color right=green]
4592 \end{tikzpicture}
4593 \end{tcblisting}
4594 \endsubkeyexplain}
4595
4596 \subsubsection{The shoes}
4597
4598 \showkeyexplain{shoes}{color}{pingu@bronze!70!pingu@red!80!pingu@white!80!brown}
4599 \begin{tcblisting}{@}
4600 \begin{tikzpicture}
4601 \pingu[shoes=green]
4602 \end{tikzpicture}
4603 \end{tcblisting}
4604 \endshowkeyexplain
4605
4606 {\def\pingu@color@shoes{<shoes>}
4607 \subkeyexplain{shoes}{shoes base left}{color}{\pingu@color@shoes@base@left}
4608 \begin{tcblisting}{@}
4609 \begin{tikzpicture}
4610 \pingu[shoes, shoes base left=green]
4611 \end{tikzpicture}
4612 \end{tcblisting}
4613 \endsubkeyexplain}
4614
4615 {\def\pingu@color@shoes{<shoes>}
4616 \subkeyexplain{shoes}{shoes base right}{color}{\pingu@color@shoes@base@right}
4617 \begin{tcblisting}{@}
4618 \begin{tikzpicture}
4619 \pingu[shoes, shoes base right=green]
4620 \end{tikzpicture}
4621 \end{tcblisting}
4622 \endsubkeyexplain}
4623
4624 {\def\pingu@color@shoes{<shoes>}
4625 \subkeyexplain{shoes}{shoes color right}{color}{\pingu@color@shoes@right}
4626 \begin{tcblisting}{@}
4627 \begin{tikzpicture}
4628 \pingu[shoes, shoes color right=green]
4629 \end{tikzpicture}
4630 \end{tcblisting}
4631 \endsubkeyexplain}
4632
4633 \subsubsection{The sneaker}
4634
4635 \showkeyexplain{sneaker}{color}{pingu@bronze!70!pingu@red!80!pingu@white!80!brown}
4636 \begin{tcblisting}{@}
4637 \begin{tikzpicture}
4638 \pingu[sneaker=green]
4639 \end{tikzpicture}
4640 \end{tcblisting}
4641 \endshowkeyexplain
4642
4643 {\def\pingu@color@sneaker{<sneaker>}
4644 \subkeyexplain{sneaker}{sneaker base left}{color}{\pingu@color@sneaker@base@left}
4645 \begin{tcblisting}{@}
4646 \begin{tikzpicture}
4647 \pingu[sneaker, sneaker base left=green]
4648 \end{tikzpicture}
4649 \end{tcblisting}
4650 \endsubkeyexplain}
4651
4652 {\def\pingu@color@sneaker{<sneaker>}
4653 \subkeyexplain{sneaker}{sneaker base right}{color}{\pingu@color@sneaker@base@right}
4654 \begin{tcblisting}{@}
4655 \begin{tikzpicture}
4656 \pingu[sneaker, sneaker base right=green]
4657 \end{tikzpicture}
4658 \end{tcblisting}
4659 \endsubkeyexplain}
4660
4661
4662 {\def\pingu@color@sneaker{<sneaker>}
4663 \subkeyexplain{sneaker}{sneaker front left}{color}{\pingu@color@sneaker@front@left}
4664 \begin{tcblisting}{@}
4665 \begin{tikzpicture}
4666 \pingu[sneaker, sneaker front left=green]
4667 \end{tikzpicture}
4668 \end{tcblisting}
4669 \endsubkeyexplain}
4670
4671 {\def\pingu@color@sneaker{<sneaker>}
4672 \subkeyexplain{sneaker}{sneaker front right}{color}{\pingu@color@sneaker@front@right}
4673 \begin{tcblisting}{@}
4674 \begin{tikzpicture}
4675 \pingu[sneaker, sneaker front right=green]
4676 \end{tikzpicture}
4677 \end{tcblisting}
4678 \endsubkeyexplain}
4679
4680 {\def\pingu@color@sneaker{<sneaker>}
4681 \subkeyexplain{sneaker}{sneaker side left}{color}{\pingu@color@sneaker@side@left}
4682 \begin{tcblisting}{@}
4683 \begin{tikzpicture}
4684 \pingu[sneaker, sneaker side left=green]
4685 \end{tikzpicture}
4686 \end{tcblisting}
4687 \endsubkeyexplain}
4688
4689 {\def\pingu@color@sneaker{<sneaker>}
4690 \subkeyexplain{sneaker}{sneaker side right}{color}{\pingu@color@sneaker@side@right}
4691 \begin{tcblisting}{@}
4692 \begin{tikzpicture}
4693 \pingu[sneaker, sneaker side right=green]
4694 \end{tikzpicture}
4695 \end{tcblisting}
4696 \endsubkeyexplain}
4697
4698 {\def\pingu@color@sneaker{<sneaker>}
4699 \subkeyexplain{sneaker}{sneaker band left}{color}{\pingu@color@sneaker@band@left}
4700 \begin{tcblisting}{@}
4701 \begin{tikzpicture}
4702 \pingu[sneaker, sneaker band left=green]
4703 \end{tikzpicture}
4704 \end{tcblisting}
4705 \endsubkeyexplain}
4706
4707 {\def\pingu@color@sneaker{<sneaker>}
4708 \subkeyexplain{sneaker}{sneaker band right}{color}{\pingu@color@sneaker@band@right}
4709 \begin{tcblisting}{@}
4710 \begin{tikzpicture}
4711 \pingu[sneaker, sneaker band right=green]
4712 \end{tikzpicture}
4713 \end{tcblisting}
4714 \endsubkeyexplain}
4715
4716 {\def\pingu@color@sneaker{<sneaker>}
4717 \subkeyexplain{sneaker}{sneaker color right}{color}{\pingu@color@sneaker@right}
4718 \begin{tcblisting}{@}
4719 \begin{tikzpicture}
4720 \pingu[sneaker, sneaker color right=green]
4721 \end{tikzpicture}
4722 \end{tcblisting}
4723 \endsubkeyexplain}
4724
4725
4726 \subsubsection{The mask}
4727 \showkeyexplain{mask}{color}{pingu@white!61!gray}
4728 Keep the penguin safe:
4729 \begin{tcblisting}{@}
4730 \begin{tikzpicture}
4731 \pingu[mask=green]
4732 \end{tikzpicture}
4733 \end{tcblisting}
4734 \endshowkeyexplain
4735
4736 \subkeyexplain{mask}{mask band}{color}{\pingu@color@mask@band}
4737 \begin{tcblisting}{@}
4738 \begin{tikzpicture}
4739 \pingu[mask,mask band=green]
4740 \end{tikzpicture}
4741 \end{tcblisting}
4742 \endsubkeyexplain
4743
4744 \subkeyexplain{mask}{mask line width}{length}{\pingu@x@mask@line@width}
4745 \begin{tcblisting}{@}
4746 \begin{tikzpicture}
4747 \pingu[mask,mask line width=1.5pt]
4748 \end{tikzpicture}
4749 \end{tcblisting}
4750 \endsubkeyexplain
4751
4752 {\def\pingu@color@mask{<mask-color>}
4753 \subkeyexplain{mask}{mask band inner}{color}{\pingu@color@mask@band@inner}
4754 \begin{tcblisting}{@}
4755 \begin{tikzpicture}
4756 \pingu[mask,mask band inner=green]
4757 \end{tikzpicture}
4758 \end{tcblisting}
4759 \endsubkeyexplain}
4760
4761 {\def\pingu@color@mask{<mask-color>}
4762 \subkeyexplain{mask}{mask band outer}{color}{\pingu@color@mask@band@outer}
4763 \begin{tcblisting}{@}
4764 \begin{tikzpicture}
4765 \pingu[mask,mask band outer=green]
4766 \end{tikzpicture}
4767 \end{tcblisting}
4768 \endsubkeyexplain}
4769
4770 \subsubsection{The blush}
4771
4772 \showkeyexplain{blush}{color}{pingu@red}(pingu@red,blush opacity=.4)
4773 Make it cute:
4774 \begin{tcblisting}{@}
4775 \begin{tikzpicture}
4776 \pingu[eyes wink, blush=pingu@purple]
4777 \end{tikzpicture}
4778 \end{tcblisting}
4779 \endshowkeyexplain
4780
4781 \subkeyexplain{blush}{blush second}{color}{<blush>}
4782 \begin{tcblisting}{@}
4783 \begin{tikzpicture}
4784 \pingu[blush, blush second=green]
4785 \end{tikzpicture}
4786 \end{tcblisting}
4787 \endsubkeyexplain
4788
4789 \subkeyexplain{blush}{blush opacity}{factor}{\pingu@x@blush@opacity}
4790 \begin{tcblisting}{@}
4791 \begin{tikzpicture}
4792 \pingu[blush, blush opacity=.86]
4793 \end{tikzpicture}
4794 \end{tcblisting}
4795 \endsubkeyexplain
4796
4797 \subsubsection{The banner}
4798
4799 \showkeyexplain{banner}{text}{Bannertext}
4800 Give the penguin a banner to hold (it adapts to the wing positions):
4801 \begin{tcblisting}{@}
4802 \begin{tikzpicture}
4803 \pingu[left wing wave, banner=Hello]
4804 \end{tikzpicture}
4805 \end{tcblisting}
4806 \endshowkeyexplain
4807
4808 \subkeyexplain{banner}{banner band}{color}{\pingu@color@banner@band}
4809 \begin{tcblisting}{@}
4810 \begin{tikzpicture}
4811 \pingu[banner, banner band=green]
4812 \end{tikzpicture}
4813 \end{tcblisting}
4814 \endsubkeyexplain
4815
4816 \subkeyexplain{banner}{banner text color}{color}{\pingu@color@banner@text@color}
4817 \begin{tcblisting}{@}
4818 \begin{tikzpicture}
4819 \pingu[wings wave, banner, banner text color=green]
4820 \end{tikzpicture}
4821 \end{tcblisting}
4822 \endsubkeyexplain
4823
4824 \subkeyexplain{banner}{banner stick left color}{color}{\pingu@color@banner@stick@left}
4825 \begin{tcblisting}{@}
4826 \begin{tikzpicture}
4827 \pingu[banner, banner stick left color=green]
4828 \end{tikzpicture}
4829 \end{tcblisting}
4830 \endsubkeyexplain
4831
4832 \subkeyexplain{banner}{banner stick right color}{color}{\pingu@color@banner@stick@right}
4833 \begin{tcblisting}{@}
4834 \begin{tikzpicture}
4835 \pingu[banner, banner stick right color=green]
4836 \end{tikzpicture}
4837 \end{tcblisting}
4838 \endsubkeyexplain
4839
4840 \subkeyexplain{banner}{banner sticks color}{color}{\pingu@color@banner@stick@left}
4841 Calls \keyref{banner stick left color} and \keyref{banner stick right color} with the same color:
4842 \begin{tcblisting}{@}
4843 \begin{tikzpicture}
4844 \pingu[banner, banner sticks color=green]
4845 \end{tikzpicture}
4846 \end{tcblisting}
4847 \endsubkeyexplain
4848
4849 \subkeyexplain{banner}{banner stick left length}{length}{\pingu@banner@stick@left@l}
4850 Changes the banners left stick length:
4851 \begin{tcblisting}{@}
4852 \begin{tikzpicture}
4853 \pingu[banner, banner stick left length=5mm]
4854 \end{tikzpicture}
4855 \end{tcblisting}
4856 \endsubkeyexplain
4857
4858 \subkeyexplain{banner}{banner stick right length}{length}{\pingu@banner@stick@right@l}
4859 Changes the banners right stick length:
4860 \begin{tcblisting}{@}
4861 \begin{tikzpicture}
4862 \pingu[banner, banner stick right length=2mm]
4863 \end{tikzpicture}
4864 \end{tcblisting}
4865 \endsubkeyexplain
4866
4867 \subkeyexplain{banner}{banner sticks length}{length}{\pingu@banner@stick@left@l}
4868 Calls \keyref{banner stick left length} and \keyref{banner stick right length} with the same length:
4869 \begin{tcblisting}{@}
4870 \begin{tikzpicture}
4871 \pingu[banner, banner sticks length=9mm]
4872 \end{tikzpicture}
4873 \end{tcblisting}
4874 \endsubkeyexplain
4875
4876 \subkeyexplain{banner}{banner raise}{length}{\pingu@banner@raise}
4877 Change the raise of the banner text:
4878 \begin{tcblisting}{@}
4879 \begin{tikzpicture}
4880 \pingu[banner, banner raise=2mm]
4881 \end{tikzpicture}
4882 \end{tcblisting}
4883 \endsubkeyexplain
4884
4885 \subkeyexplain{banner}{banner height}{length}{\pingu@banner@height}
4886 Change the height of the banner (this modifies the half):
4887 \begin{tcblisting}{@}
4888 \begin{tikzpicture}
4889 \pingu[banner, banner height=6mm]
4890 \end{tikzpicture}
4891 \end{tcblisting}
4892 \endsubkeyexplain
4893
4894 \subkeyexplain{banner}{banner font}{font}{<fat font>}
4895 Change the height of the banner:
4896 \begin{tcblisting}{@}
4897 \begin{tikzpicture}
4898 \pingu[banner, banner font=\itshape]
4899 \end{tikzpicture}
4900 \end{tcblisting}
4901 \endsubkeyexplain
4902
4903 \subkeyexplain{banner}{banner bent}{angle}{\pingu@banner@bent}
4904 Change the bending of the banner:
4905 \begin{tcblisting}{@}
4906 \begin{tikzpicture}
4907 \pingu[banner, banner bent=0]
4908 \end{tikzpicture}
4909 \end{tcblisting}
4910 \endsubkeyexplain
4911
4912 \subsection{Wing Items}
4913 \label{sub:wing-items}Most wing items created have a two variants: one for the left and one for the right wing. For consistency, both of them are represented in the documentation~--- many times, they are not just mirrored but two different shapes that appear to be mirrored with special care.
4914
4915
4916 \keyexplain{left wing item angle}{angle}{\pingu@wing@left@item@angle@user}
4917 Relative rotation of the \hyperref[sub:wing-items]{wing items} placed in the left wing:
4918 \begin{tcblisting}{@}
4919 \begin{tikzpicture}
4920 \pingu[cane left, cane right,
4921 left wing item angle=70]
4922 \end{tikzpicture}
4923 \end{tcblisting}
4924 \endkeyexplain
4925
4926 \keyalias{left item angle}{left wing item angle}
4927
4928
4929 \keyexplain{left wing item flip}{true/false}{\if@pingu@wi@flip@left true\else false\fi}
4930 Some \hyperref[sub:wing-items]{wing items} do have a different style, depending on the wing they are in (e.g.\ they are mirrored). This option toggles the style for the left wing.
4931 \begin{tcblisting}{@}
4932 \begin{tikzpicture}
4933 \pingu[flag left, flag right,
4934 left wing item flip]
4935 \end{tikzpicture}
4936 \end{tcblisting}
4937 \endkeyexplain
4938
4939 \keyalias{left item flip}{left wing item flip}
4940
4941
4942 \keyexplain{right wing item angle}{angle}{\pingu@wing@right@item@angle@user}
4943 Relative rotation of the \hyperref[sub:wing-items]{wing items} placed in the right wing:
4944 \begin{tcblisting}{@}
4945 \begin{tikzpicture}
4946 \pingu[cane left, cane right,
4947 right wing item angle=70]
4948 \end{tikzpicture}
4949 \end{tcblisting}
4950 \endkeyexplain
4951
4952 \keyalias{right item angle}{right wing item angle}
4953
4954
4955 \keyexplain{right wing item flip}{true/false}{\if@pingu@wi@flip@right true\else false\fi}
4956 Some \hyperref[sub:wing-items]{wing items} do have a different style, depending on the wing they are in (e.g.\ they are mirrored). This option toggles the style for the right wing.
4957 \begin{tcblisting}{@}
4958 \begin{tikzpicture}
4959 \pingu[flag left, flag right,
4960 right wing item flip]
4961 \end{tikzpicture}
4962 \end{tcblisting}
4963 \endkeyexplain
4964
4965 \keyalias{right item flip}{right wing item flip}
4966
4967 \subsubsection{The lollipop}
4968
4969 \showkeyexplain{lollipop left}{color}{pingu@green}
4970 Enable the left lollipop for the penguin:
4971 \begin{tcblisting}{@}
4972 \begin{tikzpicture}
4973 \pingu[lollipop left=green]
4974 \end{tikzpicture}
4975 \end{tcblisting}
4976 \endshowkeyexplain
4977
4978 \subkeyexplain{lollipop left}{lollipop left handle}{color}{\pingu@color@lollipopleft@handle}
4979 Change the handle color of the left lollipop:
4980 \begin{tcblisting}{@}
4981 \begin{tikzpicture}
4982 \pingu[lollipop left, lollipop left handle=green]
4983 \end{tikzpicture}
4984 \end{tcblisting}
4985 \endsubkeyexplain
4986
4987 \subkeyexplain{lollipop left}{lollipop left second}{color}{\pingu@color@lollipopleft@second}
4988 Change the second color of the left lollipop, used for the ring:
4989 \begin{tcblisting}{@}
4990 \begin{tikzpicture}
4991 \pingu[lollipop left, lollipop left second=blue]
4992 \end{tikzpicture}
4993 \end{tcblisting}
4994 \endsubkeyexplain
4995
4996 \showkeyexplain{lollipop right}{color}{pingu@green}
4997 Enable the right lollipop for the penguin:
4998 \begin{tcblisting}{@}
4999 \begin{tikzpicture}
5000 \pingu[lollipop right=green]
5001 \end{tikzpicture}
5002 \end{tcblisting}
5003 \endshowkeyexplain
5004
5005 \subkeyexplain{lollipop right}{lollipop right handle}{color}{\pingu@color@lollipopright@handle}
5006 Change the handle color of the right lollipop:
5007 \begin{tcblisting}{@}
5008 \begin{tikzpicture}
5009 \pingu[lollipop right, lollipop right handle=green]
5010 \end{tikzpicture}
5011 \end{tcblisting}
5012 \endsubkeyexplain
5013
5014 \subkeyexplain{lollipop right}{lollipop right second}{color}{\pingu@color@lollipopright@second}
5015 Change the second color of the right lollipop, used for the ring:
5016 \begin{tcblisting}{@}
5017 \begin{tikzpicture}
5018 \pingu[lollipop right, lollipop right second=blue]
5019 \end{tikzpicture}
5020 \end{tcblisting}
5021 \endsubkeyexplain
5022
5023 \subsubsection{The fish}
5024
5025 \showkeyexplain{fish left}{color}{pingu@blue!50!pingu@green!50!black!90!gray}
5026 Enable the left fish for the penguin:
5027 \begin{tcblisting}{@}
5028 \begin{tikzpicture}
5029 \pingu[fish left=green]
5030 \end{tikzpicture}
5031 \end{tcblisting}
5032 \endshowkeyexplain
5033
5034 \subkeyexplain{fish left}{fish left scales}{color}{\pingu@color@fishleft@scales}
5035 Change the scales color of the left fish:
5036 \begin{tcblisting}{@}
5037 \begin{tikzpicture}
5038 \pingu[fish left, fish left scales=green]
5039 \end{tikzpicture}
5040 \end{tcblisting}
5041 \endsubkeyexplain
5042
5043 \subkeyexplain{fish left}{fish left eye}{color}{\pingu@color@fishleft@eye}
5044 Change the eye color of the left fish:
5045 \begin{tcblisting}{@}
5046 \begin{tikzpicture}
5047 \pingu[fish left, fish left eye=green]
5048 \end{tikzpicture}
5049 \end{tcblisting}
5050 \endsubkeyexplain
5051
5052 \showkeyexplain{fish right}{color}{pingu@blue!50!pingu@green!50!black!90!gray}
5053 Enable the right fish for the penguin:
5054 \begin{tcblisting}{@}
5055 \begin{tikzpicture}
5056 \pingu[fish right=green]
5057 \end{tikzpicture}
5058 \end{tcblisting}
5059 \endshowkeyexplain
5060
5061 \subkeyexplain{fish right}{fish right scales}{color}{\pingu@color@fishright@scales}
5062 Change the scales color of the right fish:
5063 \begin{tcblisting}{@}
5064 \begin{tikzpicture}
5065 \pingu[fish right, fish right scales=green]
5066 \end{tikzpicture}
5067 \end{tcblisting}
5068 \endsubkeyexplain
5069
5070 \subkeyexplain{fish right}{fish right eye}{color}{\pingu@color@fishright@eye}
5071 Change the eye color of the right fish:
5072 \begin{tcblisting}{@}
5073 \begin{tikzpicture}
5074 \pingu[fish right, fish right eye=green]
5075 \end{tikzpicture}
5076 \end{tcblisting}
5077 \endsubkeyexplain
5078
5079 \subsubsection{The flower}
5080
5081 \showkeyexplain{flower left}{color}{pingu@white!80!pingu@black}
5082 \begin{tcblisting}{@}
5083 \begin{tikzpicture}
5084 \pingu[flower left=green]
5085 \end{tikzpicture}
5086 \end{tcblisting}
5087 \endshowkeyexplain
5088
5089 \subkeyexplain{flower left}{flower left size}{length}{\pingu@flower@left@size}
5090 \begin{tcblisting}{@}
5091 \begin{tikzpicture}
5092 \pingu[flower left, flower left size=12mm]
5093 \end{tikzpicture}
5094 \end{tcblisting}
5095 \endsubkeyexplain
5096
5097 \subkeyexplain{flower left}{flower left center}{color}{\pingu@color@flower@left@center}
5098 \begin{tcblisting}{@}
5099 \begin{tikzpicture}
5100 \pingu[flower left, flower left center=green]
5101 \end{tikzpicture}
5102 \end{tcblisting}
5103 \endsubkeyexplain
5104
5105 \subkeyexplain{flower left}{flower left center size}{length}{\pingu@flower@left@center@size}
5106 \begin{tcblisting}{@}
5107 \begin{tikzpicture}
5108 \pingu[flower left, flower left center size=1cm]
5109 \end{tikzpicture}
5110 \end{tcblisting}
5111 \endsubkeyexplain
5112 \subkeyexplain{flower left}{flower left stem}{color}{\pingu@color@flower@left@stem}
5113 \begin{tcblisting}{@}
5114 \begin{tikzpicture}
5115 \pingu[flower left, flower left stem=purple]
5116 \end{tikzpicture}
5117 \end{tcblisting}
5118 \endsubkeyexplain
5119
5120 \subkeyexplain{flower left}{flower left stem length}{length}{\pingu@flower@left@stem@length}
5121 \begin{tcblisting}{@}
5122 \begin{tikzpicture}
5123 \pingu[flower left, flower left stem length=1cm]
5124 \end{tikzpicture}
5125 \end{tcblisting}
5126 \endsubkeyexplain
5127
5128 \subkeyexplain{flower left}{flower left stem width}{length}{\pingu@flower@left@stem@width}
5129 \begin{tcblisting}{@}
5130 \begin{tikzpicture}
5131 \pingu[flower left, flower left stem width=1cm]
5132 \end{tikzpicture}
5133 \end{tcblisting}
5134 \endsubkeyexplain
5135
5136 \subkeyexplain{flower left}{flower left stem tilt}{length}{\pingu@flower@left@stem@tilt}
5137 \begin{tcblisting}{@}
5138 \begin{tikzpicture}
5139 \pingu[flower left, flower left stem tilt=-1cm]
5140 \end{tikzpicture}
5141 \end{tcblisting}
5142 \endsubkeyexplain
5143
5144 \subkeyexplain{flower left}{flower left petal count}{count}{\pingu@flower@left@petals}
5145 \begin{tcblisting}{@}
5146 \begin{tikzpicture}
5147 \pingu[flower left, flower left petal count=8]
5148 \end{tikzpicture}
5149 \end{tcblisting}
5150 \endsubkeyexplain
5151
5152 \subkeyexplain{flower left}{flower left petal width}{length}{\pingu@flower@left@petals@width}
5153 \begin{tcblisting}{@}
5154 \begin{tikzpicture}
5155 \pingu[flower left, flower left petal width=1cm]
5156 \end{tikzpicture}
5157 \end{tcblisting}
5158 \endsubkeyexplain
5159
5160 \subkeyexplain{flower left}{flower left petal start angle}{length}{\pingu@flower@left@petals@start@angle}
5161 \begin{tcblisting}{@}
5162 \begin{tikzpicture}
5163 \pingu[flower left, flower left petal start angle=-40]
5164 \end{tikzpicture}
5165 \end{tcblisting}
5166 \endsubkeyexplain
5167
5168 \subkeyexplain{flower left}{flower left petal peak}{factor}{\pingu@flower@left@petals@peak}
5169 \begin{tcblisting}{@}
5170 \begin{tikzpicture}
5171 \pingu[flower left, flower left petal peak=12]
5172 \end{tikzpicture}
5173 \end{tcblisting}
5174 \endsubkeyexplain
5175
5176
5177 \showkeyexplain{flower right}{color}{pingu@white!80!pingu@black}
5178 \begin{tcblisting}{@}
5179 \begin{tikzpicture}
5180 \pingu[flower right=green]
5181 \end{tikzpicture}
5182 \end{tcblisting}
5183 \endshowkeyexplain
5184
5185 \subkeyexplain{flower right}{flower right size}{length}{\pingu@flower@right@size}
5186 \begin{tcblisting}{@}
5187 \begin{tikzpicture}
5188 \pingu[flower right, flower right size=12mm]
5189 \end{tikzpicture}
5190 \end{tcblisting}
5191 \endsubkeyexplain
5192
5193 \subkeyexplain{flower right}{flower right center}{color}{\pingu@color@flower@right@center}
5194 \begin{tcblisting}{@}
5195 \begin{tikzpicture}
5196 \pingu[flower right, flower right center=green]
5197 \end{tikzpicture}
5198 \end{tcblisting}
5199 \endsubkeyexplain
5200
5201 \subkeyexplain{flower right}{flower right center size}{length}{\pingu@flower@right@center@size}
5202 \begin{tcblisting}{@}
5203 \begin{tikzpicture}
5204 \pingu[flower right, flower right center size=1cm]
5205 \end{tikzpicture}
5206 \end{tcblisting}
5207 \endsubkeyexplain
5208 \subkeyexplain{flower right}{flower right stem}{color}{\pingu@color@flower@right@stem}
5209 \begin{tcblisting}{@}
5210 \begin{tikzpicture}
5211 \pingu[flower right, flower right stem=purple]
5212 \end{tikzpicture}
5213 \end{tcblisting}
5214 \endsubkeyexplain
5215
5216 \subkeyexplain{flower right}{flower right stem length}{length}{\pingu@flower@right@stem@length}
5217 \begin{tcblisting}{@}
5218 \begin{tikzpicture}
5219 \pingu[flower right, flower right stem length=1cm]
5220 \end{tikzpicture}
5221 \end{tcblisting}
5222 \endsubkeyexplain
5223
5224 \subkeyexplain{flower right}{flower right stem width}{length}{\pingu@flower@right@stem@width}
5225 \begin{tcblisting}{@}
5226 \begin{tikzpicture}
5227 \pingu[flower right, flower right stem width=1cm]
5228 \end{tikzpicture}
5229 \end{tcblisting}
5230 \endsubkeyexplain
5231
5232 \subkeyexplain{flower right}{flower right stem tilt}{length}{\pingu@flower@right@stem@tilt}
5233 \begin{tcblisting}{@}
5234 \begin{tikzpicture}
5235 \pingu[flower right, flower right stem tilt=-1cm]
5236 \end{tikzpicture}
5237 \end{tcblisting}
5238 \endsubkeyexplain
5239
5240 \subkeyexplain{flower right}{flower right petal count}{count}{\pingu@flower@right@petals}
5241 \begin{tcblisting}{@}
5242 \begin{tikzpicture}
5243 \pingu[flower right, flower right petal count=8]
5244 \end{tikzpicture}
5245 \end{tcblisting}
5246 \endsubkeyexplain
5247
5248 \subkeyexplain{flower right}{flower right petal width}{length}{\pingu@flower@right@petals@width}
5249 \begin{tcblisting}{@}
5250 \begin{tikzpicture}
5251 \pingu[flower right, flower right petal width=1cm]
5252 \end{tikzpicture}
5253 \end{tcblisting}
5254 \endsubkeyexplain
5255
5256 \subkeyexplain{flower right}{flower right petal start angle}{length}{\pingu@flower@right@petals@start@angle}
5257 \begin{tcblisting}{@}
5258 \begin{tikzpicture}
5259 \pingu[flower right, flower right petal start angle=-40]
5260 \end{tikzpicture}
5261 \end{tcblisting}
5262 \endsubkeyexplain
5263
5264 \subkeyexplain{flower right}{flower right petal peak}{factor}{\pingu@flower@right@petals@peak}
5265 \begin{tcblisting}{@}
5266 \begin{tikzpicture}
5267 \pingu[flower right, flower right petal peak=12]
5268 \end{tikzpicture}
5269 \end{tcblisting}
5270 \endsubkeyexplain
5271
5272
5273
5274
5275 \subsubsection{The cane}
5276
5277 \showkeyexplain{cane left}{color}{pingu@bronze}
5278 Enable the left cane for the penguin:
5279 \begin{tcblisting}{@}
5280 \begin{tikzpicture}
5281 \pingu[cane left=green]
5282 \end{tikzpicture}
5283 \end{tcblisting}
5284 \endshowkeyexplain
5285
5286 \subkeyexplain{cane left}{cane left raise}{length}{\pinug@x@cane@raise@left}
5287 Raise the cane of the pingu:
5288 \begin{tcblisting}{@}
5289 \begin{tikzpicture}
5290 \pingu[cane left,cane left raise=5mm]
5291 \end{tikzpicture}
5292 \end{tcblisting}
5293 \endsubkeyexplain
5294
5295 \showkeyexplain{cane right}{color}{pingu@bronze}
5296 Enable the right cane for the penguin:
5297 \begin{tcblisting}{@}
5298 \begin{tikzpicture}
5299 \pingu[cane right=green]
5300 \end{tikzpicture}
5301 \end{tcblisting}
5302 \endshowkeyexplain
5303
5304 \subkeyexplain{cane right}{cane right raise}{length}{\pinug@x@cane@raise@right}
5305 Raise the cane of the pingu:
5306 \begin{tcblisting}{@}
5307 \begin{tikzpicture}
5308 \pingu[cane right,cane right raise=5mm]
5309 \end{tikzpicture}
5310 \end{tcblisting}
5311 \endsubkeyexplain
5312
5313 \subsubsection{The hand cast}
5314
5315 \keyexplain{hand cast left}{text}{X}
5316 Show a symbol above the left wing of the penguin:
5317 \begin{tcblisting}{@}
5318 \begin{tikzpicture}
5319 \pingu[hand cast left=ABCDEFG]
5320 \end{tikzpicture}
5321 \end{tcblisting}
5322 \endkeyexplain
5323
5324 \keyalias{handcast left}{hand cast left}
5325
5326 \subkeyexplain{hand cast left}{hand cast left color}{color}{\pingu@color@handcast@left@color}
5327 Change the color of the left hand cast:
5328 \begin{tcblisting}{@}
5329 \begin{tikzpicture}
5330 \pingu[hand cast left,
5331 hand cast left color=green]
5332 \end{tikzpicture}
5333 \end{tcblisting}
5334 \endsubkeyexplain
5335
5336 \keyalias{handcast left color}{hand cast left color}
5337
5338 \keyexplain{hand cast right}{text}{X}
5339 Show a symbol above the right wing of the penguin:
5340 \begin{tcblisting}{@}
5341 \begin{tikzpicture}
5342 \pingu[hand cast right=ABCDEFG]
5343 \end{tikzpicture}
5344 \end{tcblisting}
5345 \endkeyexplain
5346
5347 \keyalias{handcast right}{hand cast right}
5348
5349 \subkeyexplain{hand cast right}{hand cast right color}{color}{\pingu@color@handcast@right@color}
5350 Change the color of the right hand cast:
5351 \begin{tcblisting}{@}
5352 \begin{tikzpicture}
5353 \pingu[hand cast right,
5354 hand cast right color=green]
5355 \end{tikzpicture}
5356 \end{tcblisting}
5357 \endsubkeyexplain
5358
5359 \keyalias{handcast right color}{hand cast right color}
5360
5361 \subsubsection{The sign post}
5362
5363 \showkeyexplain{sign post left}{text}{}(Example)
5364 \begin{tcblisting}{@}
5365 \begin{tikzpicture}
5366 \pingu[sign post left=ABC]
5367 \end{tikzpicture}
5368 \end{tcblisting}
5369 \endshowkeyexplain
5370
5371 \keyalias{signpost left}{sign post left}
5372
5373 \subkeyexplain{sign post left}{sign post left color}{color}{\pingu@color@signpostleft}
5374 Change the color of the sign post:
5375 \begin{tcblisting}{@}
5376 \begin{tikzpicture}
5377 \pingu[sign post left, sign post left color=green]
5378 \end{tikzpicture}
5379 \end{tcblisting}
5380 \endsubkeyexplain
5381
5382 \subkeyalias{signpost left color}{sign post left color}{sign post left}
5383
5384 \subkeyexplain{sign post left}{sign post left font color}{color}{\pingu@color@signpostleft@font}
5385 Change the font color of the sign post:
5386 \begin{tcblisting}{@}
5387 \begin{tikzpicture}
5388 \pingu[sign post left=ABCD,
5389 sign post left font color=green]
5390 \end{tikzpicture}
5391 \end{tcblisting}
5392 \endsubkeyexplain
5393
5394 \subkeyalias{signpost left fontcolor}{sign post left font color}{sign post left}
5395
5396 \showkeyexplain{sign post right}{text}{}(Example)
5397 \begin{tcblisting}{@}
5398 \begin{tikzpicture}
5399 \pingu[sign post right=ABC]
5400 \end{tikzpicture}
5401 \end{tcblisting}
5402 \endshowkeyexplain
5403
5404 \keyalias{signpost right}{sign post right}
5405
5406 \subkeyexplain{sign post right}{sign post right color}{color}{\pingu@color@signpostright}
5407 Change the color of the sign post:
5408 \begin{tcblisting}{@}
5409 \begin{tikzpicture}
5410 \pingu[sign post right, sign post right color=green]
5411 \end{tikzpicture}
5412 \end{tcblisting}
5413 \endsubkeyexplain
5414
5415 \subkeyalias{signpost right color}{sign post right color}{sign post right}
5416
5417 \subkeyexplain{sign post right}{sign post right font color}{color}{\pingu@color@signpostright@font}
5418 Change the font color of the sign post:
5419 \begin{tcblisting}{@}
5420 \begin{tikzpicture}
5421 \pingu[sign post right=ABCD,
5422 sign post right font color=green]
5423 \end{tikzpicture}
5424 \end{tcblisting}
5425 \endsubkeyexplain
5426
5427 \subkeyalias{signpost right fontcolor}{sign post right font color}{sign post right}
5428
5429 \subsubsection{The lightsaber}
5430
5431 \showkeyexplain{lightsaber left}{color}{pingu@blue}
5432 \begin{tcblisting}{}
5433 \begin{tikzpicture}
5434 \pingu[lightsaber left=green]
5435 \end{tikzpicture}
5436 \end{tcblisting}
5437 \endshowkeyexplain
5438
5439 \subkeyexplain{lightsaber left}{lightsaber left handle}{color}{\pingu@color@lightsaberleft@handle}
5440 Change the color of the penguins lightsabers' handle:
5441 \begin{tcblisting}{}
5442 \begin{tikzpicture}
5443 \pingu[lightsaber left,
5444 lightsaber left handle=green]
5445 \end{tikzpicture}
5446 \end{tcblisting}
5447 \endsubkeyexplain
5448
5449 \subkeyexplain{lightsaber left}{lightsaber left deco}{color}{\pingu@color@lightsaberleft@deco}
5450 Change the color of the penguins lightsabers' decoration elements:
5451 \begin{tcblisting}{}
5452 \begin{tikzpicture}
5453 \pingu[lightsaber left,
5454 lightsaber left deco=green]
5455 \end{tikzpicture}
5456 \end{tcblisting}
5457 \endsubkeyexplain
5458
5459 \subkeyexplain{lightsaber left}{lightsaber left ribbs}{color}{\pingu@color@lightsaberleft@ribbs}
5460 Change the color of the penguins lightsabers' ribbs:
5461 \begin{tcblisting}{}
5462 \begin{tikzpicture}
5463 \pingu[lightsaber left,
5464 lightsaber left ribbs=green]
5465 \end{tikzpicture}
5466 \end{tcblisting}
5467 \endsubkeyexplain
5468
5469 \subkeyexplain{lightsaber left}{lightsaber left button}{color}{\pingu@color@lightsaberleft@button}
5470 Change the color of the penguins lightsabers' first button:
5471 \begin{tcblisting}{}
5472 \begin{tikzpicture}
5473 \pingu[lightsaber left,
5474 lightsaber left button=green]
5475 \end{tikzpicture}
5476 \end{tcblisting}
5477 \endsubkeyexplain
5478
5479 \subkeyexplain{lightsaber left}{lightsaber left button b}{color}{\pingu@color@lightsaberleft@button@b}
5480 Change the color of the penguins lightsabers' second button:
5481 \begin{tcblisting}{}
5482 \begin{tikzpicture}
5483 \pingu[lightsaber left,
5484 lightsaber left button b=green]
5485 \end{tikzpicture}
5486 \end{tcblisting}
5487 \endsubkeyexplain
5488
5489 \subkeyexplain{lightsaber left}{lightsaber left double}{true/false}{\if@pingu@x@lightsaber@double@left true\else false\fi}
5490 Toggle the visibility of the second lightsaber:
5491 \begin{tcblisting}{}
5492 \begin{tikzpicture}
5493 \pingu[lightsaber left, lightsaber left double,
5494 left wing item angle=90]
5495 \end{tikzpicture}
5496 \end{tcblisting}
5497 \endsubkeyexplain
5498
5499 {\def\@col{<lightsaber-color>}
5500 \subkeyexplain{lightsaber left}{lightsaber left color b}{color}{\pingu@color@lightsaberleft@color@b}
5501 Change the color of the penguins second lightsaber, which is only shown if \keyref{lightsaber left double} is enabled:
5502 \begin{tcblisting}{}
5503 \begin{tikzpicture}
5504 \pingu[lightsaber left, lightsaber left double,
5505 lightsaber left color b=green,
5506 left wing item angle=90]
5507 \end{tikzpicture}
5508 \end{tcblisting}
5509 \endsubkeyexplain}
5510
5511 \subkeyexplain{lightsaber left}{lightsaber left length}{length}{\pingu@x@lightsaber@length@left}
5512 \begin{tcblisting}{}
5513 \begin{tikzpicture}
5514 \pingu[lightsaber left, lightsaber left length=6mm]
5515 \end{tikzpicture}
5516 \end{tcblisting}
5517 \endsubkeyexplain
5518
5519 \subkeyexplain{lightsaber left}{lightsaber left length b}{length}{\pingu@x@lightsaber@length@b@left}
5520 Change the length of the penguins second lightsaber (active with \keyref{lightsaber left double}):
5521 \begin{tcblisting}{}
5522 \begin{tikzpicture}
5523 \pingu[lightsaber left, lightsaber left double,
5524 lightsaber left length b=6mm]
5525 \end{tikzpicture}
5526 \end{tcblisting}
5527 \endsubkeyexplain
5528
5529
5530 \subkeyexplain{lightsaber left}{lightsaber left yshift}{length}{\pingu@x@lightsaber@yshift@left}
5531 Shift the penguins lightsaber in the y direction:
5532 \begin{tcblisting}{}
5533 \begin{tikzpicture}
5534 \pingu[lightsaber left, lightsaber left yshift=12mm,
5535 lightsaber left length=5mm]
5536 \end{tikzpicture}
5537 \end{tcblisting}
5538 \endsubkeyexplain
5539
5540 \subkeyexplain{lightsaber left}{lightsaber left glow}{true/false}{\if@pingu@x@lightsaber@glow@left true\else false\fi}
5541 Toggle the glow of the lightsaber. The default is controlled by the \texttt{glows}-package option.
5542 \begin{tcblisting}{}
5543 \begin{tikzpicture}
5544 \pingu[lightsaber left, lightsaber left glow=false]
5545 \end{tikzpicture}
5546 \end{tcblisting}
5547 \endsubkeyexplain
5548
5549 \subkeyexplain{lightsaber left}{lightsaber left solid}{}{}
5550 Disables the \keyref{lightsaber left glow}:
5551 \begin{tcblisting}{}
5552 \begin{tikzpicture}
5553 \pingu[lightsaber left, lightsaber left solid]
5554 \end{tikzpicture}
5555 \end{tcblisting}
5556 \endsubkeyexplain
5557
5558 \subkeyexplain{lightsaber left}{lightsaber left glow core}{color}{\pingu@color@lightsaberleft@glow@core}
5559 Change the color of the lightsabers glow core:
5560 \begin{tcblisting}{}
5561 \begin{tikzpicture}
5562 \pingu[lightsaber left, lightsaber left glow=true,
5563 lightsaber left glow core=cyan]
5564 \end{tikzpicture}
5565 \end{tcblisting}
5566 \endsubkeyexplain
5567
5568 \subkeyexplain{lightsaber left}{lightsaber left outer glow factor}{factor}{\pingu@x@lightsaber@ogf@left}
5569 Modify the glow factor of the left lightsaber:
5570 \begin{tcblisting}{}
5571 \begin{tikzpicture}
5572 \pingu[lightsaber left,
5573 lightsaber left outer glow factor=.3]
5574 \end{tikzpicture}
5575 \end{tcblisting}
5576 \endsubkeyexplain
5577
5578 \subkeyexplain{lightsaber left}{lightsaber left disabled}{}{}
5579 Disables the lightsaber so only the handle is visible:
5580 \begin{tcblisting}{}
5581 \begin{tikzpicture}
5582 \pingu[lightsaber left, lightsaber left disabled]
5583 \end{tikzpicture}
5584 \end{tcblisting}
5585 \endsubkeyexplain
5586
5587
5588 \showkeyexplain{lightsaber right}{color}{pingu@blue}
5589 \begin{tcblisting}{}
5590 \begin{tikzpicture}
5591 \pingu[lightsaber right=green]
5592 \end{tikzpicture}
5593 \end{tcblisting}
5594 \endshowkeyexplain
5595
5596 \subkeyexplain{lightsaber right}{lightsaber right handle}{color}{\pingu@color@lightsaberright@handle}
5597 Change the color of the penguins lightsabers' handle:
5598 \begin{tcblisting}{}
5599 \begin{tikzpicture}
5600 \pingu[lightsaber right,
5601 lightsaber right handle=green]
5602 \end{tikzpicture}
5603 \end{tcblisting}
5604 \endsubkeyexplain
5605
5606 \subkeyexplain{lightsaber right}{lightsaber right deco}{color}{\pingu@color@lightsaberright@deco}
5607 Change the color of the penguins lightsabers' decoration elements:
5608 \begin{tcblisting}{}
5609 \begin{tikzpicture}
5610 \pingu[lightsaber right,
5611 lightsaber right deco=green]
5612 \end{tikzpicture}
5613 \end{tcblisting}
5614 \endsubkeyexplain
5615
5616 \subkeyexplain{lightsaber right}{lightsaber right ribbs}{color}{\pingu@color@lightsaberright@ribbs}
5617 Change the color of the penguins lightsabers' ribbs:
5618 \begin{tcblisting}{}
5619 \begin{tikzpicture}
5620 \pingu[lightsaber right,
5621 lightsaber right ribbs=green]
5622 \end{tikzpicture}
5623 \end{tcblisting}
5624 \endsubkeyexplain
5625
5626 \subkeyexplain{lightsaber right}{lightsaber right button}{color}{\pingu@color@lightsaberright@button}
5627 Change the color of the penguins lightsabers' first button:
5628 \begin{tcblisting}{}
5629 \begin{tikzpicture}
5630 \pingu[lightsaber right,
5631 lightsaber right button=green]
5632 \end{tikzpicture}
5633 \end{tcblisting}
5634 \endsubkeyexplain
5635
5636 \subkeyexplain{lightsaber right}{lightsaber right button b}{color}{\pingu@color@lightsaberright@button@b}
5637 Change the color of the penguins lightsabers' second button:
5638 \begin{tcblisting}{}
5639 \begin{tikzpicture}
5640 \pingu[lightsaber right,
5641 lightsaber right button b=green]
5642 \end{tikzpicture}
5643 \end{tcblisting}
5644 \endsubkeyexplain
5645
5646 \subkeyexplain{lightsaber right}{lightsaber right double}{true/false}{\if@pingu@x@lightsaber@double@right true\else false\fi}
5647 Toggle the visibility of the second lightsaber:
5648 \begin{tcblisting}{}
5649 \begin{tikzpicture}
5650 \pingu[lightsaber right, lightsaber right double,
5651 right wing item angle=90]
5652 \end{tikzpicture}
5653 \end{tcblisting}
5654 \endsubkeyexplain
5655
5656 {\def\@col{<lightsaber-color>}
5657 \subkeyexplain{lightsaber right}{lightsaber right color b}{color}{\pingu@color@lightsaberright@color@b}
5658 Change the color of the penguins second lightsaber, which is only shown if \keyref{lightsaber right double} is enabled:
5659 \begin{tcblisting}{}
5660 \begin{tikzpicture}
5661 \pingu[lightsaber right, lightsaber right double,
5662 lightsaber right color b=green,
5663 right wing item angle=90]
5664 \end{tikzpicture}
5665 \end{tcblisting}
5666 \endsubkeyexplain}
5667
5668 \subkeyexplain{lightsaber right}{lightsaber right length}{length}{\pingu@x@lightsaber@length@right}
5669 \begin{tcblisting}{}
5670 \begin{tikzpicture}
5671 \pingu[lightsaber right,
5672 lightsaber right length=6mm]
5673 \end{tikzpicture}
5674 \end{tcblisting}
5675 \endsubkeyexplain
5676
5677 \subkeyexplain{lightsaber right}{lightsaber right length b}{length}{\pingu@x@lightsaber@length@b@right}
5678 Change the length of the penguins second lightsaber (active with \keyref{lightsaber right double}):
5679 \begin{tcblisting}{}
5680 \begin{tikzpicture}
5681 \pingu[lightsaber right, lightsaber right double,
5682 lightsaber right length b=6mm]
5683 \end{tikzpicture}
5684 \end{tcblisting}
5685 \endsubkeyexplain
5686
5687
5688 \subkeyexplain{lightsaber right}{lightsaber right yshift}{length}{\pingu@x@lightsaber@yshift@right}
5689 Shift the penguins lightsaber in the y direction:
5690 \begin{tcblisting}{}
5691 \begin{tikzpicture}
5692 \pingu[lightsaber right,
5693 lightsaber right yshift=12mm,
5694 lightsaber right length=5mm]
5695 \end{tikzpicture}
5696 \end{tcblisting}
5697 \endsubkeyexplain
5698
5699 \subkeyexplain{lightsaber right}{lightsaber right glow}{true/false}{\if@pingu@x@lightsaber@glow@right true\else false\fi}
5700 Toggle the glow of the lightsaber. The default is controlled by the \texttt{glows}-package option.
5701 \begin{tcblisting}{}
5702 \begin{tikzpicture}
5703 \pingu[lightsaber right,
5704 lightsaber right glow=false]
5705 \end{tikzpicture}
5706 \end{tcblisting}
5707 \endsubkeyexplain
5708
5709 \subkeyexplain{lightsaber right}{lightsaber right solid}{}{}
5710 Disables the \keyref{lightsaber right glow}:
5711 \begin{tcblisting}{}
5712 \begin{tikzpicture}
5713 \pingu[lightsaber right, lightsaber right solid]
5714 \end{tikzpicture}
5715 \end{tcblisting}
5716 \endsubkeyexplain
5717
5718 \subkeyexplain{lightsaber right}{lightsaber right glow core}{color}{\pingu@color@lightsaberright@glow@core}
5719 Change the color of the lightsabers glow core:
5720 \begin{tcblisting}{}
5721 \begin{tikzpicture}
5722 \pingu[lightsaber right, lightsaber right glow=true,
5723 lightsaber right glow core=cyan]
5724 \end{tikzpicture}
5725 \end{tcblisting}
5726 \endsubkeyexplain
5727
5728 \subkeyexplain{lightsaber right}{lightsaber right outer glow factor}{factor}{\pingu@x@lightsaber@ogf@right}
5729 Modify the glow factor of the right lightsaber:
5730 \begin{tcblisting}{}
5731 \begin{tikzpicture}
5732 \pingu[lightsaber right,
5733 lightsaber right outer glow factor=.3]
5734 \end{tikzpicture}
5735 \end{tcblisting}
5736 \endsubkeyexplain
5737
5738 \subkeyexplain{lightsaber right}{lightsaber right disabled}{}{}
5739 Disables the lightsaber so only the handle is visible:
5740 \begin{tcblisting}{}
5741 \begin{tikzpicture}
5742 \pingu[lightsaber right, lightsaber right disabled]
5743 \end{tikzpicture}
5744 \end{tcblisting}
5745 \endsubkeyexplain
5746
5747 \subsubsection{The lightstaff}
5748
5749 \showkeyexplain{light-staff left}{color}{pingu@green}
5750 Color similar to \keyref{light-staff left head}:
5751 \begin{tcblisting}{}
5752 \begin{tikzpicture}
5753 \pingu[light-staff left=green]
5754 \end{tikzpicture}
5755 \end{tcblisting}
5756 \endshowkeyexplain
5757
5758 \subkeyexplain{light-staff left}{light-staff left length}{length}{\pingu@lightstaff@left@length}
5759 \begin{tcblisting}{}
5760 \begin{tikzpicture}
5761 \pingu[light-staff left,
5762 light-staff left length=18mm]
5763 \end{tikzpicture}
5764 \end{tcblisting}
5765 \endsubkeyexplain
5766
5767 \subkeyexplain{light-staff left}{light-staff left glow length}{length}{\pingu@lightstaff@left@glow@length}
5768 \begin{tcblisting}{}
5769 \begin{tikzpicture}
5770 \pingu[light-staff left,
5771 light-staff left glow length=16mm]
5772 \end{tikzpicture}
5773 \end{tcblisting}
5774 \endsubkeyexplain
5775
5776 \subkeyexplain{light-staff left}{light-staff left head}{color}{pingu@green}
5777 Same as assigning the color to \keyref{light-staff left}:
5778 \begin{tcblisting}{}
5779 \begin{tikzpicture}
5780 \pingu[light-staff left,
5781 light-staff left head=pingu@purple]
5782 \end{tikzpicture}
5783 \end{tcblisting}
5784 \endsubkeyexplain
5785
5786 \subkeyexplain{light-staff left}{light-staff left staff}{color}{\pingu@color@lightstaff@left@staff}
5787 \begin{tcblisting}{}
5788 \begin{tikzpicture}
5789 \pingu[light-staff left,
5790 light-staff left staff=green]
5791 \end{tikzpicture}
5792 \end{tcblisting}
5793 \endsubkeyexplain
5794
5795 \subkeyexplain{light-staff left}{light-staff left core}{color}{\pingu@color@lightstaff@left@head@core}
5796 \begin{tcblisting}{}
5797 \begin{tikzpicture}
5798 \pingu[light-staff left,
5799 light-staff left core=green]
5800 \end{tikzpicture}
5801 \end{tcblisting}
5802 \endsubkeyexplain
5803
5804 \subkeyexplain{light-staff left}{light-staff left core width}{length}{\pingu@lightstaff@left@core@width}
5805 \begin{tcblisting}{}
5806 \begin{tikzpicture}
5807 \pingu[light-staff left,
5808 light-staff left core width=2mm]
5809 \end{tikzpicture}
5810 \end{tcblisting}
5811 \endsubkeyexplain
5812
5813 \subkeyexplain{light-staff left}{light-staff left outer glow factor}{factor}{\pingu@x@lightstaff@ogf@left}
5814 Similar to \keyref{lightsaber left outer glow factor}:
5815 \begin{tcblisting}{}
5816 \begin{tikzpicture}
5817 \pingu[light-staff left,
5818 light-staff left outer glow factor=.5]
5819 \end{tikzpicture}
5820 \end{tcblisting}
5821 \endsubkeyexplain
5822
5823 \showkeyexplain{light-staff right}{color}{pingu@green}
5824 Color similar to \keyref{light-staff right head}:
5825 \begin{tcblisting}{}
5826 \begin{tikzpicture}
5827 \pingu[light-staff right=green]
5828 \end{tikzpicture}
5829 \end{tcblisting}
5830 \endshowkeyexplain
5831
5832 \subkeyexplain{light-staff right}{light-staff right length}{length}{\pingu@lightstaff@right@length}
5833 \begin{tcblisting}{}
5834 \begin{tikzpicture}
5835 \pingu[light-staff right,
5836 light-staff right length=18mm]
5837 \end{tikzpicture}
5838 \end{tcblisting}
5839 \endsubkeyexplain
5840
5841 \subkeyexplain{light-staff right}{light-staff right glow length}{length}{\pingu@lightstaff@right@glow@length}
5842 \begin{tcblisting}{}
5843 \begin{tikzpicture}
5844 \pingu[light-staff right,
5845 light-staff right glow length=16mm]
5846 \end{tikzpicture}
5847 \end{tcblisting}
5848 \endsubkeyexplain
5849
5850 \subkeyexplain{light-staff right}{light-staff right head}{color}{pingu@green}
5851 Same as assigning the color to \keyref{light-staff right}:
5852 \begin{tcblisting}{}
5853 \begin{tikzpicture}
5854 \pingu[light-staff right,
5855 light-staff right head=pingu@purple]
5856 \end{tikzpicture}
5857 \end{tcblisting}
5858 \endsubkeyexplain
5859
5860 \subkeyexplain{light-staff right}{light-staff right staff}{color}{\pingu@color@lightstaff@right@staff}
5861 \begin{tcblisting}{}
5862 \begin{tikzpicture}
5863 \pingu[light-staff right,
5864 light-staff right staff=green]
5865 \end{tikzpicture}
5866 \end{tcblisting}
5867 \endsubkeyexplain
5868
5869 \subkeyexplain{light-staff right}{light-staff right core}{color}{\pingu@color@lightstaff@right@head@core}
5870 \begin{tcblisting}{}
5871 \begin{tikzpicture}
5872 \pingu[light-staff right,
5873 light-staff right core=green]
5874 \end{tikzpicture}
5875 \end{tcblisting}
5876 \endsubkeyexplain
5877
5878 \subkeyexplain{light-staff right}{light-staff right core width}{length}{\pingu@lightstaff@right@core@width}
5879 \begin{tcblisting}{}
5880 \begin{tikzpicture}
5881 \pingu[light-staff right,
5882 light-staff right core width=2mm]
5883 \end{tikzpicture}
5884 \end{tcblisting}
5885 \endsubkeyexplain
5886
5887 \subkeyexplain{light-staff right}{light-staff right outer glow factor}{factor}{\pingu@x@lightstaff@ogf@right}
5888 Similar to \keyref{lightsaber right outer glow factor}:
5889 \begin{tcblisting}{}
5890 \begin{tikzpicture}
5891 \pingu[light-staff right,
5892 light-staff right outer glow factor=.5]
5893 \end{tikzpicture}
5894 \end{tcblisting}
5895 \endsubkeyexplain
5896
5897 \subsubsection{The broom}
5898
5899 \showkeyexplain{broom left}{color}{pingu@bronze}
5900 \begin{tcblisting}{}
5901 \begin{tikzpicture}
5902 \pingu[broom left=green]
5903 \end{tikzpicture}
5904 \end{tcblisting}
5905 \endshowkeyexplain
5906
5907 \subkeyexplain{broom left}{broom left length}{length}{\pingu@broom@left@length}
5908 \begin{tcblisting}{@}
5909 \begin{tikzpicture}
5910 \pingu[broom left, broom left length=17mm]
5911 \end{tikzpicture}
5912 \end{tcblisting}
5913 \endsubkeyexplain
5914
5915 \subkeyexplain{broom left}{broom left shift}{length}{\pingu@broom@left@shift}
5916 \begin{tcblisting}{@}
5917 \begin{tikzpicture}
5918 \pingu[broom left, broom left shift=4mm]
5919 \end{tikzpicture}
5920 \end{tcblisting}
5921 \endsubkeyexplain
5922
5923 \subkeyexplain{broom left}{broom left band}{color}{\pingu@color@broom@left@band}
5924 \begin{tcblisting}{@}
5925 \begin{tikzpicture}
5926 \pingu[broom left, broom left band=pingu@green]
5927 \end{tikzpicture}
5928 \end{tcblisting}
5929 \endsubkeyexplain
5930
5931 \subkeyexplain{broom left}{broom left bristles a}{color}{\pingu@color@broom@left@bristles@a}
5932 \begin{tcblisting}{@}
5933 \begin{tikzpicture}
5934 \pingu[broom left, broom left bristles a=pingu@green]
5935 \end{tikzpicture}
5936 \end{tcblisting}
5937 \endsubkeyexplain
5938
5939 \subkeyexplain{broom left}{broom left bristles b}{color}{currently hacky}
5940 \begin{tcblisting}{@}
5941 \begin{tikzpicture}
5942 \pingu[broom left, broom left bristles b=pingu@green]
5943 \end{tikzpicture}
5944 \end{tcblisting}
5945 \endsubkeyexplain
5946
5947 \subkeyexplain{broom left}{broom left bristles c}{color}{currently hacky}
5948 \begin{tcblisting}{@}
5949 \begin{tikzpicture}
5950 \pingu[broom left, broom left bristles c=pingu@green]
5951 \end{tikzpicture}
5952 \end{tcblisting}
5953 \endsubkeyexplain
5954
5955 \showkeyexplain{broom right}{color}{pingu@bronze}
5956 \begin{tcblisting}{}
5957 \begin{tikzpicture}
5958 \pingu[broom right=green]
5959 \end{tikzpicture}
5960 \end{tcblisting}
5961 \endshowkeyexplain
5962
5963 \subkeyexplain{broom right}{broom right length}{length}{\pingu@broom@right@length}
5964 \begin{tcblisting}{@}
5965 \begin{tikzpicture}
5966 \pingu[broom right, broom right length=17mm]
5967 \end{tikzpicture}
5968 \end{tcblisting}
5969 \endsubkeyexplain
5970
5971 \subkeyexplain{broom right}{broom right shift}{length}{\pingu@broom@right@shift}
5972 \begin{tcblisting}{@}
5973 \begin{tikzpicture}
5974 \pingu[broom right, broom right shift=4mm]
5975 \end{tikzpicture}
5976 \end{tcblisting}
5977 \endsubkeyexplain
5978
5979 \subkeyexplain{broom right}{broom right band}{color}{\pingu@color@broom@right@band}
5980 \begin{tcblisting}{@}
5981 \begin{tikzpicture}
5982 \pingu[broom right, broom right band=pingu@green]
5983 \end{tikzpicture}
5984 \end{tcblisting}
5985 \endsubkeyexplain
5986
5987 \subkeyexplain{broom right}{broom right bristles a}{color}{\pingu@color@broom@right@bristles@a}
5988 \begin{tcblisting}{@}
5989 \begin{tikzpicture}
5990 \pingu[broom right, broom right bristles a=pingu@green]
5991 \end{tikzpicture}
5992 \end{tcblisting}
5993 \endsubkeyexplain
5994
5995 \subkeyexplain{broom right}{broom right bristles b}{color}{currently hacky}
5996 \begin{tcblisting}{@}
5997 \begin{tikzpicture}
5998 \pingu[broom right, broom right bristles b=pingu@green]
5999 \end{tikzpicture}
6000 \end{tcblisting}
6001 \endsubkeyexplain
6002
6003 \subkeyexplain{broom right}{broom right bristles c}{color}{currently hacky}
6004 \begin{tcblisting}{@}
6005 \begin{tikzpicture}
6006 \pingu[broom right, broom right bristles c=pingu@green]
6007 \end{tikzpicture}
6008 \end{tcblisting}
6009 \endsubkeyexplain
6010
6011
6012 \subsubsection{The guitar}
6013
6014 \showkeyexplain{guitar left}{color}{pingu@red!90!black}
6015 \begin{tcblisting}{}
6016 \begin{tikzpicture}
6017 \pingu[guitar left=green]
6018 \end{tikzpicture}
6019 \end{tcblisting}
6020 \endshowkeyexplain
6021
6022 {\def\pingu@color@guitarleft{<guitar-left-color>}
6023 \subkeyexplain{guitar left}{guitar left side color}{color}{\pingu@color@guitarleft@side}
6024 \begin{tcblisting}{@}
6025 \begin{tikzpicture}
6026 \pingu[guitar left, guitar left side color=green]
6027 \end{tikzpicture}
6028 \end{tcblisting}
6029 \endsubkeyexplain}
6030
6031 {\def\pingu@color@guitarleft{<guitar-left-color>}
6032 \subkeyexplain{guitar left}{guitar left tint color}{color}{\pingu@color@guitarleft@tint}
6033 \begin{tcblisting}{@}
6034 \begin{tikzpicture}
6035 \pingu[guitar left, guitar left tint color=green]
6036 \end{tikzpicture}
6037 \end{tcblisting}
6038 \endsubkeyexplain}
6039
6040 {\def\pingu@color@guitarleft{<guitar-left-color>}
6041 \subkeyexplain{guitar left}{guitar left outline color}{color}{\pingu@color@guitarleft@outline}
6042 \begin{tcblisting}{@}
6043 \begin{tikzpicture}
6044 \pingu[guitar left, guitar left outline color=green]
6045 \end{tikzpicture}
6046 \end{tcblisting}
6047 \endsubkeyexplain}
6048
6049 {\def\pingu@color@guitarleft{<guitar-left-color>}
6050 \subkeyexplain{guitar left}{guitar left fret color}{color}{\pingu@color@guitarleft@fret}
6051 \begin{tcblisting}{@}
6052 \begin{tikzpicture}
6053 \pingu[guitar left, guitar left fret color=green]
6054 \end{tikzpicture}
6055 \end{tcblisting}
6056 \endsubkeyexplain}
6057
6058 {\def\pingu@color@guitarleft{<guitar-left-color>}
6059 \subkeyexplain{guitar left}{guitar left fret side color}{color}{\pingu@color@guitarleft@fret@side}
6060 \begin{tcblisting}{@}
6061 \begin{tikzpicture}
6062 \pingu[guitar left, guitar left fret side color=green]
6063 \end{tikzpicture}
6064 \end{tcblisting}
6065 \endsubkeyexplain}
6066
6067 {\def\pingu@color@guitarleft{<guitar-left-color>}
6068 \subkeyexplain{guitar left}{guitar left head color}{color}{\pingu@color@guitarleft@head}
6069 \begin{tcblisting}{@}
6070 \begin{tikzpicture}
6071 \pingu[guitar left, guitar left head color=green]
6072 \end{tikzpicture}
6073 \end{tcblisting}
6074 \endsubkeyexplain}
6075
6076 {\def\pingu@color@guitarleft{<guitar-left-color>}
6077 \subkeyexplain{guitar left}{guitar left strings color}{color}{\pingu@color@guitarleft@strings}
6078 \begin{tcblisting}{@}
6079 \begin{tikzpicture}
6080 \pingu[guitar left, guitar left strings color=green]
6081 \end{tikzpicture}
6082 \end{tcblisting}
6083 \endsubkeyexplain}
6084
6085 {\def\pingu@color@guitarleft{<guitar-left-color>}
6086 \subkeyexplain{guitar left}{guitar left peg color}{color}{\pingu@color@guitarleft@peg}
6087 \begin{tcblisting}{@}
6088 \begin{tikzpicture}
6089 \pingu[guitar left, guitar left peg color=green]
6090 \end{tikzpicture}
6091 \end{tcblisting}
6092 \endsubkeyexplain}
6093
6094 {\def\pingu@color@guitarleft{<guitar-left-color>}
6095 \subkeyexplain{guitar left}{guitar left strings end color}{color}{\pingu@color@guitarleft@strings@end}
6096 \begin{tcblisting}{@}
6097 \begin{tikzpicture}
6098 \pingu[guitar left, guitar left strings end color=green]
6099 \end{tikzpicture}
6100 \end{tcblisting}
6101 \endsubkeyexplain}
6102
6103 {\def\pingu@color@guitarleft{<guitar-left-color>}
6104 \subkeyexplain{guitar left}{guitar left pickup color}{color}{\pingu@color@guitarleft@pickup}
6105 \begin{tcblisting}{@}
6106 \begin{tikzpicture}
6107 \pingu[guitar left, guitar left pickup color=green]
6108 \end{tikzpicture}
6109 \end{tcblisting}
6110 \endsubkeyexplain}
6111
6112 {\def\pingu@color@guitarleft{<guitar-left-color>}
6113 \subkeyexplain{guitar left}{guitar left fret lines color}{color}{\pingu@color@guitarleft@fret@lines}
6114 \begin{tcblisting}{@}
6115 \begin{tikzpicture}
6116 \pingu[guitar left, guitar left fret lines color=green]
6117 \end{tikzpicture}
6118 \end{tcblisting}
6119 \endsubkeyexplain}
6120
6121 \subkeyexplain{guitar left}{guitar left strings shift}{length}{\pingu@x@guitarleft@stringshift}
6122 \begin{tcblisting}{@}
6123 \begin{tikzpicture}
6124 \pingu[guitar left, guitar left strings shift=2mm]
6125 \end{tikzpicture}
6126 \end{tcblisting}
6127 \endsubkeyexplain
6128
6129 \showkeyexplain{guitar right}{color}{pingu@red!90!black}
6130 \begin{tcblisting}{}
6131 \begin{tikzpicture}
6132 \pingu[guitar right=green]
6133 \end{tikzpicture}
6134 \end{tcblisting}
6135 \endshowkeyexplain
6136
6137 {\def\pingu@color@guitarright{<guitar-right-color>}
6138 \subkeyexplain{guitar right}{guitar right side color}{color}{\pingu@color@guitarright@side}
6139 \begin{tcblisting}{@}
6140 \begin{tikzpicture}
6141 \pingu[guitar right, guitar right side color=green]
6142 \end{tikzpicture}
6143 \end{tcblisting}
6144 \endsubkeyexplain}
6145
6146 {\def\pingu@color@guitarright{<guitar-right-color>}
6147 \subkeyexplain{guitar right}{guitar right tint color}{color}{\pingu@color@guitarright@tint}
6148 \begin{tcblisting}{@}
6149 \begin{tikzpicture}
6150 \pingu[guitar right, guitar right tint color=green]
6151 \end{tikzpicture}
6152 \end{tcblisting}
6153 \endsubkeyexplain}
6154
6155 {\def\pingu@color@guitarright{<guitar-right-color>}
6156 \subkeyexplain{guitar right}{guitar right outline color}{color}{\pingu@color@guitarright@outline}
6157 \begin{tcblisting}{@}
6158 \begin{tikzpicture}
6159 \pingu[guitar right, guitar right outline color=green]
6160 \end{tikzpicture}
6161 \end{tcblisting}
6162 \endsubkeyexplain}
6163
6164 {\def\pingu@color@guitarright{<guitar-right-color>}
6165 \subkeyexplain{guitar right}{guitar right fret color}{color}{\pingu@color@guitarright@fret}
6166 \begin{tcblisting}{@}
6167 \begin{tikzpicture}
6168 \pingu[guitar right, guitar right fret color=green]
6169 \end{tikzpicture}
6170 \end{tcblisting}
6171 \endsubkeyexplain}
6172
6173 {\def\pingu@color@guitarright{<guitar-right-color>}
6174 \subkeyexplain{guitar right}{guitar right fret side color}{color}{\pingu@color@guitarright@fret@side}
6175 \begin{tcblisting}{@}
6176 \begin{tikzpicture}
6177 \pingu[guitar right, guitar right fret side color=green]
6178 \end{tikzpicture}
6179 \end{tcblisting}
6180 \endsubkeyexplain}
6181
6182 {\def\pingu@color@guitarright{<guitar-right-color>}
6183 \subkeyexplain{guitar right}{guitar right head color}{color}{\pingu@color@guitarright@head}
6184 \begin{tcblisting}{@}
6185 \begin{tikzpicture}
6186 \pingu[guitar right, guitar right head color=green]
6187 \end{tikzpicture}
6188 \end{tcblisting}
6189 \endsubkeyexplain}
6190
6191 {\def\pingu@color@guitarright{<guitar-right-color>}
6192 \subkeyexplain{guitar right}{guitar right strings color}{color}{\pingu@color@guitarright@strings}
6193 \begin{tcblisting}{@}
6194 \begin{tikzpicture}
6195 \pingu[guitar right, guitar right strings color=green]
6196 \end{tikzpicture}
6197 \end{tcblisting}
6198 \endsubkeyexplain}
6199
6200 {\def\pingu@color@guitarright{<guitar-right-color>}
6201 \subkeyexplain{guitar right}{guitar right peg color}{color}{\pingu@color@guitarright@peg}
6202 \begin{tcblisting}{@}
6203 \begin{tikzpicture}
6204 \pingu[guitar right, guitar right peg color=green]
6205 \end{tikzpicture}
6206 \end{tcblisting}
6207 \endsubkeyexplain}
6208
6209 {\def\pingu@color@guitarright{<guitar-right-color>}
6210 \subkeyexplain{guitar right}{guitar right strings end color}{color}{\pingu@color@guitarright@strings@end}
6211 \begin{tcblisting}{@}
6212 \begin{tikzpicture}
6213 \pingu[guitar right, guitar right strings end color=green]
6214 \end{tikzpicture}
6215 \end{tcblisting}
6216 \endsubkeyexplain}
6217
6218 {\def\pingu@color@guitarright{<guitar-right-color>}
6219 \subkeyexplain{guitar right}{guitar right pickup color}{color}{\pingu@color@guitarright@pickup}
6220 \begin{tcblisting}{@}
6221 \begin{tikzpicture}
6222 \pingu[guitar right, guitar right pickup color=green]
6223 \end{tikzpicture}
6224 \end{tcblisting}
6225 \endsubkeyexplain}
6226
6227 {\def\pingu@color@guitarright{<guitar-right-color>}
6228 \subkeyexplain{guitar right}{guitar right fret lines color}{color}{\pingu@color@guitarright@fret@lines}
6229 \begin{tcblisting}{@}
6230 \begin{tikzpicture}
6231 \pingu[guitar right, guitar right fret lines color=green]
6232 \end{tikzpicture}
6233 \end{tcblisting}
6234 \endsubkeyexplain}
6235
6236 \subkeyexplain{guitar right}{guitar right strings shift}{length}{\pingu@x@guitarright@stringshift}
6237 \begin{tcblisting}{@}
6238 \begin{tikzpicture}
6239 \pingu[guitar right, guitar right strings shift=2mm]
6240 \end{tikzpicture}
6241 \end{tcblisting}
6242 \endsubkeyexplain
6243
6244
6245 \subsubsection{The flag}
6246 The flag is special in that it is meant to be customized by commands so that the visible insignia is to the users liking.
6247
6248 \showkeyexplain{flag left}{color}{pingu@purple}
6249 \begin{tcblisting}{@}
6250 \begin{tikzpicture}
6251 \pingu[flag left=green]
6252 \end{tikzpicture}
6253 \end{tcblisting}
6254 \endshowkeyexplain
6255
6256 \subkeyexplain{flag left}{flag left pole}{color}{\pingu@color@flagleft@pole}
6257 Change the color of the flag pole:
6258 \begin{tcblisting}{@}
6259 \begin{tikzpicture}
6260 \pingu[flag left, flag left pole=green]
6261 \end{tikzpicture}
6262 \end{tcblisting}
6263 \endsubkeyexplain
6264
6265 \subkeyexplain{flag left}{flag left bobble}{color}{\pingu@color@flagleft@bobble}
6266 Change the color of the flag poles top bobble:
6267 \begin{tcblisting}{@}
6268 \begin{tikzpicture}
6269 \pingu[flag left, flag left bobble=green]
6270 \end{tikzpicture}
6271 \end{tcblisting}
6272 \endsubkeyexplain
6273
6274 \subkeyexplain{flag left}{flag left code}{\LaTeX-code}{omitted}
6275 Set the flag code which is effectively the drawing code of the flag.
6276 You can use the styles \lpingu{/pingu/@flag@first} and \lpingu{/pingu/@flag} to inherit the default flag styles and to stay compliant with the modifications of the other macros:
6277 \begin{tcblisting}{@}
6278 \begin{tikzpicture}
6279 \pingu[flag left, flag left code={
6280 \node[/pingu/@flag@first,
6281 /pingu/@flag={blue}{5mm}]
6282 (upper) at (0,0) {};
6283 \node[below,/pingu/@flag={black}{4mm}]
6284 (lower) at (upper.south) {};
6285 }]
6286 \end{tikzpicture}
6287 \end{tcblisting}
6288 Note that \lpingu{/pingu/@flag} expects two arguments: the color of the flag segment and its thickness.
6289 \endsubkeyexplain
6290
6291 \@toggle@showcase % just so that they are aligned on the same side
6292 \showkeyexplain{pride flag left}{color}{pingu@bronze}
6293 Uses \keyref{flag left}, \keyref{flag left code}, and \keyref{flag left pole} to set a pride flag. The color argument is passed to \keyref{flag left pole}.
6294 \begin{tcblisting}{@}
6295 \begin{tikzpicture}
6296 \pingu[pride flag left=green]
6297 \end{tikzpicture}
6298 \end{tcblisting}
6299 \endshowkeyexplain
6300 \@toggle@showcase % and back
6301
6302
6303 \showkeyexplain{german flag left}{color}{pingu@bronze}
6304 Uses \keyref{flag left}, \keyref{flag left code}, and \keyref{flag left pole} to set a german flag. The color argument is passed to \keyref{flag left pole}.
6305 \begin{tcblisting}{@}
6306 \begin{tikzpicture}
6307 \pingu[german flag left=green]
6308 \end{tikzpicture}
6309 \end{tcblisting}
6310 \endshowkeyexplain
6311
6312
6313 \showkeyexplain{flag right}{color}{pingu@purple}
6314 \begin{tcblisting}{@}
6315 \begin{tikzpicture}
6316 \pingu[flag right=green]
6317 \end{tikzpicture}
6318 \end{tcblisting}
6319 \endshowkeyexplain
6320
6321 \subkeyexplain{flag right}{flag right pole}{color}{\pingu@color@flagright@pole}
6322 Change the color of the flag pole:
6323 \begin{tcblisting}{@}
6324 \begin{tikzpicture}
6325 \pingu[flag right, flag right pole=green]
6326 \end{tikzpicture}
6327 \end{tcblisting}
6328 \endsubkeyexplain
6329
6330 \subkeyexplain{flag right}{flag right bobble}{color}{\pingu@color@flagright@bobble}
6331 Change the color of the flag poles top bobble:
6332 \begin{tcblisting}{@}
6333 \begin{tikzpicture}
6334 \pingu[flag right, flag right bobble=green]
6335 \end{tikzpicture}
6336 \end{tcblisting}
6337 \endsubkeyexplain
6338
6339 \subkeyexplain{flag right}{flag right code}{\LaTeX-code}{omitted}
6340 Set the flag code which is effectively the drawing code of the flag.
6341 You can use the styles \lpingu{/pingu/@flag@first} and \lpingu{/pingu/@flag} to inherit the default flag styles and to stay compliant with the modifications of the other macros:
6342 \begin{tcblisting}{@}
6343 \begin{tikzpicture}
6344 \pingu[flag right, flag right code={
6345 \node[/pingu/@flag@first,
6346 /pingu/@flag={blue}{5mm}]
6347 (upper) at (0,0) {};
6348 \node[below,/pingu/@flag={black}{4mm}]
6349 (lower) at (upper.south) {};
6350 }]
6351 \end{tikzpicture}
6352 \end{tcblisting}
6353 Note that \lpingu{/pingu/@flag} expects two arguments: the color of the flag segment and its thickness.
6354 \endsubkeyexplain
6355
6356 \@toggle@showcase % just so that they are aligned on the same side
6357 \showkeyexplain{pride flag right}{color}{pingu@bronze}
6358 Uses \keyref{flag right}, \keyref{flag right code}, and \keyref{flag right pole} to set a pride flag. The color argument is passed to \keyref{flag right pole}.
6359 \begin{tcblisting}{@}
6360 \begin{tikzpicture}
6361 \pingu[pride flag right=green]
6362 \end{tikzpicture}
6363 \end{tcblisting}
6364 \endshowkeyexplain
6365 \@toggle@showcase
6366
6367 \showkeyexplain{german flag right}{color}{pingu@bronze}
6368 Uses \keyref{flag right}, \keyref{flag right code}, and \keyref{flag right pole} to set a german flag. The color argument is passed to \keyref{flag right pole}.
6369 \begin{tcblisting}{@}
6370 \begin{tikzpicture}
6371 \pingu[german flag right=green]
6372 \end{tikzpicture}
6373 \end{tcblisting}
6374 \endshowkeyexplain
6375
6376 \subsubsection{The present}
6377
6378 {
6379 \def\pingu@color@presentleft{<present left>}
6380 \showkeyexplain{present left}{color}{pingu@red!50!pingu@black!60!red}
6381 \begin{tcblisting}{@}
6382 \begin{tikzpicture}
6383 \pingu[present left=blue]
6384 \end{tikzpicture}
6385 \end{tcblisting}
6386 \endshowkeyexplain
6387 \def\pingu@color@presentleft@lid{<present left lid>}
6388
6389 \def\pingu@present@left@width{<present left width>}
6390 \subkeyexplain{present left}{present left width}{length}{\pingu@present@left@width}
6391 \begin{tcblisting}{@}
6392 \begin{tikzpicture}
6393 \pingu[present left, present left width=12mm]
6394 \end{tikzpicture}
6395 \end{tcblisting}
6396 \endsubkeyexplain
6397
6398 \def\pingu@present@left@height{<present left height>}
6399 \subkeyexplain{present left}{present left height}{length}{\pingu@present@left@height}
6400 \begin{tcblisting}{@}
6401 \begin{tikzpicture}
6402 \pingu[present left, present left height=12mm]
6403 \end{tikzpicture}
6404 \end{tcblisting}
6405 \endsubkeyexplain
6406
6407 \def\pingu@color@presentleft@band{<present left band>}
6408 \subkeyexplain{present left}{present left ribbon}{color}{\pingu@color@presentleft@ribbon}
6409 \begin{tcblisting}{@}
6410 \begin{tikzpicture}
6411 \pingu[present left, present left ribbon=blue]
6412 \end{tikzpicture}
6413 \end{tcblisting}
6414 \endsubkeyexplain
6415 \subkeyexplain{present left}{present left band}{color}{(based on band)}
6416 \begin{tcblisting}{@}
6417 \begin{tikzpicture}
6418 \pingu[present left, present left band=blue]
6419 \end{tikzpicture}
6420 \end{tcblisting}
6421 \endsubkeyexplain
6422
6423 \def\pingu@present@left@band@width{<present left band width>}
6424 \subkeyexplain{present left}{present left band width}{length}{\pingu@present@left@band@width}
6425 \begin{tcblisting}{@}
6426 \begin{tikzpicture}
6427 \pingu[present left, present left band width=4mm]
6428 \end{tikzpicture}
6429 \end{tcblisting}
6430 \endsubkeyexplain
6431
6432 \subkeyexplain{present left}{present left xshift}{length}{\pingu@present@left@xshift}
6433 \begin{tcblisting}{@}
6434 \begin{tikzpicture}
6435 \pingu[present left, present left xshift=3mm]
6436 \end{tikzpicture}
6437 \end{tcblisting}
6438 \endsubkeyexplain
6439
6440 \subkeyexplain{present left}{present left yshift}{length}{\pingu@present@left@yshift}
6441 \begin{tcblisting}{@}
6442 \begin{tikzpicture}
6443 \pingu[present left, present left yshift=3mm]
6444 \end{tikzpicture}
6445 \end{tcblisting}
6446 \endsubkeyexplain
6447
6448 \subkeyexplain{present left}{present left band second height}{length}{\pingu@present@left@band@second@height}
6449 \begin{tcblisting}{@}
6450 \begin{tikzpicture}
6451 \pingu[present left,
6452 present left band second height=3mm]
6453 \end{tikzpicture}
6454 \end{tcblisting}
6455 \endsubkeyexplain
6456
6457 \subkeyexplain{present left}{present left band second yshift}{length}{\pingu@present@left@band@second@yshift}
6458 \begin{tcblisting}{@}
6459 \begin{tikzpicture}
6460 \pingu[present left,
6461 present left band second yshift=3mm]
6462 \end{tikzpicture}
6463 \end{tcblisting}
6464 \endsubkeyexplain
6465
6466 \subkeyexplain{present left}{present left lid}{color}{\pingu@color@presentleft@lid}
6467 \begin{tcblisting}{@}
6468 \begin{tikzpicture}
6469 \pingu[present left, present left lid=green]
6470 \end{tikzpicture}
6471 \end{tcblisting}
6472 \endsubkeyexplain
6473
6474 \subkeyexplain{present left}{present left lid height}{length}{\pingu@present@left@lid@height}
6475 \begin{tcblisting}{@}
6476 \begin{tikzpicture}
6477 \pingu[present left, present left lid height=3mm]
6478 \end{tikzpicture}
6479 \end{tcblisting}
6480 \endsubkeyexplain
6481
6482 \subkeyexplain{present left}{present left lid overhang}{length}{\pingu@present@left@lid@overhang}
6483 \begin{tcblisting}{@}
6484 \begin{tikzpicture}
6485 \pingu[present left, present left lid overhang=1mm]
6486 \end{tikzpicture}
6487 \end{tcblisting}
6488 \endsubkeyexplain
6489
6490 \subkeyexplain{present left}{present left lid yshift}{length}{\pingu@present@left@lid@yshift}
6491 \begin{tcblisting}{@}
6492 \begin{tikzpicture}
6493 \pingu[present left, present left lid yshift=8mm]
6494 \end{tikzpicture}
6495 \end{tcblisting}
6496 \endsubkeyexplain
6497
6498 \subkeyexplain{present left}{present left lid band}{color}{\pingu@color@presentleft@lid@band}
6499 \begin{tcblisting}{@}
6500 \begin{tikzpicture}
6501 \pingu[present left, present left lid band=blue]
6502 \end{tikzpicture}
6503 \end{tcblisting}
6504 \endsubkeyexplain
6505 }
6506
6507
6508 {
6509 \def\pingu@color@presentright{<present right>}
6510 \showkeyexplain{present right}{color}{pingu@red!50!pingu@black!60!red}
6511 \begin{tcblisting}{@}
6512 \begin{tikzpicture}
6513 \pingu[present right=blue]
6514 \end{tikzpicture}
6515 \end{tcblisting}
6516 \endshowkeyexplain
6517 \def\pingu@color@presentright@lid{<present right lid>}
6518
6519 \def\pingu@present@right@width{<present right width>}
6520 \subkeyexplain{present right}{present right width}{length}{\pingu@present@right@width}
6521 \begin{tcblisting}{@}
6522 \begin{tikzpicture}
6523 \pingu[present right, present right width=12mm]
6524 \end{tikzpicture}
6525 \end{tcblisting}
6526 \endsubkeyexplain
6527
6528 \def\pingu@present@right@height{<present right height>}
6529 \subkeyexplain{present right}{present right height}{length}{\pingu@present@right@height}
6530 \begin{tcblisting}{@}
6531 \begin{tikzpicture}
6532 \pingu[present right, present right height=12mm]
6533 \end{tikzpicture}
6534 \end{tcblisting}
6535 \endsubkeyexplain
6536
6537 \def\pingu@color@presentright@band{<present right band>}
6538 \subkeyexplain{present right}{present right ribbon}{color}{\pingu@color@presentright@ribbon}
6539 \begin{tcblisting}{@}
6540 \begin{tikzpicture}
6541 \pingu[present right, present right ribbon=blue]
6542 \end{tikzpicture}
6543 \end{tcblisting}
6544 \endsubkeyexplain
6545 \subkeyexplain{present right}{present right band}{color}{\pingu@color@presentright@band}
6546 \begin{tcblisting}{@}
6547 \begin{tikzpicture}
6548 \pingu[present right, present right band=blue]
6549 \end{tikzpicture}
6550 \end{tcblisting}
6551 \endsubkeyexplain
6552
6553 \def\pingu@present@right@band@width{<present right band width>}
6554 \subkeyexplain{present right}{present right band width}{length}{\pingu@present@right@band@width}
6555 \begin{tcblisting}{@}
6556 \begin{tikzpicture}
6557 \pingu[present right, present right band width=4mm]
6558 \end{tikzpicture}
6559 \end{tcblisting}
6560 \endsubkeyexplain
6561
6562 \subkeyexplain{present right}{present right xshift}{length}{\pingu@present@right@xshift}
6563 \begin{tcblisting}{@}
6564 \begin{tikzpicture}
6565 \pingu[present right, present right xshift=3mm]
6566 \end{tikzpicture}
6567 \end{tcblisting}
6568 \endsubkeyexplain
6569
6570 \subkeyexplain{present right}{present right yshift}{length}{\pingu@present@right@yshift}
6571 \begin{tcblisting}{@}
6572 \begin{tikzpicture}
6573 \pingu[present right, present right yshift=3mm]
6574 \end{tikzpicture}
6575 \end{tcblisting}
6576 \endsubkeyexplain
6577
6578 \subkeyexplain{present right}{present right band second height}{length}{\pingu@present@right@band@second@height}
6579 \begin{tcblisting}{@}
6580 \begin{tikzpicture}
6581 \pingu[present right,
6582 present right band second height=3mm]
6583 \end{tikzpicture}
6584 \end{tcblisting}
6585 \endsubkeyexplain
6586
6587 \subkeyexplain{present right}{present right band second yshift}{length}{\pingu@present@right@band@second@yshift}
6588 \begin{tcblisting}{@}
6589 \begin{tikzpicture}
6590 \pingu[present right,
6591 present right band second yshift=3mm]
6592 \end{tikzpicture}
6593 \end{tcblisting}
6594 \endsubkeyexplain
6595
6596 \subkeyexplain{present right}{present right lid}{color}{\pingu@color@presentright@lid}
6597 \begin{tcblisting}{@}
6598 \begin{tikzpicture}
6599 \pingu[present right, present right lid=green]
6600 \end{tikzpicture}
6601 \end{tcblisting}
6602 \endsubkeyexplain
6603
6604 \subkeyexplain{present right}{present right lid height}{length}{\pingu@present@right@lid@height}
6605 \begin{tcblisting}{@}
6606 \begin{tikzpicture}
6607 \pingu[present right, present right lid height=3mm]
6608 \end{tikzpicture}
6609 \end{tcblisting}
6610 \endsubkeyexplain
6611
6612 \subkeyexplain{present right}{present right lid overhang}{length}{\pingu@present@right@lid@overhang}
6613 \begin{tcblisting}{@}
6614 \begin{tikzpicture}
6615 \pingu[present right,
6616 present right lid overhang=1mm]
6617 \end{tikzpicture}
6618 \end{tcblisting}
6619 \endsubkeyexplain
6620
6621 \subkeyexplain{present right}{present right lid yshift}{length}{\pingu@present@right@lid@yshift}
6622 \begin{tcblisting}{@}
6623 \begin{tikzpicture}
6624 \pingu[present right, present right lid yshift=8mm]
6625 \end{tikzpicture}
6626 \end{tcblisting}
6627 \endsubkeyexplain
6628
6629 \subkeyexplain{present right}{present right lid band}{color}{(based on band)}
6630 \begin{tcblisting}{@}
6631 \begin{tikzpicture}
6632 \pingu[present right, present right lid band=blue]
6633 \end{tikzpicture}
6634 \end{tcblisting}
6635 \endsubkeyexplain
6636 }
6637
6638 \subsubsection{The staff}
6639
6640 \showkeyexplain{staff left}{color}{pingu@bronze}
6641 \begin{tcblisting}{@}
6642 \begin{tikzpicture}
6643 \pingu[staff left=green, left item angle=70]
6644 \end{tikzpicture}
6645 \end{tcblisting}
6646 \endshowkeyexplain
6647
6648 \subkeyexplain{staff left}{staff left length}{length}{\pingu@staff@left@length}
6649 Change the staff length:
6650 \begin{tcblisting}{@}
6651 \begin{tikzpicture}
6652 \pingu[staff left, staff left length=20mm]
6653 \end{tikzpicture}
6654 \end{tcblisting}
6655 \endsubkeyexplain
6656
6657 \subkeyexplain{staff left}{staff left raise}{length}{\pingu@staff@left@raise}
6658 \begin{tcblisting}{@}
6659 \begin{tikzpicture}
6660 \pingu[staff left, staff left raise=-2mm]
6661 \end{tikzpicture}
6662 \end{tcblisting}
6663 \endsubkeyexplain
6664
6665 \subkeyexplain{staff left}{staff left code}{tikz-code}{}
6666 \begin{tcblisting}{@}
6667 \begin{tikzpicture}
6668 \pingu[staff left, staff left code={\fill circle[radius=2mm];}]
6669 \end{tikzpicture}
6670 \end{tcblisting}
6671 \endsubkeyexplain
6672
6673 \subkeyexplain{staff left}{staff left code app}{tikz-code}{}
6674 Similar to \keyref{staff left code} but does not override but (locally) append to previous calls.
6675 \endsubkeyexplain
6676
6677 \subkeyexplain{staff left}{staff left code pre}{tikz-code}{}
6678 Similar to \keyref{staff left code} but does not override but (locally) prepend to previous calls.
6679 \endsubkeyexplain
6680
6681 \showkeyexplain{spear left}{color}{gray}
6682 Example of \keyref{staff left code app} that renders a little spear-tip:
6683 \begin{tcblisting}{@}
6684 \begin{tikzpicture}
6685 \pingu[spear left=cyan]
6686 \end{tikzpicture}
6687 \end{tcblisting}
6688 \endshowkeyexplain
6689
6690 \showkeyexplain{cross left}{color}{pingu@bronze}
6691 Example of \keyref{staff left code app} that renders a little cross:
6692 \begin{tcblisting}{@}
6693 \begin{tikzpicture}
6694 \pingu[cross left]
6695 \end{tikzpicture}
6696 \end{tcblisting}
6697 \endshowkeyexplain
6698
6699 \showkeyexplain{staff right}{color}{pingu@bronze}
6700 \begin{tcblisting}{@}
6701 \begin{tikzpicture}
6702 \pingu[staff right=green, right item angle=70]
6703 \end{tikzpicture}
6704 \end{tcblisting}
6705 \endshowkeyexplain
6706
6707 \subkeyexplain{staff right}{staff right length}{length}{\pingu@staff@right@length}
6708 Change the staff length:
6709 \begin{tcblisting}{@}
6710 \begin{tikzpicture}
6711 \pingu[staff right, staff right length=20mm]
6712 \end{tikzpicture}
6713 \end{tcblisting}
6714 \endsubkeyexplain
6715
6716 \subkeyexplain{staff right}{staff right raise}{length}{\pingu@staff@right@raise}
6717 \begin{tcblisting}{@}
6718 \begin{tikzpicture}
6719 \pingu[staff right, staff right raise=-2mm]
6720 \end{tikzpicture}
6721 \end{tcblisting}
6722 \endsubkeyexplain
6723
6724 \subkeyexplain{staff right}{staff right code}{tikz-code}{}
6725 \begin{tcblisting}{@}
6726 \begin{tikzpicture}
6727 \pingu[staff right, staff right code={\fill circle[radius=2mm];}]
6728 \end{tikzpicture}
6729 \end{tcblisting}
6730 \endsubkeyexplain
6731
6732 \subkeyexplain{staff right}{staff right code app}{tikz-code}{}
6733 Similar to \keyref{staff right code} but does not override but (locally) append to previous calls.
6734 \endsubkeyexplain
6735
6736 \subkeyexplain{staff right}{staff right code pre}{tikz-code}{}
6737 Similar to \keyref{staff right code} but does not override but (locally) prepend to previous calls.
6738 \endsubkeyexplain
6739
6740 \showkeyexplain{spear right}{color}{gray}
6741 Example of \keyref{staff right code app} that renders a little spear-tip:
6742 \begin{tcblisting}{@}
6743 \begin{tikzpicture}
6744 \pingu[spear right=cyan]
6745 \end{tikzpicture}
6746 \end{tcblisting}
6747 \endshowkeyexplain
6748
6749 \showkeyexplain{cross right}{color}{pingu@bronze}
6750 Example of \keyref{staff right code app} that renders a little cross:
6751 \begin{tcblisting}{@}
6752 \begin{tikzpicture}
6753 \pingu[cross right]
6754 \end{tikzpicture}
6755 \end{tcblisting}
6756 \endshowkeyexplain
6757
6758 \subsubsection{The hammer}
6759
6760 \showkeyexplain{hammer left}{color}{pingu@silver}
6761 \begin{tcblisting}{@}
6762 \begin{tikzpicture}
6763 \pingu[hammer left=green]
6764 \end{tikzpicture}
6765 \end{tcblisting}
6766 \endshowkeyexplain
6767
6768 \subkeyexplain{hammer left}{hammer left handle length}{length}{\pingu@hammer@left@length}
6769 \begin{tcblisting}{@}
6770 \begin{tikzpicture}
6771 \pingu[hammer left, hammer left handle length=20mm]
6772 \end{tikzpicture}
6773 \end{tcblisting}
6774 \endsubkeyexplain
6775
6776 \subkeyexplain{hammer left}{hammer left handle shift}{length}{\pingu@hammer@left@shift}
6777 \begin{tcblisting}{@}
6778 \begin{tikzpicture}
6779 \pingu[hammer left, hammer left handle shift=2mm]
6780 \end{tikzpicture}
6781 \end{tcblisting}
6782 \endsubkeyexplain
6783
6784 \subkeyexplain{hammer left}{hammer left width}{length}{\pingu@hammer@left@width}
6785 \begin{tcblisting}{@}
6786 \begin{tikzpicture}
6787 \pingu[hammer left, hammer left width=2mm]
6788 \end{tikzpicture}
6789 \end{tcblisting}
6790 \endsubkeyexplain
6791
6792 \subkeyexplain{hammer left}{hammer left height}{length}{\pingu@hammer@left@height}
6793 \begin{tcblisting}{@}
6794 \begin{tikzpicture}
6795 \pingu[hammer left, hammer left height=2mm]
6796 \end{tikzpicture}
6797 \end{tcblisting}
6798 \endsubkeyexplain
6799
6800 \subkeyexplain{hammer left}{hammer left xshift}{length}{\pingu@hammer@left@xshift}
6801 \begin{tcblisting}{@}
6802 \begin{tikzpicture}
6803 \pingu[hammer left, hammer left xshift=2mm]
6804 \end{tikzpicture}
6805 \end{tcblisting}
6806 \endsubkeyexplain
6807
6808 \subkeyexplain{hammer left}{hammer left yshift}{length}{\pingu@hammer@left@yshift}
6809 \begin{tcblisting}{@}
6810 \begin{tikzpicture}
6811 \pingu[hammer left, hammer left yshift=2mm]
6812 \end{tikzpicture}
6813 \end{tcblisting}
6814 \endsubkeyexplain
6815
6816 \subkeyexplain{hammer left}{hammer left handle}{color}{\pingu@color@hammer@left@handle}
6817 \begin{tcblisting}{@}
6818 \begin{tikzpicture}
6819 \pingu[hammer left, hammer left handle=green]
6820 \end{tikzpicture}
6821 \end{tcblisting}
6822 \endsubkeyexplain
6823
6824 \keyexplain{hammer left with knob}{color}{pingu@silver}
6825 \begin{tcblisting}{@}
6826 \begin{tikzpicture}
6827 \pingu[hammer left=green]
6828 \end{tikzpicture}
6829 \end{tcblisting}
6830 \endkeyexplain
6831
6832 \showkeyexplain{hammer right}{color}{pingu@silver}
6833 \begin{tcblisting}{@}
6834 \begin{tikzpicture}
6835 \pingu[hammer right=green]
6836 \end{tikzpicture}
6837 \end{tcblisting}
6838 \endshowkeyexplain
6839
6840 \subkeyexplain{hammer right}{hammer right handle length}{length}{\pingu@hammer@right@length}
6841 \begin{tcblisting}{@}
6842 \begin{tikzpicture}
6843 \pingu[hammer right, hammer right handle length=20mm]
6844 \end{tikzpicture}
6845 \end{tcblisting}
6846 \endsubkeyexplain
6847
6848 \subkeyexplain{hammer right}{hammer right handle shift}{length}{\pingu@hammer@right@shift}
6849 \begin{tcblisting}{@}
6850 \begin{tikzpicture}
6851 \pingu[hammer right, hammer right handle shift=2mm]
6852 \end{tikzpicture}
6853 \end{tcblisting}
6854 \endsubkeyexplain
6855
6856 \subkeyexplain{hammer right}{hammer right width}{length}{\pingu@hammer@right@width}
6857 \begin{tcblisting}{@}
6858 \begin{tikzpicture}
6859 \pingu[hammer right, hammer right width=2mm]
6860 \end{tikzpicture}
6861 \end{tcblisting}
6862 \endsubkeyexplain
6863
6864 \subkeyexplain{hammer right}{hammer right height}{length}{\pingu@hammer@right@height}
6865 \begin{tcblisting}{@}
6866 \begin{tikzpicture}
6867 \pingu[hammer right, hammer right height=2mm]
6868 \end{tikzpicture}
6869 \end{tcblisting}
6870 \endsubkeyexplain
6871
6872 \subkeyexplain{hammer right}{hammer right xshift}{length}{\pingu@hammer@right@xshift}
6873 \begin{tcblisting}{@}
6874 \begin{tikzpicture}
6875 \pingu[hammer right, hammer right xshift=2mm]
6876 \end{tikzpicture}
6877 \end{tcblisting}
6878 \endsubkeyexplain
6879
6880 \subkeyexplain{hammer right}{hammer right yshift}{length}{\pingu@hammer@right@yshift}
6881 \begin{tcblisting}{@}
6882 \begin{tikzpicture}
6883 \pingu[hammer right, hammer right yshift=2mm]
6884 \end{tikzpicture}
6885 \end{tcblisting}
6886 \endsubkeyexplain
6887
6888 \subkeyexplain{hammer right}{hammer right handle}{color}{\pingu@color@hammer@right@handle}
6889 \begin{tcblisting}{@}
6890 \begin{tikzpicture}
6891 \pingu[hammer right, hammer right handle=green]
6892 \end{tikzpicture}
6893 \end{tcblisting}
6894 \endsubkeyexplain
6895
6896 \keyexplain{hammer right with knob}{color}{pingu@silver}
6897 \begin{tcblisting}{@}
6898 \begin{tikzpicture}
6899 \pingu[hammer right=green]
6900 \end{tikzpicture}
6901 \end{tcblisting}
6902 \endkeyexplain
6903
6904 \subsubsection{The drum stick}
6905
6906 \showkeyexplain{drum stick left}{color}{pingu@bronze!90!white}
6907 \begin{tcblisting}{@}
6908 \begin{tikzpicture}
6909 \pingu[drum stick left=green]
6910 \end{tikzpicture}
6911 \end{tcblisting}
6912 \endshowkeyexplain
6913
6914 \subkeyexplain{drum stick left}{drum stick left handle length}{length}{\pingu@drumstick@left@length}
6915 \begin{tcblisting}{@}
6916 \begin{tikzpicture}
6917 \pingu[drum stick left, drum stick left handle length=2mm]
6918 \end{tikzpicture}
6919 \end{tcblisting}
6920 \endsubkeyexplain
6921
6922 \subkeyexplain{drum stick left}{drum stick left handle shift}{length}{\pingu@drumstick@left@shift}
6923 \begin{tcblisting}{@}
6924 \begin{tikzpicture}
6925 \pingu[drum stick left, drum stick left handle shift=2mm]
6926 \end{tikzpicture}
6927 \end{tcblisting}
6928 \endsubkeyexplain
6929
6930 \subkeyexplain{drum stick left}{drum stick left xshift}{length}{\pingu@drumstick@left@xshift}
6931 \begin{tcblisting}{@}
6932 \begin{tikzpicture}
6933 \pingu[drum stick left, drum stick left xshift=2mm]
6934 \end{tikzpicture}
6935 \end{tcblisting}
6936 \endsubkeyexplain
6937
6938 \subkeyexplain{drum stick left}{drum stick left yshift}{length}{\pingu@drumstick@left@yshift}
6939 \begin{tcblisting}{@}
6940 \begin{tikzpicture}
6941 \pingu[drum stick left, drum stick left yshift=2mm]
6942 \end{tikzpicture}
6943 \end{tcblisting}
6944 \endsubkeyexplain
6945
6946 \subkeyexplain{drum stick left}{drum stick left handle}{color}{\pingu@color@drumstick@left@handle}
6947 \begin{tcblisting}{@}
6948 \begin{tikzpicture}
6949 \pingu[drum stick left, drum stick left handle=green]
6950 \end{tikzpicture}
6951 \end{tcblisting}
6952 \endsubkeyexplain
6953
6954 \showkeyexplain{drum stick right}{color}{pingu@bronze!90!white}
6955 \begin{tcblisting}{@}
6956 \begin{tikzpicture}
6957 \pingu[drum stick right=green]
6958 \end{tikzpicture}
6959 \end{tcblisting}
6960 \endshowkeyexplain
6961
6962 \subkeyexplain{drum stick right}{drum stick right handle length}{length}{\pingu@drumstick@right@length}
6963 \begin{tcblisting}{@}
6964 \begin{tikzpicture}
6965 \pingu[drum stick right, drum stick right handle length=2mm]
6966 \end{tikzpicture}
6967 \end{tcblisting}
6968 \endsubkeyexplain
6969
6970 \subkeyexplain{drum stick right}{drum stick right handle shift}{length}{\pingu@drumstick@right@shift}
6971 \begin{tcblisting}{@}
6972 \begin{tikzpicture}
6973 \pingu[drum stick right, drum stick right handle shift=2mm]
6974 \end{tikzpicture}
6975 \end{tcblisting}
6976 \endsubkeyexplain
6977
6978 \subkeyexplain{drum stick right}{drum stick right xshift}{length}{\pingu@drumstick@right@xshift}
6979 \begin{tcblisting}{@}
6980 \begin{tikzpicture}
6981 \pingu[drum stick right, drum stick right xshift=2mm]
6982 \end{tikzpicture}
6983 \end{tcblisting}
6984 \endsubkeyexplain
6985
6986 \subkeyexplain{drum stick right}{drum stick right yshift}{length}{\pingu@drumstick@right@yshift}
6987 \begin{tcblisting}{@}
6988 \begin{tikzpicture}
6989 \pingu[drum stick right, drum stick right yshift=2mm]
6990 \end{tikzpicture}
6991 \end{tcblisting}
6992 \endsubkeyexplain
6993
6994 \subkeyexplain{drum stick right}{drum stick right handle}{color}{\pingu@color@drumstick@right@handle}
6995 \begin{tcblisting}{@}
6996 \begin{tikzpicture}
6997 \pingu[drum stick right, drum stick right handle=green]
6998 \end{tikzpicture}
6999 \end{tcblisting}
7000 \endsubkeyexplain
7001
7002 \subsubsection{The microphone}
7003
7004 \showkeyexplain{microphone left}{color}{pingu@silver!90!white}
7005 \begin{tcblisting}{@}
7006 \begin{tikzpicture}
7007 \pingu[microphone left=green]
7008 \end{tikzpicture}
7009 \end{tcblisting}
7010 \endshowkeyexplain
7011
7012 \subkeyexplain{microphone left}{microphone left handle length}{length}{\pingu@microphone@left@length}
7013 \begin{tcblisting}{@}
7014 \begin{tikzpicture}
7015 \pingu[microphone left, microphone left handle length=2mm]
7016 \end{tikzpicture}
7017 \end{tcblisting}
7018 \endsubkeyexplain
7019
7020 \subkeyexplain{microphone left}{microphone left handle shift}{length}{\pingu@microphone@left@shift}
7021 \begin{tcblisting}{@}
7022 \begin{tikzpicture}
7023 \pingu[microphone left, microphone left handle shift=2mm]
7024 \end{tikzpicture}
7025 \end{tcblisting}
7026 \endsubkeyexplain
7027
7028 \subkeyexplain{microphone left}{microphone left xshift}{length}{\pingu@microphone@left@xshift}
7029 \begin{tcblisting}{@}
7030 \begin{tikzpicture}
7031 \pingu[microphone left, microphone left xshift=2mm]
7032 \end{tikzpicture}
7033 \end{tcblisting}
7034 \endsubkeyexplain
7035
7036 \subkeyexplain{microphone left}{microphone left yshift}{length}{\pingu@microphone@left@yshift}
7037 \begin{tcblisting}{@}
7038 \begin{tikzpicture}
7039 \pingu[microphone left, microphone left yshift=2mm]
7040 \end{tikzpicture}
7041 \end{tcblisting}
7042 \endsubkeyexplain
7043
7044 \subkeyexplain{microphone left}{microphone left handle}{color}{\pingu@color@microphone@left@handle}
7045 \begin{tcblisting}{@}
7046 \begin{tikzpicture}
7047 \pingu[microphone left, microphone left handle=green]
7048 \end{tikzpicture}
7049 \end{tcblisting}
7050 \endsubkeyexplain
7051
7052 \showkeyexplain{microphone right}{color}{pingu@silver!90!white}
7053 \begin{tcblisting}{@}
7054 \begin{tikzpicture}
7055 \pingu[microphone right=green]
7056 \end{tikzpicture}
7057 \end{tcblisting}
7058 \endshowkeyexplain
7059
7060 \subkeyexplain{microphone right}{microphone right handle length}{length}{\pingu@microphone@right@length}
7061 \begin{tcblisting}{@}
7062 \begin{tikzpicture}
7063 \pingu[microphone right, microphone right handle length=2mm]
7064 \end{tikzpicture}
7065 \end{tcblisting}
7066 \endsubkeyexplain
7067
7068 \subkeyexplain{microphone right}{microphone right handle shift}{length}{\pingu@microphone@right@shift}
7069 \begin{tcblisting}{@}
7070 \begin{tikzpicture}
7071 \pingu[microphone right, microphone right handle shift=2mm]
7072 \end{tikzpicture}
7073 \end{tcblisting}
7074 \endsubkeyexplain
7075
7076 \subkeyexplain{microphone right}{microphone right xshift}{length}{\pingu@microphone@right@xshift}
7077 \begin{tcblisting}{@}
7078 \begin{tikzpicture}
7079 \pingu[microphone right, microphone right xshift=2mm]
7080 \end{tikzpicture}
7081 \end{tcblisting}
7082 \endsubkeyexplain
7083
7084 \subkeyexplain{microphone right}{microphone right yshift}{length}{\pingu@microphone@right@yshift}
7085 \begin{tcblisting}{@}
7086 \begin{tikzpicture}
7087 \pingu[microphone right, microphone right yshift=2mm]
7088 \end{tikzpicture}
7089 \end{tcblisting}
7090 \endsubkeyexplain
7091
7092 \subkeyexplain{microphone right}{microphone right handle}{color}{\pingu@color@microphone@right@handle}
7093 \begin{tcblisting}{@}
7094 \begin{tikzpicture}
7095 \pingu[microphone right, microphone right handle=green]
7096 \end{tikzpicture}
7097 \end{tcblisting}
7098 \endsubkeyexplain
7099
7100 \subsubsection{The magnifier}
7101
7102 \showkeyexplain{magnifier left}{color}{pingu@bronze}
7103 \begin{tcblisting}{@}
7104 \begin{tikzpicture}
7105 \pingu[magnifier left=green]
7106 \end{tikzpicture}
7107 \end{tcblisting}
7108 \endshowkeyexplain
7109
7110 \subkeyexplain{magnifier left}{magnifier left handle length}{length}{\pingu@magnifier@left@length}
7111 \begin{tcblisting}{@}
7112 \begin{tikzpicture}
7113 \pingu[magnifier left, magnifier left handle length=4mm]
7114 \end{tikzpicture}
7115 \end{tcblisting}
7116 \endsubkeyexplain
7117
7118 \subkeyexplain{magnifier left}{magnifier left handle shift}{length}{\pingu@magnifier@left@shift}
7119 \begin{tcblisting}{@}
7120 \begin{tikzpicture}
7121 \pingu[magnifier left, magnifier left handle shift=2mm]
7122 \end{tikzpicture}
7123 \end{tcblisting}
7124 \endsubkeyexplain
7125
7126 \subkeyexplain{magnifier left}{magnifier left size}{length}{\pingu@magnifier@left@size}
7127 \begin{tcblisting}{@}
7128 \begin{tikzpicture}
7129 \pingu[magnifier left, magnifier left size=2mm]
7130 \end{tikzpicture}
7131 \end{tcblisting}
7132 \endsubkeyexplain
7133
7134 \subkeyexplain{magnifier left}{magnifier left glass}{color}{\pingu@color@magnifier@left@glass}
7135 \begin{tcblisting}{@}
7136 \begin{tikzpicture}
7137 \pingu[magnifier left, magnifier left glass=pingu@red]
7138 \end{tikzpicture}
7139 \end{tcblisting}
7140 \endsubkeyexplain
7141
7142 \subkeyexplain{magnifier left}{magnifier left opacity}{opacity}{\pingu@magnifier@left@opacity}
7143 \begin{tcblisting}{@}
7144 \begin{tikzpicture}
7145 \pingu[magnifier left, magnifier left opacity=.15]
7146 \end{tikzpicture}
7147 \end{tcblisting}
7148 \endsubkeyexplain
7149
7150 \subkeyexplain{magnifier left}{magnifier left thick}{length}{\pingu@magnifier@left@thick}
7151 \begin{tcblisting}{@}
7152 \begin{tikzpicture}
7153 \pingu[magnifier left, magnifier left thick=1mm]
7154 \end{tikzpicture}
7155 \end{tcblisting}
7156 \endsubkeyexplain
7157
7158 \subkeyexplain{magnifier left}{magnifier left xshift}{length}{\pingu@magnifier@left@xshift}
7159 \begin{tcblisting}{@}
7160 \begin{tikzpicture}
7161 \pingu[magnifier left, magnifier left xshift=1mm]
7162 \end{tikzpicture}
7163 \end{tcblisting}
7164 \endsubkeyexplain
7165
7166 \subkeyexplain{magnifier left}{magnifier left yshift}{length}{\pingu@magnifier@left@yshift}
7167 \begin{tcblisting}{@}
7168 \begin{tikzpicture}
7169 \pingu[magnifier left, magnifier left yshift=1mm]
7170 \end{tikzpicture}
7171 \end{tcblisting}
7172 \endsubkeyexplain
7173
7174
7175 \showkeyexplain{magnifier right}{color}{pingu@bronze}
7176 \begin{tcblisting}{@}
7177 \begin{tikzpicture}
7178 \pingu[magnifier right=green]
7179 \end{tikzpicture}
7180 \end{tcblisting}
7181 \endshowkeyexplain
7182
7183 \subkeyexplain{magnifier right}{magnifier right handle length}{length}{\pingu@magnifier@right@length}
7184 \begin{tcblisting}{@}
7185 \begin{tikzpicture}
7186 \pingu[magnifier right, magnifier right handle length=4mm]
7187 \end{tikzpicture}
7188 \end{tcblisting}
7189 \endsubkeyexplain
7190
7191 \subkeyexplain{magnifier right}{magnifier right handle shift}{length}{\pingu@magnifier@right@shift}
7192 \begin{tcblisting}{@}
7193 \begin{tikzpicture}
7194 \pingu[magnifier right, magnifier right handle shift=2mm]
7195 \end{tikzpicture}
7196 \end{tcblisting}
7197 \endsubkeyexplain
7198
7199 \subkeyexplain{magnifier right}{magnifier right size}{length}{\pingu@magnifier@right@size}
7200 \begin{tcblisting}{@}
7201 \begin{tikzpicture}
7202 \pingu[magnifier right, magnifier right size=2mm]
7203 \end{tikzpicture}
7204 \end{tcblisting}
7205 \endsubkeyexplain
7206
7207 \subkeyexplain{magnifier right}{magnifier right glass}{color}{\pingu@color@magnifier@right@glass}
7208 \begin{tcblisting}{@}
7209 \begin{tikzpicture}
7210 \pingu[magnifier right, magnifier right glass=pingu@red]
7211 \end{tikzpicture}
7212 \end{tcblisting}
7213 \endsubkeyexplain
7214
7215 \subkeyexplain{magnifier right}{magnifier right opacity}{opacity}{\pingu@magnifier@right@opacity}
7216 \begin{tcblisting}{@}
7217 \begin{tikzpicture}
7218 \pingu[magnifier right, magnifier right opacity=.15]
7219 \end{tikzpicture}
7220 \end{tcblisting}
7221 \endsubkeyexplain
7222
7223 \subkeyexplain{magnifier right}{magnifier right thick}{length}{\pingu@magnifier@right@thick}
7224 \begin{tcblisting}{@}
7225 \begin{tikzpicture}
7226 \pingu[magnifier right, magnifier right thick=1mm]
7227 \end{tikzpicture}
7228 \end{tcblisting}
7229 \endsubkeyexplain
7230
7231 \subkeyexplain{magnifier right}{magnifier right xshift}{length}{\pingu@magnifier@right@xshift}
7232 \begin{tcblisting}{@}
7233 \begin{tikzpicture}
7234 \pingu[magnifier right, magnifier right xshift=1mm]
7235 \end{tikzpicture}
7236 \end{tcblisting}
7237 \endsubkeyexplain
7238
7239 \subkeyexplain{magnifier right}{magnifier right yshift}{length}{\pingu@magnifier@right@yshift}
7240 \begin{tcblisting}{@}
7241 \begin{tikzpicture}
7242 \pingu[magnifier right, magnifier right yshift=1mm]
7243 \end{tikzpicture}
7244 \end{tcblisting}
7245 \endsubkeyexplain
7246
7247
7248
7249 \subsubsection{The sword}
7250
7251 \showkeyexplain{sword left}{color}{pingu@silver!94!blue}
7252 \begin{tcblisting}{@}
7253 \begin{tikzpicture}
7254 \pingu[sword left=green]
7255 \end{tikzpicture}
7256 \end{tcblisting}
7257 \endshowkeyexplain
7258
7259 \subkeyexplain{sword left}{sword left handle length}{length}{\pingu@sword@left@handle@length}
7260 \begin{tcblisting}{@}
7261 \begin{tikzpicture}
7262 \pingu[sword left, sword left handle length=7mm]
7263 \end{tikzpicture}
7264 \end{tcblisting}
7265 \endsubkeyexplain
7266
7267 \subkeyexplain{sword left}{sword left handle shift}{length}{\pingu@sword@left@shift}
7268 \begin{tcblisting}{@}
7269 \begin{tikzpicture}
7270 \pingu[sword left, sword left handle shift=2mm]
7271 \end{tikzpicture}
7272 \end{tcblisting}
7273 \endsubkeyexplain
7274
7275 \subkeyexplain{sword left}{sword left xshift}{length}{\pingu@sword@left@xshift}
7276 \begin{tcblisting}{@}
7277 \begin{tikzpicture}
7278 \pingu[sword left, sword left xshift=2mm]
7279 \end{tikzpicture}
7280 \end{tcblisting}
7281 \endsubkeyexplain
7282
7283 \subkeyexplain{sword left}{sword left yshift}{length}{\pingu@sword@left@yshift}
7284 \begin{tcblisting}{@}
7285 \begin{tikzpicture}
7286 \pingu[sword left, sword left yshift=2mm]
7287 \end{tikzpicture}
7288 \end{tcblisting}
7289 \endsubkeyexplain
7290
7291 \subkeyexplain{sword left}{sword left handle}{color}{\pingu@color@sword@left@handle}
7292 \begin{tcblisting}{@}
7293 \begin{tikzpicture}
7294 \pingu[sword left, sword left handle=green]
7295 \end{tikzpicture}
7296 \end{tcblisting}
7297 \endsubkeyexplain
7298
7299 {\def\pingu@color@sword@left@handle{<sword left handle color>}
7300 \subkeyexplain{sword left}{sword left guard}{color}{\pingu@color@sword@left@guard}
7301 \begin{tcblisting}{@}
7302 \begin{tikzpicture}
7303 \pingu[sword left, sword left guard=green]
7304 \end{tikzpicture}
7305 \end{tcblisting}
7306 \endsubkeyexplain
7307
7308 \subkeyexplain{sword left}{sword left shade}{color}{\pingu@color@sword@left@shade}
7309 \begin{tcblisting}{@}
7310 \begin{tikzpicture}
7311 \pingu[sword left, sword left shade=green]
7312 \end{tikzpicture}
7313 \end{tcblisting}
7314 \endsubkeyexplain
7315
7316 \subkeyexplain{sword left}{sword left shade opacity}{factor}{\pingu@sword@left@shade@opa}
7317 \begin{tcblisting}{@}
7318 \begin{tikzpicture}
7319 \pingu[sword left, sword left shade opacity=.5]
7320 \end{tikzpicture}
7321 \end{tcblisting}
7322 \endsubkeyexplain
7323 }
7324
7325 \subkeyexplain{sword left}{sword left length}{length}{\pingu@sword@left@length}
7326 \begin{tcblisting}{@}
7327 \begin{tikzpicture}
7328 \pingu[sword left, sword left yshift=4mm]
7329 \end{tikzpicture}
7330 \end{tcblisting}
7331 \endsubkeyexplain
7332
7333 \subkeyexplain{sword left}{sword left width}{length}{\pingu@sword@left@width}
7334 \begin{tcblisting}{@}
7335 \begin{tikzpicture}
7336 \pingu[sword left, sword left width=.25mm]
7337 \end{tikzpicture}
7338 \end{tcblisting}
7339 \endsubkeyexplain
7340
7341 \showkeyexplain{sword right}{color}{pingu@silver!94!blue}
7342 \begin{tcblisting}{@}
7343 \begin{tikzpicture}
7344 \pingu[sword right=green]
7345 \end{tikzpicture}
7346 \end{tcblisting}
7347 \endshowkeyexplain
7348
7349 \subkeyexplain{sword right}{sword right handle length}{length}{\pingu@sword@right@handle@length}
7350 \begin{tcblisting}{@}
7351 \begin{tikzpicture}
7352 \pingu[sword right, sword right handle length=7mm]
7353 \end{tikzpicture}
7354 \end{tcblisting}
7355 \endsubkeyexplain
7356
7357 \subkeyexplain{sword right}{sword right handle shift}{length}{\pingu@sword@right@shift}
7358 \begin{tcblisting}{@}
7359 \begin{tikzpicture}
7360 \pingu[sword right, sword right handle shift=2mm]
7361 \end{tikzpicture}
7362 \end{tcblisting}
7363 \endsubkeyexplain
7364
7365 \subkeyexplain{sword right}{sword right xshift}{length}{\pingu@sword@right@xshift}
7366 \begin{tcblisting}{@}
7367 \begin{tikzpicture}
7368 \pingu[sword right, sword right xshift=2mm]
7369 \end{tikzpicture}
7370 \end{tcblisting}
7371 \endsubkeyexplain
7372
7373 \subkeyexplain{sword right}{sword right yshift}{length}{\pingu@sword@right@yshift}
7374 \begin{tcblisting}{@}
7375 \begin{tikzpicture}
7376 \pingu[sword right, sword right yshift=2mm]
7377 \end{tikzpicture}
7378 \end{tcblisting}
7379 \endsubkeyexplain
7380
7381 \subkeyexplain{sword right}{sword right handle}{color}{\pingu@color@sword@right@handle}
7382 \begin{tcblisting}{@}
7383 \begin{tikzpicture}
7384 \pingu[sword right, sword right handle=green]
7385 \end{tikzpicture}
7386 \end{tcblisting}
7387 \endsubkeyexplain
7388
7389 {\def\pingu@color@sword@right@handle{<sword right handle color>}
7390 \subkeyexplain{sword right}{sword right guard}{color}{\pingu@color@sword@right@guard}
7391 \begin{tcblisting}{@}
7392 \begin{tikzpicture}
7393 \pingu[sword right, sword right guard=green]
7394 \end{tikzpicture}
7395 \end{tcblisting}
7396 \endsubkeyexplain
7397
7398 \subkeyexplain{sword right}{sword right shade}{color}{\pingu@color@sword@right@shade}
7399 \begin{tcblisting}{@}
7400 \begin{tikzpicture}
7401 \pingu[sword right, sword right shade=green]
7402 \end{tikzpicture}
7403 \end{tcblisting}
7404 \endsubkeyexplain
7405
7406 \subkeyexplain{sword right}{sword right shade opacity}{factor}{\pingu@sword@right@shade@opa}
7407 \begin{tcblisting}{@}
7408 \begin{tikzpicture}
7409 \pingu[sword right, sword right shade opacity=.5]
7410 \end{tikzpicture}
7411 \end{tcblisting}
7412 \endsubkeyexplain
7413 }
7414
7415 \subkeyexplain{sword right}{sword right length}{length}{\pingu@sword@right@length}
7416 \begin{tcblisting}{@}
7417 \begin{tikzpicture}
7418 \pingu[sword right, sword right yshift=4mm]
7419 \end{tikzpicture}
7420 \end{tcblisting}
7421 \endsubkeyexplain
7422
7423 \subkeyexplain{sword right}{sword right width}{length}{\pingu@sword@right@width}
7424 \begin{tcblisting}{@}
7425 \begin{tikzpicture}
7426 \pingu[sword right, sword right width=.25mm]
7427 \end{tikzpicture}
7428 \end{tcblisting}
7429 \endsubkeyexplain
7430
7431 \subsubsection{The plank}
7432
7433 \showkeyexplain{plank left}{color}{pingu@bronze!80!pingu@black}
7434 \begin{tcblisting}{@}
7435 \begin{tikzpicture}
7436 \pingu[plank left=green]
7437 \end{tikzpicture}
7438 \end{tcblisting}
7439 \endshowkeyexplain
7440
7441 \subkeyexplain{plank left}{plank left width}{length}{\pingu@plank@left@width}
7442 \begin{tcblisting}{@}
7443 \begin{tikzpicture}
7444 \pingu[plank left, plank left width=2mm]
7445 \end{tikzpicture}
7446 \end{tcblisting}
7447 \endsubkeyexplain
7448
7449 \subkeyexplain{plank left}{plank left height}{length}{\pingu@plank@left@height}
7450 \begin{tcblisting}{@}
7451 \begin{tikzpicture}
7452 \pingu[plank left, plank left height=2mm]
7453 \end{tikzpicture}
7454 \end{tcblisting}
7455 \endsubkeyexplain
7456
7457 \subkeyexplain{plank left}{plank left xshift}{length}{\pingu@plank@left@xshift}
7458 \begin{tcblisting}{@}
7459 \begin{tikzpicture}
7460 \pingu[plank left, plank left xshift=2mm]
7461 \end{tikzpicture}
7462 \end{tcblisting}
7463 \endsubkeyexplain
7464
7465 \subkeyexplain{plank left}{plank left yshift}{length}{\pingu@plank@left@yshift}
7466 \begin{tcblisting}{@}
7467 \begin{tikzpicture}
7468 \pingu[plank left, plank left yshift=2mm]
7469 \end{tikzpicture}
7470 \end{tcblisting}
7471 \endsubkeyexplain
7472
7473 \showkeyexplain{plank right}{color}{pingu@bronze!80!pingu@black}
7474 \begin{tcblisting}{@}
7475 \begin{tikzpicture}
7476 \pingu[plank right=green]
7477 \end{tikzpicture}
7478 \end{tcblisting}
7479 \endshowkeyexplain
7480
7481 \subkeyexplain{plank right}{plank right width}{length}{\pingu@plank@right@width}
7482 \begin{tcblisting}{@}
7483 \begin{tikzpicture}
7484 \pingu[plank right, plank right width=2mm]
7485 \end{tikzpicture}
7486 \end{tcblisting}
7487 \endsubkeyexplain
7488
7489 \subkeyexplain{plank right}{plank right height}{length}{\pingu@plank@right@height}
7490 \begin{tcblisting}{@}
7491 \begin{tikzpicture}
7492 \pingu[plank right, plank right height=2mm]
7493 \end{tikzpicture}
7494 \end{tcblisting}
7495 \endsubkeyexplain
7496
7497 \subkeyexplain{plank right}{plank right xshift}{length}{\pingu@plank@right@xshift}
7498 \begin{tcblisting}{@}
7499 \begin{tikzpicture}
7500 \pingu[plank right, plank right xshift=2mm]
7501 \end{tikzpicture}
7502 \end{tcblisting}
7503 \endsubkeyexplain
7504
7505 \subkeyexplain{plank right}{plank right yshift}{length}{\pingu@plank@right@yshift}
7506 \begin{tcblisting}{@}
7507 \begin{tikzpicture}
7508 \pingu[plank right, plank right yshift=2mm]
7509 \end{tikzpicture}
7510 \end{tcblisting}
7511 \endsubkeyexplain
7512
7513 \subsubsection{The laptop}
7514
7515 \showkeyexplain{laptop left}{color}{gray!80!pingu@white}
7516 \begin{tcblisting}{@}
7517 \begin{tikzpicture}
7518 \pingu[laptop left]
7519 \end{tikzpicture}
7520 \end{tcblisting}
7521 \endshowkeyexplain
7522
7523 {\def\pingu@color@laptopleft{laptop-left-color}
7524 \subkeyexplain{laptop left}{laptop left bracket}{color}{\pingu@color@laptopleft@bracket}
7525 \begin{tcblisting}{@}
7526 \begin{tikzpicture}
7527 \pingu[laptop left, laptop left bracket=green]
7528 \end{tikzpicture}
7529 \end{tcblisting}
7530 \endsubkeyexplain
7531
7532 \subkeyexplain{laptop left}{laptop left lower}{color}{\pingu@color@laptopleft@lower}
7533 \begin{tcblisting}{@}
7534 \begin{tikzpicture}
7535 \pingu[laptop left, laptop left lower=green]
7536 \end{tikzpicture}
7537 \end{tcblisting}
7538 \endsubkeyexplain
7539
7540 \subkeyexplain{laptop left}{laptop left key}{color}{\pingu@color@laptopleft@key}
7541 \begin{tcblisting}{@}
7542 \begin{tikzpicture}
7543 \pingu[laptop left, laptop left key=green]
7544 \end{tikzpicture}
7545 \end{tcblisting}
7546 \endsubkeyexplain
7547
7548 \subkeyexplain{laptop left}{laptop left display}{color}{\pingu@color@laptopleft@display}
7549 \begin{tcblisting}{@}
7550 \begin{tikzpicture}
7551 \pingu[laptop left, laptop left display=green]
7552 \end{tikzpicture}
7553 \end{tcblisting}
7554 \endsubkeyexplain
7555
7556 \subkeyexplain{laptop left}{laptop left content}{tikz-code}{\pingu@x@laptopleft@content}
7557 \begin{tcblisting}{@}
7558 \begin{tikzpicture}
7559 \pingu[laptop left, laptop left content={\draw circle[radius=2mm];}]
7560 \end{tikzpicture}
7561 \end{tcblisting}
7562 \endsubkeyexplain
7563
7564 \subkeyexplain{laptop left}{laptop left mid}{code}{\pingu@x@laptopleft@mid}
7565 \begin{tcblisting}{@}
7566 \begin{tikzpicture}
7567 \pingu[laptop left, laptop left mid={Hey}]
7568 \end{tikzpicture}
7569 \end{tcblisting}
7570 \endsubkeyexplain
7571 }
7572
7573
7574 \showkeyexplain{laptop right}{color}{gray!80!pingu@white}
7575 \begin{tcblisting}{@}
7576 \begin{tikzpicture}
7577 \pingu[laptop right]
7578 \end{tikzpicture}
7579 \end{tcblisting}
7580 \endshowkeyexplain
7581
7582 {\def\pingu@color@laptopright{laptop-right-color}
7583 \subkeyexplain{laptop right}{laptop right bracket}{color}{\pingu@color@laptopright@bracket}
7584 \begin{tcblisting}{@}
7585 \begin{tikzpicture}
7586 \pingu[laptop right, laptop right bracket=green]
7587 \end{tikzpicture}
7588 \end{tcblisting}
7589 \endsubkeyexplain
7590
7591 \subkeyexplain{laptop right}{laptop right lower}{color}{\pingu@color@laptopright@lower}
7592 \begin{tcblisting}{@}
7593 \begin{tikzpicture}
7594 \pingu[laptop right, laptop right lower=green]
7595 \end{tikzpicture}
7596 \end{tcblisting}
7597 \endsubkeyexplain
7598
7599 \subkeyexplain{laptop right}{laptop right key}{color}{\pingu@color@laptopright@key}
7600 \begin{tcblisting}{@}
7601 \begin{tikzpicture}
7602 \pingu[laptop right, laptop right key=green]
7603 \end{tikzpicture}
7604 \end{tcblisting}
7605 \endsubkeyexplain
7606
7607 \subkeyexplain{laptop right}{laptop right display}{color}{\pingu@color@laptopright@display}
7608 \begin{tcblisting}{@}
7609 \begin{tikzpicture}
7610 \pingu[laptop right, laptop right display=green]
7611 \end{tikzpicture}
7612 \end{tcblisting}
7613 \endsubkeyexplain
7614
7615 \subkeyexplain{laptop right}{laptop right content}{tikz-code}{\pingu@x@laptopright@content}
7616 \begin{tcblisting}{@}
7617 \begin{tikzpicture}
7618 \pingu[laptop right, laptop right content={\draw circle[radius=2mm];}]
7619 \end{tikzpicture}
7620 \end{tcblisting}
7621 \endsubkeyexplain
7622
7623 \subkeyexplain{laptop right}{laptop right mid}{code}{\pingu@x@laptopright@mid}
7624 \begin{tcblisting}{@}
7625 \begin{tikzpicture}
7626 \pingu[laptop right, laptop right mid={Hey}]
7627 \end{tikzpicture}
7628 \end{tcblisting}
7629 \endsubkeyexplain
7630 }
7631
7632 \subsubsection{The devil fork}
7633
7634 \showkeyexplain{devil fork left}{color}{pingu@red}
7635 \begin{tcblisting}{@}
7636 \begin{tikzpicture}
7637 \pingu[devil fork left=green]
7638 \end{tikzpicture}
7639 \end{tcblisting}
7640 \endshowkeyexplain
7641
7642 \subkeyexplain{devil fork left}{devil fork left second}{color}{\pingu@color@devilforkleft@second}
7643 Staff color of the \keyref{devil fork left}:
7644 \begin{tcblisting}{@}
7645 \begin{tikzpicture}
7646 \pingu[devil fork left,
7647 devil fork left second=green]
7648 \end{tikzpicture}
7649 \end{tcblisting}
7650 \endsubkeyexplain
7651
7652 \subkeyexplain{devil fork left}{devil fork left length}{color}{\pingu@devilfork@left@length}
7653 \begin{tcblisting}{@}
7654 \begin{tikzpicture}
7655 \pingu[devil fork left, devil fork left length=7mm]
7656 \end{tikzpicture}
7657 \end{tcblisting}
7658 \endsubkeyexplain
7659
7660 \showkeyexplain{devil fork right}{color}{pingu@red}
7661 \begin{tcblisting}{@}
7662 \begin{tikzpicture}
7663 \pingu[devil fork right=green]
7664 \end{tikzpicture}
7665 \end{tcblisting}
7666 \endshowkeyexplain
7667
7668 \subkeyexplain{devil fork right}{devil fork right second}{color}{\pingu@color@devilforkright@second}
7669 Staff color of the \keyref{devil fork right}:
7670 \begin{tcblisting}{@}
7671 \begin{tikzpicture}
7672 \pingu[devil fork right,
7673 devil fork right second=green]
7674 \end{tikzpicture}
7675 \end{tcblisting}
7676 \endsubkeyexplain
7677
7678 \subkeyexplain{devil fork right}{devil fork right length}{color}{\pingu@devilfork@right@length}
7679 \begin{tcblisting}{@}
7680 \begin{tikzpicture}
7681 \pingu[devil fork right,
7682 devil fork right length=7mm]
7683 \end{tikzpicture}
7684 \end{tcblisting}
7685 \endsubkeyexplain
7686
7687 \subsubsection{The horse}
7688
7689 \showkeyexplain{horse left}{color}{pingu@bronze!80!pingu@black}
7690 Give it a horse:
7691 \begin{tcblisting}{@}
7692 \begin{tikzpicture}
7693 \pingu[horse left=green]
7694 \end{tikzpicture}
7695 \end{tcblisting}
7696 \endshowkeyexplain
7697
7698 \subkeyexplain{horse left}{horse left flip}{true/false}{false}
7699 By default, the left horse will be flipped. The right horse won't.
7700 \begin{tcblisting}{@}
7701 \begin{tikzpicture}
7702 \pingu[horse left,horse left flip=false]
7703 \end{tikzpicture}
7704 \end{tcblisting}
7705 \endsubkeyexplain
7706
7707 \subkeyexplain{horse left}{horse left donkey}{true/false}{false}
7708 Draw the horse with modifications to look more like a donkey:
7709 \begin{tcblisting}{@}
7710 \begin{tikzpicture}
7711 \pingu[horse left,horse left donkey=true]
7712 \end{tikzpicture}
7713 \end{tcblisting}
7714 \endsubkeyexplain
7715
7716 \subkeyexplain{horse left}{horse left has base}{true/false}{false}
7717 \begin{tcblisting}{@}
7718 \begin{tikzpicture}
7719 \pingu[horse left,horse left has base]
7720 \end{tikzpicture}
7721 \end{tcblisting}
7722 \endsubkeyexplain
7723
7724 {\def\pingu@color@horseleft{<horse-left-color>}
7725 \subkeyexplain{horse left}{horse left draw}{color}{\pingu@color@horseleft@draw}
7726 \begin{tcblisting}{@}
7727 \begin{tikzpicture}
7728 \pingu[horse left,horse left draw=green]
7729 \end{tikzpicture}
7730 \end{tcblisting}
7731 \endsubkeyexplain
7732
7733 \subkeyexplain{horse left}{horse left mane}{color}{\pingu@color@horseleft@mane}
7734 \begin{tcblisting}{@}
7735 \begin{tikzpicture}
7736 \pingu[horse left,horse left mane=green]
7737 \end{tikzpicture}
7738 \end{tcblisting}
7739 \endsubkeyexplain
7740
7741 \def\pingu@color@horseleft@mane{<horse-left-mane-color>}
7742 \subkeyexplain{horse left}{horse left mane draw}{color}{\pingu@color@horseleft@mane@draw}
7743 \begin{tcblisting}{@}
7744 \begin{tikzpicture}
7745 \pingu[horse left,horse left mane draw=green]
7746 \end{tikzpicture}
7747 \end{tcblisting}
7748 \endsubkeyexplain
7749
7750 \subkeyexplain{horse left}{horse left thatch}{color}{\pingu@color@horseleft@thatch}
7751 \begin{tcblisting}{@}
7752 \begin{tikzpicture}
7753 \pingu[horse left,horse left thatch=green]
7754 \end{tikzpicture}
7755 \end{tcblisting}
7756 \endsubkeyexplain
7757
7758 \def\pingu@color@horseleft@thatch{<horse-left-thatch-color>}
7759 \subkeyexplain{horse left}{horse left thatch draw}{color}{\pingu@color@horseleft@thatch@draw}
7760 \begin{tcblisting}{@}
7761 \begin{tikzpicture}
7762 \pingu[horse left,horse left thatch draw=green]
7763 \end{tikzpicture}
7764 \end{tcblisting}
7765 \endsubkeyexplain
7766
7767 \subkeyexplain{horse left}{horse left tail}{color}{\pingu@color@horseleft@tail}
7768 \begin{tcblisting}{@}
7769 \begin{tikzpicture}
7770 \pingu[horse left,horse left tail=green]
7771 \end{tikzpicture}
7772 \end{tcblisting}
7773 \endsubkeyexplain
7774
7775 \def\pingu@color@horseleft@tail{<horse-left-tail-color>}
7776 \subkeyexplain{horse left}{horse left tail draw}{color}{\pingu@color@horseleft@tail@draw}
7777 \begin{tcblisting}{@}
7778 \begin{tikzpicture}
7779 \pingu[horse left,horse left tail draw=green]
7780 \end{tikzpicture}
7781 \end{tcblisting}
7782 \endsubkeyexplain
7783
7784 \subkeyexplain{horse left}{horse left eyes}{color}{\pingu@color@horseleft@eyes}
7785 \begin{tcblisting}{@}
7786 \begin{tikzpicture}
7787 \pingu[horse left,horse left eyes=green]
7788 \end{tikzpicture}
7789 \end{tcblisting}
7790 \endsubkeyexplain
7791 \subkeyalias{horse left eye}{horse left eyes}{horse left}
7792
7793 \subkeyexplain{horse left}{horse left mouth}{color}{\pingu@color@horseleft@mouth}
7794 \begin{tcblisting}{@}
7795 \begin{tikzpicture}
7796 \pingu[horse left,horse left mouth=green]
7797 \end{tikzpicture}
7798 \end{tcblisting}
7799 \endsubkeyexplain
7800
7801 \subkeyexplain{horse left}{horse left nose}{color}{\pingu@color@horseleft@nose}
7802 \begin{tcblisting}{@}
7803 \begin{tikzpicture}
7804 \pingu[horse left,horse left nose=green]
7805 \end{tikzpicture}
7806 \end{tcblisting}
7807 \endsubkeyexplain
7808
7809 \subkeyexplain{horse left}{horse left ears}{color}{\pingu@color@horseleft@ears}
7810 \begin{tcblisting}{@}
7811 \begin{tikzpicture}
7812 \pingu[horse left,horse left ears=green]
7813 \end{tikzpicture}
7814 \end{tcblisting}
7815 \endsubkeyexplain
7816
7817 \subkeyexplain{horse left}{horse left base}{color}{\pingu@color@horseleft@base}
7818 \begin{tcblisting}{@}
7819 \begin{tikzpicture}
7820 \pingu[horse left,horse left has base,
7821 horse left base=green]
7822 \end{tikzpicture}
7823 \end{tcblisting}
7824 \endsubkeyexplain
7825
7826 \def\pingu@color@horseleft@base{<horse-left-base-color>}
7827 \subkeyexplain{horse left}{horse left base draw}{color}{\pingu@color@horseleft@base@draw}
7828 \begin{tcblisting}{@}
7829 \begin{tikzpicture}
7830 \pingu[horse left,horse left has base,
7831 horse left base draw=green]
7832 \end{tikzpicture}
7833 \end{tcblisting}
7834 \endsubkeyexplain
7835
7836 \subkeyexplain{horse left}{horse left base shade}{color}{\pingu@color@horseleft@base@shade}
7837 \begin{tcblisting}{@}
7838 \begin{tikzpicture}
7839 \pingu[horse left,horse left has base,
7840 horse left base shade=green]
7841 \end{tikzpicture}
7842 \end{tcblisting}
7843 \endsubkeyexplain
7844
7845 \def\pingu@color@horseleft@base@shade{<horse-left-base-shade-color>}
7846 \subkeyexplain{horse left}{horse left base shade draw}{color}{\pingu@color@horseleft@base@shade@draw}
7847 \begin{tcblisting}{@}
7848 \begin{tikzpicture}
7849 \pingu[horse left,horse left has base,
7850 horse left base shade draw=green]
7851 \end{tikzpicture}
7852 \end{tcblisting}
7853 \endsubkeyexplain
7854
7855 \subkeyexplain{horse left}{horse left front left hoof}{color}{}
7856 \begin{tcblisting}{@}
7857 \begin{tikzpicture}
7858 \pingu[horse left,horse left front left hoof=green]
7859 \end{tikzpicture}
7860 \end{tcblisting}
7861 \endsubkeyexplain
7862
7863 \subkeyexplain{horse left}{horse left front right hoof}{color}{}
7864 \begin{tcblisting}{@}
7865 \begin{tikzpicture}
7866 \pingu[horse left,horse left front right hoof=green]
7867 \end{tikzpicture}
7868 \end{tcblisting}
7869 \endsubkeyexplain
7870
7871 \subkeyexplain{horse left}{horse left back left hoof}{color}{}
7872 \begin{tcblisting}{@}
7873 \begin{tikzpicture}
7874 \pingu[horse left,horse left back left hoof=green]
7875 \end{tikzpicture}
7876 \end{tcblisting}
7877 \endsubkeyexplain
7878
7879 \subkeyexplain{horse left}{horse left back right hoof}{color}{}
7880 \begin{tcblisting}{@}
7881 \begin{tikzpicture}
7882 \pingu[horse left,horse left back right hoof=green]
7883 \end{tikzpicture}
7884 \end{tcblisting}
7885 \endsubkeyexplain
7886
7887 \subkeyexplain{horse left}{horse left front hoofs}{color}{}
7888 \begin{tcblisting}{@}
7889 \begin{tikzpicture}
7890 \pingu[horse left,horse left front hoofs=green]
7891 \end{tikzpicture}
7892 \end{tcblisting}
7893 \endsubkeyexplain
7894
7895 \subkeyexplain{horse left}{horse left back hoofs}{color}{}
7896 \begin{tcblisting}{@}
7897 \begin{tikzpicture}
7898 \pingu[horse left,horse left back hoofs=green]
7899 \end{tikzpicture}
7900 \end{tcblisting}
7901 \endsubkeyexplain
7902
7903 \subkeyexplain{horse left}{horse left hoofs}{color}{gray!80!white}
7904 \begin{tcblisting}{@}
7905 \begin{tikzpicture}
7906 \pingu[horse left,horse left hoofs=green]
7907 \end{tikzpicture}
7908 \end{tcblisting}
7909 \endsubkeyexplain
7910
7911 \subkeyexplain{horse left}{horse left xshift}{length}{\pingu@x@horseleft@xshift}
7912 This key reacts with the \keyref{horse left flip} option!
7913 \begin{tcblisting}{@}
7914 \begin{tikzpicture}
7915 \pingu[horse left,horse left xshift=1cm]
7916 \end{tikzpicture}
7917 \end{tcblisting}
7918 \endsubkeyexplain
7919
7920 \subkeyexplain{horse left}{horse left yshift}{length}{\pingu@x@horseleft@yshift}
7921 \begin{tcblisting}{@}
7922 \begin{tikzpicture}
7923 \pingu[horse left,horse left yshift=1cm]
7924 \end{tikzpicture}
7925 \end{tcblisting}
7926 \endsubkeyexplain
7927
7928 \subkeyexplain{horse left}{horse left on base}{}{}
7929 Uses \keyref{horse left xshift} and \keyref{horse left yshift} to align a horse on a base to be set on the penguin-wing:
7930 \begin{tcblisting}{@}
7931 \begin{tikzpicture}
7932 \pingu[horse left,horse left has base,
7933 horse left on base]
7934 \end{tikzpicture}
7935 \end{tcblisting}
7936 \endsubkeyexplain
7937 }
7938
7939 \showkeyexplain{horse right}{color}{pingu@bronze!80!pingu@black}
7940 Give it a horse:
7941 \begin{tcblisting}{@}
7942 \begin{tikzpicture}
7943 \pingu[horse right=green]
7944 \end{tikzpicture}
7945 \end{tcblisting}
7946 \endshowkeyexplain
7947
7948 \subkeyexplain{horse right}{horse right flip}{true/false}{false}
7949 By default, the right horse will be flipped. The right horse won't.
7950 \begin{tcblisting}{@}
7951 \begin{tikzpicture}
7952 \pingu[horse right,horse right flip=false]
7953 \end{tikzpicture}
7954 \end{tcblisting}
7955 \endsubkeyexplain
7956
7957 \subkeyexplain{horse right}{horse right donkey}{true/false}{false}
7958 Draw the horse with modifications to look more like a donkey:
7959 \begin{tcblisting}{@}
7960 \begin{tikzpicture}
7961 \pingu[horse right,horse right donkey=true]
7962 \end{tikzpicture}
7963 \end{tcblisting}
7964 \endsubkeyexplain
7965
7966
7967 \subkeyexplain{horse right}{horse right has base}{true/false}{false}
7968 \begin{tcblisting}{@}
7969 \begin{tikzpicture}
7970 \pingu[horse right,horse right has base]
7971 \end{tikzpicture}
7972 \end{tcblisting}
7973 \endsubkeyexplain
7974
7975 {\def\pingu@color@horseright{<horse-right-color>}
7976 \subkeyexplain{horse right}{horse right draw}{color}{\pingu@color@horseright@draw}
7977 \begin{tcblisting}{@}
7978 \begin{tikzpicture}
7979 \pingu[horse right,horse right draw=green]
7980 \end{tikzpicture}
7981 \end{tcblisting}
7982 \endsubkeyexplain
7983
7984 \subkeyexplain{horse right}{horse right mane}{color}{\pingu@color@horseright@mane}
7985 \begin{tcblisting}{@}
7986 \begin{tikzpicture}
7987 \pingu[horse right,horse right mane=green]
7988 \end{tikzpicture}
7989 \end{tcblisting}
7990 \endsubkeyexplain
7991
7992 \def\pingu@color@horseright@mane{<horse-right-mane-color>}
7993 \subkeyexplain{horse right}{horse right mane draw}{color}{\pingu@color@horseright@mane@draw}
7994 \begin{tcblisting}{@}
7995 \begin{tikzpicture}
7996 \pingu[horse right,horse right mane draw=green]
7997 \end{tikzpicture}
7998 \end{tcblisting}
7999 \endsubkeyexplain
8000
8001 \subkeyexplain{horse right}{horse right thatch}{color}{\pingu@color@horseright@thatch}
8002 \begin{tcblisting}{@}
8003 \begin{tikzpicture}
8004 \pingu[horse right,horse right thatch=green]
8005 \end{tikzpicture}
8006 \end{tcblisting}
8007 \endsubkeyexplain
8008
8009 \def\pingu@color@horseright@thatch{<horse-right-thatch-color>}
8010 \subkeyexplain{horse right}{horse right thatch draw}{color}{\pingu@color@horseright@thatch@draw}
8011 \begin{tcblisting}{@}
8012 \begin{tikzpicture}
8013 \pingu[horse right,horse right thatch draw=green]
8014 \end{tikzpicture}
8015 \end{tcblisting}
8016 \endsubkeyexplain
8017
8018 \subkeyexplain{horse right}{horse right tail}{color}{\pingu@color@horseright@tail}
8019 \begin{tcblisting}{@}
8020 \begin{tikzpicture}
8021 \pingu[horse right,horse right tail=green]
8022 \end{tikzpicture}
8023 \end{tcblisting}
8024 \endsubkeyexplain
8025
8026 \def\pingu@color@horseright@tail{<horse-right-tail-color>}
8027 \subkeyexplain{horse right}{horse right tail draw}{color}{\pingu@color@horseright@tail@draw}
8028 \begin{tcblisting}{@}
8029 \begin{tikzpicture}
8030 \pingu[horse right,horse right tail draw=green]
8031 \end{tikzpicture}
8032 \end{tcblisting}
8033 \endsubkeyexplain
8034
8035 \subkeyexplain{horse right}{horse right eyes}{color}{\pingu@color@horseright@eyes}
8036 \begin{tcblisting}{@}
8037 \begin{tikzpicture}
8038 \pingu[horse right,horse right eyes=green]
8039 \end{tikzpicture}
8040 \end{tcblisting}
8041 \endsubkeyexplain
8042 \subkeyalias{horse right eye}{horse right eyes}{horse right}
8043
8044 \subkeyexplain{horse right}{horse right mouth}{color}{\pingu@color@horseright@mouth}
8045 \begin{tcblisting}{@}
8046 \begin{tikzpicture}
8047 \pingu[horse right,horse right mouth=green]
8048 \end{tikzpicture}
8049 \end{tcblisting}
8050 \endsubkeyexplain
8051
8052 \subkeyexplain{horse right}{horse right nose}{color}{\pingu@color@horseright@nose}
8053 \begin{tcblisting}{@}
8054 \begin{tikzpicture}
8055 \pingu[horse right,horse right nose=green]
8056 \end{tikzpicture}
8057 \end{tcblisting}
8058 \endsubkeyexplain
8059
8060 \subkeyexplain{horse right}{horse right ears}{color}{\pingu@color@horseright@ears}
8061 \begin{tcblisting}{@}
8062 \begin{tikzpicture}
8063 \pingu[horse right,horse right ears=green]
8064 \end{tikzpicture}
8065 \end{tcblisting}
8066 \endsubkeyexplain
8067
8068 \subkeyexplain{horse right}{horse right base}{color}{\pingu@color@horseright@base}
8069 \begin{tcblisting}{@}
8070 \begin{tikzpicture}
8071 \pingu[horse right,horse right has base,
8072 horse right base=green]
8073 \end{tikzpicture}
8074 \end{tcblisting}
8075 \endsubkeyexplain
8076
8077 \def\pingu@color@horseright@base{<horse-right-base-color>}
8078 \subkeyexplain{horse right}{horse right base draw}{color}{\pingu@color@horseright@base@draw}
8079 \begin{tcblisting}{@}
8080 \begin{tikzpicture}
8081 \pingu[horse right,horse right has base,
8082 horse right base draw=green]
8083 \end{tikzpicture}
8084 \end{tcblisting}
8085 \endsubkeyexplain
8086
8087 \subkeyexplain{horse right}{horse right base shade}{color}{\pingu@color@horseright@base@shade}
8088 \begin{tcblisting}{@}
8089 \begin{tikzpicture}
8090 \pingu[horse right,horse right has base,
8091 horse right base shade=green]
8092 \end{tikzpicture}
8093 \end{tcblisting}
8094 \endsubkeyexplain
8095
8096 \def\pingu@color@horseright@base@shade{<horse-right-base-shade-color>}
8097 \subkeyexplain{horse right}{horse right base shade draw}{color}{\pingu@color@horseright@base@shade@draw}
8098 \begin{tcblisting}{@}
8099 \begin{tikzpicture}
8100 \pingu[horse right,horse right has base,
8101 horse right base shade draw=green]
8102 \end{tikzpicture}
8103 \end{tcblisting}
8104 \endsubkeyexplain
8105
8106 \subkeyexplain{horse right}{horse right front left hoof}{color}{}
8107 \begin{tcblisting}{@}
8108 \begin{tikzpicture}
8109 \pingu[horse right,horse right front left hoof=green]
8110 \end{tikzpicture}
8111 \end{tcblisting}
8112 \endsubkeyexplain
8113
8114 \subkeyexplain{horse right}{horse right front right hoof}{color}{}
8115 \begin{tcblisting}{@}
8116 \begin{tikzpicture}
8117 \pingu[horse right,horse right front right hoof=green]
8118 \end{tikzpicture}
8119 \end{tcblisting}
8120 \endsubkeyexplain
8121
8122 \subkeyexplain{horse right}{horse right back left hoof}{color}{}
8123 \begin{tcblisting}{@}
8124 \begin{tikzpicture}
8125 \pingu[horse right,horse right back left hoof=green]
8126 \end{tikzpicture}
8127 \end{tcblisting}
8128 \endsubkeyexplain
8129
8130 \subkeyexplain{horse right}{horse right back right hoof}{color}{}
8131 \begin{tcblisting}{@}
8132 \begin{tikzpicture}
8133 \pingu[horse right,horse right back right hoof=green]
8134 \end{tikzpicture}
8135 \end{tcblisting}
8136 \endsubkeyexplain
8137
8138 \subkeyexplain{horse right}{horse right front hoofs}{color}{}
8139 \begin{tcblisting}{@}
8140 \begin{tikzpicture}
8141 \pingu[horse right,horse right front hoofs=green]
8142 \end{tikzpicture}
8143 \end{tcblisting}
8144 \endsubkeyexplain
8145
8146 \subkeyexplain{horse right}{horse right back hoofs}{color}{}
8147 \begin{tcblisting}{@}
8148 \begin{tikzpicture}
8149 \pingu[horse right,horse right back hoofs=green]
8150 \end{tikzpicture}
8151 \end{tcblisting}
8152 \endsubkeyexplain
8153
8154 \subkeyexplain{horse right}{horse right hoofs}{color}{gray!80!white}
8155 \begin{tcblisting}{@}
8156 \begin{tikzpicture}
8157 \pingu[horse right,horse right hoofs=green]
8158 \end{tikzpicture}
8159 \end{tcblisting}
8160 \endsubkeyexplain
8161
8162 \subkeyexplain{horse right}{horse right xshift}{color}{\pingu@x@horseright@xshift}
8163 This key reacts with the \keyref{horse right flip} option!
8164 \begin{tcblisting}{@}
8165 \begin{tikzpicture}
8166 \pingu[horse right,horse right xshift=1cm]
8167 \end{tikzpicture}
8168 \end{tcblisting}
8169 \endsubkeyexplain
8170
8171 \subkeyexplain{horse right}{horse right yshift}{color}{\pingu@x@horseright@yshift}
8172 \begin{tcblisting}{@}
8173 \begin{tikzpicture}
8174 \pingu[horse right,horse right yshift=1cm]
8175 \end{tikzpicture}
8176 \end{tcblisting}
8177 \endsubkeyexplain
8178
8179 \subkeyexplain{horse right}{horse right on base}{}{}
8180 Uses \keyref{horse right xshift} and \keyref{horse right yshift} to align a horse on a base to be set on the penguin-wing:
8181 \begin{tcblisting}{@}
8182 \begin{tikzpicture}
8183 \pingu[horse right,horse right has base,
8184 horse right on base]
8185 \end{tikzpicture}
8186 \end{tcblisting}
8187 \endsubkeyexplain
8188 }
8189
8190
8191 \subsection{Clothes}
8192
8193 Clothes are currently completely work in progress as the goal is to create an elegant way to offer clothes that adapt to the wing positions of the penguin.
8194 Currently there is only one cloth type that may be heavily edited in the course of development\ldots
8195
8196 \subsubsection{The cloak}
8197
8198 Originally developed just as a cape, the cloak is no a whole extension.
8199
8200 \showkeyexplain{cloak}{color}{pingu@bronze}
8201 \begin{tcblisting}{@}
8202 \begin{tikzpicture}
8203 \pingu[cloak=green]
8204 \end{tikzpicture}
8205 \end{tcblisting}
8206 \endshowkeyexplain
8207
8208 \begin{tcblisting}{sidebyside=false, title={\strut Cloak-Showcase}}
8209 \begin{tikzpicture}
8210 \pingu[wings wave, cloak]
8211 \pingu[wings shock, cloak, xshift=3.5cm]
8212 \pingu[right wing wave, left wing hug, cloak, xshift=7cm]
8213 \pingu[right wing grab, left wing raise, cloak, xshift=10.5cm]
8214 \end{tikzpicture}
8215 \end{tcblisting}
8216
8217 {\def\pingu@color@cloak{<cloak-color>}
8218 \subkeyexplain{cloak}{cloak cap}{color}{\pingu@color@cloak@cap}
8219 \begin{tcblisting}{@}
8220 \begin{tikzpicture}
8221 \pingu[cloak, cloak cap=green]
8222 \end{tikzpicture}
8223 \end{tcblisting}
8224 \endsubkeyexplain}
8225
8226 {\def\pingu@color@cloak{<cloak-color>}
8227 \subkeyexplain{cloak}{cloak wings color}{color}{\pingu@color@cloak@wings}
8228 \begin{tcblisting}{@}
8229 \begin{tikzpicture}
8230 \pingu[cloak, cloak wings color=green]
8231 \end{tikzpicture}
8232 \end{tcblisting}
8233 \endsubkeyexplain}
8234
8235 {\def\pingu@color@cloak{<cloak-color>}
8236 \subkeyexplain{cloak}{cloak bottom color}{color}{\pingu@color@cloak@bottom}
8237 Should change the cloaks bottom color (currently ineffective):
8238 \begin{tcblisting}{@}
8239 \begin{tikzpicture}
8240 \pingu[cloak, cloak bottom color=green]
8241 \end{tikzpicture}
8242 \end{tcblisting}
8243 \endsubkeyexplain}
8244
8245 {\def\pingu@color@cloak{<cloak-color>}
8246 \subkeyexplain{cloak}{cloak front color}{color}{\pingu@color@cloak@front}
8247 Should change the cloaks front color (currently ineffective):
8248 \begin{tcblisting}{@}
8249 \begin{tikzpicture}
8250 \pingu[cloak, cloak front color=green]
8251 \end{tikzpicture}
8252 \end{tcblisting}
8253 \endsubkeyexplain}
8254
8255 \subkeyexplain{cloak}{cloak padding}{length}{\pingu@x@cloak@padding}
8256 \begin{tcblisting}{@}
8257 \begin{tikzpicture}
8258 \pingu[cloak, cloak padding=13mm]
8259 \end{tikzpicture}
8260 \end{tcblisting}
8261 \endsubkeyexplain
8262
8263 \showkeyexplain{cape}{color}{pingu@bronze}
8264 Uses \keyref{cloak} but disables all parts that are not part of a cape:
8265 \begin{tcblisting}{@}
8266 \begin{tikzpicture}
8267 \pingu[cape=green]
8268 \end{tikzpicture}
8269 \end{tcblisting}
8270 \endshowkeyexplain
8271
8272 \subsubsection{The shirt}
8273
8274 \showkeyexplain{shirt}{color}{pingu@bronze}
8275 \begin{tcblisting}{@}
8276 \begin{tikzpicture}
8277 \pingu[shirt=green]
8278 \end{tikzpicture}
8279 \end{tcblisting}
8280 \endshowkeyexplain
8281
8282 \subkeyexplain{shirt}{shirt raise}{length}{\pingu@shirt@raise}
8283 \begin{tcblisting}{@}
8284 \begin{tikzpicture}
8285 \pingu[shirt, shirt raise=5mm]
8286 \end{tikzpicture}
8287 \end{tcblisting}
8288 \endsubkeyexplain
8289
8290 \subkeyexplain{shirt}{shirt padding}{length}{\pingu@shirt@padding}
8291 \begin{tcblisting}{@}
8292 \begin{tikzpicture}
8293 \pingu[shirt, shirt padding=4mm]
8294 \end{tikzpicture}
8295 \end{tcblisting}
8296 \endsubkeyexplain
8297
8298 \subkeyexplain{shirt}{shirt button top}{color}{\pingu@color@shirt@button@top}
8299 \begin{tcblisting}{@}
8300 \begin{tikzpicture}
8301 \pingu[shirt, shirt button top=green]
8302 \end{tikzpicture}
8303 \end{tcblisting}
8304 \endsubkeyexplain
8305
8306 \subkeyexplain{shirt}{shirt button middle}{color}{\pingu@color@shirt@button@middle}
8307 \begin{tcblisting}{@}
8308 \begin{tikzpicture}
8309 \pingu[shirt, shirt button middle=green]
8310 \end{tikzpicture}
8311 \end{tcblisting}
8312 \endsubkeyexplain
8313
8314 \subkeyexplain{shirt}{shirt button bottom}{color}{\pingu@color@shirt@button@bottom}
8315 \begin{tcblisting}{@}
8316 \begin{tikzpicture}
8317 \pingu[shirt, shirt button bottom=green]
8318 \end{tikzpicture}
8319 \end{tcblisting}
8320 \endsubkeyexplain
8321
8322 \subkeyexplain{shirt}{shirt buttons}{color}{}
8323 Set \keyref{shirt button top}, \keyref{shirt button middle} and \keyref{shirt button bottom}, that is all the buttons, with the same color:
8324 \begin{tcblisting}{@}
8325 \begin{tikzpicture}
8326 \pingu[shirt, shirt buttons=green]
8327 \end{tikzpicture}
8328 \end{tcblisting}
8329 \endsubkeyexplain
8330
8331 {\def\pingu@color@shirt@button@top{<shirt-button-top>}\def\pingu@color@shirt{<shirt-color>}
8332 \subkeyexplain{shirt}{shirt button top shade}{color}{\pingu@color@shirt@button@top@shade}
8333 \begin{tcblisting}{@}
8334 \begin{tikzpicture}
8335 \pingu[shirt, shirt button top shade=green]
8336 \end{tikzpicture}
8337 \end{tcblisting}
8338 \endsubkeyexplain}
8339
8340 {\def\pingu@color@shirt@button@middle{<shirt-button-middle>}\def\pingu@color@shirt{<shirt-color>}
8341 \subkeyexplain{shirt}{shirt button middle shade}{color}{\pingu@color@shirt@button@middle@shade}
8342 \begin{tcblisting}{@}
8343 \begin{tikzpicture}
8344 \pingu[shirt, shirt button middle shade=green]
8345 \end{tikzpicture}
8346 \end{tcblisting}
8347 \endsubkeyexplain}
8348
8349 {\def\pingu@color@shirt@button@top{<shirt-button-top>}\def\pingu@color@shirt{<shirt-color>}
8350 \subkeyexplain{shirt}{shirt button bottom shade}{color}{\pingu@color@shirt@button@bottom@shade}
8351 \begin{tcblisting}{@}
8352 \begin{tikzpicture}
8353 \pingu[shirt, shirt button bottom shade=green]
8354 \end{tikzpicture}
8355 \end{tcblisting}
8356 \endsubkeyexplain}
8357
8358 \subkeyexplain{shirt}{shirt buttons shade}{color}{}
8359 Set all shadings of the buttons: \keyref{shirt button top shade}, \keyref{shirt button middle shade} and \keyref{shirt button bottom shade} with the same color:
8360 \begin{tcblisting}{@}
8361 \begin{tikzpicture}
8362 \pingu[shirt, shirt buttons shade=green]
8363 \end{tikzpicture}
8364 \end{tcblisting}
8365 \endsubkeyexplain
8366
8367 \subkeyexplain{shirt}{shirt no buttons}{}{}
8368 Disable all buttons (by setting their colors to \lpingu{!hide}):
8369 \begin{tcblisting}{@}
8370 \begin{tikzpicture}
8371 \pingu[shirt, shirt no buttons]
8372 \end{tikzpicture}
8373 \end{tcblisting}
8374 \endsubkeyexplain
8375
8376 \subkeyexplain{shirt}{shirt above}{}{}
8377 This is interesting in combination with other extras as it allows the \keyref{shirt} to be drawn above them.
8378 \begin{tcblisting}{@}
8379 \begin{tikzpicture}
8380 \pingu[shirt, tie, shirt above]
8381 \pingu[shirt, tie, xshift=3cm]
8382 \end{tikzpicture}
8383 \end{tcblisting}
8384 \endsubkeyexplain
8385
8386 \subsubsection{The second shirt}
8387 \showkeyexplain{second shirt}{color}{pingu@red}
8388 Display a shirt below the \keyref{shirt}:
8389 \begin{tcblisting}{@}
8390 \begin{tikzpicture}
8391 \pingu[second shirt=green, shirt]
8392 \end{tikzpicture}
8393 \end{tcblisting}
8394 \endshowkeyexplain
8395
8396 \subkeyexplain{second shirt}{second shirt raise}{length}{\pingu@secondshirt@raise}
8397 \begin{tcblisting}{@}
8398 \begin{tikzpicture}
8399 \pingu[second shirt, second shirt raise=5mm]
8400 \end{tikzpicture}
8401 \end{tcblisting}
8402 \endsubkeyexplain
8403
8404 {\def\pingu@color@secondshirt{<second-shirt-color>}
8405 \subkeyexplain{second shirt}{second shirt neck}{color}{\pingu@color@secondshirt@neck}
8406 \begin{tcblisting}{@}
8407 \begin{tikzpicture}
8408 \pingu[second shirt, second shirt neck=green]
8409 \end{tikzpicture}
8410 \end{tcblisting}
8411 \endsubkeyexplain}
8412
8413
8414 % set up for inclusion
8415 \lstset{includerangemarker=false,rangeprefix={\%\ <}, rangesuffix={>}}
8416 \newcommand\includecode[2][../tex/tikzpingus.sty]{\lstinputlisting[linerange=#2-@#2,style=lstpingu,language=pinguinternallang,numbers=left,numberstyle={\tiny\@declaredcolor{gray}\sffamily},numbersep=5pt]{#1}}
8417 \def\current@indexfile{\jobname-internals}
8418 % gobble leading pingu for indexing
8419 \def\@gobblekey#1{%
8420 \IfBeginWith{#1}{pingu@}{%
8421 \StrDel[1]{#1}{pingu@}[#1]\protected@xdef#1{#1}%
8422 }{%
8423 \IfBeginWith{#1}{@pingu@}{%
8424 \StrDel[1]{#1}{@pingu@}[#1]\protected@xdef#1{#1}%
8425 }{}%
8426 }}
8427 \newsavebox\warningpengu
8428 \setbox0=\hbox{\tikz{\pingu[wings shock,eyes shock,small]}}
8429 \setbox\warningpengu=\hbox{\tikz{\node[scale=.35] (a) at(0,0) {\box0}; \node[above] at(a.north) {\faExclamation};}}
8430 \def\important{\par\mbox{\textit{Important:}\marginnote{\usebox\warningpengu}}}
8431
8432 \section{Larger Examples}
8433
8434 \subsection{A chessboard}
8435
8436 Let's assume, that we want to have a board of penguins playing chess. For starters, we need the individual pieces.
8437 \begin{tcblisting}{title={The pawns},externalize listing=chess-pawns}
8438 \tikz{\pingu[body=pingu@black]}
8439 \tikz{\pingu[:back,xshift=3cm]}
8440 \end{tcblisting}
8441
8442 % TODO: deal with problems: D when using two rooks front/back in same picture
8443 \begin{tcblisting}{title={The rooks},externalize listing=chess-rooks}
8444 \tikz{\pingu[body=pingu@black,rook]}
8445 \tikz{\pingu[:back,rook,rook hatch=false]}
8446 \end{tcblisting}
8447
8448 For the knights we make use of the \keyref{horse behind} extra, which itself is based on the \keyref{horse left}/\keyref{horse right} wing item:
8449 \begin{tcblisting}{title={The knights},externalize listing=chess-knights}
8450 \tikz{\pingu[body=pingu@black,horse behind]}
8451 \tikz{\pingu[:back,horse behind=pingu@black,on horse flip]}
8452 \end{tcblisting}
8453
8454 \begin{tcblisting}{title={The queens},externalize listing=chess-queens}
8455 \tikz{\pingu[body=pingu@black,princess crown=pingu@bronze]}
8456 \tikz{\pingu[:back,princess crown=pingu@bronze]}
8457 \end{tcblisting}
8458
8459
8460 \begin{tcblisting}{title={The kings},externalize listing=chess-kings}
8461 \tikz{\pingu[body=pingu@black,crown]}
8462 \tikz{\pingu[:back,crown]}
8463 \end{tcblisting}
8464
8465
8466 \begin{tcblisting}{title={The bishops},externalize listing=chess-bishops}
8467 \tikz{\pingu[body=pingu@black,cross left=pingu@black,mitra]}
8468 \tikz{\pingu[:back,cross left,mitra]}
8469 \end{tcblisting}
8470
8471 \section{The Internals}
8472 The goal of this section is to explain the inner workings of the package to aid other people in helping me extending and mainting the penguins.
8473
8474 \subsection{General Commands}
8475
8476 \begin{commandexplain}[name]{pingu@name}{}
8477 Holds the name of the penguin.
8478 \end{commandexplain}
8479
8480 \begin{commandexplain}{pingu@one}{}
8481 Do not change this dimension as it represents one milli meter as the base unit.
8482 \end{commandexplain}
8483
8484 \subsubsection{Color Management}
8485 There is not a lot of magic in the color handling of this package.
8486
8487 \begin{commandexplain}{pingu@color}{\mand{name}\mand{color}}
8488 Creates a macro \cmd{pingu@color@<name>} that links to the given color:
8489 \includecode{pingu@color}
8490 I decided against the usage of \cmd{colorlet}, to support \cmdref{@pingu@none} and dynamic redefinition of the colors.
8491 \end{commandexplain}
8492
8493 \begin{commandexplain}{@pingu@none}{}
8494 Holds the special color to hide the drawing of specific components as described within \autoref{Colors} (holds the value: \say{\@pingu@none}).
8495 If you redefine this command, you redefine this hidden color. Hover, if done outside of the preamble, this may result in weird side effects due to expansions.
8496 \end{commandexplain}
8497
8498 As shown in \autoref{Colors}, this is the definition of the colors, with the helper-macro \cmddef{@pingu@color@}, which i created solely for me editor to highlight the colors accordingly:
8499 \includecode{color\ definitions}
8500
8501
8502 \subsubsection{Selections}
8503 TODO: explain selections
8504
8505 \begin{commandexplain}{pingu@create@selection}{\mand{name}\mand{none default}}
8506 Creates a new enumeration-like structure that can be used to register a family of options (see \autoref{internal:eyes} for an example).
8507 The \textit{none default} is used for the default member of the selection: \textit{none} which is active, whenever no other key is selected by \cmdref{pingu@<selection>@select}.
8508 You can add keys by using \cmdref{pingu@<selection>@add} and execute the selection by \cmdref{@pingu@drawer@<selection>@}.
8509 \end{commandexplain}
8510
8511 \begin{subcommandexplain}{pingu@create@selection}{pingu@<selection>@select}{\mand{select}}
8512
8513 \end{subcommandexplain}
8514
8515 \begin{subcommandexplain}{pingu@create@selection}{pingu@<selection>@add}{\mand{select}}
8516
8517 \end{subcommandexplain}
8518
8519 \begin{subcommandexplain}{pingu@create@selection}{@pingu@drawer@<selection>@}{}
8520
8521 \end{subcommandexplain}
8522
8523 \subsection{The Eyes}\label{internal:eyes}
8524
8525 \subsubsection{Important Commands}
8526
8527 \begin{commandexplain}{pingu@eye@shift}{}
8528 This dimension holds a hardcoded value to be used as the offset for eyes. Its default value is \the\pingu@eye@shift. It may be removed in the future (or replaced by an option).
8529 \end{commandexplain}
8530
8531 \subsubsection{The Code}
8532
8533 The eyes of the penguin are controlled by two selections for the left, and the right eye. Because we always want the coordinates for the right and the left eye (as presented in \autoref{pingu-coordinates}), the \textit{none}-version of \cmdref{pingu@create@selection} creates those:
8534 \includecode{eyes\ selectors}
8535 With this code, we define the six following commands: \cmddef{pingu@lefteye@select}, \cmddef{pingu@lefteye@add}, \cmddef{@pingu@drawer@lefteye@}, \cmddef{pingu@righteye@select}, \cmddef{pingu@righteye@add}, and \cmddef{@pingu@drawer@righteye@}.
8536
8537 Within the initialization of all penguin options, we use these commands. Furthermore, \keyref{eyes} acts as a comfort option which operates on both selectors:
8538 % \pgfqkeys{/pingu}{
8539 \includecode{eyes\ keys}
8540 Both eyes have two colors to work with: \cmdcoldef{eye@left}, \cmdcoldef{eye@second@left} for the left as well as \cmdcoldef{eye@right} and \cmdcoldef{eye@second@right} for the right eye.
8541
8542 \subsubsection{Adding new Eyes}
8543 Now on how to add new eyes. While it is possible to use \cmdref{pingu@lefteye@add} and \cmdref{pingu@righteye@add}, setting up the corresponding \say{eye} and \say{eyes} comfort-methods is rather tedious.
8544 For this, i created the command \cmdref{pingu@eyes@s}\ldots
8545
8546 \begin{commandexplain}{pingu@eyes@s}{\mand{name}\mand{left-eye}\mand{right-eye}\opt[pingu@black]{default color}}
8547 Allows to easily add new eyes.
8548 \important\space Your code for the eyes \textit{must} create the coordinates \lpingu{\\pingu@name-eye-left} and \lpingu{\\pingu@name-eye-right} respectively. This is not checked! It is recommended to use the coordinates \lpingu{\\pingu@name-eye-back-left} and \lpingu{\\pingu@name-eye-back-right} for reference.
8549 \end{commandexplain}
8550 The macro \cmdref{pingu@eyes@s} is defined with the help of \cmddef{pingu@eyes@s@} like this:
8551 \includecode{pingu@eyes@s}
8552
8553 As an example, this is the definition of the \say{normal eyes} (\keyref{eyes normal}) in the code:
8554 \includecode{eyes\ normal}
8555 As another example, this is the definition of the \say{shiny eyes} (\keyref{eyes shiny}):
8556 \includecode{eyes\ shiny}
8557 The usage of \cmddef{eyebaseang} is outdated and will probably be removed in the future.
8558
8559
8560 \subsection{The Bill}\label{internal:bill}
8561
8562 \subsubsection{The Code}
8563
8564 The bill of the penguin is controlled by one selection. As we always want the coordinates for theoretical bill position (as presented in \autoref{pingu-coordinates}), the \textit{none}-version of \cmdref{pingu@create@selection} creates it:
8565 \includecode{bill\ selector}
8566 This code, defines three commands: \cmddef{pingu@bill@select}, \cmddef{pingu@bill@add}, \cmddef{@pingu@drawer@bill@}.
8567
8568 Within the initialization of all penguin options, we use these commands:
8569 % \pgfqkeys{/pingu}{
8570 \includecode{bill\ keys}
8571 With this, the bill has one color to work with: \cmdcoldef{bill}.
8572
8573 \subsubsection{Adding new Bills}
8574 Now on how to add new bills. While it is possible to use \cmdref{pingu@bill@add}, setting up the \say{bill} comfort-methods is rather tedious.
8575 For this, i created the command \cmdref{pingu@bill@s}\ldots
8576
8577 \begin{commandexplain}{pingu@bill@s}{\mand{name}\mand{bill}}
8578 Allows to easily add new bills.\BlockString{-bill-bottom}\BlockString{-bill}
8579 \important\space Your code for the bill \textit{must} create the coordinate \lpingu{\\pingu@name-bill-bottom}. This is not checked! It is recommended to use the coordinate \lpingu{\\pingu@name-bill} for reference.
8580 \end{commandexplain}
8581 The macro \cmdref{pingu@bill@s} is defined like this:
8582 \includecode{pingu@bill@s}
8583
8584
8585 As an example, this is the definition of the \say{normal bill} (\keyref{bill normal}) in the code:
8586 \includecode{bill\ normal}
8587 As another example, this is the definition of the \say{flat bill} (\keyref{bill flat}):
8588 \includecode{bill\ flat}
8589
8590 \subsection{The Body Type}\label{internal:body-type}
8591
8592 \subsubsection{Important Commands}
8593
8594 \begin{commandexplain}{pingu@w@half}{}
8595 This dimension holds a hardcoded value defining the half width of the penguin. Its default value is \the\pingu@w@half.
8596 \end{commandexplain}
8597
8598 \begin{commandexplain}{pingu@side@h@half}{}
8599 This dimension holds a hardcoded value defining the half height of the lower part of the penguin. Its default value is \the\pingu@side@h@half. See \cmdref{pingu@head@h@half} for the additional head-height.
8600 \end{commandexplain}
8601
8602 \begin{commandexplain}{pingu@head@h@half}{}
8603 This dimension holds a hardcoded value defining the half height of the upper (head) part of the penguin. Its default value is \the\pingu@head@h@half.
8604 \end{commandexplain}
8605
8606 \begin{commandexplain}{pingu@bend}{}
8607 This dimension holds a hardcoded value used as a basis for bend lines. Its default value is \the\pingu@bend. It may be removed in the future (or replaced by an option).
8608 \end{commandexplain}
8609
8610 \begin{commandexplain}{pingu@lower@off}{}
8611 This dimension holds a hardcoded value used to offset the white inner parts of the penguin (for the bottom part). Its default value is \the\pingu@lower@off. It may be removed in the future (or replaced by an option).
8612 \end{commandexplain}
8613
8614 \begin{commandexplain}{pingu@outer@off}{}
8615 This dimension holds a hardcoded value used to offset the lower part of the basic penguin. Its default value is \the\pingu@outer@off. It may be removed in the future (or replaced by an option).
8616 \end{commandexplain}
8617
8618 \begin{commandexplain}{pingu@foot@outer@w}{}
8619 This dimension holds a hardcoded value defining the width of the outer feet. Its default value is \the\pingu@foot@outer@w. It may be removed in the future (or replaced by an option).
8620 \end{commandexplain}
8621
8622 \begin{commandexplain}{pingu@foot@outer@h}{}
8623 This dimension holds a hardcoded value defining the height of the outer feet. Its default value is \the\pingu@foot@outer@h. It may be removed in the future (or replaced by an option).
8624 \end{commandexplain}
8625
8626 \begin{commandexplain}{pingu@foot@inner@w}{}
8627 This dimension holds a hardcoded value defining the width of the inner feet. Its default value is \the\pingu@foot@inner@w. It may be removed in the future (or replaced by an option).
8628 \end{commandexplain}
8629
8630 \begin{commandexplain}{pingu@foot@inner@h}{}
8631 This dimension holds a hardcoded value defining the height of the inner feet. Its default value is \the\pingu@foot@inner@h. It may be removed in the future (or replaced by an option).
8632 \end{commandexplain}
8633
8634 % \begin{commandexplain}{pingu@foot@single@w}{}
8635 % This dimension holds a hardcoded value defining the width of a single foot. Its default value is \the\pingu@foot@single@w. It may be removed in the future (or replaced by an option).
8636 % \end{commandexplain}
8637
8638 % \begin{commandexplain}{pingu@foot@single@h}{}
8639 % This dimension holds a hardcoded value defining the width of a single foot. Its default value is \the\pingu@foot@single@h. It may be removed in the future (or replaced by an option).
8640 % \end{commandexplain}
8641
8642 \begin{commandexplain}{pingu@headcon@x}{}
8643 This dimension holds a hardcoded value defining the x-position offsetting the connection point of the penguin head. Its default value is \the\pingu@headcon@x. It may be removed in the future (or replaced by an option).
8644 \end{commandexplain}
8645
8646 \begin{commandexplain}{pingu@headcon@y}{}
8647 This dimension holds a hardcoded value defining the y-position offsetting the connection point of the penguin head. Its default value is \the\pingu@headcon@y. It may be removed in the future (or replaced by an option).
8648 \end{commandexplain}
8649
8650 \subsubsection{The Code}
8651
8652 The body of the penguin is controlled by one selection. There are a lot of coordinates to be created by this command (as presented in \autoref{pingu-coordinates}). Furthermore, it must save some paths (\cmddef{pingu@lowerpingu}, \cmddef{pingu@upperpingu} and \cmddef{pingu@whitepingu}). Therefore, it is recommended, that you create a new one by first copying an existing definition. Due to its length, the \textit{none}-version of \cmdref{pingu@create@selection} uses \cmdref{pingu@x@bodytype@none} as a helper:\BlockString{bodytype}\BlockString{wings-side-}
8653 \includecode{bodytype\ selector}
8654
8655 This code, defines three commands: \cmddef{pingu@bodytype@select}, \cmddef{pingu@bodytype@add}, \cmddef{@pingu@drawer@bodytype@}.
8656
8657 The macro \cmddef{pingu@x@bodytype@none} is defined as follows:
8658 \includecode{pingu@x@bodytype@none}
8659 \important\space Please note, that when writing the initial penguin, I did not intend to allow additional body shapes. Therefore, most of the defaults and \say{globals} must be defined here (alongside a lot of hardcoding).
8660
8661 Within the initialization of all penguin options, we define the main colors:
8662 % \pgfqkeys{/pingu}{
8663 \includecode{bodytype\ keys}
8664 With this, the body has three colors to work with: \cmdcoldef{body@main}, \cmdcoldef{body@head}, and \cmdcoldef{body@front}.
8665
8666 % TODO:
8667 % \subsubsection{Adding new Body Types}
8668 % Now on how to add new bills. While it is possible to use \cmdref{pingu@bill@add}, setting up the \say{bill} comfort-methods is rather tedious.
8669 % For this, i created the command \cmdref{pingu@bill@s}\ldots
8670
8671 % \begin{commandexplain}{pingu@bill@s}{\mand{name}\mand{bill}}
8672 % Allows to easily add new bills.
8673 % \important\space Your code for the bill \textit{must} create the coordinate \lpingu{\\pingu@name-bill-bottom}. This is not checked! It is recommended to use the coordinate \lpingu{\\pingu@name-bill} for reference.
8674 % \end{commandexplain}
8675 % The macro \cmdref{pingu@bill@s} is defined like this:
8676 % \includecode{pingu@bill@s}
8677
8678
8679 % As an example, this is the definition of the \say{normal bill} (\keyref{bill normal}) in the code:
8680 % \includecode{bill\ normal}
8681 % As another example, this is the definition of the \say{flat bill} (\keyref{bill flat}):
8682 % \includecode{bill\ flat}
8683
8684 % \important\space While i do have a one-line penguin definition somewhere (for my pen-plotter)
8685 % which i might include someday.
8686
8687 \subsection{The Feet}\label{internal:feet}
8688
8689 \subsubsection{Important Commands}
8690
8691 \begin{commandexplain}{basicfeetbend}{}
8692 This macro holds a hardcoded value to be used as the angle of rotation of the feet. Its default value is~\basicfeetbend. The left foot uses the negative value. It may be removed in the future (or replaced by an option).
8693
8694 The only reason for the command being user accessible is, that it was the primary way to modify the penguin in a previous version of the package.
8695 \end{commandexplain}
8696
8697 \begin{commandexplain}{pingu@foot@single@w}{}
8698 This dimension holds a hardcoded value to be used as the base foot width. Its default value is~\the\pingu@foot@single@w. It may be removed in the future (or replaced by an option).
8699 \end{commandexplain}
8700
8701 \begin{commandexplain}{pingu@foot@single@h}{}
8702 This dimension holds a hardcoded value to be used as the base foot height. Its default value is~\the\pingu@foot@single@h. It may be removed in the future (or replaced by an option).
8703 \end{commandexplain}
8704
8705 \subsubsection{The Code}
8706
8707 Similarly to the eyes, the feet of the penguin are controlled by two selections for the left, and the right foot. There are no extra coordinates necessary, therefore \cmdref{pingu@create@selection} receives no argument for the \textit{none}-version:
8708 \includecode{feet\ selectors}
8709 This defines the six commands: \cmddef{pingu@leftfoot@select}, \cmddef{pingu@leftfoot@add}, \cmddef{@pingu@drawer@leftfoot@}, \cmddef{pingu@rightfoot@select}, \cmddef{pingu@rightfoot@add}, and \cmddef{@pingu@drawer@rightfoot@}.
8710
8711 Within the initialization of all penguin options, we use these commands. Furthermore, \keyref{feet} acts as a comfort option which operates on both selectors:
8712 % \pgfqkeys{/pingu}{
8713 \includecode{feet\ keys}
8714
8715 \BlockString{@pingu@feet@front}\subcmddef*{if@pingu@feet@front}{@pingu@feet@fronttrue}\subcmddef*{if@pingu@feet@front}{@pingu@feet@frontfalse}%
8716 The conditional \cmddef{if@pingu@feet@front} is defined above and defaults to \textit{false}:
8717 \includecode{feet\ conditional}
8718 Each foot has one color to work with:
8719 \cmdcoldef{foot@left} for the left and \cmdcoldef{foot@right} for the right foot.
8720
8721 \subsubsection{Adding new Feet}
8722 Now on how to add new feet. While it is possible to use \cmdref{pingu@leftfoot@add} and \cmdref{pingu@rightfoot@add}, setting up the corresponding \say{foot} and \say{feet} comfort-methods is rather tedious.
8723 For this, i created the command \cmdref{pingu@feet@s}\ldots
8724
8725 \begin{commandexplain}{pingu@feet@s}{\mand{name}\mand{left-foot}\mand{right-foot}\opt[pingu@yellow]{default color}}
8726 Allows easily adding new feet.
8727 \end{commandexplain}
8728 The macro \cmdref{pingu@feet@s} is defined with the help of \cmddef{pingu@feet@s@} like this:
8729 \includecode{pingu@feet@s}
8730
8731 As an example, this is the definition of the \say{normal feet} (\keyref{feet normal}) in the code:
8732 \includecode{feet\ normal}
8733 As another example, this is the definition of the \say{simple feet} (\keyref{feet simple}):
8734 \includecode{feet\ simple}
8735
8736 \lstset{breakatwhitespace}
8737 \indexprologue{\label{normal-idx}This index shows all of the options and commands that a normal user of the package may use! See the \hyperref[internal-idx]{\indexinternalsoverviewname} for an overview of keys and commands used behind the scenes. Page numbers on the lowest level are hidden, but they can still be used as clickable hyperlinks.}
8738 \printindex[\jobname]
8739 \indexprologue{\label{internal-idx}The initial \cmd{pingu@} and \cmd{@pingu@} is ignored for indexing (as this would destroy the whole sense of the index).}
8740 \printindex[\jobname-internals]
8741 \end{document}