Ausrichtungsproblem bei Verwendung von Gather mit Multicol

Ausrichtungsproblem bei Verwendung von Gather mit Multicol

Ich habe ein Ausrichtungsproblem ähnlich dem hierFrage. Aber die Verwendung eines Spaltenumbruchs hat mein Problem nicht gelöst, so wie es bei dieser Frage der Fall war.

Ich denke, ich könnte es mit „align“ versuchen, aber es wäre nervig, alles in diesem neuen Format neu zu schreiben. Gibt es eine Möglichkeit, diesen Code anzupassen, um sicherzustellen, dass die Ausrichtung akzeptabel ist?

Hier ist ein Beispielcode:

\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{multicol}
\usepackage{amsmath}

\begin{document}

\begin{multicols}{2}
\subsubsection*{Omaha}
\begin{gather*}
F = FB \neq \textbf{MB = MBS} \\
M = \textbf{MZ = MBD }\neq FZ \\
B = MZS = FBS \neq FZS \\
Z = MZD = FBD \neq FZD 
\end{gather*}
\columnbreak
\subsubsection*{Crow}
\begin{gather*}
F = \textbf{FB = FZS} \neq MB \\
M = MZ \neq \textbf{FZ = FZD} \\
B = FBS = MZS \neq MBS \\
Z = FBD = MZD \neq MBD 
\end{gather*}
\end{multicols}

\end{document}

Antwort1

Bei Verwendung der tabularxTabelle anstelle der multicolUmgebung:

Bildbeschreibung hier eingeben

(rote Linien zeigen Textränder)

\documentclass{article}
%---------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%

\usepackage{tabularx}
\usepackage{amsmath}

\begin{document}

\noindent%
\begin{tabularx}{\linewidth}{@{} X @{} X @{}}
\subsubsection*{Omaha}
\begin{gather*}
F = FB \neq \mathbf{MB = MBS} \\
M = \mathbf{MZ = MBD }\neq FZ \\
B = MZS = FBS \neq FZS \\
Z = MZD = FBD \neq FZD
\end{gather*}
    &
\subsubsection*{Crow}
\begin{gather*}
F = \mathbf{FB = FZS} \neq MB \\
M = MZ \neq \mathbf{FZ = FZD} \\
B = FBS = MZS \neq MBS \\
Z = FBD = MZD \neq MBD
\end{gather*}
\end{tabularx}
or

\noindent%
\begin{tabularx}{\linewidth}{@{} X @{} X @{}}
\subsubsection*{Omaha}
\[\begin{aligned}
F & = FB \neq \mathbf{MB = MBS} \\
M & = \mathbf{MZ = MBD }\neq FZ \\
B & = MZS = FBS \neq FZS \\
Z & = MZD = FBD \neq FZD
\end{aligned}\]
    &
\subsubsection*{Crow}
\[\begin{aligned}
F & = \mathbf{FB = FZS} \neq MB \\
M & = MZ \neq \mathbf{FZ = FZD} \\
B & = FBS = MZS \neq MBS \\
Z & = FBD = MZD \neq MBD
\end{aligned}\]
\end{tabularx}

\end{document}

Antwort2

Sie können stattdessen vielleicht eine tabellarische Umgebung mit einigen Miniseiten wie dieser verwenden:

\begin{tabular}{p{.5\textwidth}p{.5\textwidth}}
    \begin{minipage}{1\textwidth}
        \subsubsection*{Omaha}
        $
        F = FB \neq \textbf{MB = MBS} \\
        M = \textbf{MZ = MBD }\neq FZ \\
        B = MZS = FBS \neq FZS \\
        Z = MZD = FBD \neq FZD 
        $
    \end{minipage}
    &
    \begin{minipage}{1\textwidth}
        \subsubsection*{Crow}
        $
        F = \textbf{FB = FZS} \neq MB \\
        M = MZ \neq \textbf{FZ = FZD} \\
        B = FBS = MZS \neq MBS \\
        Z = FBD = MZD \neq MBD 
        $
    \end{minipage}  
\end{tabular}

verwandte Informationen