I understand that you can left-align text using \intertext{...}
inside \begin{align}...\end{align}
environment, e.g. this answer.
Is it possible to do the same but inside \begin{equation}...\end{equation}
?
The end goal is to wrap the whole environment inside a display formula (\[ \]
) as part of bullet point within a list. I've tried wrapping the align
environment this way, but for some reason \intertext{...}
does not work as the text is squeezed together without spaces.
EDIT: clarifying the question with an example and more context.
First, I should say that I'm trying to do this in org-mode
in Emacs
, i.e. compiling a org
doc a PDF via LaTeX
. The equations appear as part of an item in a list, e.g.
- Blah blah blah, then \[\begin{align*} \label{eq1} \text{something text}
&= \frac{a}{b} \\ &= \frac{a}{c+d} \\ & \intertext{some other text, gives}
\\ \label{eq2} a &= b+c \end{align*}\]
In other words, I want the block of displayed equations to be centered w.r.t the list item they belong to, and I want the intertext{...}
text to be left-aligned w.r.t the start of each list item, or, at least to the left edge of the displayed formula block.
At the top of the .org
doc, I have
#+OPTIONS: TeX:t LaTeX:t
#+LaTeX_CLASS: article
#+LaTeX_HEADER: \usepackage{amsmath}
So far, Emacs
seems to compile and produces a PDF file, except that the \intertext
segment inside the display formula is wrong:
How do I correct it? I am also open to suggestions that utilize something other than a single \begin{align}...\end{align}
environment to achieve the same effect inside a list item.
align
andequation
are both displayed environments for math.\intertext{...}
[not working] as the text is squeezed together without spaces"?align
is a multi-line display and\intertext
inserts lines of text between the lines of math.equation
is a single line display so\intertext
would have no obvious use here.\intertext
suggests it has been used incorrectly but unless you give an example it will be impossible to help.\[ ... \]
orequation
.