如何相应地拉伸或收缩调整大小框内的子表?

如何相应地拉伸或收缩调整大小框内的子表?

如何在 resizebox 中调整子表的大小?我想要三个表并排。但是,每个表都太宽了,所以我使用 \resizebox。我意识到我需要设置子表的宽度,而 \resizebox 的效果并不明显。我们如何设置某种相对宽度?

\begin{table*}
\resizebox{\linewidth}{!}{
  \begin{subtable}[h]{XXX} % how to set XXX?
  \caption{$M=14$}
    \begin{tabular}{r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r}
       % stuff
    \end{tabular}
  \end{subtable}

  \begin{subtable}[h]{XXX} % how to set XXX?
  \caption{$M=14$}
    \begin{tabular}{r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r}
       % stuff
    \end{tabular}
  \end{subtable}


  \begin{subtable}[h]{XXX} % how to set XXX?
  \caption{$M=14$}
    \begin{tabular}{r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r}
       % stuff
    \end{tabular}
  \end{subtable}

  }
\end{table*}

相关内容