octahedron.tex (1073B)
1 \input{settings.ttt} 2 3 \begin{document} 4 \begin{tikzpicture}[scale=2, line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm] 5 6 \input{coord-oct.tex} 7 8 % Background varying in size depending on the main figure 9 \fill[color=white] (-1.2,-1.2) rectangle (1.2,1.2); 10 11 \filldraw[very thick, draw=my-color-draw-main, 12 fill=my-color-fill-main, fill opacity = 0.4] 13 (P4) -- (P2) -- (P0) -- cycle; 14 15 \filldraw[very thick, draw=my-color-draw-main, 16 fill=my-color-fill-main, fill opacity = 0.8] 17 (P4) -- (P3) -- (P0) -- cycle; 18 19 \filldraw[very thick, draw=my-color-draw-main, 20 fill=my-color-fill-main, fill opacity = 0.2] 21 (P5) -- (P2) -- (P0) -- cycle; 22 23 \filldraw[very thick, draw=my-color-draw-main, 24 fill=my-color-fill-main, fill opacity = 0.6] 25 (P5) -- (P3) -- (P0) -- cycle; 26 27 28 \draw[very thick, draw=my-color-draw-main, dashed] (P1) -- (P2); 29 \draw[very thick, draw=my-color-draw-main, dashed] (P1) -- (P3); 30 \draw[very thick, draw=my-color-draw-main, dashed] (P1) -- (P4); 31 \draw[very thick, draw=my-color-draw-main, dashed] (P1) -- (P5); 32 33 \end{tikzpicture} 34 \end{document} 35