| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% |
| 3 |
% TikZ library for the tikzlings package |
| 4 |
% A package to bring cute little animals and other beings into tikz |
| 5 |
% Maintained by samcarter |
| 6 |
% |
| 7 |
% Project repository and bug tracker: |
| 8 |
% https://github.com/samcarter/tikzlings |
| 9 |
% |
| 10 |
% Released under the LaTeX Project Public License v1.3c or later |
| 11 |
% See https://www.latex-project.org/lppl.txt |
| 12 |
% |
| 13 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 14 |
\usepackage{tikzlings} |
| 15 |
|
| 16 |
\ExplSyntaxOn |
| 17 |
|
| 18 |
\clist_map_inline:Nn \g__tikzlings_names_clist |
| 19 |
{ |
| 20 |
\tikzset |
| 21 |
{ |
| 22 |
% Create a csname in the argument but don't expand it now |
| 23 |
#1/.pic/.expanded = { \exp_not:c {#1} }, |
| 24 |
#1/.search~also = { , /tikz, /pgf, /thing }, |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
\ExplSyntaxOff |
| 29 |
|
| 30 |
\tikzset{ |
| 31 |
tikzling/.pic={\tikzling}, |
| 32 |
tikzling/.search also={,/tikz,/pgf,/thing}, |
| 33 |
thing/.search also={,/tikz,/pgf}, |
| 34 |
} |