ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Paul Menzel <paulepanter@users.sourceforge.net>
Subject: Re: Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled
Date: Sun, 4 Dec 2011 09:52:28 +0100	[thread overview]
Message-ID: <7F375F04-9B50-4A4C-841D-D23A38EB3F77@googlemail.com> (raw)
In-Reply-To: <1322938613.3532.31.camel@mattotaupa>


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
___________________________________________________________________________________


  reply	other threads:[~2011-12-04  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-03 18:56 Paul Menzel
2011-12-04  8:52 ` Wolfgang Schuster [this message]
2011-12-04 20:38   ` [solved] " Paul Menzel
     [not found] <mailman.1035.1322938633.4232.ntg-context@ntg.nl>
2011-12-03 23:56 ` dalyoung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7F375F04-9B50-4A4C-841D-D23A38EB3F77@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=paulepanter@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).