Problem with: 0.222 222 222_3

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

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

On 3/25/25 14:50, Ursula Hermann wrote:
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?
Hi Ursula, two comments on your code (once Wolfgang solved all issues):
\setuppapersize[A4]
Portrait A4 is the default in ConTeXt (unless I have been missing something for decades).
\setupbodyfont[thermes, 8pt]
The font for Times is termes or times (using TeX Gyre Termes). I hope it helps, Pablo

Hi Pablo, On Tue, 2025-03-25 at 18:03 +0100, Pablo Rodriguez via ntg-context wrote:
On 3/25/25 14:50, Ursula Hermann wrote:
\setuppapersize[A4]
Portrait A4 is the default in ConTeXt (unless I have been missing something for decades).
If you're using the ConTeXt from TeX Live, the default paper size depends on the system-wide paper size, which you can set with "tlmgr paper [a4|letter]". See the files tex/context/texlive/cont-sys.mk{iv,xl} for the implementation. Thanks, -- Max

On 3/25/25 22:31, Max Chernoff via ntg-context wrote:
Hi Pablo,
Many thanks for your correction, Max. I think it was over five years ago the last time I installed TeX Live installed on my computer. Before that, I quickly realized (wisely advised by this mailing-list participants) that it was way better to use the pure ConTeXt distribution than ConTeXt from TeX Live.
On Tue, 2025-03-25 at 18:03 +0100, Pablo Rodriguez wrote:
On 3/25/25 14:50, Ursula Hermann wrote:
\setuppapersize[A4]
Portrait A4 is the default in ConTeXt (unless I have been missing something for decades).
If you're using the ConTeXt from TeX Live, the default paper size depends on the system-wide paper size, which you can set with "tlmgr paper [a4|letter]".
Ursula, I apologize for my wrong indication. Pablo
participants (4)
-
Max Chernoff
-
Pablo Rodriguez
-
Ursula Hermann
-
Wolfgang Schuster