非常宽的方程会破坏连续的侧边

非常宽的方程会破坏连续的侧边

我刚刚创建了一组矩阵形式的方程,看起来不错。它似乎也适合我的文档空间,但在方程后面的空间中,侧边突然消失了,即文本开始的位置比应有的位置更靠左。对于文档的其余部分,这仍然是错误的。

我必须提到,我想在右侧标记这个方程以保持一致。如果可能的话,也许解决方案是减少方程和右侧标签之间的空间。\split这里没有选择,因为它在矢量形式中看起来不太好。

编辑:发现问题了。文本看起来很糟糕,但正如答案中指出的那样,它处于正确的位置。如果您不想拆分,您似乎只能更改字体。

这是一个最简单的例子来说明这个问题。

  \documentclass[a4paper, 12pt, headsepline]{scrreprt}
\usepackage{amsmath, amssymb, mathtools}
\usepackage{mathptmx}
\usepackage[a4paper]{geometry}
\geometry{left=4.5cm,right=3.5cm,top=2cm,bottom=2cm}


\begin{document}
\begin{equation}
\begin{pmatrix}
a1 + a3 \\
a2 + a4\\
a3 + a2\\
a4 + a1
\end{pmatrix}
=
\begin{pmatrix}
b1 \\
b2 \\
b3 \\
b4
\end{pmatrix}
+
\begin{pmatrix}
\theta & \theta  & \theta  & \theta & \theta & \theta & \theta & \theta & \theta & \theta  \\
\theta  & \theta  & \theta  & \theta & \theta & \theta  & \theta & \theta & \theta & \theta \\
\theta  & \theta  & \theta  & \theta  & \theta & \theta & \theta & \theta & \theta & \theta  \\
\theta  & \theta  & \theta & \theta & \theta & \theta & \theta & \theta & \theta & \theta 
\end{pmatrix}
\begin{pmatrix}
c1 + 4352523523523532 \\
c2 + 4352523523523532\\
c3 + 4352523523523532\\
c4 + 4352523523523532
\end{pmatrix}
+
\begin{pmatrix}
x1 \\
x2 \\
x3 \\
x4
\end{pmatrix} 
\end{equation}
fgdgdfgfdgfdg dfgf fdg fdg dfgfdg dfg dfg fdgfdgdfg 
df gdfg fdfg fdg dfg fdg fdg df fdg dfg fdg
\end{document}

答案1

将文本设置为指定的边距,与等式前的文本相匹配。

在此处输入图片描述

\documentclass[a4paper, 12pt, headsepline]{scrreprt}
\usepackage{amsmath, amssymb, mathtools}
\usepackage{mathptmx}
\usepackage[a4paper]{geometry}
\geometry{left=3.5cm,right=3.5cm,top=2cm,bottom=2cm}


\begin{document}

\noindent X\dotfill X


\begin{equation}
\begin{pmatrix}
a1 + a3 \\
a2 + a4\\
a3 + a2\\
a4 + a1
\end{pmatrix}
=
\begin{pmatrix}
b1 \\
b2 \\
b3 \\
b4
\end{pmatrix}
+
\begin{pmatrix}
\theta & \theta  & \theta  & \theta  \\
\theta  & \theta  & \theta  & \theta  \\
\theta  & \theta  & \theta  & \theta   \\
\theta  & \theta  & \theta & \theta 
\end{pmatrix}
\begin{pmatrix}
c1 \\
c2 \\
c3 \\
c4
\end{pmatrix}
+
\begin{pmatrix}
x1 \\
x2 \\
x3 \\
x4
\end{pmatrix} 
\end{equation}
fgdgdfgfdgfdg dfgf fdg fdg dfgfdg dfg dfg fdgfdgdfg 
df gdfg fdfg fdg dfg fdg fdg df fdg dfg fdg
\end{document}

相关内容