ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math typesetting problems
Date: Mon, 28 Jan 2013 21:33:52 +0100	[thread overview]
Message-ID: <902B5A0E-2BF3-428B-8226-07549398F187@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1301281440420.21159@ybpnyubfg.ybpnyqbznva>


Am 28.01.2013 um 20:41 schrieb Aditya Mahajan <adityam@umich.edu>:

> On Mon, 28 Jan 2013, Roland Thiers wrote:
> 
>> 
>> Le 28 janv. 13 à 10:11, Janne Junnila a écrit :
>> 
>>> Indeed it seems like the alignment is good with \dfrac, but this does
>>> not solve my problem, since I wish to also use fractions with
>>> script-size or scriptscript-size (\xfrac, \xxfrac). The specific
>>> formula I have is
>>> \startformula
>>> f_{B_t | B_s = S, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t) +
>>> U(t-s)) + \frac{(S(u-t) +
>>> U(t-s))^2}{(u-s)}}{2(t-s)(u-t)}}}{\sqrt{2\pi\frac{(t-s)(u-t)}{u-s}}}
>>> \stopformula
>>> Thanks,
>>> Janne
>> OK !
>> So you need an expert, I'm just a newbie :)
>> I would be  interested to know how to do that.
>> Best, Roland
> 
> I'll look into fractions later this week. All the fraction macros of ConTeXt were based on \genfrac macro from AMSTeX so, in principle, they should behave in the same manner.

The \frac command uses \vcenter for the content while \dfrac and \tfrac only set the mathstyle before placing the content with the \over primitive.

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:[~2013-01-28 20:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 11:52 Janne Junnila
2013-01-27 12:09 ` Sietse Brouwer
2013-01-27 13:11   ` Janne Junnila
2013-01-27 14:50   ` Rogers, Michael K
2013-01-27 15:13 ` Roland Thiers
2013-01-28  9:11   ` Janne Junnila
2013-01-28 17:34     ` Roland Thiers
2013-01-28 19:41       ` Aditya Mahajan
2013-01-28 20:33         ` Wolfgang Schuster [this message]
2013-01-28 20:48           ` Aditya Mahajan
2013-01-28 20:59             ` Wolfgang Schuster
2013-01-28 23:20           ` Khaled Hosny
2013-04-06 21:35             ` Hans Hagen
2013-01-28 20:56     ` Otared Kavian
2013-01-28 21:09       ` Aditya Mahajan

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=902B5A0E-2BF3-428B-8226-07549398F187@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --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).