Ask Your Question

Can I show equations in black rather than blue?

asked 2012-12-06 08:14:53 -0600

PatrickSurry gravatar image

When I show() or view() an equation, it displays in blue. But when I refer to the same equation with a <sage> tag inside an html environment, it displays in black. Can I change the default color to black? I've tried passing various color options to show() but it doesn't seem to work.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-12-06 20:55:02 -0600

ppurka gravatar image

Add the following line to $HOME/.sage/notebook.css (create the file if it doesn't exist):

 div.cell_div_output_wrap, div.cell_output_nowrap_nowrap { color: #000; }
edit flag offensive delete link more


Great, thanks. You can also do it locally within a worksheet cell via: %html <style>div.cell_div_output_wrap { color: #000 }<style>

PatrickSurry gravatar imagePatrickSurry ( 2012-12-12 02:49:26 -0600 )edit

Your Answer

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

Add Answer

Question Tools


Asked: 2012-12-06 08:14:53 -0600

Seen: 421 times

Last updated: Dec 06 '12