diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/tikzsymbols/tikzsymbols.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tikzsymbols/tikzsymbols.dtx | 701 |
1 files changed, 506 insertions, 195 deletions
diff --git a/Master/texmf-dist/source/latex/tikzsymbols/tikzsymbols.dtx b/Master/texmf-dist/source/latex/tikzsymbols/tikzsymbols.dtx index 74f855eb772..79c0d16f523 100644 --- a/Master/texmf-dist/source/latex/tikzsymbols/tikzsymbols.dtx +++ b/Master/texmf-dist/source/latex/tikzsymbols/tikzsymbols.dtx @@ -18,7 +18,7 @@ %<*driver> \documentclass{ltxdoc} \usepackage{marvosym} -\usepackage[draft]{tikzsymbols} +\usepackage{tikzsymbols} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{array} @@ -31,23 +31,11 @@ \RecordChanges \makeatletter \DeclareRobustCommandx{\definedBasicTree}[5][1=1, usedefault]{{% -\def\leaf@or@not@leaf{#5}% -\def\@y@@x@y@x{0.095*#1/100}% -\begin{tikzpicture}[scale=#1+0.01*#1,x=1.35ex,y=1.3ex, line width=0.07ex*#1] -\ifx\leaf@or@not@leaf\@leaf@is@leaf% -\draw[#2] (0-\@y@@x@y@x,0) -- (0-\@y@@x@y@x,1.08+0.05*#1/100); -\draw[#3] (0-\@y@@x@y@x,1.08+0.05*#1/100) -- (1.2+\@y@@x@y@x,1.08+0.05*#1/100); -\draw[#4] (1.2+\@y@@x@y@x,1.08+0.05*#1/100) -- (1.2+\@y@@x@y@x,0); -\draw[#3] (1.2+\@y@@x@y@x,0) -- (0.5,0); -\draw[#4] (0.5+0.4*#1/100,0) -- (0-\@y@@x@y@x,0); -\else -\draw[#2] (0,0) -- (0,1); -\draw[#3] (0,1) -- (1.15,1); -\draw[#4] (1.15,1) -- +(0,-1); -\fi% - -\end{tikzpicture}% +\def\Basic@Tree{\Basic@Tree@off}% +\BasicTree[#1]{#2}{#3}{#4}{#5}% }} +\newcommand{\da}[1]{#1& \@tikzsymbols@absolute@drafttrue#1} +\newcommand{\de}[1]{\@tikzsymbols@absolute@drafttrue#1} \makeatother \begin{document} @@ -86,6 +74,7 @@ %\changes {v1.7} {2013/02/28} {New symbols, etc.} %\changes {v2.0} {2013/03/07} {Fixed Bugs, improved BasicTree, new option ``marvosym'', new symbol} %\changes {v2.2} {2013/03/23} {Now you can use negative scaling. Include ifpackageloaded. Did something else, I can't remember} +%\changes {v2.5} {2013/04/18} {New option: draftabsolute, changed the documentation a bit} % % % @@ -111,7 +100,7 @@ %\begin{abstract}\centering %Just some symbols created with ``tikz''. % -% English is not my native language. So there might be some errors \Winkey +% English is not my native language. So there (still) might be some errors \Winkey %\end{abstract} % % @@ -132,7 +121,7 @@ % \section{Options} \label{Options} %^^A This package offers exactly \textbf{one} option (and I am extremly proud of this one option. Do you know why? Because it took almost two hours to produce it. There is no thing like a ``easy'' keyval syntax! Well, maybe it took so long because it was my first time producing something like that \dots{} However, I am extremely glad that this option works \dSmiley). % -%\subsection{For Trees} These options are for the commands in the section ``Trees'' \ref{Trees}. +%\subsection{tree=on/off, draft, final} These options are for the commands in the section ``Trees'' \ref{Trees}. % The trees look pretty nice, but have one drawback: \LaTeX{} needs extremely long to produce them. % So these options come in handy: by turning \verb|tree=off| or using \verb|draft| the trees will be replaced by squares (for an example see section ``Trees'' \ref{Trees}). % Those squares are fast produced by \LaTeX{} and have almost the same size as the trees, they are ``spacefillers''. @@ -163,13 +152,10 @@ % Note: you shouldn't use both, \verb|tree=on/off| and class-option \verb|draft|. % It's just unnecessary. % -% While working on this document I used the \verb|draft| syntax and in the final output I deleted it. % -% But there are no warnings, if you misspell something e.g. \verb|tree=onf|. -% You will see what happens. % -% \subsection{If you load the package ``marvosym''} -% Package ``marvosym'' defines the partly the same Commands as ``tikzsymbols''. +% \subsection{marvosym} +% Package ``marvosym'' defines the partly the same commands as ``tikzsymbols''. % \emph{You should always load ``tikzsymbols'' after ``marvosym''!!} % If you do that, ``tikzsymbols'' redefines for example marvosyms ``Smiley'' and ``Coffeecup''. % But if you like marvosyms ``Smiley'' more than the ``Smiley'' from ``tikzpicture'', you should use the option ``marvosym'': @@ -185,6 +171,14 @@ % If you use the option \verb|marvosym| without loading the package, \LaTeX{} will produce an error message. % % +%\subsection{draftabsolute} +% +% Another problem with tikz is: if you use tikz often, \LaTeX{} becomes extremely slow, same here. +% To avoid it, I made the option \verb|draftabsolute|. If you use this option, tikz is not used at all. +% Instead of the symbols some text appears. So tikz is not used and \LaTeX{} becomes faster again. +% If you have many of those tikzsymbols, use this option (I won't guarantee that the text has the same width and height as the symbols, but I did my best). +% At the symbol tables, you will see the replacements of the symbols if you use \verb|draftabsolute|. \emph{If you use many symbols of this package, it is recomended to use this option} +% % % \section{Symbols} % In this section the symbols are introduced. @@ -203,22 +197,22 @@ % % Da Umlaute nicht angezeigt werden k\"onnen, werden die Umlaute \"o, \"a, \"u ersetzt durch: o, a, u. % -% \begin{longtable}{@{}llcc@{}} -% \multicolumn{2}{l}{German \& English Commands} & Optional parameter(s) & Output (defaultsize) \\\hline\vspace{-1.5ex}\endhead -% -% \verb|\Kochtopf| & \verb|\pot| & \oarg{scale} & \Kochtopf \\ -% \verb|\Bratpfanne| & \verb|\fryingpan|& \oarg{scale} & \Bratpfanne \\ -% \verb|\Schneebesen| & \verb|\eggbeater| & \oarg{scale} & \eggbeater\\ -% \verb|\Sieb| & \verb|\sieve| & \oarg{scale} & \sieve\\ -% \verb|\Purierstab| & \verb|\blender|\footnote{I know that ``P\"urierstab'' should be translated as ``immersion blender'', but I'm just using ``blender''} & \oarg{scale} & \blender\\ -% \verb|\Dreizack| & \verb|\trident| & \oarg{scale} & \Dreizack\\ -% \verb|\Backblech| & \verb|\bakingplate| & \oarg{scale} & \bakingplate\\ -% \verb|\Ofen| & \verb|\oven| & \oarg{scale} & \Ofen\\ -% \verb|\Pfanne| & \verb|\pan| & \oarg{scale} & \Pfanne \\ -% \verb|\Herd| & \verb|\cooker| & \oarg{scale} & \cooker \\ -% \verb|\Saftpresse| & \verb|\squeezer| & \oarg{scale} & \Saftpresse \\ -% \verb|\Schussel| & \verb|\bowl| & \oarg{scale} & \Schussel \\ -% \verb|\Schaler| & \verb|\peeler| & \oarg{scale} & \peeler +% \begin{longtable}{@{}llc@{~~}c@{~}c@{}} +% \multicolumn{2}{l}{German \& English Commands} & Optional parameter(s) & Output & {\small \verb|draftabsolute|} \\\hline\vspace{-1.5ex}\endhead +% +% \verb|\Kochtopf| & \verb|\pot| & \oarg{scale} & \da{\Kochtopf} \\ +% \verb|\Bratpfanne| & \verb|\fryingpan|& \oarg{scale} & \da{\Bratpfanne} \\ +% \verb|\Schneebesen| & \verb|\eggbeater| & \oarg{scale} & \da{\eggbeater}\\ +% \verb|\Sieb| & \verb|\sieve| & \oarg{scale} & \da{\sieve}\\ +% \verb|\Purierstab| & \verb|\blender|\footnote{I know that ``P\"urierstab'' should be translated as ``immersion blender'', but I'm just using ``blender''} & \oarg{scale} & \da{\blender}\\ +% \verb|\Dreizack| & \verb|\trident| & \oarg{scale} & \da{\Dreizack}\\ +% \verb|\Backblech| & \verb|\bakingplate| & \oarg{scale} & \da{\bakingplate}\\ +% \verb|\Ofen| & \verb|\oven| & \oarg{scale} & \da{\Ofen}\\ +% \verb|\Pfanne| & \verb|\pan| & \oarg{scale} & \da{\Pfanne} \\ +% \verb|\Herd| & \verb|\cooker| & \oarg{scale} & \da{\cooker} \\ +% \verb|\Saftpresse| & \verb|\squeezer| & \oarg{scale} & \da{\Saftpresse} \\ +% \verb|\Schussel| & \verb|\bowl| & \oarg{scale} & \da{\Schussel} \\ +% \verb|\Schaler| & \verb|\peeler| & \oarg{scale} & \da{\peeler} % \end{longtable} % % \Kochtopf[0] @@ -236,28 +230,28 @@ % <color> can be every defined color. % % -%\begin{longtable}{@{}l>{\small}c@{}c@{}} -% Commands & Optional parameter(s) & Output (default) \\\hline\vspace{-1.5ex}\endhead -% -% \verb|\Sadey| & \oarg{scale}\oarg{color} & \Sadey \\ -% \verb|\Smiley| & \oarg{scale}\oarg{color} & \Smiley \\ -% \verb|\Laughey| & \oarg{scale}\oarg{color}\oarg{mouth color} & \Laughey \\ -% \verb|\Annoey| & \oarg{scale}\oarg{color} & \Annoey \\ -% \verb|\Neutrey| & \oarg{scale}\oarg{color} & \Neutrey \\ -% \verb|\Winkey| & \oarg{scale}\oarg{color} & \Winkey \\ -% \verb|\Sey| & \oarg{scale}\oarg{color} & \Sey \\ -% \verb|\Xey| & \oarg{scale}\oarg{color} & \Xey \\ -% \verb|\Innocey| & \oarg{scale}\oarg{color}\oarg{halo color} & \Innocey \\ -% \verb|\wInnocey| & \oarg{scale} & \wInnocey \\ -% \verb|\Cooley| & \oarg{scale}\oarg{color} & \Cooley \\ -% \verb|\Tongey|& \oarg{scale}\oarg{color}\oarg{tongue color} & \Tongey \\ -% \verb|\Nursey|\footnote{\label{Kreuz}The cross has nothing to do with religion meanings.}& \oarg{scale}\oarg{color}\oarg{cap color}\oarg{cross color} &\Nursey \\ -% \verb|\Vomey| & \oarg{scale}\oarg{color}\oarg{vomit color} & \Vomey \\ -% \verb|\Walley| & \oarg{scale}\oarg{color}\oarg{wall color} & \Walley \\ -%^^A \verb|\rWalley|\footnote{``r'' stands ``random'' and means that the cracks in the wall are generated randomly} & \oarg{scale}\oarg{color}\oarg{wall color} & \rWalley \\ -% \verb|\Cat| & \oarg{scale} & \Cat \\ -% \verb|\Ninja|& \oarg{scale}\oarg{color}\oarg{headband color}\oarg{eye color} & \Ninja \\ -% \verb|\NiceReapey| & \oarg{scale} & \NiceReapey +%\begin{longtable}{@{}l>{\small}c@{}c@{~}c@{}} +% Commands & Optional parameter(s) & Output & {\small \verb|draftabsolute|} \\\hline\vspace{-1.5ex}\endhead +% +% \verb|\Sadey| & \oarg{scale}\oarg{color} & \da{\Sadey} \\ +% \verb|\Smiley| & \oarg{scale}\oarg{color} & \da{\Smiley} \\ +% \verb|\Laughey| & \oarg{scale}\oarg{color}\oarg{mouth color} & \da{\Laughey} \\ +% \verb|\Annoey| & \oarg{scale}\oarg{color} & \da{\Annoey} \\ +% \verb|\Neutrey| & \oarg{scale}\oarg{color} & \da{\Neutrey} \\ +% \verb|\Winkey| & \oarg{scale}\oarg{color} & \da{\Winkey} \\ +% \verb|\Sey| & \oarg{scale}\oarg{color} & \da{\Sey} \\ +% \verb|\Xey| & \oarg{scale}\oarg{color} & \da{\Xey} \\ +% \verb|\Innocey| & \oarg{scale}\oarg{color}\oarg{halo color} & \da{\Innocey} \\ +% \verb|\wInnocey| & \oarg{scale} & \da{\wInnocey} \\ +% \verb|\Cooley| & \oarg{scale}\oarg{color} & \da{\Cooley} \\ +% \verb|\Tongey|& \oarg{scale}\oarg{color}\oarg{tongue color} & \da{\Tongey} \\ +% \verb|\Nursey|\footnote{\label{Kreuz}The cross has nothing to do with religion meanings.}& \oarg{scale}\oarg{color}\oarg{cap color}\oarg{cross color} &\da{\Nursey} \\ +% \verb|\Vomey| & \oarg{scale}\oarg{color}\oarg{vomit color} & \da{\Vomey} \\ +% \verb|\Walley| & \oarg{scale}\oarg{color}\oarg{wall color} & \da{\Walley} \\ +%\verb|\rWalley|\footnote{``r'' stands ``random'' and means that the cracks in the wall are generated randomly, but it takes some time to generate it.} & \oarg{scale}\oarg{color}\oarg{wall color} & \da{\rWalley} \\ +% \verb|\Cat| & \oarg{scale} & \da{\Cat} \\ +% \verb|\Ninja|& \oarg{scale}\oarg{color}\oarg{headband color}\oarg{eye color} & \da{\Ninja} \\ +% \verb|\NiceReapey| & \oarg{scale} & \da{\NiceReapey} % %\end{longtable} % @@ -280,25 +274,25 @@ % <color> can be every defined color (see examples below). % % -%\begin{longtable}{@{}l@{}c@{}c@{}} -% Commands & Optional parameter(s) & Output (default) \\\hline\vspace{-1.5ex}\endhead -% -% \verb|\dSadey| & \oarg{scale}\oarg{color} & \dSadey \\ -% \verb|\dSmiley| & \oarg{scale}\oarg{color} & \dSmiley \\ -% \verb|\dLaughey| & \oarg{scale}\oarg{color}\oarg{mouth color} & \dLaughey \\ -% \verb|\dAnnoey| & \oarg{scale}\oarg{color} & \dAnnoey \\ -% \verb|\dNeutrey| & \oarg{scale}\oarg{color} & \dNeutrey \\ -% \verb|\dWinkey| & \oarg{scale}\oarg{color} & \dWinkey \\ -% \verb|\dSey| & \oarg{scale}\oarg{color} & \dSey \\ -% \verb|\dXey| & \oarg{scale}\oarg{color} & \dXey \\ -% \verb|\dInnocey| & \oarg{scale}\oarg{color}\oarg{halo color} & \dInnocey \\ -% \verb|\dCooley| & \oarg{scale}\oarg{color} & \dCooley \\ -% \verb|\dTongey| & \oarg{scale}\oarg{color}\oarg{tongue color} & \dTongey \\ -% \verb|\dNursey|$^{\ref{Kreuz}}$& \oarg{scale}\oarg{color}\oarg{cap color}\oarg{cross color} & \dNursey \\ -% \verb|\dVomey| & \oarg{scale}\oarg{color}\oarg{vomit color} & \dVomey \\ -% \verb|\dWalley| & \oarg{scale}\oarg{color}\oarg{wall color} & \dWalley \\ -%^^A \verb|\drWalley|\footnote{``r'' stands for ``random'' and means that the cracks in the wall are generated randomly} & \oarg{scale}\oarg{color}\oarg{wall color}& \drWalley \\ -% \verb|\dNinja| & \oarg{scale}\oarg{color}\oarg{headband color}\oarg{eye color} & \dNinja \\ +%\begin{longtable}{@{}l@{}c@{}c@{~}c@{}} +% Commands & Optional parameter(s) & Output & {\small \verb|draftabsolute|} \\\hline\vspace{-1.5ex}\endhead +% +% \verb|\dSadey| & \oarg{scale}\oarg{color} & \da{\dSadey} \\ +% \verb|\dSmiley| & \oarg{scale}\oarg{color} & \da{\dSmiley} \\ +% \verb|\dLaughey| & \oarg{scale}\oarg{color}\oarg{mouth color} & \da{\dLaughey} \\ +% \verb|\dAnnoey| & \oarg{scale}\oarg{color} & \da{\dAnnoey} \\ +% \verb|\dNeutrey| & \oarg{scale}\oarg{color} & \da{\dNeutrey} \\ +% \verb|\dWinkey| & \oarg{scale}\oarg{color} & \da{\dWinkey} \\ +% \verb|\dSey| & \oarg{scale}\oarg{color} & \da{\dSey} \\ +% \verb|\dXey| & \oarg{scale}\oarg{color} & \da{\dXey} \\ +% \verb|\dInnocey| & \oarg{scale}\oarg{color}\oarg{halo color} & \da{\dInnocey} \\ +% \verb|\dCooley| & \oarg{scale}\oarg{color} & \da{\dCooley} \\ +% \verb|\dTongey| & \oarg{scale}\oarg{color}\oarg{tongue color} & \da{\dTongey} \\ +% \verb|\dNursey|$^{\ref{Kreuz}}$& \oarg{scale}\oarg{color}\oarg{cap color}\oarg{cross color} & \da{\dNursey} \\ +% \verb|\dVomey| & \oarg{scale}\oarg{color}\oarg{vomit color} & \da{\dVomey} \\ +% \verb|\dWalley| & \oarg{scale}\oarg{color}\oarg{wall color} & \da{\dWalley} \\ +% \verb|\drWalley|\footnote{``r'' stands for ``random'' and means that the cracks in the wall are generated randomly, but it takes some time.} & \oarg{scale}\oarg{color}\oarg{wall color}& \da{\drWalley} \\ +% \verb|\dNinja| & \oarg{scale}\oarg{color}\oarg{headband color}\oarg{eye color} & \da{\dNinja} \\ %\end{longtable} % % Examples: @@ -313,26 +307,34 @@ % \subsection{other Symbol(s) \texorpdfstring{\Moai}{Moai}} % % -% \begin{longtable}{lcc} -% Commands & Optional parameter(s) & Output (default) \\\hline\vspace{-1.5ex}\endhead -%\verb|\Person| & \oarg{scale}\oarg{left arm}\oarg{right arm}\oarg{left leg}\oarg{right arm} & \Person\\ -%\verb|\Candle| & \oarg{scale} & \Candle\\ -%\verb|\Fire| & \oarg{scale} & \Fire\\ -%\verb|\Coffeecup| & \oarg{scale} & \Coffeecup\\ -%\verb|\Chair| & \oarg{scale} & \Chair\\ -%\verb|\Bed| & \oarg{scale} & \Bed\\ -%\verb|\Moai| & \oarg{scale} & \Moai\\ -%\verb|\Tribar| &\oarg{scale}\oarg{color 1}\oarg{color 2}\oarg{color 3} & \Tribar\\ -%\verb|\Snowman| &\oarg{scale} & \Snowman\\ +% \begin{longtable}{@{}lcc@{~}c@{}} +% Commands & Optional parameter(s) & Output & {\small \verb|draftabsolute|} \\\hline\vspace{-1.5ex}\endhead +%\verb|\Person| & \oarg{scale}\oarg{left arm}\oarg{right arm}\oarg{left leg}\oarg{right arm} &\da{\Person}\\ +%\verb|\Candle| & \oarg{scale} & \da{\Candle}\\ +%\verb|\Fire| & \oarg{scale} & \da{\Fire}\\ +%\verb|\Coffeecup| & \oarg{scale} & \da{\Coffeecup}\\ +%\verb|\Chair| & \oarg{scale} & \da{\Chair}\\ +%\verb|\Bed| & \oarg{scale} & \da{\Bed}\\ +%\verb|\Moai| & \oarg{scale} & \da{\Moai}\\ +%\verb|\Tribar| &\oarg{scale}\oarg{color 1}\oarg{color 2}\oarg{color 3} & \da{\Tribar}\\ +%\verb|\Snowman| &\oarg{scale} & \da{\Snowman}\\ %\end{longtable} % % \Tribar[-10][blue][red][green]\verb| \Tribar[-10][blue][red][green]| % \Tribar[2.1][blue][blue!50][blue!20] \verb|\Tribar[2.1][blue][blue!50][blue!20]| +% +% \vspace{1ex} +% +%\verb|\Person[1][10][30][40][4]|\Person[1][10][30][40][4], +%\verb|\Person[1.4][210][310][10][90]|\Person[1.4][210][310][10][90], +% +%\verb|\Person[2][510][110][190][990]|\Person[2][510][110][190][990], +% \verb|\Person[0.9][54][28][95][16]|\Person[0.9][54][28][95][16] % %\subsection{Trees \texorpdfstring{\BasicTree{blue!60!black}{red}{green}{leaf}}{BasicTree}}\label{Trees} % ``Hey, these trees look exactly like the ones in the tikzmanual'' -- ``NO! Not ``exatcly'', they look pretty a like\dots{} Well I changed them a bit\dots{} \dots{} Hey! The best ideas are stolen \dots'' % -% <scale> can be a number between $-128$ and $128$\footnote{if it is larger (or less) it uses too much of \LaTeX{} memory and an error message appears.}, default is $1$. +% <scale> can be a number between (not exactly) $-900$ and (again not exactly) $900$\footnote{if it is larger (or less) it uses too much of \LaTeX{} memory and an error message appears.}, default is $1$. % % <color> can be every defined color. % @@ -342,15 +344,15 @@ % So you may use the package option \verb|tree=off| or \verb|draft| (see section \ref{Options}) to make \LaTeX{} faster. % %\small -% \begin{longtable}{@{}l@{}cc@{}} -% Commands & Optional/Needed parameter(s) & Output \\\hline\endhead -% \verb|\BasicTree| & \oarg{scale}\marg{trunk color}\marg{leaf color a}\marg{leaf color b}\verb|{|\emph{leaf}\verb|}| & see below\\ -% -% \verb|\Springtree| & \oarg{scale} & \Springtree \\ -% \verb|\Summertree| & \oarg{scale} & \Summertree \\ -% \verb|\Autumntree| & \oarg{scale} & \Autumntree \\ -% \verb|\Wintertree| & \oarg{scale} & \Wintertree \\ -% \verb|\WorstTree| & \oarg{scale} & \WorstTree +% \begin{longtable}{@{}l@{}cc@{}c@{}} +% Commands & Optional/Needed parameter(s) & Output & {\small \verb|draftabsolute|} \\\hline\endhead +% \verb|\BasicTree| & \oarg{scale}\marg{trunk color}\marg{leaf color a}\marg{leaf color b}\verb|{|\emph{leaf}\verb|}| & see below & \de{\BasicTree{green}{red}{blue}{leaf}}\\ +% +% \verb|\Springtree| & \oarg{scale} & \da{\Springtree} \\ +% \verb|\Summertree| & \oarg{scale} & \da{\Summertree} \\ +% \verb|\Autumntree| & \oarg{scale} & \da{\Autumntree} \\ +% \verb|\Wintertree| & \oarg{scale} & \da{\Wintertree} \\ +% \verb|\WorstTree| & \oarg{scale} & \da{\WorstTree} % \end{longtable} %\normalsize % @@ -450,12 +452,13 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[2011/06/31] \ProvidesPackage{tikzsymbols} -[2013/03/30 v2.25 Some symbols created using tikz.] +[2013/04/18 v2.5 Some symbols created using tikz.] \@ifpackageloaded{tikz}{}{\RequirePackage{tikz}} \@ifpackageloaded{xargs}{}{\RequirePackage{xargs}} \@ifpackageloaded{xcolor}{}{\RequirePackage{xcolor}} \@ifpackageloaded{xspace}{}{\RequirePackage{xspace}} \@ifpackageloaded{xkeyval}{}{\RequirePackage{xkeyval}} +\@ifpackageloaded{calc}{}{\RequirePackage{calc}} % \end{macrocode} % Furthermore we need to load some libraries from tikz: @@ -472,7 +475,6 @@ %\end{macro} - %\begin{macro}{\@leaf@is@leaf} % We need this command for creating an errormessage if the last paramter of BasicTree is neither ``leaf'' nor empty. % \begin{macrocode} @@ -488,6 +490,15 @@ % \end{macrocode} %\end{macro} +%\begin{macro}{\tikzsymbols@resizebox} +% We define a box. +% \begin{macrocode} +\def\tikzsymbols@resizebox#1#2#3{% +\resizebox{#1}{\ifdim\tkzsymblsscl<0pt-\fi #2}{#3}% +} +% \end{macrocode} +%\end{macro} + %\begin{macro}{\if@draft \if@final} %\begin{macro}{\if@tkzssmbls@neg} @@ -499,6 +510,7 @@ \newif\if@tikzsymbols@final \newif\if@tkzssmbls@neg \newif\if@tikzsymbols@marvosym +\newif\if@tikzsymbols@absolute@draft % \end{macrocode} %\end{macro} %\end{macro} @@ -578,6 +590,14 @@ child foreach \leafcolor in {leaf a,leaf b} { edge from parent [color=\leafcolor \def\Basic@Tree{\Basic@Tree@off}} % \end{macrocode} %\end{macro} +%\begin{macro}{draft=absolute} +% I define the option ``draft=absolute''. +% \begin{macrocode} +\DeclareOptionX{draftabsolute}{\def\Basic@Tree{\Basic@Tree@off}% +\@tikzsymbols@absolute@drafttrue} +% \end{macrocode} +%\end{macro} + %\begin{macro}{final} % If the class option \verb|final|, then trees. Same as before: % \begin{macrocode} @@ -613,7 +633,11 @@ final with package option tree=on/off; %Furthermore, we check if the last parameter is ``leaf'': % \begin{macrocode} \DeclareRobustCommandx{\Basic@Tree@off}[5][1=1, usedefault]{{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt \set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*174/100}{#1ex*15/10}{BT}% +\else% +\ifdim\tkzsymblsscl<0pt \set@tkzsymblsscl{-#1}\fi% \def\leaf@or@not@leaf{#5}% \def\Tree@Off@line{0.095*#1/100}% \begin{tikzpicture}[scale=#1+0.01*#1,x=1.35ex,y=1.3ex, line width=0.07ex*\tkzsymblsscl] @@ -629,6 +653,7 @@ final with package option tree=on/off; \draw[#4] (1.15,1) -- +(0,-1); \fi% \end{tikzpicture}% +\fi% }} % \end{macrocode} %\end{macro} @@ -692,7 +717,11 @@ child foreach \leafcolor in {leaf a,leaf b} { edge from parent [color=\leafcolor % You can either use the german commands or the english ones: % \begin{macrocode} \DeclareRobustCommand{\Kochtopf}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*247/100}{#1ex*151/100}{kochen}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2ex,y=2.2ex, line width=0.07ex*\tkzsymblsscl,scale=#1] \draw[rounded corners=0.2ex*\tkzsymblsscl] (0,0.5) -- (0,0) -- (1,0) -- (1,0.5); \draw(0,0.4) arc (90:270:0.1); @@ -700,7 +729,7 @@ child foreach \leafcolor in {leaf a,leaf b} { edge from parent [color=\leafcolor \draw (0,0.5) -- (1,0.5) .. controls (1,0.6) and (0,0.6) .. (0,0.5); \draw (0.6,0.585) arc (0:180:0.1); \draw[decorate, -decoration={snake,amplitude=.12ex*\tkzsymblsscl,segment length=0.93ex*\tkzsymblsscl}] +decoration={snake,amplitude=.12ex*\tkzsymblsscl,segment length=0.93ex*\tkzsymblsscl}] (0,0.35) -- (1,0.35); \draw (0.1,0.25) circle (0.04); \draw (0.3,0.2) circle (0.04); @@ -710,6 +739,7 @@ decoration={snake,amplitude=.12ex*\tkzsymblsscl,segment length=0.93ex*\tkzsymbls \draw (0.88,0.2) circle (0.04); \draw (0.7,0.11) circle (0.04); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\pot\Kochtopf @@ -725,23 +755,28 @@ decoration={snake,amplitude=.12ex*\tkzsymblsscl,segment length=0.93ex*\tkzsymbls % To prevent too thin lines due to scaling I am multiplying the line width and the corners etc. so that they look the same, no matter how you scale it. % \begin{macrocode} \DeclareRobustCommand{\Bratpfanne}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*355/100}{#1ex*14/10}{braten}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.7ex,y=1.4ex, line width=0.07ex*\tkzsymblsscl, scale=#1, decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymblsscl}] -\draw[rounded corners=0.07ex*\tkzsymblsscl] +\draw[rounded corners=0.07ex*\tkzsymblsscl] (-1,0) -- (1,0) -- (1.5,0.4) -- (-1.5,0.4) -- cycle; -\draw[ line width=0.037ex*\tkzsymblsscl, rounded corners=0.023ex*\tkzsymblsscl] +\draw[ line width=0.037ex*\tkzsymblsscl, rounded corners=0.023ex*\tkzsymblsscl] (-1.4,0.3) -- (-3.5,0.3) -- (-3.5,0.25) -- (-1.3,0.25); \draw[line width=0.023ex*\tkzsymblsscl] (-1.1,0.1) -- (1.1,0.1); -\draw[line width=0.035ex*\tkzsymblsscl, decorate] +\draw[line width=0.035ex*\tkzsymblsscl, decorate] (-0.3,0.5) -- (-0.3,1); -\draw[line width=0.035ex*\tkzsymblsscl, decorate] +\draw[line width=0.035ex*\tkzsymblsscl, decorate] (0.3,0.5) -- (0.3,1); -\draw[line width=0.035ex*\tkzsymblsscl, decorate] +\draw[line width=0.035ex*\tkzsymblsscl, decorate] (-1,0.5) -- (-1,1); -\draw[line width=0.035ex*\tkzsymblsscl, decorate] +\draw[line width=0.035ex*\tkzsymblsscl, decorate] (1,0.5) -- (1,1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\fryingpan\Bratpfanne @@ -753,29 +788,34 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % The next one: % \begin{macrocode} \DeclareRobustCommand{\Schneebesen}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*57/100}{#1ex*155/100}{x}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[y=2.1ex,x=1.4ex, scale=#1] -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) .. controls (0.2,0.0) and (0.2,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] - (0,0) .. controls (-0.2,0.0) and (-0.2,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] - (0,0) .. controls (-0.1,0.0) and (-0.1,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] + (0,0) .. controls (-0.2,0.0) and (-0.2,0.2) .. (0,0.4); +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] + (0,0) .. controls (-0.1,0.0) and (-0.1,0.2) .. (0,0.4); +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) .. controls (0.1,0.0) and (0.1,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) .. controls (-0.15,0.0) and (-0.15,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) .. controls (0.15,0.0) and (0.15,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) .. controls (-0.05,0.0) and (-0.05,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) .. controls (0.05,0.0) and (0.05,0.2) .. (0,0.4); -\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] +\draw[line width=0.01ex*(\tkzsymblsscl-\tkzsymblsscl/100*3)] (0,0) --(0,0.4); -\fill[line width=0.05ex*\tkzsymblsscl, rounded corners=0.07ex*\tkzsymblsscl] +\fill[line width=0.05ex*\tkzsymblsscl, rounded corners=0.07ex*\tkzsymblsscl] (-0.05,0.37) -- (0.05,0.37) -- (0.05,0.75) -- (-0.05,0.75) -- cycle; \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\eggbeater\Schneebesen @@ -788,7 +828,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % Now a long one; % \begin{macrocode} \DeclareRobustCommand{\Sieb}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*3475/1000}{#1ex*112/100}{sieve}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.8ex, y=2.8ex,line width=0.02ex*\tkzsymblsscl ,scale=#1] \draw[line width=0.09ex*\tkzsymblsscl] (-0.2,0) -- (1.01,0); \draw (0.2,0) arc (180:360:0.4); @@ -822,6 +866,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (0.335,-0.3) -- (0.865,-0.3); \draw (0.406,-0.35) -- (0.794,-0.35); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\sieve\Sieb @@ -834,13 +879,18 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % This symbol is far from perfect. And I know that the correct translation of ``P\"urierstab'' would be ``immersion blender'', but I am just using ``blender'': % \begin{macrocode} \DeclareRobustCommand{\Purierstab}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*076/100}{#1ex*155/100}{x}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.3ex, y=2.2ex, line width=0.07ex*\tkzsymblsscl,scale=#1] \draw[rounded corners=0.07ex*\tkzsymblsscl] (0,0) -- (0.3,0) -- (0.15,0.1) --cycle; -\fill[rounded corners=0.07ex*\tkzsymblsscl] (0.15,0.3) -- (0.24,0.4) -- (0.24,0.7) -- +\fill[rounded corners=0.07ex*\tkzsymblsscl] (0.15,0.3) -- (0.24,0.4) -- (0.24,0.7) -- (0.06,0.7) -- (0.06,0.4) -- cycle; \draw (0.15,0.4) -- (0.15,0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\blender\Purierstab @@ -852,14 +902,19 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % Important for cooking: % \begin{macrocode} \DeclareRobustCommand{\Dreizack}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*27/100}{#1ex*155/100}{x}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.3ex, y=2.2ex, line width=0.035ex*\tkzsymblsscl,scale=#1] -\fill[rounded corners=0.07ex*(\tkzsymblsscl-\tkzsymblsscl/100)] +\fill[rounded corners=0.07ex*(\tkzsymblsscl-\tkzsymblsscl/100)] (0,0) -- (0,0.4) -- (0.1,0.4) -- (0.1,0.0) -- cycle; \draw (0.05,0) -- (0.05,0.7); -\draw[rounded corners=0.07ex*(\tkzsymblsscl-\tkzsymblsscl/100*\tkzsymblsscl*2] +\draw[rounded corners=0.07ex*(\tkzsymblsscl-\tkzsymblsscl/100*\tkzsymblsscl*2] (0,0.7) -- (0,0.55) -- (0.05,0.55) -- (0.1,0.55) -- (0.1,0.7); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\trident\Dreizack @@ -871,18 +926,23 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % I may have too many strange words: % \begin{macrocode} \DeclareRobustCommand{\Backblech}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*232/100}{#1ex*155/100}{Backblech}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=6.53ex,y=5.ex, line width=0.07ex*\tkzsymblsscl,scale=#1] \filldraw[rounded corners=0.09ex*\tkzsymblsscl] (0,0) rectangle (0.3,0.3); -\draw[rounded corners=0.07ex*\tkzsymblsscl, line width=0.03ex*\tkzsymblsscl] +\draw[rounded corners=0.07ex*\tkzsymblsscl, line width=0.03ex*\tkzsymblsscl] (0.1,0) -- (-0.025,0) -- (-0.025,0.3) -- (0.1,0.3); -\draw[rounded corners=0.07ex*\tkzsymblsscl, line width=0.03ex*\tkzsymblsscl] +\draw[rounded corners=0.07ex*\tkzsymblsscl, line width=0.03ex*\tkzsymblsscl] (0.2,0) -- (.325,0) -- (.325,0.3) -- (0.2,0.3); \foreach \@BackblechlochX in {0.007,0.293} \foreach \@BackblechlochY in {0.007,0.293} \fill[white] (\@BackblechlochX, \@BackblechlochY) circle (0.02ex); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\bakingplate\Backblech @@ -894,7 +954,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % I may have again too many strange words: % \begin{macrocode} \DeclareRobustCommand{\Ofen}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*208/100}{#1ex*155/100}{oven}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.50ex,y=.5ex, line width=0.07ex*\tkzsymblsscl,scale=#1] \draw (0,0) rectangle (4,3); \draw (0.25,0.25) rectangle (3.75,2); @@ -903,6 +967,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (1.5,2.28) rectangle (2.5,2.72); \draw[line width=0.05ex*\tkzsymblsscl] (1,1.75) -- (3,1.75); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\oven\Ofen @@ -914,16 +979,21 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % I can't think of a better word \dots: % \begin{macrocode} \DeclareRobustCommand{\Pfanne}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*303/100}{#1ex*74/100}{Pfanne}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.3ex,y=2.3ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \draw [rounded corners=0.023ex*\tkzsymblsscl] (0,0) -- (0.9,0) -- (1,0.3) -- (-0.1,0.3) -- cycle; \draw (-0.2,0.22) -- (-0.08,0.22); \draw (0.97,0.22) -- (1.08,0.22); \draw[decorate,decoration={snake,amplitude=.046ex*\tkzsymblsscl, - segment length=0.82ex*\tkzsymblsscl},line width=0.05ex*\tkzsymblsscl] + segment length=0.82ex*\tkzsymblsscl},line width=0.05ex*\tkzsymblsscl] (-0.05,0.1) -- (0.95,0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\pan\Pfanne @@ -935,7 +1005,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % I hope it' the right translation: % \begin{macrocode} \DeclareRobustCommand{\Herd}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*208/100}{#1ex*157/100}{cooker}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1ex,y=1ex,line width=0.04ex*\tkzsymblsscl,scale=#1] \draw[line width=0.08ex*\tkzsymblsscl] (0,0) rectangle (2,1.5); \draw (0.5,0.45) circle (0.35); @@ -945,6 +1019,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (1.05,0.95) rectangle (1.85,1.35); \draw (1.45,1.15) circle (0.15); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\cooker\Herd @@ -956,19 +1031,24 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % It's an old squeezer: % \begin{macrocode} \DeclareRobustCommand{\Saftpresse}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*187/100}{#1ex*155/100}{x}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1.2ex,y=1ex,line width=0.07ex*\tkzsymblsscl,scale=#1] -\draw[rounded corners=0.1ex*\tkzsymblsscl] +\draw[rounded corners=0.1ex*\tkzsymblsscl] (0,0.85) -- (0,0) -- (1.5,0) -- (1.5,0.85) -- cycle; \draw (0,0.7) -- (1.5,0.7); \draw[rounded corners=0.1ex*\tkzsymblsscl] (0.3,0.7) -- (0.75,1.55) -- (1.2,0.7); \draw[rounded corners=0.1ex*\tkzsymblsscl] (0.45,0.7) -- (0.75,1.55) -- (1.05,0.7); -\draw[rounded corners=0.1ex*\tkzsymblsscl] +\draw[rounded corners=0.1ex*\tkzsymblsscl] (0.65,0.7) -- (0.75,1.55) -- (0.85,0.7); \draw[line width=0.05ex*\tkzsymblsscl, decorate, decoration={snake,amplitude=.05ex*\tkzsymblsscl, segment length=0.48ex*\tkzsymblsscl}] (0,0.3) -- (1.5,0.3); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\squeezer\Saftpresse @@ -981,12 +1061,18 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % Wieder dasselbe mit den Umlauten: \"u=u. % \begin{macrocode} \DeclareRobustCommand{\Schussel}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*232/100}{#1ex*148/100}{bowl}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1ex,y=1ex,line width=0.07ex*\tkzsymblsscl, scale=#1] -\draw[rounded corners=0.5ex*\tkzsymblsscl] +\draw[rounded corners=0.5ex*\tkzsymblsscl] (-0.02,1.4) -- (0,1.4) -- (0,0.05) -- (1.5,0.05) -- (1.5,1.4) -- (1.52,1.4); \draw (0.35,0) -- (1.15,0); -\end{tikzpicture} +\draw[opacity=0] (-0.4,0) -- (1.85,0); +\end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\bowl\Schussel @@ -1000,15 +1086,20 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % Jedenfalls wieder \"a=a: % \begin{macrocode} \DeclareRobustCommand{\Schaler}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*116/100}{#1ex*155/100}{X}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.7ex,y=2.3ex, line width=0.07ex*\tkzsymblsscl,scale=#1] \draw[rounded corners=0.07ex*\tkzsymblsscl] - (0,0.4) -- (0,0.1) arc (0:180:-0.1) -- (0.2,0.4) - -- (0.3,0.5) -- (0.3,0.65) -- (0.2,0.65) -- (0.2,0.5) -- (0,0.5) -- (0,0.65) -- + (0,0.4) -- (0,0.1) arc (0:180:-0.1) -- (0.2,0.4) + -- (0.3,0.5) -- (0.3,0.65) -- (0.2,0.65) -- (0.2,0.5) -- (0,0.5) -- (0,0.65) -- (-0.1,0.65) -- (-0.1,0.5) -- cycle; \draw[line width=0.03ex*\tkzsymblsscl] (0,0.6) -- (0.2,0.6); \draw[line width=0.03ex*\tkzsymblsscl] (0,0.58) -- (0.2,0.58); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \let\peeler\Schaler @@ -1029,7 +1120,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % The ``default color'' of the 2D Emoticons is \verb|opacity=0|, it's useful for \verb|\colorbox{yellow}{\Sadey}| which leads to \colorbox{yellow}{\Sadey} instead of \colorbox{yellow}{\Sadey[][white]} (with default=white). % \begin{macrocode} \DeclareRobustCommandx{\Sadey}[2][1=1, 2={opacity=0}, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*172/100}{#1ex*165/100}{Sad}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2, line width=0.1ex*\tkzsymblsscl] (0,0) circle (0.33); \draw[line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); @@ -1037,16 +1132,22 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \fill (-0.1,0.1) circle (0.05); \draw (-0.2,-0.15) .. controls (-0.1,-0.06) and (0.1,-0.06) .. (0.2,-0.15); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dSadey}[2][1=1,2=yellow,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dSad}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \shade[ball color=black] (0.1,0.1) circle (0.05); \shade[ball color=black] (-0.1,0.1) circle (0.05); \draw[black] (-0.2,-0.15) .. controls (-0.1,-0.06) and (0.1,-0.06) .. (0.2,-0.15); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1060,7 +1161,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % An annoyed Smiley -\_- % \begin{macrocode} \DeclareRobustCommandx{\Annoey}[2][1=1,2={opacity=0},usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% + \tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{Ann}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2, line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw[line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); @@ -1068,16 +1173,22 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (-0.08,0.1) -- (-0.22,0.1); \draw (-0.2,-0.1) -- (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dAnnoey}[2][1=1,2=yellow,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% + \tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dAnn}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \draw[black] (0.08,0.1) -- (0.22,0.1); \draw[black] (-0.08,0.1) -- (-0.22,0.1); \draw[black] (-0.2,-0.1) -- (0.2,-0.1); \end{tikzpicture}% +\fi \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1090,7 +1201,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % \begin{macrocode} \if@tikzsymbols@marvosym\relax\else% \DeclareRobustCommandx{\Smiley}[2][1=1,2={opacity=0} ,usedefault]{% - \set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% + \set@tkzsymblsscl{#1}% + \if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{Smile}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \fill[#2] (0,0) circle (0.33); \draw (0,0) circle (0.33); @@ -1098,17 +1213,23 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \fill (0.1,0.1) circle (0.05); \draw (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% }% \fi \DeclareRobustCommandx{\dSmiley}[3][1=1,2=yellow,3=yellow,usedefault]{% - \set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% + \if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dSmile}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.1ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \shade[ball color=black] (-0.1,0.1) circle (0.05); \shade[ball color=black] (0.1,0.1) circle (0.05); \draw[black] (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1119,7 +1240,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % A laughing Smiley % \begin{macrocode} \DeclareRobustCommandx{\Laughey}[3][1=1,2={opacity=0},3={opacity=0} ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{lachen}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2,line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw[line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); @@ -1130,10 +1255,15 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw[rounded corners=0.1ex*\tkzsymblsscl, yshift=-0.5] (-0.22,-0.0) .. controls (-0.13,-0.23) and (0.13,-0.23) .. (0.22,-0.0) -- cycle; \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dLaughey}[3][1=1,2=yellow, 3=red ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{lachen}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[ball color=#2,line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw (-0.09,0.06) .. controls (-0.11,0.16) and (-0.17,0.16) .. +(-0.1,0); @@ -1141,6 +1271,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \shade[ball color=#3, rounded corners=0.1ex*\tkzsymblsscl, yshift=-0.3] (-0.25,-0.0) .. controls (-0.13,-0.26) and (0.13,-0.26) .. (0.25,-0.0) -- cycle; \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1153,7 +1284,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % neutral Smiley \verb+:|+ % \begin{macrocode} \DeclareRobustCommandx{\Neutrey}[2][1=1, 2={opacity=0}, usedefault]{% - \set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% + \set@tkzsymblsscl{#1}% + \if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{Neutral}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2,line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw[line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); @@ -1161,16 +1296,22 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \fill (-0.1,0.1) circle (0.05); \draw (-0.2,-0.1) -- (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dNeutrey}[2][1=1,2=yellow,usedefault]{% - \set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% + \set@tkzsymblsscl{#1}% + \if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dneutral}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \shade[ball color=black] (0.1,0.1) circle (0.05); \shade[ball color=black] (-0.1,0.1) circle (0.05); \draw[black] (-0.2,-0.1) -- (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1183,7 +1324,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % ;) % \begin{macrocode} \DeclareRobustCommandx{\Winkey}[2][1=1,2={opacity=0} ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{Wink}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \fill[#2] (0,0) circle (0.33); \draw(0,0) circle (0.33); @@ -1191,16 +1336,22 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \fill (-0.1,0.1) circle (0.05); \draw (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.15,-0.2) .. (0.2,0); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dWinkey}[2][1=1,2=yellow,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dWink}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \draw(0.17,0.1) -- (0.05,0.1); \shade[ball color=black] (-0.1,0.1) circle (0.05); \draw[black] (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.15,-0.2) .. (0.2,0); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1214,7 +1365,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % I can't think of a better name \verb|:S| % \begin{macrocode} \DeclareRobustCommandx{\Sey}[2][1=1,2={opacity=0} ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{S}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2, line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw[line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); @@ -1222,16 +1377,22 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \fill (-0.1,0.1) circle (0.05); \draw (-0.2,-0.08) .. controls (-0.0,-0.2) and (0.0,0) .. (0.2,-0.12); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dSey}[2][1=1,2=yellow ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dS}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \shade[ball color=black] (0.1,0.1) circle (0.05); \shade[ball color=black] (-0.1,0.1) circle (0.05); \draw[black] (-0.2,-0.08) .. controls (-0.0,-0.2) and (0.0,0) .. (0.2,-0.12); \end{tikzpicture}% +\fi \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1242,7 +1403,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % I can't think of a better name again. % \begin{macrocode} \DeclareRobustCommandx{\Xey}[2][1=1, 2={opacity=0}, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{Xe}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2, line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw[line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); @@ -1252,10 +1417,15 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (-0.15,0.05) -- ++ (0.1,0.1); \draw (-0.2,-0.15) .. controls (-0.1,-0.06) and (0.1,-0.06) .. (0.2,-0.15); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dXey}[2][1=1, 2={yellow}, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dXe}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[ball color=#2, line width=0.12ex*\tkzsymblsscl] (0,0) circle (0.33); \draw (0.05,0.05) -- ++ (0.1,0.1); @@ -1264,6 +1434,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (-0.15,0.05) -- ++ (0.1,0.1); \draw (-0.2,-0.15) .. controls (-0.1,-0.06) and (0.1,-0.06) .. (0.2,-0.15); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1275,7 +1446,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % An innocent Smiley % \begin{macrocode} \DeclareRobustCommandx{\Innocey}[3][1=1,2={opacity=0},3=yellow ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*173/100}{#1ex*19/10}{Inno}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \fill[#2] (0,0) circle (0.33); \draw (0,0) circle (0.33); @@ -1286,11 +1461,16 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw[line width=0.05ex*\tkzsymblsscl] (0.3,0.31) arc (0:360:0.3 and 0.07); \draw[line width=0.05ex*\tkzsymblsscl] (0.35,0.31) arc (0:360:0.35 and 0.12); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommand{\wInnocey}[1][1]{\Innocey[#1][opacity=0][white]} \DeclareRobustCommandx{\dInnocey}[3][1=1,2=yellow,3=yellow,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*173/100}{#1ex*185/100}{dInno}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \shade[ball color=black] (-0.1,0.1) circle (0.05); @@ -1301,6 +1481,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw[line width=0.05ex*\tkzsymblsscl] (0.3,0.31) arc (0:360:0.3 and 0.07); \draw[line width=0.05ex*\tkzsymblsscl] (0.35,0.31) arc (0:360:0.35 and 0.12); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1313,7 +1494,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % Don't know what I shall write here. % \begin{macrocode} \DeclareRobustCommandx{\Cooley}[2][1=1,2={opacity=0} ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*166/100}{Cool}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \fill[#2] (0,0) circle (0.33); \draw (0,0) circle (0.33); @@ -1326,10 +1511,15 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (-0.2,0.1) -- (-0.3,0.13); \draw (0.2,0.1) -- (0.3,0.13); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dCooley}[2][1=1,2=yellow,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dCool}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \draw[black] (0.02,0.1) -- (-0.02,0.1); @@ -1341,6 +1531,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl (-0.24,0.15) -- (-0.01,0.15) -- (-0.01,0) -- (-0.24,0) -- cycle; \draw[black] (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1352,7 +1543,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % :P % \begin{macrocode} \DeclareRobustCommandx{\Tongey}[3][1=1,2={opacity=0},3={opacity=0} ,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*171/100}{#1ex*165/100}{ton}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \fill[#2] (0,0) circle (0.33); \draw (0,0) circle (0.33); @@ -1365,10 +1560,15 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw[line width=0.058ex*\tkzsymblsscl, rounded corners=0.12ex*\tkzsymblsscl] (0,-0.09) -- (0.05,-0.2) -- (0.16,-0.23) -- (0.2,-0.15) -- (0.19,-0.03); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dTongey}[3][1=1,2=yellow,3=red,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*159/100}{#1ex*156/100}{dton}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.33); \shade[ball color=black] (-0.1,0.1) circle (0.05); @@ -1380,6 +1580,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw[black, line width=0.07ex*\tkzsymblsscl, yshift=0.21ex] (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1391,7 +1592,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % a Nurse (the cross has nothing to do with religion). % \begin{macrocode} \DeclareRobustCommandx{\Nursey}[4][1=1,2={opacity=0},3={opacity=0},4=black,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*15/10}{#1ex*215/100}{Nurse}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.3ex, y=2.3ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \fill[#3,rounded corners=.023ex*\tkzsymblsscl] (-0.3,0) -- (-0.3,0.3) -- (0,0.6) -- (0.3,0.3) -- (0.3,0); @@ -1406,10 +1611,15 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw[#4,line width=.046ex*\tkzsymblsscl] (0,0.35) -- (0,0.5); \draw[#4,line width=.046ex*\tkzsymblsscl] (-0.05,0.45) -- (0.05,0.45); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dNursey}[4][1=1,2=yellow,3=white,4=red,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*14/10}{#1ex*2}{dNurse}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.3ex, y=2.3ex, line width=0.12ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2] (0,0) circle (0.3); \shade[ball color=black] (-0.1,0.1) circle (0.05); @@ -1423,6 +1633,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \shade[ball color=#4,line width=.046ex*\tkzsymblsscl] (-0.05,0.4) -- (0.05,0.4) -- (0.05,0.42)--(-0.05,0.42) -- cycle; \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1435,7 +1646,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % *Bl\"a\"argh* % \begin{macrocode} \DeclareRobustCommandx{\Vomey}[3][1=1,2={opacity=0},3={opacity=0},usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*305/100}{#1ex*165/100}{vomit}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.58ex,y=0.58ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \fill[#2,rounded corners=0.05ex*\tkzsymblsscl] (0,0) arc (15:330:1) -- (-0.6,-0.3) -- cycle; \draw[rounded corners=0.05ex*\tkzsymblsscl] (0,0) arc (15:330:1) -- (-0.6,-0.3) -- cycle; @@ -1453,10 +1668,15 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl controls (3,-1) and (3,-1.7) .. (2,-1.5) .. controls (1.7,-2) and (1,-2) .. (1,-1.5) .. controls (0.5,-1.9) and (0.3,-1) .. (0.7,-0.9); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dVomey}[3][1=1,2=yellow,3={brown!10!olive},usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*295/100}{#1ex*156/100}{dvomit}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.58ex,y=0.58ex, line width=0.09ex*\tkzsymblsscl,scale=#1] \shade[ball color=#2!90!brown,rounded corners=0.03ex*\tkzsymblsscl] (0,0) arc (15:330:1) -- (-0.6,-0.3) -- cycle; @@ -1468,6 +1688,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \shade[ball color=#3] (0,-0.4) .. controls (1,0) and (2,-1) .. (2,-1) .. controls (1.7,-1.2) and (1.3,-1.2) .. (1,-1) .. controls (0.8,-0.7) and (0.5,-0.5) .. (0,-0.4); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1478,7 +1699,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % Well \dots{} this Emoticon should be the visualization of the german saying ``Gegen eine Wand rennen'', which means something like: Not being able to solve a problem. % \begin{macrocode} \DeclareRobustCommandx{\Walley}[3][1=1, 2={opacity=0},3={opacity=0}, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*235/100}{#1ex*165/100}{Wall}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1, decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\tkzsymblsscl}] \fill[#2, line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.28); @@ -1498,10 +1723,15 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t \draw[rotate=-20] (0.12,0.1) -- (0.2,0.05); \draw[rotate=-20] (0.27,-0.1) .. controls (0.2,-0.072) and (0.1,-0.06) .. (0.,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\rWalley}[3][1=1, 2={opacity=0},3={opacity=0}, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*235/100}{#1ex*165/100}{rWall}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1, decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\tkzsymblsscl}] \fill[#2, line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.28); @@ -1514,10 +1744,15 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t \draw[rotate=-20] (0.12,0.1) -- (0.2,0.05); \draw[rotate=-20] (0.27,-0.1) .. controls (0.2,-0.072) and (0.1,-0.06) .. (0.,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dWalley}[2][1=1, 2=yellow, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*242/100}{#1ex*156/100}{dWall}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1, decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\tkzsymblsscl}] \shade[ball color=orange!80!black] (0.298,-0.33) rectangle (0.692,0.337); @@ -1534,10 +1769,15 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t \draw[rotate=-20] (0.12,0.1) -- (0.2,0.05); \draw[rotate=-20] (0.283,-0.1) .. controls (0.2,-0.072) and (0.1,-0.06) .. (0.,-0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\drWalley}[2][1=1, 2=yellow, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*242/100}{#1ex*156/100}{drWall}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1, decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\tkzsymblsscl}] \shade[ball color=orange!80!black] (0.298,-0.33) rectangle (0.692,0.337); @@ -1548,6 +1788,7 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t \draw[rotate=-20] (0.12,0.1) -- (0.2,0.05); \draw[rotate=-20] (0.283,-0.1) .. controls (0.2,-0.072) and (0.1,-0.06) .. (0.,-0.1); \end{tikzpicture}% +\fi \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1559,7 +1800,11 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t % *Miau* % \begin{macrocode} \DeclareRobustCommandx{\Cat}[1][1=1,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*19/10}{#1ex*19/10}{Cat}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=2.33ex,y=2.33ex, line width=0.093ex*\tkzsymblsscl,scale=#1] \draw (0,0) circle (0.3); \draw[rounded corners=0.163ex*\tkzsymblsscl] (-0.3,0) -- (-0.35,0.5) -- (0,0.3); @@ -1585,6 +1830,7 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t \draw[line width=0.035ex*\tkzsymblsscl] (0.1,-0.05)..controls(0.25,-0.045)and(0.35,-0.13).. (0.4,-0.23); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1595,7 +1841,11 @@ decoration={random steps,segment length=0.15ex*\tkzsymblsscl, amplitude=0.1ex*\t % A Ninja. % \begin{macrocode} \DeclareRobustCommandx{\Ninja}[4][1=1, 2=black, 3=red, 4=white, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*215/100}{#1ex*165/100}{sshh}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \def\Black@is@Black{black}% \def\Black@or@not@Black{#2}% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1, @@ -1623,10 +1873,15 @@ decoration={random steps,segment length=0.1ex*\tkzsymblsscl, amplitude=0.1ex*\tk \ifx\Black@or@not@Black\Black@is@Black \else\draw[line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.33);\fi \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } \DeclareRobustCommandx{\dNinja}[4][1=1, 2=black, 3=red, 4=white, usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*215/100}{#1ex*17/10}{dsshh}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \def\Black@is@Black{black}% \def\Black@or@not@Black{#2}% \begin{tikzpicture}[x=2.4ex, y=2.4ex, line width=0.09ex*\tkzsymblsscl,scale=#1, @@ -1652,6 +1907,7 @@ decorate {-- (-0.25,0.24)} \shade[top color=#4!80!black, bottom color=#4] (0.129,0.1425) arc (55:-180:.05); \shade[top color=#4!80!black, bottom color=#4] (-0.129,0.1425) arc (-55:180:-.05); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1665,7 +1921,11 @@ decorate {-- (-0.25,0.24)} % But it's better than nothing % \begin{macrocode} \DeclareRobustCommandx{\NiceReapey}[1][1=1,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*264/100}{#1ex*155/100}{Ann}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.11em,y=0.11em, line width=0.07ex*\tkzsymblsscl,scale=#1] \draw (1.7,-1) arc (360:180:1.7 and 2) arc (260:110:1.5 and 2) .. controls (-1,3.3) and (1,3.3) .. (1.9,2.97) @@ -1681,6 +1941,7 @@ decorate {-- (-0.25,0.24)} \fill (1.25,1.25) circle ( 0.5 and 0.75); \fill (-1.25,1.25) circle ( 0.5 and 0.75); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1694,7 +1955,11 @@ decorate {-- (-0.25,0.24)} % In german it would be called ``Strichmaxerl''. % \begin{macrocode} \DeclareRobustCommandx{\Person}[5][1=1,2=-22,3=22,4=27,5=-27,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*78/100}{#1ex*155/100}{P}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[line width=0.12ex*\tkzsymblsscl, scale=#1, x=1.35ex, y=1.35ex] \draw[rotate around={#5:(0.15,0.2)}] (0.15,0.2) -- (0.15,-0.14); \draw[rotate around={#4:(0.15,0.2)}] (0.15,0.2) -- (0.15,-0.14); @@ -1704,6 +1969,7 @@ decorate {-- (-0.25,0.24)} \draw (.15, .4) -- (.15, .53); \draw (.15,.8) circle (0.18); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1713,7 +1979,11 @@ decorate {-- (-0.25,0.24)} % A burning candle % \begin{macrocode} \DeclareRobustCommand{\Candle}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*63/100}{#1ex*165/100}{C}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1ex, y=1ex, scale=#1, line width=0.07ex*\tkzsymblsscl] \draw[rounded corners=0.04ex*\tkzsymblsscl] (0,0) -- (0.2,0) -- +(0,1) -- (0,1) -- cycle; \draw[line width=0.05ex*\tkzsymblsscl] (0.1,1) -- (0.1,1.2); @@ -1722,6 +1992,7 @@ decorate {-- (-0.25,0.24)} \draw [xshift=0.95, yshift=2.2, line width=0.04ex*\tkzsymblsscl] (-0.1,0.6) .. controls (0.2,0.8) and (-0.1,1) .. (-0.1,1.2); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1732,7 +2003,11 @@ decorate {-- (-0.25,0.24)} % Just a fire. % \begin{macrocode} \DeclareRobustCommand{\Fire}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*158/100}{#1ex*16/10}{fire}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1ex,y=1ex, line width=0.07ex*\tkzsymblsscl,rotate=45, scale=#1] \fill (-0.05,0) -- (0.05,0) -- (0.05,0.95) -- (-0.05,0.95) -- cycle; \fill (-0.74,0.7) -- (0.19,0.7) -- (0.19,0.8) -- (-0.74,0.8) -- cycle; @@ -1749,6 +2024,7 @@ decorate {-- (-0.25,0.24)} \draw[rotate=-45, xshift=-2.5] (-0.1,0.29) .. controls (-0.7,0.6) and (0,1.2) .. (0,1.5); \draw[rotate=-45, xshift=-2] (-0.1,0.29) .. controls (0.7,0.6) and (-0.1,1.2) .. (-0.1,1.5); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1760,19 +2036,24 @@ decorate {-- (-0.25,0.24)} % \begin{macrocode} \if@tikzsymbols@marvosym\relax\else% \DeclareRobustCommand{\Coffeecup}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*181/100}{#1ex*165/100}{coffe}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.7ex,y=0.7ex, scale=#1, line width=0.07ex*\tkzsymblsscl, decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymblsscl}] \draw (0,0) arc (180:269:0.8 and 1) -- ++(0.5,0) arc (269:360:0.8 and 1) -- cycle; \draw (2.1,-0.15) -- (2.2,-0.15) arc (90:-90:0.3) -- (1.8, -0.75); \draw[line width=0.05ex*\tkzsymblsscl, decorate] (0.4,0.3) -- +(0,1); -\draw[line width=0.05ex*#1, decorate] +\draw[line width=0.05ex*\tkzsymblsscl, decorate] (1,0.3) -- +(0,1); -\draw[line width=0.05ex*#1, decorate] +\draw[line width=0.05ex*\tkzsymblsscl, decorate] (1.6,0.3) -- +(0,1); \draw (0,-1.05) -- (2.1,-1.05); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% }% \fi @@ -1783,7 +2064,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % A chair. % \begin{macrocode} \DeclareRobustCommand{\Chair}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1} \@tkzssmbls@negtrue\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*112/100}{#1ex*165/100}{chair}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1} \@tkzssmbls@negtrue\fi% \begin{tikzpicture}[x=0.9ex,y=0.9ex, scale=#1, line width=0.07ex*\tkzsymblsscl] \draw (0,-0.5) -- (0,0.7) -- (0.5,1) -- (0.5,0.25); \draw[line width=0.06ex*\tkzsymblsscl] (0,0.4) -- (0.5,0.7); @@ -1792,6 +2077,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (0.5,-0.3) -- (0.5,-0.8); \draw (1,0) -- (0.5,-0.3) -- (0,0); \end{tikzpicture}% +\fi% \@tkzssmbls@negfalse% \tikzsymbolsaftersymbolinput% } @@ -1802,7 +2088,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % A bed. % \begin{macrocode} \DeclareRobustCommand{\Bed}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*309/100}{#1ex*162/100}{Bed}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1ex,y=1ex, scale=#1, line width=0.08ex*\tkzsymblsscl] \draw (0,0) -- (0,1.6); \draw (3,0) -- (3,1.2); @@ -1811,6 +2101,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (0.7,0.5) arc (0:90:0.7); \draw (0.7,0.5) arc(180:30:1.231 and 0.6); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1821,7 +2112,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % \begin{macrocode} \DeclareRobustCommandx{\Tribar}[4][1=1,2={opacity=0},3={opacity=0},4={opacity=0},usedefault] {% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*17/10}{#1ex*167/100}{T}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.65ex,y=0.65ex,scale=#1, rounded corners=0.03ex*\tkzsymblsscl, line width=0.06ex*\tkzsymblsscl] \fill[#2] (0.15,0.3) -- (-0.15,-0.3) -- (1.75,-0.3) -- ++ (-0.15,-0.3) @@ -1834,6 +2129,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (0.9,0) -- (1.3,0) -- (0.35,1.9) -- (0.65,1.9) -- (1.75,-0.3) -- +(-.05,-0.1); \draw (-0.6,-0.6) -- (-0.65,-0.6) -- ++ (-0.15,0.3) -- (0.35,1.9) -- (0.4,1.9); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1845,7 +2141,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % From the Easter Island: a Moai. % \begin{macrocode} \DeclareRobustCommandx{\Moai}[1][1=1,usedefault]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*103/100}{#1ex*161/100}{M}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \ifdim \tkzsymblsscl<2pt% \def\tikzsymbolsMoaithickness{0.05ex}% \else% @@ -1876,6 +2176,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (-2.5,2.8) .. controls (-2,2.5) and (-1,3) .. (-0.8,3.1); \draw (0.5,3.3) .. controls (1,3) and (1,2.5) .. (3.3,2.4); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1885,7 +2186,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % A snowman. I think his smile is scary. % \begin{macrocode} \DeclareRobustCommand{\Snowman}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*153/100}{#1ex*169/100}{Snow}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=0.9ex,y=0.9ex,line width=0.07ex*\tkzsymblsscl, scale=#1] \draw (0,0) circle (0.4 and 0.35); \draw[line width=0.06ex*\tkzsymblsscl] (0,0.64) circle (0.3 and 0.28); @@ -1922,6 +2227,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \draw (0.6,0.8) -- (0.6,1); \draw (0.6,0.8) -- (0.8,0.9); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} @@ -1958,7 +2264,11 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl % An extremly bad Tree. It's really worst. % \begin{macrocode} \DeclareRobustCommand{\WorstTree}[1][1]{% -\set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% +\set@tkzsymblsscl{#1}% +\if@tikzsymbols@absolute@draft% +\tikzsymbols@resizebox{#1ex*165/100}{#1ex*165/100}{tree}% +\else% +\ifdim\tkzsymblsscl<0pt\set@tkzsymblsscl{-#1}\fi% \begin{tikzpicture}[x=1ex,y=1ex, line width=0.04ex*\tkzsymblsscl,scale=#1] \fill[brown] (-0.3,0) .. controls (0.2,0.3) and (0.2,0.7) .. (0.2,1) -- (0.5,1) .. controls (0.5,0.7) and (0.5,0.3) .. (1,0); @@ -1977,6 +2287,7 @@ decoration={snake,amplitude=.05ex*\tkzsymblsscl,segment length=0.408ex*\tkzsymbl \fill[red] (0.4,1.2) circle (0.1); \fill[red] (0.8,1.1) circle (0.1); \end{tikzpicture}% +\fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} |