Am 25.03.2025 um 14:50 schrieb Ursula Hermann:
Dear List,

Me again,

I have a question to this formula. I want to use 0.222 222 222_3, but I get 0.222222222_3. And another question too: how can I say, that I want not so much place between formula lines?

\setuppapersize[A4]
\setupbodyfont[thermes, 8pt]
\starttext
\startformula
x_1 = 0.222 222 222_3
\stopformula

\stoptext

I want to have

\startformula
x_1= 0.222 222 222
x_1=0.222 222 222
\stopformula ,

but not

\startformula
a=b

a=b
\stopformula

Many thanks for your help and tips.

1. Math mode has its own rules regarding spaces.

2. Use \digits to format the number.

3. Use \startalign or \startmathalignment to align multiple lines in a formula.

%%%% begin example
\setdigitmode{4}

\starttext

\startformula
\startmathalignment[align={1:right,2:left}]
\NC x_1 \EQ \digits{0.222,222,222}_3 \NR
\NC x_1 \EQ \digits{0.222,222,222}_3 \NR
\stopmathalignment
\stopformula

\stoptext
%%%% end example

For more information about math look into the mathincontext manual.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to