With LaTeX macro


and input


my hope was to get the equivalent of


but I get



I know how to fix the text to get what I want, but I really want to change the macro. Any ideas? And if you know, where did you find it, since I spent a considerable time to find an online answer and would like to have access to a document that can provide answers to questions like this one.

  • Welcome to TeX.SX! Your post was migrated here from another Stack Exchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question.
    – Joseph Wright
    Commented Jun 8, 2014 at 8:09
  • 1
    In terms of documentation, you are using a plain TeX command here with LaTeX: you are 'on your own' in many ways (you have to know what you are doing by, for example, reading The TeXbook). The answer covers things in the specific case, but more generally the braces used to set up a \newcommand don't 'count' for grouping around a construct like \choose, hence needing a second set.
    – Joseph Wright
    Commented Jun 8, 2014 at 8:11

1 Answer 1


You need to use \newcommand{\CH}[2]{{#1 \choose #2}}. The second set of parenthesis will keep the choose command self contained. Alternatively, your could use: \newcommand{\CH}[2]{\binom{#1}{#2}}. Or, frankly, why not just use \binom?

  • 2
    \let\CH=\binom :)
    – wipet
    Commented Jun 8, 2014 at 8:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .