ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Xenia <yoraxe@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: math: size of sqrt to small for fractions
Date: Wed, 10 Apr 2013 00:42:25 +0200	[thread overview]
Message-ID: <51649951.6070206@wxs.nl> (raw)
In-Reply-To: <51646B1C.70808@googlemail.com>

On 4/9/2013 9:25 PM, Xenia wrote:
> On 09.04.2013 21:18, Hans Hagen wrote:
>> On 4/9/2013 9:02 PM, Xenia wrote:
>>> Hi list,
>>>
>>> I noticed that the sign for the square root does not adapt to the size
>>> of a fraction as in the attached minimal example.
>>
>> In what sense? Sqrt's grow in discrete steps.
>
> Oh, I didn't know that. For my feelings, all variables should have the
> same size here (a,b and c).

Hopefully ok now ... I also made the mathstyle more conformant the new 
math style mechanism and added coloring of the fraction rule.

\definemathfraction[innerfrac][frac][alternative=inner,mathstyle=script,color=red]
\definemathfraction[outerfrac][frac][alternative=outer,mathstyle=script,color=blue]

\starttext

     \startformula
         a = \frac{b}{c} = \sqrt{\frac{b}{c}} = \sqrt{{b}\over{c}}
         a = \frac{b}{c} = \sqrt{\frac{b}{c}} = \sqrt{{b}\over{c}}
         a = \outerfrac{a}{b} = \innerfrac{a}{b} = \frac{a}{b}
     \stopformula

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


      parent reply	other threads:[~2013-04-09 22:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09 19:02 Xenia
2013-04-09 19:18 ` Hans Hagen
2013-04-09 19:25   ` Xenia
2013-04-09 19:46     ` Hans Hagen
2013-04-09 20:39     ` Alan BRASLAU
2013-04-09 21:09       ` Xenia
2013-04-09 22:44       ` Hans Hagen
2013-04-09 22:54       ` Khaled Hosny
2013-04-09 22:42     ` Hans Hagen [this message]

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=51649951.6070206@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=yoraxe@googlemail.com \
    /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).