阵列矩阵的断线

阵列矩阵的断线

我有一行矩阵数组,如下图所示

在此处输入图片描述

下面是该矩阵的代码。

\begin{figure}
\[
 P=\left(\left\{\begin{array}{l}
 p^{(1)}(x_1,x_2,\cdots,x_{r_1})  \\
\vdots\\
p^{(m_1)}(x_1,x_2,\cdots,x_{r_1})
\end{array}
\right.%%%%%%%%%%%%%
\left\{\begin{array}{l}
 p^{(m_1+1)}(x_1,x_2,\cdots,x_{r_1}, x_{r_1+1},x_{r_1+2},\cdots,x_{r_2})  \\
\vdots\\
 p^{(m_1+m_2)}(x_1,x_2,\cdots,x_{r_1}, x_{r_1+1},x_{r_1+2},\cdots,x_{r_2}) 
 \end{array}
\right.%%%%%%%%%%%%
\right).
\]
\end{figure}

你能帮我分解每个系统,使得新的图形大致如下(带有括号):

在此处输入图片描述

答案1

您需要嵌套数组或矩阵。

\documentclass{article}
\usepackage{mathtools}

    \begin{document}
\begin{figure}[h]
    \centering
\[
P = \left(\begin{array}{l}
    \left\{\begin{array}{l}
            p^{(1)}(x_1,x_2,\cdots,x_{r_1})  \\
            \vdots  \\
            p^{(m_1)}(x_1,x_2,\cdots,x_{r_1})
    \end{array}\right.      \\
    \left\{\begin{array}{l}
            p^{(m_1+1)}(x_1,x_2,\cdots,x_{r_1}, x_{r_1+1},x_{r_1+2},\cdots,x_{r_2})  \\
            \vdots\\
            p^{(m_1+m_2)}(x_1,x_2,\cdots,x_{r_1}, x_{r_1+1},x_{r_1+2},\cdots,x_{r_2})
    \end{array}\right.  
    \end{array}\right)
\]
\caption{nested arrays}
\end{figure}

\begin{figure}[h]
    \centering
\[
P = \begin{pmatrix*}[l]
    \left\{\begin{array}{l}
            p^{(1)}(x_1,x_2,\cdots,x_{r_1})  \\
            \vdots  \\
            p^{(m_1)}(x_1,x_2,\cdots,x_{r_1})
    \end{array}\right.      \\
    \left\{\begin{array}{l}
            p^{(m_1+1)}(x_1,x_2,\cdots,x_{r_1}, x_{r_1+1},x_{r_1+2},\cdots,x_{r_2})  \\
            \vdots\\
            p^{(m_1+m_2)}(x_1,x_2,\cdots,x_{r_1}, x_{r_1+1},x_{r_1+2},\cdots,x_{r_2})
    \end{array}\right.
    \end{pmatrix*}
\]
\caption{Arrays nested in matrix}
\end{figure}
    \end{document}

在此处输入图片描述

答案2

使用dcases内部环境pmatrix

\documentclass{article}
\usepackage{mathtools}
\usepackage{eqparbox}

\begin{document}

\[
  P = \begin{pmatrix*}[l]
  \begin{dcases}
    \eqmakebox[V][l]{$ p^{(1)}(x_1,x_2,\dots,x_{r_1}) $} \\
    \eqmakebox[V]{$ \vdots $} \\
    \eqmakebox[V][l]{$ p^{(m_1)}(x_1,x_2,\dots,x_{r_1}) $}
  \end{dcases} \\
  \begin{dcases}
    p^{(m_1+1)}(x_1,x_2,\dots,x_{r_1}, x_{r_1+1},x_{r_1+2},\dots,x_{r_2}) \\
    \eqmakebox[V]{$ \vdots $} \\
    p^{(m_1+m_2)}(x_1,x_2,\dots,x_{r_1}, x_{r_1+1},x_{r_1+2},\dots,x_{r_2})
  \end{dcases}\\[-0.8ex]
  \hskip1em \vdots \\[-1.54ex]
  \hskip1em \vdots \\
  \begin{dcases}
    p^{(\sum_{i=1}^{\ell-1} m_i+1)}(x_1,x_2,\dots,x_{r_1}, \dots \dots, x_{r_{\ell-1}}, x_{r_{\ell-1}+1},\dots,x_{r_\ell }) \\
    \eqmakebox[V]{$ \vdots $} \\
    p^{(\sum_{i=1}^{\ell-1} m_i+m_\ell )}(x_1,x_2,\dots,x_{r_1}, \dots \dots, x_{r_{\ell-1}}, x_{r_{\ell-1}+1},\dots,x_{r_\ell })
  \end{dcases}
  \end{pmatrix*}
\]

\end{document} 

在此处输入图片描述

相关内容