# [NTG-context] Building fomula

Willi Egger w.egger at boede.nl
Sat Mar 25 21:34:39 CET 2023

Hello Alexandre, thank you so much, this is precisely what I was looking for!

Cheers

Willi
> On 25 Mar 2023, at 18:28, Alexandre Christe via ntg-context <ntg-context at ntg.nl> wrote:
>
> Hi Willi,
>
> A dead simple solution would be
>
> \starttext
> \startformula
>     {\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
> \stopformula
>
> \stoptext
>
>
> Le sam. 25 mars 2023 Ã  18:09, Willi Egger via ntg-context <ntg-context at ntg.nl> a Ã©crit :
> Good afternoon everybody,
>
> I should place two faily simple formulae next to each other, they should be coupled by â€˜orâ€™. What I have now is, that the formulae indeed are next to each other and separated by â€˜orâ€™, but the result of the second formula is moved und this formula to the next line.
> In the setup of  book there would be enough place, if I coud decrease the space left and right of the â€˜orâ€™.
>
> How can I achieve this?
>
> Cheers
>
> Willi
>
> \starttext
>   \startformulas
>     \startformula[align=right]
>       {\frac{47 \times 62}{44 \times 56}} \times {12}
>     \stopformula
>     \startformula[align=right,width=0.2\textwidth]
>       or
>     \stopformula
>     \startformula[align=right]
>       {{\frac{47 \times 62 \times 12}{44 \times 56}}=14.2 \rm kilo}
>     \stopformula
>
>   \stopformulas
>   \blank[small]
>   rounded 14 kilo.
> \stoptext
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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 at 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
> ___________________________________________________________________________________