1
\documentclass{article}
5
\section{Testing Choose}
7
\beep\foo\def\beep{BEEP} hello, \beep. \bar\beep.
13
3. $ a + {b \choose c} + d$
15
% Should also work with these
16
4. $ a + \bgroup b \choose c \egroup + d$
18
% And even our own tokens \let to {}
19
5. $ a + \foo b \choose c \bar + d$
21
%% Interesting behaviour! \begingroup ..\endgroup do NOT create boxes!
22
6. $ a + \begingroup b \choose c \endgroup + d$
24
%$ a + { b \choose c \egroup + d$
26
%$ a + \bgroup b \choose c } + d$
28
% Aha, TeX doesn't like this (says Ambiguous)
29
%$ a + \frac{b \choose c}{d \choose e} + f$
34
%\def\open{\bgroup}\def\close{\bgroup}
35
% It doesn't like this either; it want's a real }
36
%$ a + \open b \choose c \close + d$