ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 12 Dec 2012 09:49:26 +0100Can I show equations in black rather than blue?https://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 15:14:53 +0100https://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>
https://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; }
Fri, 07 Dec 2012 03:55:02 +0100https://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>
https://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 09:49:26 +0100https://ask.sagemath.org/question/9376/can-i-show-equations-in-black-rather-than-blue/?comment=18530#post-id-18530