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
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@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@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
___________________________________________________________________________________
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
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
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@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 ___________________________________________________________________________________
participants (2)
-
Alexandre Christe
-
Willi Egger