Skip to Content.
Sympa Menu

texmacs-users - [texmacs-users] spaces in beginning of a string

Subject: mailing-list for TeXmacs Users

List archive

Chronological Thread  
  • From: vincent douce <address@concealed>
  • To: address@concealed
  • Subject: [texmacs-users] spaces in beginning of a string
  • Date: Sat, 27 Sep 2025 21:05:56 +0200


hello
in a Python chunk inside TeXmacs, something in the display environment (i dont j-know what is the exact word) makes a defautl inaligment :

x=1.04
L=[]
for n in range(10):
 L.append([f"{x**(n+i):9.3f}" for i in range(n,n+10)])
print(" ")
for ligne in L:
 print(*ligne)

1.000 1.040 1.082 1.125 1.170 1.217 1.265 1.316 1.369 1.423
 1.082 1.125 1.170 1.217 1.265 1.316 1.369 1.423 1.480 1.539
 1.170 1.217 1.265 1.316 1.369 1.423 1.480 1.539 1.601 1.665
 1.265 1.316 1.369 1.423 1.480 1.539 1.601 1.665 1.732 1.801
 1.369 1.423 1.480 1.539 1.601 1.665 1.732 1.801 1.873 1.948
 1.480 1.539 1.601 1.665 1.732 1.801 1.873 1.948 2.026 2.107
 1.601 1.665 1.732 1.801 1.873 1.948 2.026 2.107 2.191 2.279
 1.732 1.801 1.873 1.948 2.026 2.107 2.191 2.279 2.370 2.465
 1.873 1.948 2.026 2.107 2.191 2.279 2.370 2.465 2.563 2.666
 2.026 2.107 2.191 2.279 2.370 2.465 2.563 2.666 2.772 2.883

the first line seels trnalsated to the left because texmacs cancels the space at the beginnign of it
i can find a solution bu print(‘’|’’,*ligne)...

is there something to parameter or customize in TeXmacs settings  ?
Vincent


  • [texmacs-users] spaces in beginning of a string, vincent douce, 09/27/2025

Archive powered by MHonArc 2.6.24.

Top of Page