Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Type the following in a Mathematica DisplayFormula cell(other styles may also encounter this problem): Esc+l+|+Esc and Esc+r+|+Esc, and save as LaTeX.

Note: See the difference of the character between | |.

$z$ and $z_1$, $|z|$, $|z_1|$

 SubscriptBox["z", "1"], "\[RightBracketingBar]"}]], "DisplayFormula"]

with subscript, then...

Mathematica inserts extra \left and \right for absolute values in the LaTeX output:

%% AMS-LaTeX Created by Wolfram Mathematica 9.0 :
\usepackage{amsmath, amssymb, graphics, setspace}

    \left\left| Z_1+Z_2\right\right| \leq \left\left| Z_1\right\right| +\left\left| Z_2\right\right|

What should I do to get valid output that LaTeX will accept?

share|improve this question

migrated from Jul 28 '13 at 7:38

This question came from our site for users of TeX, LaTeX, ConTeXt, and related typesetting systems.

Please provide the original code that was converted and some info on how this was done to clarify your question and enable reproduction. – Yves Klett Jul 28 '13 at 9:43
@YvesKlett here,… – HyperGroups Jul 28 '13 at 11:36
My preference is to have self-contained questions / MWEs... – Yves Klett Jul 28 '13 at 11:43
@YvesKlett fine,,,since this question was asked in Tex.SE,...and that was asked in Math.SE...You can type Esc l|Esc and Esc r| Esc in one DisplayFormula cell. – HyperGroups Jul 28 '13 at 12:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.