Ask Your Question
1

nice font in "table"

asked 2021-11-23 14:36:06 +0100

ErWinz gravatar image

hi

i have this code :

show("grad")
T=table([["grad"]])
show(T)

the result of the first line is "grad" in some beautiful font

but the result of the show(T) is "grad" in some other font

can i display the show(T) with the font that Sagemaths uses when running show("grad") ?

Vinz

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2021-11-24 09:38:10 +0100

rburing gravatar image

Like this:

T=table([["$" + latex("grad") +"$"]])
edit flag offensive delete link more
0

answered 2021-11-27 11:44:39 +0100

ErWinz gravatar image

updated 2021-11-27 11:51:22 +0100

thank you ; i can't manage to have the good result see image image description i also have a problem of alignment in table : image description with this code :

display_f=html(r"$\color{blue}{" + latex(f) + r"}$")
T=table([[display_f],["$" + latex("grad") +"$",grad(F)[:]],["H=",H]],frame=True,align='center')
show(T)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-11-23 14:36:06 +0100

Seen: 253 times

Last updated: Nov 27 '21