1

I want a few formulae left align (but not all in formulae in the document) and use flalign following How to align a set of multiline equations

but the result shows the formula in the center. Why?

\documentclass{article}
\usepackage{amsmath}

\begin{document}
the formula:

\noindent A \hfill Z
\begin{flalign}
1 \in N
\end{flalign}

\noindent A \hfill Z

more text 

\end{document}

result: enter image description here

4
  • 2
    fl in flalign doesn't mean "flushleft", but rather "fill line" (or "full length"?). See e.g. tex.stackexchange.com/q/365059/82917.
    – campa
    Jun 15, 2018 at 7:51
  • Thank you, I was obviously confused by the name. In the answer you reference and others answers, I do not see a way to have formulae left aligned without using [fleqn] globally (in usepackage[fleqn]{amsmath}); I would like to have a few formulae left alginged, but not set [fleqn] for all). How?
    – user855443
    Jun 15, 2018 at 8:22
  • 1
    For just a few equations you can use the solution proposed in tex.stackexchange.com/a/148854/82917
    – campa
    Jun 15, 2018 at 8:30
  • 1
    A simpler solution for occasionally left aligned equations is to nest them in a fleqn environment (defined by package nccmath). See an examplein my answer to this question. Furthermore, the indent of the equations is a optional argument for the environment (no indent by default).
    – Bernard
    Jun 15, 2018 at 8:51

0

Browse other questions tagged .