ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Math issue
@ 2023-02-16 17:05 Willi Egger via ntg-context
  2023-02-16 17:12 ` Aditya Mahajan via ntg-context
  2023-02-16 17:12 ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: Willi Egger via ntg-context @ 2023-02-16 17:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

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

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 7748 bytes --]

[-- Attachment #3: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Math issue
  2023-02-16 17:05 Math issue Willi Egger via ntg-context
@ 2023-02-16 17:12 ` Aditya Mahajan via ntg-context
  2023-02-18 13:28   ` Willi Egger via ntg-context
  2023-02-16 17:12 ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 4+ messages in thread
From: Aditya Mahajan via ntg-context @ 2023-02-16 17:12 UTC (permalink / raw)
  To: Willi Egger via ntg-context; +Cc: Aditya Mahajan, Willi Egger

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Math issue
  2023-02-16 17:05 Math issue Willi Egger via ntg-context
  2023-02-16 17:12 ` Aditya Mahajan via ntg-context
@ 2023-02-16 17:12 ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2023-02-16 17:12 UTC (permalink / raw)
  To: Willi Egger via ntg-context; +Cc: Hans Hagen

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Math issue
  2023-02-16 17:12 ` Aditya Mahajan via ntg-context
@ 2023-02-18 13:28   ` Willi Egger via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Willi Egger via ntg-context @ 2023-02-18 13:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

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 <ntg-context@ntg.nl> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-18 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 17:05 Math issue Willi Egger via ntg-context
2023-02-16 17:12 ` Aditya Mahajan via ntg-context
2023-02-18 13:28   ` Willi Egger via ntg-context
2023-02-16 17:12 ` Hans Hagen via ntg-context

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).