答案1
这就是你需要的吗?
\documentclass{report}
\usepackage{tikz}
\usetikzlibrary{arrows,
fit,
matrix,
positioning,
shapes,
} % quelques librairies pour tikz
\begin{document}
\begin{tikzpicture}[>=latex]
\node (B) {$B=$};
\matrix (M) [matrix of math nodes,left delimiter=(, right delimiter=), matrix anchor=west, right=1em of B]
{
a \\
b \\
\cdots\\
c\\
d\\
};
\node [fit=(M-1-1) (M-2-1), draw, ellipse, inner sep=-3pt, red, pin={[pin distance=1.5em, pin edge={<-,shorten <=1pt}] above right:$X$}] {};
\node [fit=(M-4-1) (M-5-1), draw, ellipse, inner sep=-3pt, blue, pin={[pin distance=1.5em, pin edge={<-,shorten <=1pt}] below right:$Y$}] {};
\end{tikzpicture}
\end{document}
答案2
\begin{equation}
\label{VN_allg}
\begin{tikzpicture}[>=latex]
\node (V) {$V_n=$};
\matrix (M) [matrix of math nodes,left delimiter={[}, right delimiter={]},
matrix anchor=west, right=0.5em of V]
{
v_{12}^T \\
v_{11}^T - v_{22}^T\\
\cdots \\
v_{12}^T \\
v_{11}^T - v_{22}^T\\
};
\node [fit=(M-1-1) (M-2-1), draw, rectangle, inner sep=0pt, red, pin={[pin
distance=1.5em, pin edge={<-,shorten <=1pt}] above right:{Ansicht 1}}] {};
\node [fit=(M-4-1) (M-5-1), draw, rectangle, inner sep=0pt, blue, pin={[pin
distance=1.5em, pin edge={<-,shorten <=1pt}] below right:{Ansicht n}}] {};
\end{tikzpicture}
\end{equation}
谢谢。是的(还没能将我的溢出帐户与 Exchange 关联起来……)。我将其自定义为更简单的外观,顺便说一下,稍微了解一下。
因为我需要引用这个方程,所以我将它与一个简单的方程环境结合起来,并将分隔符改为适合矩阵(原为向量)的分隔符。