Notebook font settings?
Is there any way to change the default set of fonts used in notebook? For interface, code editor and text output?
Is there any way to change the default set of fonts used in notebook? For interface, code editor and text output?
I don't know of any easy way. An inconvenient way: edit the file SAGE_ROOT/devel/sagenb/sagenb/data/sage/css/main.css
. For example, changing the line
body { background-color: white; }
to
body { background-color: white; font-family: impact, chicago; }
affects some of the fonts. Alternatively, notice that this file main.css
says at the beginning
/* Warning: These .css files are automatically generated and will be overwritten */
/* when they are next generated. Please edit the SASS source located at */
/* <sagenb-spkg-root>/sass/src. Kindly refer to the readme for editing */
/* instructions at <sagenb-spkg-root>/sass */
So you could follow these directions and instead read SAGE_ROOT/devel/sagenb/sass/readme.txt
and edit files in the directory SAGE_ROOT/devel/sagenb/sass/src/
, and then compile the changes using compass
.
A pretty complicated solution... I am now thinking about another approach - using Firefox with Stylish plugin (it allows to create css wich will override existing rules)
Thank you for reply! A pretty complicated solution... I am now thinking about another approach - using Firefox with Stylish plugin (it allows to create css wich will override existing rules)
that wil work only for you, while the solution above will work for anyone connecting to the Sage server
Asked: 13 years ago
Seen: 853 times
Last updated: Jan 08 '12