문제
multicol
안녕하세요, LaTeX에서 이 문제를 해결하려고 약 3시간을 보냈습니다 . 그것이 어떤 사람들에게 도움이 되기를 바랍니다:LaTeX의 배열 차단
보시다시피 환경에 있는 내 어레이는 환경에서 괜찮아 보이는 환경 \align*
에서 잘립니다 .multicol
\align*
align*
환경 의 어레이
내 코드는 다음과 같습니다.
\begin{align*}...\end{align*}
잘리지 않고:
\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
잘라낸 부분:
\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}
해결책
컴파일된 LaTeX 솔루션이 긴 부분을 몇 개의 `\begin{align*}...\end{align*}'으로 분할하는 경우 \begin{align*}...\end{align*}
다음과 같습니다.
\begin{multicol}{2}
...
\begin{align*}...\end{align*}
\begin{align*}...\end{align*}
\begin{align*}...\end{align*}
...
\end{multicol}
따라서 올바른 코드는 다음과 같습니다.
\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}