[NTG-context] Building fomula

Alexandre Christe aleks.christe at gmail.com
Sat Mar 25 18:28:52 CET 2023


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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230325/37ee3d79/attachment.htm>


More information about the ntg-context mailing list