First time here? Check out the FAQ!

Ask Your Question
1

Can I show equations in black rather than blue?

asked 12 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 12 years ago

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; }
Preview: (hide)
link

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 ( 12 years ago )

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: 12 years ago

Seen: 667 times

Last updated: Dec 07 '12