ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Re: Extend the fraction bar
Date: Tue, 4 Jul 2006 21:14:41 -0700	[thread overview]
Message-ID: <A8BC09CA-8E25-4AB6-A641-D69DD84CEB2A@cox.net> (raw)
In-Reply-To: <Pine.WNT.4.63.0607050007260.3648@nqvgln>

Aditya,

Thanks. You are very helpful.

On Jul 4, 2006, at 9:08 PM, Aditya Mahajan wrote:

> On Tue, 4 Jul 2006, David Arnold wrote:
>
>> Taco, Mojca,
>>
>> Thanks for the response on lengthening the main fraction bar? Any way
>> to make the main fraction bar wider?
>>
>> There is a genfrac command in amslatex. Anything similar in Context?
>
> m-newmat.tex defines genfrac.
>
> \usemodule[newmat]
>
> \def\bigfrac{\genfrac{}{}{2pt}\displaystyle}
>
> \starttext
>
> \startformula
>    \bigfrac{100}{200} \text{ vs } \frac{100}{200}
> \stopformula
>
> \stoptext
>
>
> Adjust 2pt to something that suits you.
>
> Aditya
>
>
>
>
>
>> On Jul 2, 2006, at 4:00 AM, Taco Hoekwater wrote:
>>
>>> David Arnold wrote:
>>>> All,
>>>>
>>>> How can I extend the main fraction bar in the following expression,
>>>> making it a tad longer?
>>>
>>> Just add a bit of whitespace to the right and left:
>>>
>>>    \dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}
>>>          {\,\dfrac{4x^3-9x}{2x^2+5x-12}\,}
>>>
>>> You may want to add a \vphantom command as well to separate the
>>> fractions from the main bar a bit more.
>>>
>>>
>>>   \dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}{\,\dfrac{4x^3-9x}{2x^2
>>> +5x-12}\,}.
>>>> \placeformula
>>>> \startformula
>>>> \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}.
>>>> \stopformula
>>> _______________________________________________
>>> ntg-context mailing list
>>> ntg-context@ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
>>
>
> -- 
> Aditya Mahajan, EECS Systems, University of Michigan
> http://www.eecs.umich.edu/~adityam || Ph: 7342624008
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-07-05  4:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-02  2:26 David Arnold
2006-07-02 11:00 ` Taco Hoekwater
2006-07-05  0:16   ` David Arnold
2006-07-05  4:08     ` Aditya Mahajan
2006-07-05  4:14       ` David Arnold [this message]
2006-07-05  4:15       ` David Arnold
2006-07-05  4:22         ` Aditya Mahajan
2006-07-02 11:15 ` Mojca Miklavec

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=A8BC09CA-8E25-4AB6-A641-D69DD84CEB2A@cox.net \
    --to=dwarnold45@cox.net \
    --cc=ntg-context@ntg.nl \
    /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).