ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled
       [not found] <mailman.1035.1322938633.4232.ntg-context@ntg.nl>
@ 2011-12-03 23:56 ` dalyoung
  0 siblings, 0 replies; 3+ messages in thread
From: dalyoung @ 2011-12-03 23:56 UTC (permalink / raw)
  To: ntg-context

Dear Paul,

> using the following minimal example
> 
>        \starttext
>        Using \type{\choose} in text $n \choose \frac{n}2$.
> 

Please try $\displaystyle{n \choose \frac{n}2}$.
It is working for me.

I hope it is what you are looking for.

best regards,

Dalyoung

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled
  2011-12-03 18:56 Paul Menzel
@ 2011-12-04  8:52 ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2011-12-04  8:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel


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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled
@ 2011-12-03 18:56 Paul Menzel
  2011-12-04  8:52 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2011-12-03 18:56 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 625 bytes --]

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


[-- Attachment #1.1.2: choose.pdf --]
[-- Type: application/pdf, Size: 26020 bytes --]

[-- Attachment #1.1.3: choose.tex --]
[-- Type: text/x-tex, Size: 211 bytes --]

\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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-04  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1035.1322938633.4232.ntg-context@ntg.nl>
2011-12-03 23:56 ` Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled dalyoung
2011-12-03 18:56 Paul Menzel
2011-12-04  8:52 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).