Tagged Questions
15
votes
2answers
273 views
How to align nested cases?
Please consider the code bellow:
\begin{align*}
function =
\begin{cases}
case1 &\mbox{if } n = 0 \\
\begin{cases}
case2 &\mbox{if } n = 1 \\
...
3
votes
2answers
545 views
Alignment across nested aligned environments
I have a list of equations with annotations like the one below:
\documentclass{scrartcl}
\usepackage{amsmath}
\begin{document}
\begin{align}
aaaa &= 1 &&\text{for $X$} \\
bbbb &= ...
9
votes
1answer
134 views
Is there a package to differently color nested expressions in the output?
Say I have an expressions like $(\sin(x-3(z^{(x-2)^2}))+1)^2$ with many nested expressions. To better visualize this in the output (and to help finding missing delimiters when proof-reading) I'd like ...