Ask Your Question
1

displaysing show(f) in some color [closed]

asked 3 years ago

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

Preview: (hide)

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

rburing gravatar image

updated 3 years ago

Like this:

html(r"$\color{blue}{" + latex(f) + r"}$")
Preview: (hide)
link

Question Tools

2 followers

Stats

Asked: 3 years ago

Seen: 213 times

Last updated: Nov 23 '21