Ask Your Question
1

displaysing show(f) in some color [closed]

asked 2021-11-23 14:32:09 +0100

ErWinz gravatar image

hi

i type this :

f(x,y)=(x+y)^3+x+y
show("f",f)

i would like the "f" to be displayed in some color

is it possible to do it ?

i've searched a lot with jsmaths, latex(), html(), text(), view() but, for different reasons nothing seems to answer to my question

thanks

Vincent

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ErWinz
close date 2021-11-27 11:47:22.046323

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-11-23 23:58:29 +0100

rburing gravatar image

updated 2021-11-23 23:59:47 +0100

Like this:

html(r"$\color{blue}{" + latex(f) + r"}$")
edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-11-23 14:32:09 +0100

Seen: 197 times

Last updated: Nov 23 '21