% \iffalse meta-comment % % Copyright (C) 2013 by Ben Vitecek % % This file may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 of this license or (at your option) any later % version. The latest version of this license is in: % % http://www.latex-project.org/lppl.txt % % and version 1.3 or later is part of all distributions of % LaTeX version 2008-05-04 or later. % % \fi % % \iffalse %<*driver> \documentclass{ltxdoc} \usepackage{marvosym} \usepackage{tikzsymbols} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{array} \usepackage{lmodern} \usepackage{microtype} \usepackage{longtable} \usepackage[colorlinks=true]{hyperref} \EnableCrossrefs \CodelineIndex \RecordChanges \makeatletter \DeclareRobustCommandx{\definedBasicTree}[5][1=1, usedefault]{{% \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} \DocInput{tikzsymbols.dtx} \end{document} % % \fi % % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z % Digits \0\1\2\3\4\5\6\7\8\9 % Exclamation \! Double quote \" Hash (number) \# % Dollar \$ Percent \% Ampersand \& % Acute accent \' Left paren \( Right paren \) % Asterisk \* Plus \+ Comma \, % Minus \- Point \. Solidus \/ % Colon \: Semicolon \; Less than \< % Equals \= Greater than \> Question mark \? % Commercial at \@ Left bracket \[ Backslash \\ % Right bracket \] Circumflex \^ Underscore \_ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % % % %\changes {v1.0} {2013/01/19} {Initial version} %\changes {v1.05} {2013/02/13} {Deleted a ``t'' in the BasicTree-code, shortened the trunk from the tree a bit, renamed some codes, made an index} %\changes {v1.6} {2013/02/14} {Now ``Person'' can be used in sections, etc.} %\changes {v1.6} {2013/02/14} {Now an error message is generated if the last parameter of ``BasicTree'' is neither ``leaf'' nor empty.} %\changes {v1.6} {2013/02/14} { New options: draft and final. If in documentclass the option ``draft'' is defined, the package recognizes it. Plus some warnings if you use class option draft/final with package option tree=on/off.} %\changes {v1.6} {2013/02/14} { Renamed ``tikzsymbolsaftersymbolinput'' to ``tikzsymbolsaftersymbolinput''} %\changes {v1.61} {2013/02/17} {Made an invisible box in BasicTree.} %\changes {v1.65} {2013/02/17} {Improved BasicTree; New symbols ``Schaler/peeler'', Laughey, Walley, Ninja; but didn't improve the source-description} %\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} % % % % \GetFileInfo{tikzsymbols.sty} % %\DoNotIndex {\begin{tikzpicture},\end{tikzpicture}} %\DoNotIndex {\verb, \DeclareRobustCommandx} %\DoNotIndex {=\verb} %\DoNotIndex {\verb||} %\DoNotIndex {\draw,\fill,\DeclareRobustCommand, \colorlet,\shade} %\DoNotIndex {\xspace,\begin,\end} % % % % % % % %\title{\textsf{tikzsymbols}\thanks{This document corresponds to \textsf{tikzsymbols}~\fileversion, dated~\filedate.}} %\author{Ben Vitecek \\ \texttt{b.vitecek@gmx.at}} %\maketitle % %\begin{abstract}\centering %Just some symbols created with ``tikz''. % % English is not my native language. So there (still) might be some errors \Winkey %\end{abstract} % % %\tableofcontents % % % \section{Short Introduction} % % There are about two emoticons available in \LaTeX{}: Smiley and Frowny. % But why aren't there more? Or why did nobody make cooking-symbols? % I thought about this questions and during a project I developed some (cooking)symbols. % Developing them was real fun and so I made some more, reworked some etc. %^^A And one day I had the idea ``Why not uploading these symbols in CTAN?'' %^^A Well, now I am here and writing this documentation about my first package. %^^A It's a strange feeling \dots % And here they are. % % \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{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''. % In your final document you can turn \verb|tree=on|, delete it or write \verb|final| and the trees will be produced. % %^^A Since version 1.6 this package offers some new options: % %^^A The option \verb|tree| can be turned on/off using the xkeyval package. % %^^A Instead of \verb|tree=off| you can also write \verb|draft|; instead of \verb|tree=on| you can just write \verb|final|. % %^^A And if you are using the class option \verb|draft| or \verb|final|, you can write. %^^A\vspace{1ex} % % % \small % \begin{longtable}{c|c} % Options to produce normal trees: \BasicTree{black!60!}{black!40!white}{black!30!white}{leaf} & Options for ``spacefillers'': \definedBasicTree{black!60!}{black!40!white}{black!30!white}{leaf}\\\hline\vspace{-1.5ex} \endhead % \verb|\usepackage{tikzsymbols}| \\[1ex] %\verb|\usepackage{tree=on}{tikzsymbols}| & \verb|\usepackage{tree=off}{tikzsymbols}| \\[1ex] % \verb|\usepackage{final}{tikzsymbols}|&\verb|\usepackage{draft}{tikzsymbols}| \\[1ex] % \verb|\documentclass[final]{class}| & \verb|\documentclass[draft]{class}| \\ % \verb|\usepackage{tikzsymbols}| & \verb|\usepackage{tikzsymbols}| % \end{longtable} %\normalsize % % % Note: you shouldn't use both, \verb|tree=on/off| and class-option \verb|draft|. % It's just unnecessary. % % % % \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'': % % \small % \begin{longtable}{c|c} % Without option ``marvosym'' \Smiley \Coffeecup & With option ``marvosym'' \mvchr{169} \mvchr{75}\\\hline\vspace{-1.5ex} \endhead % \verb|\usepackage{marvosym}| & \verb|\usepackage{marvosym}|\\ %\verb|\usepackage{tikzsymbols}| & \verb|\usepackage{marvosym}{tikzsymbols}| % \end{longtable} %\normalsize % % 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. % They \Kochtopf \tiny all \dInnocey \Huge change \Moai \small automaticly \Wintertree \large with \oven \normalsize the textsize \Person. % % % \subsection{cooking-symbols \texorpdfstring{\Kochtopf}{Kochtopf}} % At the following table the cooking-symbols are listed. % % The first column shows the Command (at first the german at second the english). % The second are the optional keys. % % can be a number between (not exactly) -1400 and (also not exactly) $1400$\footnote{Since version 2.2 you can use negative numbers as well (see examples)} %, default is $1$. % The optional parameter(s) are for both, the german and the english commands the same. % % Da Umlaute nicht angezeigt werden k\"onnen, werden die Umlaute \"o, \"a, \"u ersetzt durch: o, a, u. % % \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] % % % % %\subsection{Emoticons \texorpdfstring{\Smiley}{Smiley}} %\subsubsection{``normal'' Emoticons \texorpdfstring{\Cat}{Cat}} % % First column shows the commands, the second the optional paramter(s), the third the default-output. % % can be a number between (not exactly) -2000 and (not exactly) $2000$\footnote{Do you even need so large symbols?}, default is $1$. % % can be every defined color. % % %\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} % %Examples: \verb|\Sadey[][red]|\Sadey[][red] \quad\verb|\Cooley[-3][cyan]|\Cooley[-3][cyan] % %\verb|\Vomey[1.5][green!80!black][olive]|\Vomey[1.5][green!80!black][olive]. % %\verb|\Nursey[][yellow][blue][red]|\Nursey[1][yellow][blue][red]. % %\verb|\Ninja[1.3][][violet][red]|\Ninja[1.3][][violet][red]. % % \verb|\colorbox{yellow}{\Winkey \Annoey[-1] \Neutrey}|\colorbox{yellow}{\Winkey \Annoey [-1]\Neutrey} % %\verb|{\color{blue}\Sey}| {\color{blue}\Sey} % %\subsubsection{``3D'' Emoticons \texorpdfstring{\dSmiley\dSadey[-1]}{dSmiley dSadey}} % First column shows the commands (note: the ``3D'' Emoticons begin with \verb|\d...|), the second shows the optional paramter(s), the third shows the default-output. % % can be a number between a small number\footnote{under 500 for sure} and a large number\footnote{over 500 for sure}, default is $1$. % can be every defined color (see examples below). % % %\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: %\verb|\dSadey[][red]|\dSadey[][red]\quad\verb|\dCooley[-3][cyan]|\dCooley[-3][cyan] % %\verb|\dVomey[1.5][green!70!black][olive]|\dVomey[1.5][green!80!black][olive]. % %\verb|\dNursey[][yellow][blue][red]|\dNursey[1][yellow][blue][red]. % %\verb|\dNinja[1.3][][violet][red]|\dNinja[1.3][][violet][red]. % % \subsection{other Symbol(s) \texorpdfstring{\Moai}{Moai}} % % % \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'' % % 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$. % % can be every defined color. % % \verb|{|\emph{leaf}\verb|}| uses the colors of \marg{leaf color a} and \marg{leaf color b}, you can leave this one empty, if you don't want leaves (\verb|\Wintertree| is without \emph{leave}, see examples below). % % If you are using those trees, \LaTeX{} needs longer to produce the pdf. % 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@{}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 % %\noindent\verb|\BasicTree| examples: % % \verb|\colorbox{green}{\BasicTree{red}{orange}{yellow}{leaf}}|\colorbox{green}{\BasicTree{red}{orange}{yellow}{leaf}} % % \verb|\BasicTree[5]{orange!95!black}{orange!80!black}{orange!70!black}{leaf}|\BasicTree[5]{orange!95!black}{orange!80!black}{orange!70!black}{leaf} % % \verb|\BasicTree[2]{blue!65!white}{cyan!50!white}{cyan!50!white}{}|\BasicTree[2]{blue!65!white}{cyan!50!white}{cyan!50!white}{} % % \verb|\BasicTree[-1.54]{green!90!black}{green!95!black}{green!99!black}{leaf}|\BasicTree[-1.54]{green!90!black}{green!95!black}{green!99!black}{leaf} % % \verb|\colorbox{black}{\BasicTree[3.75]{gray!80}{gray!50}{gray!40}{leaf}}|\colorbox{black}{\BasicTree[3.75]{gray!80}{gray!50}{gray!40}{leaf}} %\\[5ex] % \indent\verb|\colorbox{green}{\BasicTree{red}{orange}{yellow}{leaf}}|\colorbox{green}{\definedBasicTree{red}{orange}{yellow}{leaf}} % % % % \verb|\BasicTree[5]{orange!95!black}{orange!80!black}{orange!70!black}{leaf}|\definedBasicTree[5]{orange!95!black}{orange!80!black}{orange!70!black}{leaf} % % \verb|\BasicTree[2]{blue!65!white}{cyan!50!white}{cyan!50!white}{}|\definedBasicTree[2]{blue!65!white}{cyan!50!white}{cyan!50!white}{} % %\verb|\BasicTree[-1.54]{green!90!black}{green!95!black}{green!99!black}{leaf}|\definedBasicTree[-1.54]{green!90!black}{green!95!black}{green!99!black}{leaf} % % \verb|\colorbox{black}{\BasicTree[3.75]{gray!80}{gray!50}{gray!40}{leaf}}|\colorbox{black}{\definedBasicTree[3.75]{gray!80}{gray!50}{gray!40}{leaf}} %\\[1ex] % I think it's best if you define your own tree using \verb|\newcommand| and \verb|\BasicTree| (don't forget \verb|\xspace|): %\begin{verbatim} % \newcommand{\Myicetree}[1][1]{% % \BasicTree[#1]{blue!65!white}{cyan!50!white}{cyan!50!white}{}\xspace} %\end{verbatim} % % % % \subsection{Something to redefine} % % At the end of the code I am using the command:\\ % \verb|\newcommand{\tikzsymbolsaftersymbolinput}{\xspace}| % % You may change this (for some reasons I don't know). % If you want ``\dots'' after every symbol you can define: % \verb|\renewcommand{\tikzsymbolsaftersymbolinput}{\dots}| % \renewcommand{\tikzsymbolsaftersymbolinput}{\dots} % which will lead to: \Smiley\Summertree\Schneebesen % % Well that's it. % \renewcommand{\tikzsymbolsaftersymbolinput}{\xspace} % % % \section{Warnings and Errors} % % \subsection{Warnings} % You can use this symbols in chapters, sections, subsections, etc. % But the log file will print a warning, something like: % \begin{quotation} %\noindent Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): %(hyperref) removing `\verb|\Smiley|' on input line 137. %\end{quotation} % % You can avoid those messages by putting the symbol into this command: % % \verb|\texorpdfstring{\Smiley}{Smiley}| % %For example you may use something like that: % % \verb|\subsubsection{``3D'' Emoticons \texorpdfstring{\dSmiley}{dSmiley}}| or % %\verb|\subsection{Emoticons \texorpdfstring{\Smiley}{Smiley}}| \\or % %\verb|\subsubsection{``normal'' Emoticons \texorpdfstring{\Cat}{Cat}}| %\\[1ex] % If you misspell \verb|tree=on| or \verb|tree=off| the ouptut will be something like: ``1redorangeyellowleaf''. If that happens, you misspelled something (``on'' or ``off''). % I have no idea how I can solve this (it was hard enough to make an option that works). % % \subsection{and errors} % If you load the package ``marvosym'' make sure you load ``tikzsymbols'' after this package because both packages define \verb|\Smiley|, ``marvosym'' via \verb|\newcommand| ``tikzsymbols'' via \verb|\DeclareRobustCommand|. % % If you load ``marvosym'' \emph{after} ``tikzsymbols'', \LaTeX{} generates an errormessage because ``Smiley'' has already been defined. % % If you load ``marvosym'' \emph{before} ``tikzsymbols'', ``tikzsymbols'' will overwrite marvosym's Smiley and no errormessage is generated (if you like the ``Simley'' from marvosym more, use the tikzsymbols option \verb|marvosym|). % % \section{Nobody is perfect} % If you are sure that you found a bug, please send me a mail involving a \emph{minimal example} of the code which shows the bug. % And a description would be nice. % % % % % \section[Code]{Code (do you really need this section?)} % There is not much to see, all this symbols were created with ``tikz''. % But it may helps you (somehow). % % %The first lines are always the same: what do I need, how is the package named: % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[2011/06/31] \ProvidesPackage{tikzsymbols} [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: % \begin{macrocode} \usetikzlibrary{arrows,decorations.pathmorphing,trees} % \end{macrocode} %\begin{macro}{\tikzsymbolsaftersymbolinput} % Now we define this strange named macro. % This macro is inserted after the tikz-code, and is defined as \verb|\xspace| (there may be some changes in future, and to write less I define this macro) % \begin{macrocode} \newcommand{\tikzsymbolsaftersymbolinput}{\xspace} % \end{macrocode} %\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} \def\@leaf@is@leaf{leaf} % \end{macrocode} %\end{macro} %\begin{macro}{\tkzsymblsscl} % . % \begin{macrocode} \newlength{\tkzsymblsscl} \def\set@tkzsymblsscl#1{\setlength{\tkzsymblsscl}{#1pt}} % \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} %\begin{macro}{\if@tikzsymbols@marvosym} % We need draft and final for some package warnings. % ``marvosym'' for the option ``marvosym'' and ``neg'' (negative) if something is negativ. % \begin{macrocode} \newif\if@tikzsymbols@draft \newif\if@tikzsymbols@final \newif\if@tkzssmbls@neg \newif\if@tikzsymbols@marvosym \newif\if@tikzsymbols@absolute@draft % \end{macrocode} %\end{macro} %\end{macro} %\end{macro} %\begin{macro}{marvosym} % I define the option ``marvosym'': you should use it, if you load the package ``marvosym'' % \begin{macrocode} \DeclareOptionX{marvosym}{\@tikzsymbols@marvosymtrue} % \end{macrocode} %\end{macro} % %\begin{macro}{\@Tree@SetUp} % First we define our \verb|\@Tree@SetUp| (how the trees will look like) (I used the code from the ``tikz'' manual and changed it a little bit): % \begin{macrocode} \def\@Tree@SetUp{\tikzset{% ld/.style={level distance=##1ex},lw/.style={line width=##1ex},% level 1/.style={ld=0.60, trunk, lw=0.1 ,sibling angle=60},% level 2/.style={ld=0.20, trunk!80!leaf a, lw=.073,sibling angle=70},% level 3/.style={ld=0.25, trunk!60!leaf a, lw=.05,sibling angle=70}, % level 4/.style={ld=0.10, trunk!40!leaf a, lw=.025,sibling angle=60},% level 5/.style={ld=0.15, trunk!20!leaf a, lw=.02,sibling angle=60},% level 6/.style={ld=0.08, leaf a, lw=.021,sibling angle=60},% }}% % \end{macrocode} %\end{macro} %\begin{macro}{\Basic@Tree} % Now we define our \verb|\Basic@Tree|. We will need it later for our package option (basic code is also from ``tikz'' manual). % \begin{macrocode} \DeclareRobustCommandx{\Basic@Tree}[5][1=1, usedefault]{{% \set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt \@tkzssmbls@negtrue\fi% \def\leaf@or@not@leaf{#5}% \@Tree@SetUp% \pgfarrowsdeclare{leaf}{leaf}% {\pgfarrowsleftextend{-.1ex} \pgfarrowsrightextend{-0.05ex}}% {% \pgfpathmoveto{\pgfpoint{-.01ex}{0ex}}% \pgfpatharc{150}{30}{0.08ex}% dicke \pgfpatharc{-30}{-150}{0.08ex}% \pgfusepathqfill% }% \colorlet{trunk}{#2}% \colorlet{leaf a}{#3}% \colorlet{leaf b}{#4}% \begin{tikzpicture}[x=1ex,y=1ex,line width=0.07ex]% \ifx\leaf@or@not@leaf\@leaf@is@leaf% \if@tkzssmbls@neg% \draw[opacity=0,scale=#1+0.1*#1] (-0.82+0.1*#1/100,0) rectangle (0.82-0.1*#1/100, 1.4-0.01*#1/100); \else \draw[opacity=0,scale=#1+0.1*#1] (-0.82-0.1*#1/100,0) rectangle (0.82+0.1*#1/100, 1.4+0.01*#1/100); \fi% \else \draw[opacity=0,scale=#1+0.1*#1] (-0.75,-0.01) rectangle (0.75,1.3); \fi \pgflowlevel{\pgftransformscale{#1+0.02ex}}{% \coordinate (root) [grow cyclic,rotate=90] child { child [line cap=round] foreach \a in {0,1, 2} { child foreach \b in {0,1} { child foreach \c in {0,1,2} { child foreach \d in {0,1} { child foreach \leafcolor in {leaf a,leaf b} { edge from parent [color=\leafcolor,-#5] } }}} } edge from parent [shorten >=-0.05ex,serif cm-,line cap=butt] };}% \end{tikzpicture}% \@tkzssmbls@negfalse% }} % \end{macrocode} %\end{macro} %\begin{macro}{draft} % If the class option \verb|draft|, then Squares are typed instead of trees. Furthermore we set \verb|\@drafttrue| and \verb|\@finalfalse| for some warnings: % \begin{macrocode} \DeclareOptionX{draft}{\@tikzsymbols@drafttrue\@tikzsymbols@finalfalse \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} \DeclareOptionX{final}{\@tikzsymbols@draftfalse\@tikzsymbols@finaltrue \def\Basic@Tree{\Basic@Tree@on}} % \end{macrocode} % It's extremely annoying: you are working almost a day to find out how this package recognizes \verb|draft| and at the end there are just two lines of code. % %\end{macro} %\begin{macro}{tree} % Now we declare the name of our option: ``tree'' (I could have named it stone, or wood, etc. but I used ``tree''). This code is copy \& pasted from this site: \href{http://tex.stackexchange.com/questions/13270/a-package-template-using-xkeyval}{http://tex.stackexchange.com/}. Plus some warnings, if you use class option \verb|draft| or \verb|final| with package option \verb|tree=on/off|: % \begin{macrocode} \DeclareOptionX{tree}{% \def\Basic@Tree{\csname Basic@Tree@#1\endcsname}% \if@tikzsymbols@draft% \PackageWarningNoLine{tikzsymbols}{You can use class option \MessageBreak draft with package option tree=on/off; \MessageBreak but I think it would be better if you \MessageBreak delete tree=on/off}\fi% \if@tikzsymbols@final% \PackageWarningNoLine{tikzsymbols}{You can use class option \MessageBreak final with package option tree=on/off; \MessageBreak but I think it would be better if you \MessageBreak delete tree=on/off}\fi% } % \end{macrocode} %\end{macro} %\begin{macro}{\Basic@Tree@off} % We define \verb|\Basic@Tree@off|; it will be shown if \verb|tree=off|. % It looks a bit confusing, but this syntax provides a square, which is as large as the tree. %Furthermore, we check if the last parameter is ``leaf'': % \begin{macrocode} \DeclareRobustCommandx{\Basic@Tree@off}[5][1=1, usedefault]{{% \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] \ifx\leaf@or@not@leaf\@leaf@is@leaf% \draw[#2] (0-\Tree@Off@line,0) -- (0-\Tree@Off@line,1.08+0.05*#1/100); \draw[#3] (0-\Tree@Off@line,1.08+0.05*#1/100) -- (1.2+\Tree@Off@line,1.08+0.05*#1/100); \draw[#4] (1.2+\Tree@Off@line,1.08+0.05*#1/100) -- (1.2+\Tree@Off@line,0); \draw[#3] (1.2+\Tree@Off@line,0) -- (0.5,0); \draw[#4] (0.5+0.4*#1/100,0) -- (0-\Tree@Off@line,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}% \fi% }} % \end{macrocode} %\end{macro} %\begin{macro}{\Basic@Tree@on} % We define \verb|\Basic@Tree@on|; it will be shown if \verb|tree=on|: % \begin{macrocode} \DeclareRobustCommandx{\Basic@Tree@on}[5][1=1, usedefault]{{% \set@tkzsymblsscl{#1}\ifdim\tkzsymblsscl<0pt \@tkzssmbls@negtrue\fi% \def\leaf@or@not@leaf{#5}% \@Tree@SetUp% \pgfarrowsdeclare{leaf}{leaf}% {\pgfarrowsleftextend{-.1ex} \pgfarrowsrightextend{-0.05ex}}% {% \pgfpathmoveto{\pgfpoint{-.01ex}{0ex}}% \pgfpatharc{150}{30}{0.08ex}% dicke \pgfpatharc{-30}{-150}{0.08ex}% \pgfusepathqfill% }% \colorlet{trunk}{#2}% \colorlet{leaf a}{#3}% \colorlet{leaf b}{#4}% \begin{tikzpicture}[x=1ex,y=1ex,line width=0.07ex]% \ifx\leaf@or@not@leaf\@leaf@is@leaf% \if@tkzssmbls@neg% \draw[opacity=0,scale=#1+0.1*#1] (-0.82+0.1*#1/100,0) rectangle (0.82-0.1*#1/100, 1.4-0.01*#1/100); \else \draw[opacity=0,scale=#1+0.1*#1] (-0.82-0.1*#1/100,0) rectangle (0.82+0.1*#1/100, 1.4+0.01*#1/100); \fi% \else \draw[opacity=0,scale=#1+0.1*#1] (-0.75,-0.01) rectangle (0.75,1.3); \fi \pgflowlevel{\pgftransformscale{#1+0.02ex}}{% \coordinate (root) [grow cyclic,rotate=90] child { child [line cap=round] foreach \a in {0,1, 2} { child foreach \b in {0,1} { child foreach \c in {0,1,2} { child foreach \d in {0,1} { child foreach \leafcolor in {leaf a,leaf b} { edge from parent [color=\leafcolor,-#5] } }}} } edge from parent [shorten >=-0.05ex,serif cm-,line cap=butt] };}% \end{tikzpicture}% \@tkzssmbls@negfalse% }}% % \end{macrocode} %\end{macro} % %\begin{macro}{\ProcessOptionsX*} %Again a code from the internet (don't know what \verb|\relax| does): % \begin{macrocode} \ProcessOptionsX*\relax % \end{macrocode} %\end{macro} % \subsection{Cookingsymbolcode} % %\begin{macro}{\Kochtopf = \pot} % I am using \verb|\DefineRobustCommand| so that the symbols can be used in \verb|\section{}|, \verb|\footnote|, \verb|\index{}|, etc. % You can either use the german commands or the english ones: % \begin{macrocode} \DeclareRobustCommand{\Kochtopf}[1][1]{% \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); \draw(1,0.4) arc (90:-90:0.1); \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}] (0,0.35) -- (1,0.35); \draw (0.1,0.25) circle (0.04); \draw (0.3,0.2) circle (0.04); \draw (0.13, 0.125) circle (0.04); \draw (0.6,0.25) circle (0.04); \draw (0.45,0.1) circle (0.04); \draw (0.88,0.2) circle (0.04); \draw (0.7,0.11) circle (0.04); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } \let\pot\Kochtopf % \end{macrocode} %\end{macro} % %\begin{macro}{\Bratpfanne = \fryingpan} % You may wonder why I am writing something like: \verb|amplitude=.12ex*#1|. % Well it's hard to explain in english, but I try my best: % After being scaled the symbols would not look so good without \verb|*#1|. % The lines would be too thin, the corners not rounded enough, etc. % 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}% \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] (-1,0) -- (1,0) -- (1.5,0.4) -- (-1.5,0.4) -- cycle; \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] (-0.3,0.5) -- (-0.3,1); \draw[line width=0.035ex*\tkzsymblsscl, decorate] (0.3,0.5) -- (0.3,1); \draw[line width=0.035ex*\tkzsymblsscl, decorate] (-1,0.5) -- (-1,1); \draw[line width=0.035ex*\tkzsymblsscl, decorate] (1,0.5) -- (1,1); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } \let\fryingpan\Bratpfanne % \end{macrocode} %\end{macro} % %\begin{macro}{\Schneebesen = \eggbeater} % The next one: % \begin{macrocode} \DeclareRobustCommand{\Schneebesen}[1][1]{% \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)] (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)] (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.15,0.0) and (-0.15,0.2) .. (0,0.4); \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)] (0,0) .. controls (-0.05,0.0) and (-0.05,0.2) .. (0,0.4); \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)] (0,0) --(0,0.4); \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 % \end{macrocode} %\end{macro} % % %\begin{macro}{\Sieb = \sieve} % Now a long one; % \begin{macrocode} \DeclareRobustCommand{\Sieb}[1][1]{% \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); \draw(0.25,0) arc (180:360:0.35); \draw (0.3,0) arc (180:360:0.3); \draw (0.35,0) arc (180:360:0.25); \draw (0.4,0) arc (180:360:0.2); \draw (0.45,0) arc (180:360:0.15); \draw (0.5,0) arc (180:360:0.1); \draw (0.55,0) arc (180:360:0.05); \draw (.95,0) -- (0.95,-0.194); \draw (.9,0) -- (0.9,-0.265); \draw (.85,0) -- (0.85,-0.313); \draw (.8,0) -- (0.8,-0.345); \draw (.75,0) -- (0.75,-0.37); \draw (.7,0) -- (0.7,-0.39); \draw (.65,0) -- (0.65,-0.4); \draw (.6,0) -- (0.6,-0.4); \draw (.55,0) -- (0.55,-0.4); \draw (.5,0) -- (0.5,-0.39); \draw (.45,0) -- (0.45,-0.37); \draw (.4,0) -- (0.4,-0.348); \draw (.35,0) -- (0.35,-0.314); \draw (.3,0) -- (0.3,-0.265); \draw (.25,0) -- (0.25,-0.194); \draw (0.2,-0.05) -- (1,-0.05); \draw (0.21,-0.1) -- (0.99,-0.1); \draw (0.23,-0.15) -- (0.97,-0.15); \draw (0.255,-0.2) -- (0.945,-0.2); \draw (0.289,-0.25) -- (0.911,-0.25); \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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Purierstab = \blender} % Da es keine Umlaute gibt, werden \"a, \"u, \"o einfach zu: a, u, o. % 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}% \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) -- (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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Dreizack = \trident} % Important for cooking: % \begin{macrocode} \DeclareRobustCommand{\Dreizack}[1][1]{% \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)] (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] (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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Backblech = \bakingplate} % I may have too many strange words: % \begin{macrocode} \DeclareRobustCommand{\Backblech}[1][1]{% \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] (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] (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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Ofen = \oven} % I may have again too many strange words: % \begin{macrocode} \DeclareRobustCommand{\Ofen}[1][1]{% \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); \foreach \@Ofenschalter in {0.5,1.1,2.9,3.5} \fill (\@Ofenschalter,2.5) circle (0.22); \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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Pfanne = \pan} % I can't think of a better word \dots: % \begin{macrocode} \DeclareRobustCommand{\Pfanne}[1][1]{% \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] (-0.05,0.1) -- (0.95,0.1); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } \let\pan\Pfanne % \end{macrocode} %\end{macro} % %\begin{macro}{\Herd = \cooker} % I hope it' the right translation: % \begin{macrocode} \DeclareRobustCommand{\Herd}[1][1]{% \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); \draw (0.5,0.45) circle (0.2); \draw (1.45,0.45) circle (0.3); \draw (0.5,1.15) circle (0.21); \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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Saftpresse = \squeezer} % It's an old squeezer: % \begin{macrocode} \DeclareRobustCommand{\Saftpresse}[1][1]{% \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] (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] (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 % \end{macrocode} %\end{macro} % %\begin{macro}{\Schussel = \bowl} % It may looks a bit queery, but I like it. % Wieder dasselbe mit den Umlauten: \"u=u. % \begin{macrocode} \DeclareRobustCommand{\Schussel}[1][1]{% \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] (-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); \draw[opacity=0] (-0.4,0) -- (1.85,0); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } \let\bowl\Schussel % \end{macrocode} %\end{macro} % % %\begin{macro}{\Schaler = \peeler} % I cannot believe I forgot this command. I made it and forgot to copy and paste it inside this document!!!! % Jedenfalls wieder \"a=a: % \begin{macrocode} \DeclareRobustCommand{\Schaler}[1][1]{% \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.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 % \end{macrocode} %\end{macro} % % % % % % % \subsection{Emoticonscode} % %\begin{macro}{\Sadey \dSadey} % An other name of Sadey is Frowny, but I named it Sadey because there are enough Frownys in the world. % All ``3D'' Emoticons start with \verb|\d...|, and all Emoticons end with an ``ey'' (exception: ``Cat'', ``Ninja'', and else). % 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}% \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); \fill (0.1,0.1) circle (0.05); \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}% \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} %\end{macro} % % % %\begin{macro}{\Annoey \dAnnoey} % An annoyed Smiley -\_- % \begin{macrocode} \DeclareRobustCommandx{\Annoey}[2][1=1,2={opacity=0},usedefault]{% \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); \draw (0.08,0.1) -- (0.22,0.1); \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}% \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} %\end{macro} % % %\begin{macro}{\Smiley \dSmiley} % A normal Smiley % \begin{macrocode} \if@tikzsymbols@marvosym\relax\else% \DeclareRobustCommandx{\Smiley}[2][1=1,2={opacity=0} ,usedefault]{% \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); \fill (-0.1,0.1) circle (0.05); \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}% \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} %\end{macro} % %\begin{macro}{\Laughey \dLaughey} % A laughing Smiley % \begin{macrocode} \DeclareRobustCommandx{\Laughey}[3][1=1,2={opacity=0},3={opacity=0} ,usedefault]{% \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); \draw (-0.09,0.06) .. controls (-0.11,0.16) and (-0.17,0.16) .. +(-0.1,0); \draw (0.09,0.06) .. controls (0.11,0.16) and (0.17,0.16) .. +(0.1,0); \fill[#3,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; \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}% \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); \draw (0.09,0.06) .. controls (0.11,0.16) and (0.17,0.16) .. +(0.1,0); \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} %\end{macro} % %\begin{macro}{\Neutrey \dNeutrey} % neutral Smiley \verb+:|+ % \begin{macrocode} \DeclareRobustCommandx{\Neutrey}[2][1=1, 2={opacity=0}, usedefault]{% \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); \fill (0.1,0.1) circle (0.05); \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}% \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} %\end{macro} % %\begin{macro}{\Winkey \dWinkey} % ;) % \begin{macrocode} \DeclareRobustCommandx{\Winkey}[2][1=1,2={opacity=0} ,usedefault]{% \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); \draw(0.17,0.1) -- (0.05,0.1); \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}% \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} %\end{macro} % %\begin{macro}{\Sey \dSey} % I can't think of a better name \verb|:S| % \begin{macrocode} \DeclareRobustCommandx{\Sey}[2][1=1,2={opacity=0} ,usedefault]{% \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); \fill (0.1,0.1) circle (0.05); \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}% \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} %\end{macro} % %\begin{macro}{\Xey \dXey} % I can't think of a better name again. % \begin{macrocode} \DeclareRobustCommandx{\Xey}[2][1=1, 2={opacity=0}, usedefault]{% \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); \draw (0.05,0.05) -- ++ (0.1,0.1); \draw (0.15,0.05) -- ++ (-0.1,0.1); \draw (-0.05,0.05) -- ++ (-0.1,0.1); \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}% \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); \draw (0.15,0.05) -- ++ (-0.1,0.1); \draw (-0.05,0.05) -- ++ (-0.1,0.1); \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} %\end{macro} % %\begin{macro}{\Innocey \dInnocey} % An innocent Smiley % \begin{macrocode} \DeclareRobustCommandx{\Innocey}[3][1=1,2={opacity=0},3=yellow ,usedefault]{% \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); \fill (-0.1,0.1) circle (0.05); \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); \draw[#3, line width=0.095ex*\tkzsymblsscl] (0.32,0.31) arc (0:360:0.32 and 0.1); \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}% \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); \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); \draw[color=#3!97!black, line width=0.09ex*\tkzsymblsscl] (0.32,0.31) arc (0:360:0.32 and 0.1); \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} %\end{macro} % %\begin{macro}{\Cooley \dCooley} % Don't know what I shall write here. % \begin{macrocode} \DeclareRobustCommandx{\Cooley}[2][1=1,2={opacity=0} ,usedefault]{% \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); \fill[rounded corners=0.1ex*\tkzsymblsscl] (0.24,0.15) -- (0.01,0.15) -- (0.01,0) -- (0.24,0) -- cycle; \fill[rounded corners=0.1ex*\tkzsymblsscl] (-0.24,0.15) -- (-0.01,0.15) -- (-0.01,0) -- (-0.24,0) -- cycle; \draw (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \draw (0.02,0.1) -- (-0.02,0.1); \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}% \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); \draw[black] (-0.2,0.1) -- (-0.295,0.146); \draw[black] (0.2,0.1) -- (0.295,0.146); \shade[ball color=black,rounded corners=0.1ex*\tkzsymblsscl] (0.24,0.15) -- (0.01,0.15) -- (0.01,0) -- (0.24,0) -- cycle; \shade[ball color=black,rounded corners=0.1ex*\tkzsymblsscl] (-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} %\end{macro} % %\begin{macro}{\Tongey \dTongey} % :P % \begin{macrocode} \DeclareRobustCommandx{\Tongey}[3][1=1,2={opacity=0},3={opacity=0} ,usedefault]{% \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); \fill (-0.1,0.1) circle (0.05); \fill (0.1,0.1) circle (0.05); \fill[#3,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); \draw[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); \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}% \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); \shade[ball color=black] (0.1,0.1) circle (0.05); \shade[ball color=#3,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); \draw[black, 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); \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} %\end{macro} % %\begin{macro}{\Nursey \dNursey} % 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}% \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); \fill[#2] (0,0) circle (0.3); \draw (0,0) circle (0.3); \fill (-0.1,0.1) circle (0.05); \fill (0.1,0.1) circle (0.05); \draw[line width=0.09ex*\tkzsymblsscl, yshift=0.07ex] (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \draw[rounded corners=.023ex*\tkzsymblsscl] (-0.3,0) -- (-0.3,0.3) -- (0,0.6) -- (0.3,0.3) -- (0.3,0); \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}% \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); \shade[ball color=black] (0.1,0.1) circle (0.05); \draw[black, line width=0.09ex*\tkzsymblsscl, yshift=0.07ex] (-0.2,-0.1) .. controls (-0.1,-0.2) and (0.1,-0.2) .. (0.2,-0.1); \shade[ball color=#3, rounded corners=.023ex*\tkzsymblsscl,yshift=-0.09ex] (-0.3,0) -- (-0.3,0.3) -- (0,0.6) -- (0.3,0.3) -- (0.3,0) arc (0:180:0.3); \shade[ball color=#4,line width=.046ex*\tkzsymblsscl] (-0.01,0.31) -- (-0.01,0.46) -- (0.01,0.46) -- (0.01,0.31)--cycle; \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} %\end{macro} % %\begin{macro}{\Vomey \dVomey} % *Bl\"a\"argh* % \begin{macrocode} \DeclareRobustCommandx{\Vomey}[3][1=1,2={opacity=0},3={opacity=0},usedefault]{% \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; \draw[line width=0.05ex*\tkzsymblsscl] (-0.5,0.3) -- (-0.3,0.1); \fill (-0.45,0.27) arc (100:350:0.1); \fill[#3] (1.8,-0.5) .. controls (2.5,-0.3) and (2.8,-0.7) .. (2.5,-1) .. 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); \fill[#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); \draw (0,-0.4) .. controls (1,0) and (2,-1) .. (2,-1); \draw (0,-0.4) .. controls (0.5,-0.5) and (0.8,-0.7) .. (1,-1); \draw (1.8,-0.5) .. controls (2.5,-0.3) and (2.8,-0.7) .. (2.5,-1) .. 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}% \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; \draw[black, line width=0.05ex*\tkzsymblsscl] (-0.5,0.3) -- (-0.3,0.1); \shade[ball color=black] (-0.45,0.27) arc (100:350:0.1); \shade[ball color=#3] (1.8,-0.5) .. controls (2.5,-0.3) and (2.8,-0.7) .. (2.5,-1) .. 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); \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} %\end{macro} % %\begin{macro}{\Walley \dWalley} % 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}% \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); \draw[line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.28); \fill[#3] (0.28,-0.33) rectangle (0.66,0.33); \draw (0.28,-0.33) rectangle (0.66,0.33); \draw[line width=0.06ex*\tkzsymblsscl] (0.28,0) --++(0.05,0.07) --++(0.03,0.02) --+ +(0.03,-0.02) --++(0.03,0.1) --++(0.03,0.02) -- (0.5,0.25); \draw[line width=0.06ex*\tkzsymblsscl] (0.28,0) --++(0.06,-0.02) --++(0.04,0.06) --+ +(0.0,-0.08) --++(0.08,0.06) --++(0.03,-0.02) --+(0.08,0.02) -- (0.6,0.0); \draw[line width=0.06ex*\tkzsymblsscl] (0.28,0) --++(0.03,-0.02) --++(0.03,-0.07) --+ +(0.03,-0.01) --++(0.01,-0.07) --++(0.06,0.01) --++(0.03,-0.08) -- (0.5,0.-0.25); \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}% \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); \draw[line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.28); \fill[#3] (0.28,-0.33) rectangle (0.66,0.33); \draw (0.28,-0.33) rectangle (0.66,0.33); \draw[decorate, line width=0.06ex*\tkzsymblsscl] (0.28,0) -- (0.5,0.25); \draw[decorate,line width=0.06ex*\tkzsymblsscl] (0.28,0) -- (0.6,0.0); \draw[decorate,line width=0.06ex*\tkzsymblsscl] (0.28,0) -- (0.5,-0.25); \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}% \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); \draw[line width=0.06ex*\tkzsymblsscl] (0.28,0) --++(0.05,0.07) --++(0.03,0.02) --+ +(0.03,-0.02) --++(0.03,0.1) --++(0.03,0.02) -- (0.5,0.25); \draw[line width=0.06ex*\tkzsymblsscl] (0.28,0) --++(0.06,-0.02) --++(0.04,0.06) --+ +(0.0,-0.08) --++(0.08,0.06) --++(0.03,-0.02) --+(0.08,0.02) -- (0.6,0.0); \draw[line width=0.06ex*\tkzsymblsscl] (0.28,0) --++(0.03,-0.02) --++(0.03,-0.07) --+ +(0.03,-0.01) --++(0.01,-0.07) --++(0.06,0.01) --++(0.03,-0.08) -- (0.5,0.-0.25); \shade[ball color=#2, line width=0.08ex*\tkzsymblsscl] (-0.01,0) circle (0.31); \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}% \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); \draw[decorate, line width=0.06ex*\tkzsymblsscl] (0.298,0) -- (0.5,0.25); \draw[decorate,line width=0.06ex*\tkzsymblsscl] (0.298,0) -- (0.6,0.0); \draw[decorate,line width=0.06ex*\tkzsymblsscl] (0.298,0) -- (0.5,-0.25); \shade[ball color=#2, line width=0.08ex*\tkzsymblsscl] (-0.01,0) circle (0.31); \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} %\end{macro} %\begin{macro}{\Cat} % *Miau* % \begin{macrocode} \DeclareRobustCommandx{\Cat}[1][1=1,usedefault]{% \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); \draw[rounded corners=0.163ex*\tkzsymblsscl] (0,0.3) -- (0.35,0.5) -- (0.3,0); \fill (-0.15,.15) circle (0.05); \fill (0.15,.15) circle (0.05); \draw[rounded corners=0.175ex*\tkzsymblsscl,yshift=-0.12ex] (0,0) -- (0,-0.1) -- (-0.1,-0.095); \draw[rounded corners=0.175ex*\tkzsymblsscl,yshift=-0.12ex] (0,0) -- (0,-0.1) -- (0.1,-0.095); \draw[rounded corners=.12ex*\tkzsymblsscl,yshift=-.15ex, line width=0.03em*(#1-.#1)] (-0.1,0.1) -- (0,0) -- (0.1,0.1) -- cycle ; \draw[line width=0.035ex*\tkzsymblsscl] (-0.1,-0.05)..controls(-0.25,0)and(-0.35,0).. (-0.4,-0.05); \draw[line width=0.035ex*\tkzsymblsscl](-0.1,-0.05).. controls(-0.25,-0.01)and(-0.35,-0.09).. (-0.4,-0.14); \draw[line width=0.035ex*\tkzsymblsscl](-0.1,-0.05).. controls(-0.25,-0.045)and(-0.35,-0.13).. (-0.4,-0.23); \draw[line width=0.035ex*\tkzsymblsscl] (0.1,-0.05)..controls(0.25,0)and(0.35,0).. (0.4,-0.05); \draw[line width=0.035ex*\tkzsymblsscl] (0.1,-0.05)..controls(0.25,-0.01)and(0.35,-0.09).. (0.4,-0.14); \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} %\end{macro} % %\begin{macro}{\Ninja \dNinja} % A Ninja. % \begin{macrocode} \DeclareRobustCommandx{\Ninja}[4][1=1, 2=black, 3=red, 4=white, usedefault]{% \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, decoration={random steps,segment length=0.1ex*\tkzsymblsscl, amplitude=0.1ex*\tkzsymblsscl}] \fill[#2, line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.33); %\draw (-0.2,-0.125) -- ++(0.4,0); \fill[decoration={random steps,segment length=0.1ex*\tkzsymblsscl, amplitude=0.01ex*\tkzsymblsscl}, decorate,#3] (-0.33,0) -- (0.33,0) -- (0.23,0.23) -- (-0.23,0.23) -- cycle; \ifx\Black@or@not@Black\Black@is@Black \draw[line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.33);\fi \fill[#3] (0,0.1) -- (-0.33,0) -- (-0.26,0.23); \fill[#3] (0.3465,0) arc (0:42:0.34 and 0.345) -- (0.2,0.23)-- (0.31,0.0) -- cycle; \fill[#3] (-0.3465,0) arc (0:-42:-0.34 and -0.345) -- (-0.2,0.23)-- (-0.31,0.0) -- cycle; \fill[#4] (0.129,0.1425) arc (55:-180:.05); \fill[#4] (-0.129,0.1425) arc (-55:180:-.05); \draw[decorate,decoration={snake,amplitude=.1ex*\tkzsymblsscl, segment length=0.55ex*\tkzsymblsscl}, #3] (0.26,0.21) -- (0.5,0.35); \draw[decorate,decoration={snake,amplitude=.1ex*\tkzsymblsscl, segment length=0.55ex*\tkzsymblsscl}, #3] (0.26,0.21) -- (0.53,0.1); \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}% \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, decoration={random steps,segment length=0.1ex*\tkzsymblsscl, amplitude=0.1ex*\tkzsymblsscl}] \draw[ decorate,decoration={snake,amplitude=.1ex*\tkzsymblsscl, segment length=0.55ex*\tkzsymblsscl},decorate, #3!50!black] (0.26,0.21) -- (0.5,0.35); \draw[ decorate,decoration={snake,amplitude=.1ex*\tkzsymblsscl, segment length=0.5ex*\tkzsymblsscl},decorate, #3!50!black] (0.26,0.21) -- (0.53,0.1); \shade[ball color=#2, line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.347); %\draw (-0.2,-0.125) -- ++(0.4,0); \ifx\Black@or@not@Black\Black@is@Black \draw[line width=0.08ex*\tkzsymblsscl] (0,0) circle (0.33);\fi \fill[decoration={random steps,segment length=0.1ex*\tkzsymblsscl, amplitude=0.01ex*\tkzsymblsscl},ball color=#3] decorate {(-0.33,0) -- (0.3465,0) } {arc (0:42:0.34 and 0.345)} decorate {-- (-0.25,0.24)} { arc (-42:0:-0.375 and -0.345)}; \shade[ball color=#4] (0.129,0.1425) arc (55:-180:.05); \shade[ball 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); \shade[top color=#4!80!black, bottom color=#4] (-0.129,0.1425) arc (-55:180:-.05); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} %\end{macro} % %\begin{macro}{\NiceReapey} % Not very well made. % But it's better than nothing % \begin{macrocode} \DeclareRobustCommandx{\NiceReapey}[1][1=1,usedefault]{% \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) arc (260:100:-1.3 and -2) -- cycle; \fill[black!20!white] (3,3) .. controls (5,3) and (6,2) .. (7,1.5) -- (3,1.5) -- cycle; \draw (3,-3) -- (3,3) .. controls (5,3) and (6,2) .. (7,1.5) -- (3,1.5); \draw (0,-1.5) circle (1 and 0.5); \draw[line width=0.04ex*\tkzsymblsscl] (-0.2,-1) -- (-0.2,-2); \draw[line width=0.04ex*\tkzsymblsscl] (0.2,-1) -- (0.2,-2); \draw[line width=0.04ex*\tkzsymblsscl] (0.6,-1) -- (0.6,-2); \draw[line width=0.04ex*\tkzsymblsscl] (-0.6,-1) -- (-0.6,-2); \draw[line width=0.04ex*\tkzsymblsscl] (-1,-1.5) -- (1,-1.5); \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} %\end{macro} % % % \subsection{Other symbols(s)} %\begin{macro}{\Person} % My first symbol: a person. % 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}% \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); \draw (.15,.2) -- (.15,.4); \draw[rotate around={#3:(.15,.4)}] (.15,.4) -- (.42,.4); \draw[rotate around={#2:(.15,.4)}] (.15,.4) -- (-0.12,.4); \draw (.15, .4) -- (.15, .53); \draw (.15,.8) circle (0.18); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} %\end{macro} %\begin{macro}{\Candle} % A burning candle % \begin{macrocode} \DeclareRobustCommand{\Candle}[1][1]{% \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); \draw[xshift=0.95, yshift=2.2, line width=0.04ex*\tkzsymblsscl] (-0.1,0.6) .. controls (-0.4,0.8) and (-0.1,1) .. (-0.1,1.2); \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} %\end{macro} % %\begin{macro}{\Fire} % Just a fire. % \begin{macrocode} \DeclareRobustCommand{\Fire}[1][1]{% \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; \fill[rotate=-20, xshift=-1.3, yshift=-0.1] (-0.05,0.07) -- (0.05,0.07) -- (0.05,0.9) -- (-0.05,0.9) -- cycle; \fill[rotate=-70, xshift=-3.3, yshift=-2.3] (-0.05,0.07) -- (0.05,0.07) -- (0.05,0.9) -- (-0.05,0.9) -- cycle; \fill[rotate=135, xshift=2.5, yshift=-3.8] (-0.05,0.07) -- (0.05,0.07) -- (0.05,0.9) -- (-0.05,0.9) -- cycle; \draw[rotate=-45, xshift=-2.6, yshift=1.5,line width=0.04ex*\tkzsymblsscl, x=0.5ex, y=0.5ex] (-0.1,0.29) .. controls (-0.7,0.6) and (0,1.2) .. (0.05,1.7); \draw[rotate=-45, xshift=-2.1,yshift=1.5,line width=0.04ex*\tkzsymblsscl, x=0.5ex, y=0.5ex] (-0.1,0.29) .. controls (0.7,0.6) and (-0.1,1.2) .. (-0.15,1.7); \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} %\end{macro} % %\begin{macro}{\Cofeecup} % Just a cup of coffee. % \begin{macrocode} \if@tikzsymbols@marvosym\relax\else% \DeclareRobustCommand{\Coffeecup}[1][1]{% \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*\tkzsymblsscl, decorate] (1,0.3) -- +(0,1); \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 % \end{macrocode} %\end{macro} %\begin{macro}{\Chair} % A chair. % \begin{macrocode} \DeclareRobustCommand{\Chair}[1][1]{% \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); \draw (0,0) -- (0.5,0.3) -- (1,0) --(1,-0.5); \if@tkzssmbls@neg\draw (0.5,0.3) -- +(0,-0.5);\fi \draw (0.5,-0.3) -- (0.5,-0.8); \draw (1,0) -- (0.5,-0.3) -- (0,0); \end{tikzpicture}% \fi% \@tkzssmbls@negfalse% \tikzsymbolsaftersymbolinput% } % \end{macrocode} %\end{macro} %\begin{macro}{\Bed} % A bed. % \begin{macrocode} \DeclareRobustCommand{\Bed}[1][1]{% \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); \draw (0,0.5) -- (3,0.5); \draw (0,0.35) -- (3,0.35); \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} %\end{macro} %\begin{macro}{\Tribar} % Also called Penrose-Triangle % \begin{macrocode} \DeclareRobustCommandx{\Tribar}[4][1=1,2={opacity=0},3={opacity=0},4={opacity=0},usedefault] {% \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) -- (-0.65,-0.6) -- (0.35,1.3) -- +(0.15,-0.3); \fill[#3] (0,0) -- (1.3,0) -- (0.35,1.9) -- (0.65,1.9) -- (1.75,-0.3) -- (-0.1,-0.3); \fill[#4] (1,0) -- (0.35,1.3) -- (-0.65,-0.6) -- ++ (-0.15,0.3) -- (0.35,1.9) -- (1.3,0); \draw (0,0) -- (1,0) -- (0.5,1) -- cycle; \draw (0.15,0.3) -- (-0.15,-0.3) -- (1.75,-0.3) -- ++ (-0.15,-0.3) -- (-0.65,-0.6) -- (0.35,1.3) -- (0.8,.4); \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} %\end{macro} % %\begin{macro}{\Moai} % From the Easter Island: a Moai. % \begin{macrocode} \DeclareRobustCommandx{\Moai}[1][1=1,usedefault]{% \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% \ifdim \tkzsymblsscl<5pt% \def\tikzsymbolsMoaithickness{0.035ex}% \else% \def\tikzsymbolsMoaithickness{0.03ex}% \fi\fi% \begin{tikzpicture}[x=.13ex, y=.13ex, rounded corners=0.01ex*\tkzsymblsscl, scale=#1, line width=\tikzsymbolsMoaithickness*\tkzsymblsscl] \draw (-2.6,-4.25) -- (-2.5,-5.8) ..controls (-2,-6.8) and (1.5,-6.8) .. (2.2,-5.8) -- (2.4,-3.95); \draw(-2.5,2.5) .. controls (-2.9,4.6) and (2,5) .. (3.3,2.5) -- (2.9,-3.4) .. controls (2,-5) and (-4,-5) .. (-3.1,-3) -- cycle; \draw (-2.5,3) -- (-2,5) .. controls (0,6) and (2,5.8) .. (3.1,4.7) -- (3.3,2.5); \draw[line width=0.02ex*\tkzsymblsscl] (-2.2,-1.8) .. controls (-1,-1.3) and (0,-1.7) .. (1,-2); \draw[line width=0.02ex*\tkzsymblsscl] (-2.2,-1.8) .. controls (-1,-1) and (0,-1.4) .. (1,-2); \draw[line width=0.02ex*\tkzsymblsscl] (-2.2,-1.8) .. controls (-1,-2) and (0,-2) .. (1,-2); \draw (-0.8,4) .. controls (-0.8,3) and (-0.8,2) .. (-1.6,0.5) -- (-1.8,-0.4) .. controls (-1,0.2) and (0,0.2) .. (0.6,-0.4) -- (0.7,0.4) .. controls (0,1) and (0,2) .. (0.8,4); \draw (-1.8,-0.4) .. controls (-0.5,-0.5) and (0,-0.5) .. (0.6,-0.4); \draw (3.2,3.5) -- (3.7,3.5) .. controls (3.5,2) and (3.5,2) .. (3.6,-1.5) -- (3,-1.9); \draw (-2.5,3) .. controls (-2.7,2) and (-3,1) .. (-2.88,-1); \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} %\end{macro} %\begin{macro}{\Snowman} % A snowman. I think his smile is scary. % \begin{macrocode} \DeclareRobustCommand{\Snowman}[1][1]{% \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); \draw[line width=0.05ex*\tkzsymblsscl] (0,1.14) circle (0.2 and 0.2); \draw[rounded corners=0.1ex*\tkzsymblsscl,line width=0.05ex*\tkzsymblsscl, rotate around={-30:(0,1.14)}] (-0.2,1.15) -- ++(0,0.35) -- +(0.4,0) -- (0.2,1.14); \draw[rounded corners=0.07ex*\tkzsymblsscl,line width=0.05ex*\tkzsymblsscl, rotate around={-30:(0,1.14)}] (-0.2,1.19) arc (270:90:0.1); \fill (0,0.78) circle (0.04); \fill (0,0.63) circle (0.04); \fill (0,0.48) circle (0.04); \fill (0,0.2) circle (0.05); \fill (0,0) circle (0.05); \fill (0,-0.2) circle (0.05); \fill (-0.06,1.18) circle (0.045); \fill (0.06,1.18) circle (0.045); \fill (0.1,1.08) circle (0.015); \fill (-0.1,1.08) circle (0.015); \fill (0.06,1.055) circle (0.015); \fill (-0.06,1.055) circle (0.015); \fill (0.02,1.039) circle (0.015); \fill (-0.02,1.039) circle (0.015); \draw (-0.3,0.7) -- (-0.6,0.8); \draw (-0.6,0.8) -- (-0.75,0.7); \draw (-0.6,0.8) -- (-0.55,1); \draw (-0.6,0.8) -- (-0.8,0.9); \draw[line width=0.06ex*\tkzsymblsscl] (-0.65,0) -- (-0.65,1); \foreach\x in {-0.85, -0.75,-0.65,-0.55,-0.45} \draw[line width=0.05ex*\tkzsymblsscl] (-0.65,1) -- (\x,1.3); \draw (0.3,0.7) -- (0.6,0.8); \draw (0.6,0.8) -- (0.75,0.7); \draw (0.6,0.8) -- (0.6,1); \draw (0.6,0.8) -- (0.8,0.9); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} %\end{macro} % % \subsection{Trees} % Many great ideas are stolen. % Don't know who said that, but it's true. % % %\begin{macro}{\BasicTree} % We define our \verb|\BasicTree|. We check if the last paramter is ``leaf'', if not we check if the last paramter is empty, if not we generate an error meassge: % \begin{macrocode} \newcommand\BasicTree[5][1]{% \def\leaf@or@not@leaf{#5}% \ifx\leaf@or@not@leaf\@leaf@is@leaf% \Basic@Tree[#1]{#2}{#3}{#4}{#5}\tikzsymbolsaftersymbolinput% \else% \ifx\\#5\\% \Basic@Tree[#1]{#2}{#3}{#4}{#5}\tikzsymbolsaftersymbolinput% \else% \PackageError{tikzsymbols}{The last\MessageBreak parameter has either to be \MessageBreak `leaf` or has to be empty}{See the tikzsymbols documentation. Section ``Trees''.}% \fi\fi% } % \end{macrocode} %\end{macro} % %\begin{macro}{\WorstTree} % An extremly bad Tree. It's really worst. % \begin{macrocode} \DeclareRobustCommand{\WorstTree}[1][1]{% \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); \draw (-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) ; \fill[green] (0.2,0.8) -- (0,0.8) .. controls (-0.4,0.7) and (-0.4,1) .. (-0.3,1.2) .. controls (-0.3, 1.6) and (-0.1,1.6) .. (0.1,1.5) .. controls (0.3,1.8) and (0.6,1.6) .. (0.7,1.5) .. controls (1.1, 1.6) and (1,1.4) .. (1,1.2) .. controls (1.2,1) and (1.2,0.7) .. (0.8,0.8) -- (0.5,0.8); \draw (0.214,0.8) -- (0,0.8) .. controls (-0.4,0.7) and (-0.4,1) .. (-0.3,1.2) .. controls (-0.3, 1.6) and (-0.1,1.6) .. (0.1,1.5) .. controls (0.3,1.8) and (0.6,1.6) .. (0.7,1.5) .. controls (1.1, 1.6) and (1,1.4) .. (1,1.2) .. controls (1.2,1) and (1.2,0.7) .. (0.8,0.8) -- (0.486,0.8); \fill[red] (0,1) circle (0.1); \fill[red] (0.4,1.2) circle (0.1); \fill[red] (0.8,1.1) circle (0.1); \end{tikzpicture}% \fi% \tikzsymbolsaftersymbolinput% } % \end{macrocode} %\end{macro} %\begin{macro}{\Springtree} %\begin{macro}{\Summertree} %\begin{macro}{\Autumntree} %\begin{macro}{\Wintertree} % Some predefined Trees. % % ``Hey that look like the trees in the \dots'' -- ``Yes, Yes, I know!''. % % We don't need \verb|\tikzsymbolsaftersymbolinput| because it is already defined in \verb|\BasicTree|. % \begin{macrocode} \DeclareRobustCommandx{\Springtree}[1][1=1, usedefault]% {\BasicTree[#1]{brown!70!black}{green!90!black}{green!80!black}{leaf}} \DeclareRobustCommandx{\Summertree}[1][1=1, usedefault]% {\BasicTree[#1]{brown!50!black}{green!80!black}{red!80!green}{leaf}} \DeclareRobustCommandx{\Autumntree}[1][1=1, usedefault]% {\BasicTree[#1]{red!30!black}{red!75!black}{orange}{leaf}} \DeclareRobustCommandx{\Wintertree}[1][1=1, usedefault]% {\BasicTree[#1]{black!80!}{black!50}{black!25}{}} % \end{macrocode} %\end{macro} %\end{macro}\end{macro}\end{macro} % \begin{macrocode} \AtBeginDocument{ \if@tikzsymbols@marvosym \@ifpackageloaded{marvosym}{}{% \PackageError{tikzsymbols}{Use option 'marvosym' only\MessageBreak if you load package 'marvosym'} {Either load package 'marvosym' or\MessageBreak delete the tikzsymbols option 'marvosym'}} \fi } % \end{macrocode} % Well that's it. Happy \TeX ing! % % PS. Something went wrong with the Change History, but I don't know what. \DeclareRobustCommand{\@Keep@Cool@I}{% \begin{tikzpicture}[x=1em, y=1em, line width=0.03em] \fill[decorate,decoration={snake,amplitude=.02em,segment length=0.4em},cyan!20!] (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle; \draw (0.3,0.3) -- (0.55,0.7);% Kšrper \draw (0.05,0.4) -- (0.3,0.3) -- (0.1,0.1); \draw (0.3,0.8) -- (0.5,0.61); \draw (0.49,0.61) -- (0.8,0.65); \draw (0.65,0.9) circle (0.17); \end{tikzpicture}% \MySymbolAfterSymbolinput% } \DeclareRobustCommand{\@Keep@Cool@II}{% \begin{tikzpicture}[x=1em,y=1em] \fill[decorate,decoration={snake,amplitude=.02em,segment length=0.6em},cyan!20!] (-0.3,-0.3) rectangle (0.5,1); \draw (0,-0.1) -- (0.15,0.2) -- (0.3,-0.1);% Beine \draw (.15,.2) -- (.15,.4);% Kšrper \draw (.15,.4) -- (.4,.5);% Rechter Arm \draw (.15,.4) -- (-0.1,.5);% Linker Arm \draw (.15, .4) -- (.15, .53);% Hals \draw (.15,.8) circle (0.18);% Kopf \end{tikzpicture}% \MySymbolAfterSymbolinput% } %\PrintChanges \PrintIndex