如何加矩阵底纹- TeX/LaTeX 求助区- CTEX 论坛- Powered by Discuz!
你可以用pgf tikz 宏包来编写,例如:

\begin{tikzpicture}
\matrix (magic) [matrix of nodes,left delimiter=(,right delimiter=)] {
\phantom{m} &  \phantom{m}  &  \phantom{m}  &  \phantom{m}  &\phantom{m} \\
\phantom{\vdots} &  \phantom{m}  &  \phantom{m}  &  \phantom{m}  & \phantom{m}\\
\phantom{\vdots} &  \phantom{m}  & $D^2_N$  &  \phantom{m}  & \phantom{m}\\
\phantom{\vdots} &  \phantom{m}  &  \phantom{m}  &  \phantom{m}  & \phantom{m}\\
\phantom{m} &  \phantom{m}  &  \phantom{m}  &  \phantom{m}  & \phantom{m}\\
};
\node[fill=blue,opacity=0.2, fit=(magic-1-1) (magic-1-5)]{} ;
\node[fill=blue,opacity=0.2, fit=(magic-5-1) (magic-5-5)]{} ;
\node[fill=green,opacity=0.8, fit=(magic-1-1) (magic-5-1)]{} ;
\node[fill=green,opacity=0.8, fit=(magic-1-5) (magic-5-5)]{} ;
\end{tikzpicture}~~
\begin{tikzpicture}
\matrix (magic) [matrix of nodes,left delimiter=(,right delimiter=)] {
$v_0$ & \\
\vdots & \\
\vdots  & \\
\vdots  & \\
$v_n$ & \\
};
\node[fill=blue,opacity=0.3, fit=(magic-1-1) (magic-1-1)]{} ;
\node[fill=blue,opacity=0.3, fit=(magic-5-1) (magic-5-1)]{} ;
\end{tikzpicture}

[ 本帖{zh1}由 beaver 于 2009-6-1 11:47 编辑 ]
郑重声明:资讯 【如何加矩阵底纹- TeX/LaTeX 求助区- CTEX 论坛- Powered by Discuz!】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——