我正在写一篇日志,矩阵太长,无法包含在一列中。请问,排版矩阵的最佳方法是什么?
\documentclass[journal]{IEEEtran}
\usepackage{amsmath,amssymb,amsthm}
\begin{document}
$$
A_c & = \begin{bmatrix}
I_N \otimes AT & I_N \otimes B CD & I_N \otimes B(t)B(t)C(t) \\
0 & AAA -\alpha_1 DDD & 0 \\
-I_N \otimes CC & I_N \otimes A(t)A(t) + E + \gamma ) & I_N \otimes (A(t) + B(t) + C(t))
\end{bmatrix}
$$
\end{document}
答案1
如果确实需要显示矩阵的所有 9 个元素A_c
,则可以将它们显示为三个列向量。
\documentclass[journal]{IEEEtran}
\usepackage{amsmath,amssymb,amsthm,lipsum}
\begin{document}
%\[
%A_c = \begin{bmatrix}
% I_N \otimes AT & I_N \otimes B CD & I_N \otimes B(t)B(t)C(t) \\
% 0 & AAA -\alpha_1 DDD & 0 \\
% -I_N \otimes CC & I_N \otimes A(t)A(t) + E + \gamma ) & I_N \otimes (A(t) + B(t) + C(t))
% \end{bmatrix}
%\]
\noindent
Let
\[
A_c = \begin{bmatrix} a_1 & a_2 & a_3 \end{bmatrix} \,,
\]
where
\begin{align*}
a_1 &=
\begin{bmatrix}
I_N \otimes AT \\
0 \\
-I_N \otimes CC
\end{bmatrix} \\[\jot]
a_2 &= \begin{bmatrix}
I_N \otimes B CD \\
AAA -\alpha_1 DDD \\
I_N \otimes A(t)A(t) + E + \gamma )
\end{bmatrix} \\[\jot]
a_3 &=
\begin{bmatrix}
I_N \otimes B(t)B(t)C(t) \\
0 \\
I_N \otimes (A(t) + B(t) + C(t))
\end{bmatrix}
\end{align*}
\lipsum[1][1-3]
\end{document}