diff options
Diffstat (limited to 'graphics/pgf/contrib/jigsaw/jigsaw-doc.tex')
-rw-r--r-- | graphics/pgf/contrib/jigsaw/jigsaw-doc.tex | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/pgf/contrib/jigsaw/jigsaw-doc.tex b/graphics/pgf/contrib/jigsaw/jigsaw-doc.tex index 9689ef8932..377e8024c5 100644 --- a/graphics/pgf/contrib/jigsaw/jigsaw-doc.tex +++ b/graphics/pgf/contrib/jigsaw/jigsaw-doc.tex @@ -96,7 +96,7 @@ \url{https://github.com/samcarter/jigsaw}\\ \url{https://www.ctan.org/pkg/jigsaw} }{samcarter}} -\date{Version 0.1a -- \today} +\date{Version v0.2 \textendash{} 2022/06/20} \begin{document} \maketitle @@ -124,7 +124,7 @@ An individual jigsaw piece can be drawn with \end{tikzpicture} \end{tcolorbox} -wherein arguments specify for each side if it should be a tab (-1), a straight line (0) or a slot (1). The following example will produce a jigsaw piece with one tab sticking out, one straight boarder and one slot: +wherein arguments specify for each side if it should be a tab (-1), a straight line (0) or a slot (1). The following example will produce a jigsaw piece with one tab sticking out, one straight boarder and two slots: \begin{tcblisting}{title={Jigsaw piece}} \begin{tikzpicture} @@ -148,6 +148,17 @@ Or to change the line colour: \end{tikzpicture} \end{tcblisting} +The piece shape is also available as \TikZ \verb|pic|: + +\begin{tcblisting}{title={\texttt{pic}}} +\begin{tikzpicture} + \path (2,-3) pic[ + fill=lightgray,draw=teal,thick + ]{piece={1}{-1}{1}{0}}; +\end{tikzpicture} +\end{tcblisting} + + The shapes of the jigsaw pieces are designed to seamlessly fit into each other which allows to produce tile patters. \begin{tcblisting}{title={Manual tile pattern}} |