texmacs as jupyter notebook : alignement pb

vincent douce <[email protected]> Thu, 14 Nov 2024 14:26:06 +0100
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
hello

this code works well :
from math import *
def L(x):
    return([x**n for n in range(10,16)])
eps=4
for x in [pi,e,sqrt(2)]:
    print(*[f"{k:14.{eps}f}" for k in L(x)])

for example in Thonny :



but the alignement is problematic inside texmacs



what sould i do ?

Vinz
GraphiqueCollé-3.png (image/png, 41.8 KB) - not displayed
GraphiqueCollé-2.png (image/png, 23.7 KB) - not displayed
aj-tm-alignement.tm (application/octet-stream, 1.4 KB) - not displayed