3

Possible Duplicate:
How can I break an align environment for a paragraph?

I am new here, and quite new to LaTeX. I did search for an answer to this as I think it should be trivial, but I didn't find the answer yet. I have something like

\begin{align*}
y &= mx + c \\
\text{some text here. So} \\
c &= y-mx \\
\text{but } \\
1+2 &\neq 2 \\
\text{Finally} \\
3 &= 1+2\\
\end{align*}

My question is: How to I make all the \text{} be aligned on the left instead of the middle? Sorry for my ignorance!

marked as duplicate by egreg, Paulo Cereda, lockstep, Peter Grill, percusse Oct 13 '12 at 10:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Welcome to TeX.sx! I would simply put the text out of the align environment. – Corentin Oct 13 '12 at 9:08
  • 2
    Use \intertext{}, or \shortintertext{}. shortintertext requires the mathtools package. – Peter Grill Oct 13 '12 at 9:09
  • @Corentin Thank you ! But if I take the text out of the environment, now do I make all the equations align ? – Joe King Oct 13 '12 at 9:12
  • This question seems very similar to tex.stackexchange.com/questions/9577/…. Please take a look at it as the information there might help you. If so, that's great, and we'll probably close this question as a duplicate just to keep the place tidy and to help people find answers quickly. If not, please edit your question here to explain why so that people can better focus their attention to help you. – egreg Oct 13 '12 at 9:12
  • @Joe King Sorry, I had not understood what you meant. Then the answer by Peter Grill works. – Corentin Oct 13 '12 at 9:17

Browse other questions tagged or ask your own question.