I often have to write things like
$left(a \left(b \left( c ... \right) \right) \right)$
And in the final output, its quite hard to distinguish which brackets go together.
Now, in some editors, there are features that brackets that match are same-colored, like "red( blue( green( green) blue) red)".
Is that possible, somehow, to be done by LaTeX automatically? Matching left- and right-brackets shouldn't be a thing with the \left-\right-markers, and doing something like building up a color-list that's just "tracked" somehow is easy in other programming languages as well, e.g. in perl with push and pop from an @array.
But I'm not a very good LaTeX-programmer. So, does this feature exist already? Or is it anyhow easy to be implemented?
Thanks!
\left
and\right
to math "fences" -- round parentheses, square brackets, and curly braces? If so, do read the following postings: Is it ever bad to use \left and \right and “(” or “\left(” parentheses.