Open main menu

Changes

{{cmd|setupmathfractions}}.
The default look of the binomial coefficients look good in several fonts, but for example not perfect in Latin Modern. You can play with {{cmd|setupmathfractions}}, and in particular, you can try
<texcode>\setupmathfractions[Below we show some of the often used fonts, together with the default setting and the one just suggested. The default look of the binomial][fences=parenthesiscoefficients look good in several fonts,%but for example not perfect in Latin Modern: you can play with {{cmd|definemathfraction}} (threshold=1key ??).5,]</texcode>
Below we show some of the often used fonts, together with the default setting and the one just suggested. You can also play with the
threshold key.
<context source="yes">
height=fit,
]
 
\definemathfraction[binomial][fences=parenthesis,rule=no]
\startbuffer
\type{\binom{n}{k}}: $\binom{n}{k}$\par
\type{\binomial{n}{k}}: $\binomial{n}{k}$\par
\type{\tbinom{n}{k}}: $\tbinom{n}{k}$\par
\type{\dbinom{n}{k}}: $\dbinom{n}{k}$\par
1,005

edits