Ask Your Question
1

Can I show equations in black rather than blue?

asked 2012-12-06 15:14:53 +0100

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
2

answered 2012-12-07 03:55:02 +0100

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

Comments

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 09:49:26 +0100 )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

Stats

Asked: 2012-12-06 15:14:53 +0100

Seen: 665 times

Last updated: Dec 07 '12