Wie kann man eine Gleichung weiter links ausrichten?

Wie kann man eine Gleichung weiter links ausrichten?

\Ich will das

Wie kann ich die Nummerierung und das Gleichungsformat wie im Bild oben gezeigt erreichen?

Ich habe diesen Code ausprobiert:

\documentclass[12pt,a4paper,fleqn, twocolumn]{article}
\usepackage[margin=1.5cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}
\usepackage{titlesec}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{esint}
    \begin{align}
    \begin{array}{l}
    P^{TE}_q = Re\frac{j|E_0|^2}{2\eta}\\
    \times \oiint\limits_S(A^i_qA^{i*}_q\bar{M}^{(1)}_q \times \bar{N}^{(1)*}_q + A^i_qA^{s*}_q\bar{M}^{(1)}_q \times \bar{N}^{(4)*}_q\\
    + A^s_qA^{i*}_q\bar{M}^{(4)}_q \times \bar{N}^{(1)*}_q + A^s_qA^{s*}_q\bar{M}^{(4)}_q \times \bar{N}^{(4)*}_q)\\
    \cdot \hat{r}ds
    \end{array}\\
    \begin{array}{l}
    P^{TM}_q = Re\frac{j|E_0|^2}{2\eta}\\
    \times \oiint\limits_S(B^i_qB^{i*}_q\bar{N}^{(1)}_q \times \bar{M}^{(1)*}_q + B^i_qB^{s*}_q\bar{N}^{(1)}_q \times \bar{M}^{(4)*}_q\\
    + B^s_qB^{i*}_q\bar{N}^{(4)}_q \times \bar{M}^{(1)*}_q + B^s_qB^{s*}_q\bar{M}^{(4)}_q \times \bar{M}^{(4)*}_q)\\
    \cdot \hat{r}ds
    \end{array}
    \end{align}

aber bekomme nur dasBildbeschreibung hier eingeben

Antwort1

So etwas? Beachten Sie, dass ich empfehlen würdenichtGeben Sie die Option an fleqn. Ich empfehle die Verwendung einer einzelnen alignUmgebung und keiner arrayUmgebungen.

Bildbeschreibung hier eingeben

\documentclass[12pt,a4paper,twocolumn]{article} % no 'fleqn' option
\usepackage[margin=1.5cm]{geometry}
\usepackage{mathtools,esint}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}

\let\Re\relax 
\DeclareMathOperator{\Re}{Re} % redefine '\Re'
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}

\begin{document}
\hrule % just to illustrate width of column
\setcounter{equation}{24} % just for this example
\begingroup
\thickmuskip=0mu
\medmuskip=0mu
\thinmuskip=0mu
\small
\begin{subequations}
\begin{align}
P^{\mathrm{TE}}_q &= \Re \frac{j\abs{E_0}^2}{2\eta} \notag\\
&\quad\times \oiint\limits_S \Bigl(
     A^i_qA^{i*}_q\bar{M}^{(1)}_q \times \bar{N}^{(1)*}_q 
   + A^i_qA^{s*}_q\bar{M}^{(1)}_q \times \bar{N}^{(4)*}_q \notag\\
&\qquad
   + A^s_qA^{i*}_q\bar{M}^{(4)}_q \times \bar{N}^{(1)*}_q 
   + A^s_qA^{s*}_q\bar{M}^{(4)}_q \times \bar{N}^{(4)*}_q \Bigr) \notag\\
&\qquad \cdot \hat{r}\mkern3mu ds \\[1ex]
P^{\mathrm{TM}}_q &= \Re\frac{j\abs{E_0}^2}{2\eta} \notag\\
&\quad\times \oiint\limits_S \Bigl(
    B^i_qB^{i*}_q\bar{N}^{(1)}_q \times \bar{M}^{(1)*}_q 
  + B^i_qB^{s*}_q\bar{N}^{(1)}_q \times \bar{M}^{(4)*}_q \notag\\
&\qquad
  + B^s_qB^{i*}_q\bar{N}^{(4)}_q \times \bar{M}^{(1)*}_q 
  + B^s_qB^{s*}_q\bar{M}^{(4)}_q \times \bar{M}^{(4)*}_q\Bigr) \notag\\
&\qquad\cdot \hat{r}\mkern3mu ds
\end{align}
\end{subequations}
\endgroup
\hrule % just to illustrate width of column
\end{document}

Nachtrag: Wenn in Ihrem Dokument nicht genügend Platz ist, können Sie jede Gleichung auch in drei Zeilen setzen, statt in den vier Zeilen, die sowohl in Ihrem ersten Screenshot als auch in der obigen Antwort verwendet wurden.

