I tried
Code: Select all
$\left\langle\begin{array}{c} n \\ r \end{array}\right\rangle$
Code: Select all
$\langle \stackrel{n}{r} \rangle$
If anyone has a solution to this, please let me know.
Code: Select all
$\left\langle\begin{array}{c} n \\ r \end{array}\right\rangle$
Code: Select all
$\langle \stackrel{n}{r} \rangle$
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
\genfrac
of amsmath and define your own macro.Code: Select all
\documentclass[a4paper]{article}
\usepackage{amsmath}
\DeclareRobustCommand{\abinom}{\genfrac{\langle}{\rangle}{0pt}{}}
\begin{document}
\[
\abinom{n}{r}
\]
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p