Hi math gurus, I should typeset a couple of simple math formulae. However I do not get the desired result. I attach my output as pdf. 1. Why is the \times 12 in the denominator although the fraction is grouped? — I tried also the grouping with bracis, which gives the same result. 2. Why is the result after the equalsign in the denominator? \starttext \startformulas \startformula \bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12} \stopformula \startformula {{47 \times 62 \times 12} \over {44 \times 56}}=14.2\ \rm kilo \stopformula \stopformulas \stoptext Thank you for hinting me how to this correctly. Kind regards Willi
On Thu, 16 Feb 2023, Willi Egger via ntg-context wrote:
Hi math gurus,
I should typeset a couple of simple math formulae. However I do not get the desired result. I attach my output as pdf.
1. Why is the \times 12 in the denominator although the fraction is grouped? — I tried also the grouping with bracis, which gives the same result. 2. Why is the result after the equalsign in the denominator?
[...]
Thank you for hinting me how to this correctly.
Have you tried using \frac{...}{...} instead of {... \over ...} Aditya
Hello Hans and Anditya, thank you both for your answers. — Reconstructing now the math… Kind regards Willi
On 16 Feb 2023, at 18:12, Aditya Mahajan via ntg-context
wrote: On 2/16/2023 6:05 PM, Willi Egger via ntg-context wrote:
Hi math gurus, I should typeset a couple of simple math formulae. However I do not get the desired result. I attach my output as pdf. 1. Why is the \times 12 in the denominator although the fraction is grouped? — I tried also the grouping with bracis, which gives the same result. 2. Why is the result after the equalsign in the denominator? \starttext \startformulas \startformula \bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12} \stopformula \startformula {{47 \times 62 \times 12} \over {44 \times 56}}=14.2\ \rm kilo \stopformula \stopformulas \stoptext Thank you for hinting me how to this correctly.
\frac{...}{...} .. forget about \over
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________
On 2/16/2023 6:05 PM, Willi Egger via ntg-context wrote:
Hi math gurus,
I should typeset a couple of simple math formulae. However I do not get the desired result. I attach my output as pdf.
1. Why is the \times 12 in the denominator although the fraction is grouped? — I tried also the grouping with bracis, which gives the same result. 2. Why is the result after the equalsign in the denominator?
\starttext \startformulas \startformula \bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12} \stopformula \startformula {{47 \times 62 \times 12} \over {44 \times 56}}=14.2\ \rm kilo \stopformula
\stopformulas \stoptext
Thank you for hinting me how to this correctly.
\frac{...}{...} .. forget about \over ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Willi Egger