From aa5d1ffe9b61a4c56a1f9b9a45216915affccd7e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 12 Jan 2019 16:19:35 +0100 Subject: Expand, visualize simulation domain definition --- commands.tex | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'commands.tex') diff --git a/commands.tex b/commands.tex index 283a8a8..74c60c5 100644 --- a/commands.tex +++ b/commands.tex @@ -30,5 +30,16 @@ \newcommand{\V}[2]{\ensuremath{\begin{pmatrix}#1\\#2\end{pmatrix}}} \newenvironment{rcases}{\left.\begin{aligned}}{\end{aligned}\right\rbrace} -%\renewcommand{\labelenumii}{\theenumii} -%\renewcommand{\theenumii}{\theenumi.\arabic{enumii}.} +% See: https://tex.stackexchange.com/questions/108140/draw-3d-rectangle +\makeatletter +\tikzoption{canvas is xy plane at z}[]{% + \def\tikz@plane@origin{\pgfpointxyz{0}{0}{#1}}% + \def\tikz@plane@x{\pgfpointxyz{1}{0}{#1}}% + \def\tikz@plane@y{\pgfpointxyz{0}{1}{#1}}% + \tikz@canvas@is@plane +} +\makeatother + +\tikzset{xyp/.style={canvas is xy plane at z=#1}} +\tikzset{xzp/.style={canvas is xz plane at y=#1}} +\tikzset{yzp/.style={canvas is yz plane at x=#1}} -- cgit v1.2.3