I need to define a rather complex operation. Hence I want to use the classical "where" definition style, i.e.
Foo = Bar(x,y)
WHERE
x = Baz
y = Fob
My attempt so far in latex is:
\begin{align*}
\text{Foo} = \text{Bar}(x,y) && \mathbf{where} \\
x = \text{Baz}
\end{align*}
I am not really satisfied with the result, though:
- The where keyword does not really stand out from the layout
- The helper definitions are on the same level as the main definition
So instead of fiddling around with it, is there some kind of (semi-) canonical way to layout such definitions?



listingsorminted. – jub0bs Mar 24 '14 at 09:26\intertextfromamsmath(and\shortintertextfrommathtools) seem sufficient: https://gist.github.com/9741278 (This is more or less just a simplification of the existing answer, thus this comment.) – Sean Allred Mar 24 '14 at 14:39