File: tikz-truchet.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (25 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# tikz-truchet package
# Matthew Bertucci 9/1/2021 for v1.0

#include:tikz

\truchetsquare{Center}{NE}{NW}{SW}{SE}
\truchetsquare[(x,y)]{Center}{NE}{NW}{SW}{SE}
\diagonalsquare{NE}{NW}{SW}{SE}
\diagonalsquare[(x,y)]{NE}{NW}{SW}{SE}
\tileA
\tileA[(x,y)]
\tileB
\tileB[(x,y)]
\tileC
\tileC[(x,y)]
\tileD
\tileD[(x,y)]
\truchethex{Center}{NW}{W}{SW}{SE}{E}{NW}
\truchethex[(x,y)]{Center}{NW}{W}{SW}{SE}{E}{NW}
\truchetsplithex
\truchetsplithex[(x,y)]
\begin{rotatehex}{degrees}
\end{rotatehex}
\truchetcube{Bottom}{Front}{Right}{Back}{Left}{Right}
\truchetcube[(x,y)]{Bottom}{Front}{Right}{Back}{Left}{Right}