ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 12 Dec 2012 02:49:26 -0600Can I show equations in black rather than blue?http://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/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.Thu, 06 Dec 2012 08:14:53 -0600http://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/Answer by ppurka for <p>When I <code>show()</code> or <code>view()</code> an equation, it displays in blue. But when I refer to the same equation with a <code><sage></code> 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 <code>show()</code> but it doesn't seem to work.</p>
http://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/?answer=14358#post-id-14358Add 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; }
Thu, 06 Dec 2012 20:55:02 -0600http://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/?answer=14358#post-id-14358Comment by PatrickSurry for <p>Add the following line to <code>$HOME/.sage/notebook.css</code> (create the file if it doesn't exist):</p>
<pre><code> div.cell_div_output_wrap, div.cell_output_nowrap_nowrap { color: #000; }
</code></pre>
http://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/?comment=18530#post-id-18530Great, thanks. You can also do it locally within a worksheet cell via:
%html
<style>div.cell_div_output_wrap { color: #000 }<style>Wed, 12 Dec 2012 02:49:26 -0600http://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/?comment=18530#post-id-18530