Equações amplas e alinhamento fleqn da margem esquerda

Equações amplas e alinhamento fleqn da margem esquerda

É possível forçar o Latex a manter a margem esquerda para equações amplas?

Eu tenho um documento com fleqna opção habilitada para alinhar todas as equações à esquerda. Se a equação for maior que o espaço disponível, o LaTeX move a equação para a esquerda e, se não produzir espaço suficiente, move a tag da equação para a próxima linha. Gostaria de forçar o LaTeX a manter sempre a margem esquerda, mesmo que as equações sejam maiores que o espaço disponível. Gostaria de impor isto em todo o documento, mesmo ao custo de violar a margem certa. Existe alguma maneira de conseguir isso?

Exemplo de problema

MWE:

\documentclass{article}
\usepackage[fleqn]{amsmath}
\begin{document}

What I have now:
\begin{equation}
    f(x) = x^2
\end{equation}
\begin{equation}
    f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16}
\end{equation}
\begin{equation}
    f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16} + x^{17}
\end{equation}
\begin{equation}
    f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16} + x^{17} + x^{18}
\end{equation}

What I want:
\begin{equation}
    f(x) = x^2
\end{equation}
\begin{equation}
    \qquad\,\, f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16}
\end{equation}
\begin{equation}
    \qquad\,\,\, f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16} + x^{17}
\end{equation}
\begin{equation}
    \qquad\,\,\,f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16} + x^{17} + x^{18}
\end{equation}
\end{document}

Responder1

Eu quebraria os longos prazos. De qualquer forma, você é o juiz final.

Usar gather.

\documentclass{article}
\usepackage[fleqn]{amsmath}

\begin{document}

\begin{equation}
0=0
\end{equation}
Now let's see the result
\begin{gather}
  f(x) = x^2
\\
  f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10} 
       + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16}
\\
  f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10}
       + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16} + x^{17}
\end{gather}
It also works for a single equation
\begin{gather}
  f(x) = x^2 + x^3 + x^4 + x^5 + x^6 + x^7 + x^8 + x^9 + x^{10}
       + x^{11} + x^{12} + x^{13} + x^{14} + x^{15} + x^{16} + x^{17} + x^{18}
\end{gather}

\end{document}

insira a descrição da imagem aqui

informação relacionada