[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
On 12/9/2023 4:33 PM, Aditya Mahajan wrote: On Sat, 9 Dec 2023, Wolfgang Schuster wrote: \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}: \m

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
On Sat, 9 Dec 2023, Wolfgang Schuster wrote: > \starttext > > \startlines > \type{\frac{1}{3}}: \m{\frac{1}{3}} > \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} > \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} > \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} > \type{\sfrac{1}{3}}: \m{\sfrac{1

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
, Henning Hraban Ramm a écrit : > Am 09.12.23 um 14:43 schrieb Wolfgang Schuster: > > anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: > > \startlines > > \type{\frac{1}{3}}: \m{\frac{1}{3}} > > \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} > > \type{\xxfrac{1}{3}}: \

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Henning Hraban Ramm
Am 09.12.23 um 14:43 schrieb Wolfgang Schuster: anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}: \m

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
with \setupinterlinespace or you use a different fraction command which uses smaller numbers or creates inline fractions. \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
Hi Hans, and thanks I tried your suggestion (I guess you mean cont-new.mkxl instead of cont-new.mlxl) It is still giving some errors. Besides, there is also now an error with xfrac (which was ok without modifying cont-new.mkxl) Thierry On 19/04/2021 10:36, Hans Hagen wrote: On 4/19/2021

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Janne Junnila
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

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Roland Thiers
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

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Aditya Mahajan
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

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Wolfgang Schuster
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

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Otared Kavian
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

Re: [NTG-context] The \frac macro.

2007-04-22 Thread Aditya Mahajan
, 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

Re: [NTG-context] how to do something like ^1/_2 with frac?

2007-01-29 Thread Aditya Mahajan
{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