diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tilings/tikzlibrarypenrose.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tilings/tikzlibrarypenrose.code.tex | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tilings/tikzlibrarypenrose.code.tex b/Master/texmf-dist/tex/latex/tilings/tikzlibrarypenrose.code.tex new file mode 100644 index 00000000000..af61ed1d0ea --- /dev/null +++ b/Master/texmf-dist/tex/latex/tilings/tikzlibrarypenrose.code.tex @@ -0,0 +1,88 @@ +%% +%% This is file `tikzlibrarypenrose.code.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% tilings_code.dtx (with options: `penrosedep') +%% ---------------------------------------------------------------- +%% tilings --- TikZ library for producing tilings +%% E-mail: loopspace@mathforge.org +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% ---------------------------------------------------------------- +%% +\ProvidesFile {tikzlibrarypenrose.code.tex} + [2023/06/01 v2.0 TikZ pics for Penrose tiles] +\usetikzlibrary{tilings.penrose} +\ExplSyntaxOn +\NewDocumentCommand \SetPenrosePath { m } +{ + \__tilings_set_tiling_path:n {#1} +} +\NewDocumentCommand \BakePenroseTile {m} +{ + \__tilings_bake_tile:n {#1} +} +\NewDocumentCommand \MakePenroseTile {m} +{ + \__tilings_bake_tile:n {#1} +} +\NewDocumentCommand \UsePenroseTile {O{} m} +{ + \__tilings_use_tile:nn {#1}{#2} +} +\NewDocumentCommand \PenroseDecomposition { O{} m m m } +{ + \__tilings_tiling_decomposition:nnnn {#1}{#2}{#3}{#4} +} +\ExplSyntaxOff +\tikzset{ + save Penrose path/.forward to=/tikz/save tiling path, + clone Penrose side path/.forward to=/tikz/clone tiling side path, + spath/prefix/Penrose side/.forward to=/tikz/spath/prefix/tiling side, + spath/suffix/Penrose side/.forward to=/tikz/spath/suffix/tiling side, + clone Penrose tile path/.forward to=/tikz/clone tiling tile path, + spath/prefix/Penrose tile/.forward to=/tikz/spath/prefix/tiling tile, + spath/suffix/Penrose tile/.forward to=/tikz/spath/suffix/tiling tile, + Penrose step/.forward to=/tikz/tiling step, + every tile/.append style={ + every Penrose tile/.try + }, + every tile clip/.append style={ + every Penrose tile clip/.try + }, + every tile pic/.append style={ + every Penrose pic/.try + }, + tile/.append style={ + Penrose tile #1/.try, + Penrose tile/.try=#1 + } +} +%% +%% Copyright (C) 2014-2023 by Andrew Stacey <loopspace@mathforge.org> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Andrew Stacey. +%% +%% This work consists of the files penrose_code.dtx +%% penrose.tex +%% and the derived files penrose.ins +%% penrose_code.pdf +%% penrose.pdf +%% tikzlibrarytilings.code.tex +%% tikzlibrarytilings.penrose.code.tex +%% tikzlibrarytilings.polykite.code.tex +%% tikzlibrarypenrose.code.tex +%% README.txt +%% +%% +%% End of file `tikzlibrarypenrose.code.tex'. |