\binom
command to include more than 2 arguments. The formatting of \pmatrix
was not satisfying for me, so I came up with a custom command based on \genfrac
from amsmath:Code: Select all
\newcommand\triplet[3]{\left(\genfrac{}{}{0pt}{0}{#1}{\genfrac{}{}{0pt}{0}{#2}{#3}}\right)}
I have attached an example showing
\binom
and my new command \triplet
for comparison.Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\newcommand\triplet[3]{\left(\genfrac{}{}{0pt}{0}{#1}{\genfrac{}{}{0pt}{0}{#2}{#3}}\right)}
\begin{equation}
\binom{1/3}{-2/3}
\end{equation}
\begin{equation}
\triplet{2/3}{-1/3}{-4/3}
\end{equation}
\end{document}