Control LaTeX expression color in ipython qtconsole

前端 未结 1 779
生来不讨喜
生来不讨喜 2021-02-10 04:40

I\'m using a dark background for ipython. I would like to have sympy expressions pretty-printed with LaTeX. Problem is the current LaTeX font is black. How can I change LaTeX fo

相关标签:
1条回答
  • 2021-02-10 05:18

    You can set the forecolor and backcolor options in sympy.init_printing. For example, to print the equations in blue, use

    In [1]: init_printing(forecolor="Blue")
    
    0 讨论(0)
提交回复
热议问题