This question already has an answer here:
In:= Abs[a^n] // TeXForm Out//TeXForm= \left\left| a^n\right\right|
But the result isn't valid TeX. It won't work here:
or on texpaste.com, where the error is "Missing or unrecognized delimiter for \left".
Is this a known bug and is there a known workaround?
OK, it turns out the workaround is to just remove the spurious
\right, so that
\left| a^n\right| works fine:
However, not sure if this workaround works in general, or just in this simple case.
In:= $Version Out= 9.0 for Linux x86 (32-bit) (November 20, 2012)