First time here? Check out the FAQ!

Ask Your Question
1

nice font in "table"

asked 3 years ago

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

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
2

answered 3 years ago

rburing gravatar image

Like this:

T=table([["$" + latex("grad") +"$"]])
Preview: (hide)
link
0

answered 3 years ago

ErWinz gravatar image

updated 3 years ago

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)
Preview: (hide)
link

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: 3 years ago

Seen: 273 times

Last updated: Nov 27 '21