Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled
Dear ConTeXt folks, using the following minimal example \starttext Using \type{\choose} in text $n \choose \frac{n}2$. \startformula n \choose \frac{n}2 \stopformula \CONTEXT\ \contextmark\ \contextversion\ with \texenginename\ \texengineversion \stoptext the parentheses of the binomial in the text or too short. I guess this is because the parentheses are not scaled when inlined and that this is also a TeX limitation and therefore expected? ConTEXt MKIV 2011.11.25 21:29 with LuaTeX 0.70.1 Thanks, Paul
Am 03.12.2011 um 19:56 schrieb Paul Menzel:
Dear ConTeXt folks,
using the following minimal example
\starttext Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula n \choose \frac{n}2 \stopformula
\CONTEXT\ \contextmark\ \contextversion\ with \texenginename\ \texengineversion \stoptext
the parentheses of the binomial in the text or too short. I guess this is because the parentheses are not scaled when inlined and that this is also a TeX limitation and therefore expected?
Instead if \choose you can use \binom which is the recommended way in context. The \dbinom command sets the content in display style while \tbinom use textstyle. \starttext Using \tex{binom} in text $\binom{n}{\frac{n}{2}}$. Using \tex{dbinom} in text $\dbinom{n}{\frac{n}{2}}$. Using \tex{tbinom} in text $\tbinom{n}{\frac{n}{2}}$. \startformula \binom{n}{\frac{n}{2}} \stopformula \stoptext Wolfgang
Am Sonntag, den 04.12.2011, 09:52 +0100 schrieb Wolfgang Schuster:
Am 03.12.2011 um 19:56 schrieb Paul Menzel:
using the following minimal example
\starttext Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula n \choose \frac{n}2 \stopformula
\CONTEXT\ \contextmark\ \contextversion\ with \texenginename\ \texengineversion \stoptext
the parentheses of the binomial in the text or too short. I guess this is because the parentheses are not scaled when inlined and that this is also a TeX limitation and therefore expected?
Instead if \choose you can use \binom which is the recommended way in context.
The \dbinom command sets the content in display style while \tbinom use textstyle.
\starttext
Using \tex{binom} in text $\binom{n}{\frac{n}{2}}$.
Using \tex{dbinom} in text $\dbinom{n}{\frac{n}{2}}$.
Using \tex{tbinom} in text $\tbinom{n}{\frac{n}{2}}$.
\startformula \binom{n}{\frac{n}{2}} \stopformula
\stoptext
As always that did the trick. Thank you a lot Wolfgang and Dalyoung! Thanks, Paul
participants (2)
-
Paul Menzel
-
Wolfgang Schuster