Die folgende Lösung verwendet auch \widebar(ein vom mathabxPaket bereitgestelltes Makro) anstelle von \barwie in der obigen Antwort. Die Verwendung \widebarbietet ein „Aussehen“, das dem Aussehen des von Ihnen geposteten Screenshots genauer entspricht.

Bildbeschreibung hier eingeben

\documentclass[12pt,a4paper,twocolumn]{article} % no 'fleqn' option
\usepackage[margin=1.5cm]{geometry}
\usepackage{mathtools,mathabx,esint}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}

\let\Re\relax 
\DeclareMathOperator{\Re}{Re} % redefine '\Re'

\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}

\begin{document}
\setcounter{equation}{24} % just for this example

\begin{subequations}
\begin{align}
&P^{\mathrm{TE}}_q = \Re \frac{j\abs{E_0}^2}{2\eta} 
\times \oiint\limits_{S} \Bigl\{
     A^i_qA^{i*}_q\widebar{M}^{(1)}_q \times \widebar{N}^{(1)*}_q \notag\\ 
&\quad+ A^i_qA^{s*}_q\widebar{M}^{(1)}_q \times \widebar{N}^{(4)*}_q 
   + A^s_qA^{i*}_q\widebar{M}^{(4)}_q \times \widebar{N}^{(1)*}_q  \notag\\
&\qquad+ A^s_qA^{s*}_q\widebar{M}^{(4)}_q \times \widebar{N}^{(4)*}_q \Bigr\}  \hat{r}\, ds \\[1ex]
&P^{\mathrm{TM}}_q = \Re\frac{j\abs{E_0}^2}{2\eta} 
\times \oiint\limits_{S} \Bigl\{
    B^i_qB^{i*}_q\widebar{N}^{(1)}_q \times \widebar{M}^{(1)*}_q \notag \\
&\quad+ B^i_qB^{s*}_q\widebar{N}^{(1)}_q \times \widebar{M}^{(4)*}_q 
  + B^s_qB^{i*}_q\widebar{N}^{(4)}_q \times \widebar{M}^{(1)*}_q \notag\\
&\qquad+ B^s_qB^{s*}_q\widebar{M}^{(4)}_q \times \widebar{M}^{(4)*}_q\Bigr\}  \hat{r}\, ds
\end{align}
\end{subequations}

\end{document}

Antwort2

Ein anderer Vorschlag, mit mehr Zeilen, aber kürzer; das Setzen von Mathematik im Zweispaltenformat ist immer mühsam.

\documentclass[12pt,a4paper,fleqn,twocolumn]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage[margin=1.5cm]{geometry}
\usepackage{titlesec}
\usepackage{graphicx}
\usepackage{amsmath,mathtools}
\usepackage{esint}

\let\Re\relax
\DeclareMathOperator{\Re}{Re}

\begin{document}

\begin{align}
\begin{split}
P^{TE}_q ={}& \Re\frac{j|E_0|^2}{2\eta} \\
{} \times \mathop{\smash[b]{\oiint\limits_S}}\Bigl(
  &  A^i_qA^{i*}_q\bar{M}^{(1)}_q \times \bar{N}^{(1)*}_q \\
  &+ A^i_qA^{s*}_q\bar{M}^{(1)}_q \times \bar{N}^{(4)*}_q \\
  &+ A^s_qA^{i*}_q\bar{M}^{(4)}_q \times \bar{N}^{(1)*}_q \\
  &+ A^s_qA^{s*}_q\bar{M}^{(4)}_q \times \bar{N}^{(4)*}_q \Bigr) \cdot \hat{r}\,ds
  \end{split}
\\
\begin{split}
P^{TM}_q ={}& \Re\frac{j|E_0|^2}{2\eta} \\
{} \times \mathop{\smash[b]{\oiint\limits_S}}\Bigl(
 & B^i_qB^{i*}_q\bar{N}^{(1)}_q \times \bar{M}^{(1)*}_q \\
 &+ B^i_qB^{s*}_q\bar{N}^{(1)}_q \times \bar{M}^{(4)*}_q \\
 &+ B^s_qB^{i*}_q\bar{N}^{(4)}_q \times \bar{M}^{(1)*}_q \\
 &+ B^s_qB^{s*}_q\bar{M}^{(4)}_q \times \bar{M}^{(4)*}_q \Bigr) \cdot \hat{r}\,ds
\end{split}
\end{align}

\end{document}

Bildbeschreibung hier eingeben

Die \smash[b]Konstruktion soll verhindern, dass das große Integral die darunterliegende Zeile zu weit nach unten drückt. Durch das Einschließen \mathopwird der korrekte horizontale Abstand sichergestellt.

verwandte Informationen