TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 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

I was wondering if there is a way of introducing intertext within a split environment. I would like to be able to write something like

\usepackage{amsmath, hyperref, amsfonts}
\mathbb{P}\left[\abs{X - \mu} \geq h\sigma\right] &\leq \dfrac{\left[f(\abs{X - \mu})\right]}{f(h\sigma)}
\intertext{Letting $f(\cdot) = (\cdot)^2$,}
\mathbb{P}\left[\abs{X - \mu} \geq h\sigma\right] &\geq 1 - \dfrac{\sigma^2}{h^2\sigma^2}

so that the whole thing, including the text in the middle, gets one number centered on the whole align environment.

Obviously, this is a debatable way of numbering equations, but for very short intertexts this is okay, IMHO.

share|improve this question
Welcome to TeX.sx! Please always provide complete minimal working example (MWE), i.e. with a minimal preamble and the document environment. – Martin Scharrer Oct 29 '11 at 17:22
Apart from the fact that you don't say where you want to align your equations, putting a text in between those two equations will print the equation number vertically aligned with the text: not very useful for your reader. – egreg Oct 29 '11 at 17:41
@egreg Not had enough coffee this morning clearly. Fixed the alignment. Regarding the vertical alignment with the text, this is a dummy example and I am thinking of much larger equation sets with possibly one short line of intertext. – tchakravarty Oct 29 '11 at 17:42
up vote 3 down vote accepted

It's not possible to use \intertext inside a split environment, because it builds a "subalignment" which is treated as a unique block. But you can fool LaTeX by leaving some space for the text and inserting it after the split:

\noalign{\noindent\raisebox{2\baselineskip}[0pt][0pt]{Some text}}


\noalign{\noindent\raisebox{-2.5\baselineskip}[0pt][0pt]{Some text}}

but for this to work you need an equation before or after the split.

However, your reader will have a hard time trying to figure out what the number refers to.

share|improve this answer
+1 especially for the final sentence. Unless you were to encase the entire block of displayed-math-plus-text with a left or right brace, to group the things being numbered, having some equation number floating vaguely to the side is not really constructive. – Niel de Beaudrap Oct 29 '11 at 20:40
egreg:Thanks, but clearly I need to change my strategy of writing what I am writing. @NieldeBeaudrap It is tedious to repeat allowances I have already made in my original question. I am aware of what effects this presentation might have and have made a choice on balance knowing my needs. – tchakravarty Oct 31 '11 at 18:41

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.