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.Mon, 02 Mar 2015 22:55:52 +0100How to change default font-size in shift-click-created cells inside Sage Notebook?https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/To insert text with Latex in Sage Notebook we can create a special cell with a nice embedded text-editor by shift-clicking between two cells, but then the default font is really tiny compared to the one of the code. Change it every time is quite annoying. Any way to change it once and for all?
EDIT: I mean the default font size both in the output and in the editor while composing.Wed, 16 Jan 2013 06:36:06 +0100https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/Comment by NahsiN for <p>To insert text with Latex in Sage Notebook we can create a special cell with a nice embedded text-editor by shift-clicking between two cells, but then the default font is really tiny compared to the one of the code. Change it every time is quite annoying. Any way to change it once and for all?</p>
<p>EDIT: I mean the default font size both in the output and in the editor while composing.</p>
https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?comment=26003#post-id-26003Did you figure out the solution for increasing font size while composing?Mon, 02 Mar 2015 22:55:52 +0100https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?comment=26003#post-id-26003Answer by ppurka for <p>To insert text with Latex in Sage Notebook we can create a special cell with a nice embedded text-editor by shift-clicking between two cells, but then the default font is really tiny compared to the one of the code. Change it every time is quite annoying. Any way to change it once and for all?</p>
<p>EDIT: I mean the default font size both in the output and in the editor while composing.</p>
https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?answer=14464#post-id-14464You can create a file `$HOME/.sage/notebook.css` with the following content
.text_cell { font-size: 16px; }
Then restart your notebook. Change the font size to what you like of course.
Wed, 16 Jan 2013 11:19:46 +0100https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?answer=14464#post-id-14464Comment by anatematic for <p>You can create a file <code>$HOME/.sage/notebook.css</code> with the following content</p>
<pre><code>.text_cell { font-size: 16px; }
</code></pre>
<p>Then restart your notebook. Change the font size to what you like of course.</p>
https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?comment=18389#post-id-18389Thank you! This solves half of the problem, the one about the output. I've edited my question, adding that I'm annoyed also by the size of the text in the editor itself.Wed, 16 Jan 2013 16:04:03 +0100https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?comment=18389#post-id-18389Comment by ppurka for <p>You can create a file <code>$HOME/.sage/notebook.css</code> with the following content</p>
<pre><code>.text_cell { font-size: 16px; }
</code></pre>
<p>Then restart your notebook. Change the font size to what you like of course.</p>
https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?comment=18388#post-id-18388I am not so sure about the content in the tinymce editor. I suspect it is controlled by the tinymce editor itself, and given what my searches came up with, one needs to [provide a custom css file](http://stackoverflow.com/questions/4427407/how-to-change-default-font-size-in-tinymce) during the init of the editor.Thu, 17 Jan 2013 01:04:30 +0100https://ask.sagemath.org/question/9710/how-to-change-default-font-size-in-shift-click-created-cells-inside-sage-notebook/?comment=18388#post-id-18388