diff options
author | Y. Wang <yw05@forksworld.de> | 2021-12-09 21:23:55 +0100 |
---|---|---|
committer | Y. Wang <yw05@forksworld.de> | 2021-12-09 21:23:55 +0100 |
commit | 5a6a2ffd43fd1c07beaf1a1748d69508f9443aa9 (patch) | |
tree | 8b3a09f17b9f84a67aa9a2224eeba3193e0ca616 /assets | |
parent | e45db093bbe64af903f221097679303f76134546 (diff) | |
download | advtrains-5a6a2ffd43fd1c07beaf1a1748d69508f9443aa9.tar.gz advtrains-5a6a2ffd43fd1c07beaf1a1748d69508f9443aa9.tar.bz2 advtrains-5a6a2ffd43fd1c07beaf1a1748d69508f9443aa9.zip |
Use cyan instead of line patterns to allow proper SVG output
Diffstat (limited to 'assets')
-rw-r--r-- | assets/manual/manual.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/manual/manual.tex b/assets/manual/manual.tex index e17fc7c..fc89119 100644 --- a/assets/manual/manual.tex +++ b/assets/manual/manual.tex @@ -173,7 +173,7 @@ Unlike regular carts in Minetest, tracks can connect in 16 cardinal directions i 0/-1,-1/-2,-1/-1,-2/-1,-1/0,-2/1,-1/1,-1/2 } \foreach \dx/\dy in \dirs { - \draw[pattern=north east lines,shift={(\dx,\dy)}] (2,2) rectangle +(1,1); + \draw[fill=cyan,shift={(\dx,\dy)}] (2,2) rectangle +(1,1); } \foreach \dx/\dy in \dirs { \draw[very thick,->] (2.5,2.5) -- +(\dx,\dy); @@ -190,7 +190,7 @@ The use of 16 cardinal directions instead of four allows the creation of curves \begin{centeredtikzpicture} \draw[step=1,gray,very thin] (0,0) grid (6,6); \foreach \x/\y in {0/0,0/1,1/3,2/4,4/5,5/5} { - \draw[pattern=north east lines] (\x,\y) rectangle +(1,1); + \draw[fill=cyan] (\x,\y) rectangle +(1,1); } \draw[<->,very thick] (0.5,0.5) -- ++(0,1) -- ++(1,2) -- ++(1,1) -- ++(2,1) -- ++(1,0); \end{centeredtikzpicture} @@ -286,7 +286,7 @@ It is also possible to create track layouts without using crossings. Some exampl 5/0,7/1,9/2,11/3,6/3,7/2,8/1,9/0 } \foreach \x/\y in \squares { - \draw [pattern=north east lines,shift={(-0.5,-0.5)}] (\x,\y) rectangle +(1,1); + \draw [fill=cyan,shift={(-0.5,-0.5)}] (\x,\y) rectangle +(1,1); } \foreach \ax/\ay/\bx/\by in \lines { \draw [<->, very thick] (\ax,\ay) -- (\bx,\by); |