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
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
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
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
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
, if you plan to use such fractions in serious work, do read
the introduction of xfrac
(ftp://tug.ctan.org/pub/tex-archive/macros/latex/exptl/xfrac/doc/xfrac.pdf)
I think that the vigrule vs solidus argument also applies to ConTeXt's
definition.
Aditya
{a}{b} (a+b)$
The a and b of the fraction is in text mode rather than math mode. On
the LaTeX end, there are two packages that provide such a feature:
nicefrac and xfrac.
Nicefrac ensures that the height of the fraction is not greater than
`M'. It is somewhat cleaver, and works correctly