[Tex/LaTex] How to make a small pmatrix

fontsizematrices

I want a small matrix but the only command I can find is \smallmatrix which leaves the brackets out. Is there a simliar one that includes brackets?

Best Answer

Three possibilities:

\documentclass{article}
\usepackage{mathtools}
\newcommand\SmallMatrix[1]{{%
  \tiny\arraycolsep=0.3\arraycolsep\ensuremath{\begin{pmatrix}#1\end{pmatrix}}}}

\begin{document}

$\left(\begin{smallmatrix}1&2&3\\1&2&3\end{smallmatrix}\right)$

$\begin{psmallmatrix}1&2&3\\1&2&3\end{psmallmatrix}$

\SmallMatrix{1&2&3\\1&2&3}

\end{document}
Related Question