我有一些巨大的矩阵或方程组妨碍了我写文本。基本上把它们都写在同一行已经够难的了,但当我想在旁边写点什么时,这是一项无望的任务
$\left\{\begin{matrix}
f_x(x,y,z) = 0 \\
f_y(x,y,z) = 0 \\
f_z(x,y,z) = 0\\
\end{matrix}\right. \iff
\left\{\begin{matrix}
y = 0 \\
x = 0 \\
z = 0\\
\end{matrix}\right. \iff
\left\{\begin{matrix}
y = 0 \\
x = 0 \\
z = \frac{1}{2}\\
\end{matrix}\right.$ I can't write anything here "beside" it because it's just going to get cut off and goes under the system of equations
答案1
您可以\text
从amsmath
包中使用;如果需要,\parbox
可以使用来容纳长文本。埃格尔在评论中提到,您可以使用来自的环境,而不是使用matrix
和;这里有一个显示两种可能性的示例:\left
\right.
cases
amsmath
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\left\{\begin{matrix}
f_x(x,y,z) = 0 \\
f_y(x,y,z) = 0 \\
f_z(x,y,z) = 0
\end{matrix}\right. \iff
\left\{\begin{matrix}
y = 0 \\
x = 0 \\
z = 0
\end{matrix}\right. \iff
\left\{\begin{matrix}
y = 0 \\
x = 0 \\
z = \frac{1}{2}
\end{matrix}\right.\qquad
\text{\parbox{4cm}{I can write anything here "beside" using a box if necessary}}
\]
\[
\begin{cases}
f_x(x,y,z) = 0 \\
f_y(x,y,z) = 0 \\
f_z(x,y,z) = 0
\end{cases} \iff
\begin{cases}
y = 0 \\
x = 0 \\
z = 0
\end{cases} \iff
\begin{cases}
y = 0 \\
x = 0 \\
z = \frac{1}{2}
\end{cases}\quad
\text{\parbox{3.5cm}{I can write anything here "beside" using a box if necessary}}
\]
\end{document}