Das Problem
Hallo, ich habe ungefähr 3 Stunden damit verbracht, dieses Problem multicol
in LaTeX zu lösen. Hoffe, es hilft einigen Leuten weiter:Array-Abschaltung in LaTeX
Wie Sie also sehen konnten, \align*
sind meine Arrays in der Umgebung abgeschnitten, multicol
obwohl sie in der Umgebung in Ordnung aussahen \align*
:Arrays in einer align*
Umgebung
Hier ist mein Code:
\begin{align*}...\end{align*}
ohne Cut-Off:
\documentclass[11pt]{article}
\usepackage{header}
\usepackage{pgfplots}
\allowdisplaybreaks
\renewcommand{\arraystretch}{1.5}
\begin{document}
\begin{align*}
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 1 & \frac{9}{5} & 0 & \frac{111}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_3-\frac{9}{5}R_1$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 1 & 0 & \frac{3}{2} & \frac{216}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_3-R_1$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 0 & 0 & \frac{1}{2} & \frac{206}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{Normalizing $R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_2-R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_1+\frac{5}{6}R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & 0 & \frac{171}{3} \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{Rearranging into Row Echelon Form} \\
\left[\begin{array}{cccc|c}
1 & 0 & 0 & 0 & 19 \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 1 & 0 & \frac{171}{3} \\
0 & 0 & 0 & 1 & \frac{412}{5}
\end{array}\right] \\
\end{align*}
\end{document}
\multicol
mit dem Cut-off:
\documentclass[11pt]{article}
\usepackage{header}
\usepackage{pgfplots}
\usepackage{multicol}
\allowdisplaybreaks
\setlength{\columnsep}{0cm}
\setlength{\columnseprule}{0.4pt}
\renewcommand{\arraystretch}{1.5}
\begin{document}
\begin{multicol*}{2}
\begin{align*}
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 1 & \frac{9}{5} & 0 & \frac{111}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_3-\frac{9}{5}R_1$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 1 & 0 & \frac{3}{2} & \frac{216}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_3-R_1$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 0 & 0 & \frac{1}{2} & \frac{206}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{Normalizing $R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_2-R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_1+\frac{5}{6}R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & 0 & \frac{171}{3} \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{Rearranging into Row Echelon Form} \\
\left[\begin{array}{cccc|c}
1 & 0 & 0 & 0 & 19 \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 1 & 0 & \frac{171}{3} \\
0 & 0 & 0 & 1 & \frac{412}{5}
\end{array}\right] \\
\end{align*}
\end{multicol*}
\end{document}
Die Lösung
\begin{align*}...\end{align*}
Wenn Ihre kompilierte LaTeX-Lösung darin besteht, den langen Text in einige `\begin{align*}...\end{align*}' aufzuteilen, so dass Sie etwa Folgendes erhalten:
\begin{multicol}{2}
...
\begin{align*}...\end{align*}
\begin{align*}...\end{align*}
\begin{align*}...\end{align*}
...
\end{multicol}
Also, korrekter Code:
\begin{multicol*}{2}
\begin{align*}
\text{Simplifying} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 1 & \frac{9}{5} & 0 & \frac{111}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_3-\frac{9}{5}R_1$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 1 & 0 & \frac{3}{2} & \frac{216}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\end{align*}
\begin{align*}
\text{$R_3-R_1$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 0 & 0 & \frac{1}{2} & \frac{206}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{Normalizing $R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 1 & 2 \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{$R_2-R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & -\frac{5}{6} & -\frac{35}{3} \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\end{align*}
\begin{align*}
\text{$R_1+\frac{5}{6}R_3$} \\
\left[\begin{array}{cccc|c}
0 & 0 & 1 & 0 & \frac{171}{3} \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 0 & 1 & \frac{412}{5} \\
1 & 0 & 0 & 0 & 19
\end{array}\right] \\ \\
\text{Rearranging into Row Echelon Form} \\
\left[\begin{array}{cccc|c}
1 & 0 & 0 & 0 & 19 \\
0 & 1 & 0 & 0 & -\frac{402}{5} \\
0 & 0 & 1 & 0 & \frac{171}{3} \\
0 & 0 & 0 & 1 & \frac{412}{5}
\end{array}\right] \\
\end{align*}
\end{multicols*}
\end{document}