summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-18 03:01:31 +0000
committerNorbert Preining <norbert@preining.info>2022-06-18 03:01:31 +0000
commit6864115d88342e22800eb415b70bdffaed2ca3c4 (patch)
tree87d415818851f635a14e22894ef6aa240991e067 /graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex
parentf9418ac1e9385653cfa09da311bb2d405a936334 (diff)
CTAN sync 202206180301
Diffstat (limited to 'graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex')
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex34
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex b/graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex
new file mode 100644
index 0000000000..449b2ce5b1
--- /dev/null
+++ b/graphics/pgf/contrib/tikzlings/tikzlibrarytikzlings.code.tex
@@ -0,0 +1,34 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% TikZ library for the tikzlings package
+% A package to bring cute little animals and other beings into tikz
+% Maintained by samcarter
+%
+% Project repository and bug tracker:
+% https://github.com/samcarter/tikzlings
+%
+% Released under the LaTeX Project Public License v1.3c or later
+% See http://www.latex-project.org/lppl.txt
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{tikzlings}
+
+\ExplSyntaxOn
+
+\clist_map_inline:Nn \g__tikzlings_names_clist
+ {
+ \tikzset
+ {
+ % Create a csname in the argument but don't expand it now
+ #1/.pic/.expanded = { \exp_not:c {#1} },
+ #1/.search~also = { , /tikz, /pgf, /thing },
+ }
+ }
+
+\ExplSyntaxOff
+
+\tikzset{
+ tikzling/.pic={\tikzling},
+ tikzling/.search also={,/tikz,/pgf,/thing},
+ thing/.search also={,/tikz,/pgf},
+} \ No newline at end of file