\ProvidesPackage{giraf} [2015/09/29 v0.01 Package for interesting commands] \RequirePackage{amssymb} \RequirePackage{xstring} \RequirePackage{tikz} \RequirePackage{graphicx} \newcommand\girafmathbbxxxtext{} \newcommand\girafmathbbxxxupfc{} \newcommand\girafmathbb[1]{% \renewcommand\girafmathbbxxxtext{#1}% \StrLeft{\girafmathbbxxxtext}{1}[\firstchar]% \StrGobbleLeft{\girafmathbbxxxtext}{1}[\rest]% \renewcommand\girafmathbbxxxupfc{\expandafter\MakeUppercase\expandafter\firstchar}% \IfSubStr{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}{\firstchar}{$\mathbb{\girafmathbbxxxupfc}$}{\firstchar}% \IfEq{\rest}{}{}{\girafmathbb{\rest}}% } \newcommand\blokje{\hfill$\Box$\\} \newcommand\smileyblokje{% \hfill% \begin{tikzpicture}[scale=0.22] \draw [rounded corners=0.03pt] (0,0) rectangle (1,1); \draw [line cap=round] (0.25,0.35) to [out=315,in=225] (0.75,0.35); \draw (0.4,0.7) circle [radius=0.03, fill=black]; \draw (0.6,0.7) circle [radius=0.03, fill=black]; \end{tikzpicture}% \hspace{0.6pt}\phantom{}% \\% } \newcommand\qedblokje{% \hfill% \begin{tikzpicture}[scale=0.22] \draw [rounded corners=0.03pt] (0,0) rectangle (1,1); \draw [line cap=round] (0.9,0.1) -- (1.3,-0.3); \node [scale=0.982] at (1.3,0.499) {E}; \node [scale=0.98] at (2.05,0.498) {D}; \end{tikzpicture}% \hspace{-3.2pt}\phantom{}% \\% } \newcommand\qedsmileyblokje{% \hfill% \begin{tikzpicture}[scale=0.22] \draw [rounded corners=0.03pt] (0,0) rectangle (1,1); \draw [line cap=round] (0.25,0.35) to [out=315,in=225] (0.75,0.35); \draw (0.4,0.7) circle [radius=0.03, fill=black]; \draw (0.6,0.7) circle [radius=0.03, fill=black]; \draw [line cap=round] (0.9,0.1) -- (1.3,-0.3); \node [scale=0.982] at (1.3,0.499) {E}; \node [scale=0.98] at (2.05,0.498) {D}; \end{tikzpicture}% \hspace{-3.2pt}\phantom{}% \\% } \newcommand\hoekje{% \raisebox{-0.5pt}{% \begin{tikzpicture}[scale=0.25] \draw [line cap=round] (0,1) -- (0,0) -- (1,0); \draw[black,fill=black] (0.3,0.3) circle [radius=0.15]; \end{tikzpicture}% }% } \newcommand\giraf{\includegraphics[height=0.4cm]{giraf.pdf}\hspace{3pt}}