Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to left-align some equations. (Note: I want to align the equations themselves, not code inside of the equations.)

I have the following example code:

\documentclass{scrartcl}
\usepackage{amsmath}
\begin{document}

\begin{equation}
\text{I want to left-align this equation}
\end{equation}

\begin{equation}
\text{and this one,}
\end{equation}

\begin{equation}
\text{but not this one and others.}
\end{equation}

\end{document}

How can I achieve this? The equations don't neccessarily have to be left-adjusted to the left text border, the more important goal is to align them to each other.

share|improve this question

2 Answers 2

up vote 8 down vote accepted

You can use the flalign and flalign* environments from amsmath.

\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\noindent The quick brown fox jumps over the lazy dog.
\begin{equation*}
A = B
\end{equation*}
\begin{flalign*}
C = D &&
\end{flalign*}
\begin{flalign*}
E = F &&
\end{flalign*}
\end{document}

Does not work with \split in equation environment

share|improve this answer
    
Thanks a lot, I already had tried flalign, but as I didn't know about the & at the end, it didn't work then... –  meep.meep Apr 28 '11 at 11:30

I wanted to show an eplain version:

\input eplain
\leftdisplays
$$ \hbox{I want to left-align this equation} \eqno(1.1) $$
$$ \hbox{and this one,} $$
\centereddisplays
$$ \hbox{but not this one and others} \eqno(1.2) $$
\bye

because of the following remark from the documentation:

It is usually poor typography to have both centered and left-justified displays in a single publication, though.

share|improve this answer
    
I agree with you on that issue. I just want to use this in my appendix. But Thanks for this notice anyway :) –  meep.meep Apr 28 '11 at 16:18

Your Answer

 
discard

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.