Styles define how Mathematica notebooks, cells and expressions are formatted, displayed, evaluated and interacted with.
59
votes
3answers
3k views
Resources for beautiful Mathematica Stylesheets
When the Wolfram Demonstrations were introduced and the Documentation-Center was redesigned, I remember it was the first time I thought someone had put some effort into creating a beautiful ...
23
votes
2answers
635 views
Is it possible to change the colors of the highlighted code in the Mathematica frontend?
With Format -> Edit Stylesheet... it is possible to adjust text-properties, text-colors, formatting of equations, etc of a notebook and to use this style-definitions again by installing it as ...
20
votes
4answers
458 views
Defining functions in stylesheets
Is there a way to define functions in a stylesheet? So far I have managed to write my stylesheets without the need to use my own custom functions or definitions. For instance, maybe I have some color ...
17
votes
1answer
185 views
How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet?
As per discussion here:
User A has a notebook that uses custom definitions from styles.nb. Now user A passes the notebook to user B. The styles do not show up for B because B does not have styles.nb. ...
13
votes
2answers
286 views
How to replace the style of the inline cell in a StyleSheet
I would like to change a StyleSheet in such a way that any text that is typed into the inline cell (the one created by Ctrl+9) is shown in a different font (e.g. the font of my choice). At present I ...
10
votes
1answer
243 views
How can I style text like in the documentation?
I'm writing an article, and I really like this style that you get when you type ?AnyFunction.
Is it possible to achieve this?
9
votes
1answer
264 views
How do I remove Wolfram Branding in a CDF?
I have a Mathematica Enterprise License, which lets me export Pro-feature CDFs. One of the benefits is supposed to be removal of branding and full customization of UI. Does anyone know how to get that ...
9
votes
1answer
107 views
Order/Dependency of Styles in a Stylesheet
How exactly is a custom stylesheet processed?
Which style depends on (inherits from) which other style.
Consider e.g. setting a font.
I would expect that setting the font for "Section" to YY after ...
9
votes
1answer
164 views
How can I change the style of every newly opened notebook?
I'd like to make Mathematica open a new notebook using the Natural Color template (under the Creative category) by default. Is that possible? If so, how?
8
votes
3answers
215 views
Inconsistent display of TraditionalForm in version 9
After installing version 9, the default style sheet uses Arial font in text and formula cells. So far, so bad. At least one would hope this is done consistently.
But now I see this:
You can see ...
8
votes
1answer
91 views
Is there a way to base one style on another?
I'm setting up a stylesheet and and finding the process of defining related styles tedious and error prone. In particular, I have several related styles that need to have synchronized settings (e.g., ...
8
votes
2answers
519 views
How to change the style definitions for Default.nb?
I have looked over other questions related to style definitions, and looked through the Mathematica 8 documentation, but I do not know why I am having so much difficulty setting the default font in my ...
8
votes
1answer
120 views
How can I add a background to a stylesheet?
In version 9 we can set the background to an image, however I'd like to save this into a stylesheet that can be installed.
7
votes
2answers
128 views
How can I style a cell frame with rounded corners?
I'd like use rounded rectangles for my cell style, but I'm not sure if this is possible. Perhaps it can be faked with an image as a background for it?
7
votes
2answers
218 views
What is the simplest way to set the toolbar of a notebook to an image?
For custom stylesheets, it's nice to have a graphic banner in the Docked Cell. According to the doc page tutorial/IntroductionToToolbars, this is how you do it, but it seem a bit overkill:
...
7
votes
1answer
252 views
Mathematica File Organization
Last year I asked how to integrate notebooks to the documentation center in stackoverflow. Back then I was only interested in seeing those notebook and being able to search for them. Unfortunately, it ...
6
votes
3answers
215 views
How to export notebook in colored PDF form [duplicate]
Possible Duplicate:
Saving a notebook as PDF, preserving syntax highlighting
I would like to export my notebook code in a colored PDF form. What I do is select the brace in the right side ...
6
votes
1answer
77 views
Inheriting Stylesheets when using CreateDocument
I build a lot of presentations and custom notebooks with very different stylesheets, and use Button and CreateDocument quite ...
6
votes
2answers
148 views
How can I get information about properties of a style?
I'd like to make some features of my notebooks responsive to some properties of styles in the active stylesheet. Is there a way to do this? I can't seem to get anything out of ...
6
votes
1answer
333 views
Some tutorials on formatting notebook for exporting to pdf
I love the way that Mathematica handles type inn of formulas. It is really easy to type complicated expressions with shortcuts on keyboard. It would be great if I could use Mathematica completely to ...
6
votes
1answer
181 views
Why does Installing small caps fonts in OS X cause notebook Text cells to use that font?
I installed Adobe Type 1 Times Roman SC (small caps) and Times Roman Bold SC fonts on my Mac OS X system. Now every old or newly-created Text style cell in every ...
6
votes
2answers
98 views
How do I inherit a specific cell option from another style (without copy paste)?
How can I define a style with FontSize from Section and CellFrame from Program?
5
votes
2answers
148 views
Is it possible to define more than 9 shortcuts for notebook cell styles?
You can define shortcuts for notebook cell styles in the stylesheet editor, by adding MenuCommandKey->"7", etc. to the style definition. That is, you can define ...
5
votes
2answers
383 views
Did Mathematica 9 remove some previously available stylesheets?
Did Mathematica 9 remove some previously available stylesheets? If so, how can I customize a currently available style sheet to be like a previous one or get previous version's stylesheet back? I ...
5
votes
1answer
262 views
How to use version 8 default.nb style sheet in place of version 9 default.nb
I do not like the new default.nb style sheet in version 9, and would like to use the older one that was used in version 8 for any new notebook and for any notebook created since I started using V9.
I ...
4
votes
2answers
128 views
Updating the format style of input cells from an older/'pre-styled' notebook
I have been given a large notebook that was created in mathematica 6. It contains a structure of sections and subsections and the input text is formatted in an unusual (possibly just old) style (see ...
4
votes
2answers
97 views
Problems with setting style options
Consider the following:
FirstOutput=Style["Test", FontSize -> 20]
SetOptions[Style, FontSize -> 20];
SecondOutput=Style["Test"]
I would like the string ...
4
votes
2answers
119 views
Automatically use InputOnly style
Some of the built-in Stylesheets (e.g. PastelColor) connect together input and output cells by setting the CellFrame and ...
4
votes
1answer
67 views
How can I set ScriptLevel to be 0 for inline math mode?
I hate small integral signs and thus I like ScriptLevel to be 0. I have set ScriptLevel to be 0 for Text cells, DisplayFormula, and InlineFormula. When in a text cell I press ctrl+( to create an ...
4
votes
2answers
194 views
DisplayFormula not working as expected
How do I use the styles "DisplayFormula" and "DisplayFormulaNumbered"?
Why is there no margin (or empty space) around the ...
4
votes
0answers
67 views
Style of Slideshow
So I am giving my first shot at making a Mma slideshow. But I am finding difficult to change the formatting of Sections and others in the slideshow.
I can change the style of Sections in the Working ...
3
votes
2answers
408 views
Quickly editing the stylesheet and saving it
I have a private stylesheet I'm using. I edit it by going to the menu Edit->Edit Stylesheet and then clicking on the private stylesheet cell. I can modify whatever I want but it never gets saved.
The ...
3
votes
1answer
81 views
How can I remove a style from the list of available styles?
I have a stylesheet that has inherited some base definitions from another, but would like to "prune" the list of available styles, by removing or disabling1 some. Is there a way to do this?
1. This ...
3
votes
0answers
49 views
Automatically including custom stylesheet with notebook [duplicate]
Possible Duplicate:
How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet?
For some work I am doing, I take my notes in a notebook with a custom stylesheet. ...
2
votes
1answer
99 views
Mathematica document not retaining margins from stylesheet when printing?
In the process of creating my resume in Mathematica, I needed to adjust the margins of the default stylesheet so that section headers would take up less whitespace. After modifying the stylesheet ...
2
votes
2answers
170 views
How do I set the font for output in my stylesheet?
I'd like to change the font that Mathematica uses for output by setting the font of the corresponding style in my stylesheet; bit simply overriding the default ...
2
votes
1answer
109 views
Adjusting Stylesheet Output Format
I'm using one of Mathematica's built-in stylesheets, "Standard Report". When I enter an expression into an input cell and evaluate it, the input is shown with a white background, while the output has ...
2
votes
1answer
113 views
Why do I have to install my stylesheet each time I make changes to it?
I gather that it should be possible to preserve changes to a stylesheet by simply saving it, but this is not the behavior I'm getting with a stylesheet I've "installed" using the "Install ...
2
votes
1answer
97 views
(Centered) Automatic Numbering of Figures
I want to create a figure caption cell style that prefixes a centred figure caption with Figure X, where X is an incremental number
I have seen two methods for automatically numbering figures:
...
2
votes
0answers
66 views
How do I create inline TraditionalForm expressions, and control their formatting? [duplicate]
Possible Duplicate:
How to replace the style of the inline cell in a StyleSheet
I'm trying to figure out the best practice for creating short, inline expressions that display as ...
1
vote
1answer
122 views
How do I remove an entry from the Format > Stylesheet menu?
I was playing a bit with the stylesheets to make my own. In the process I have created and installed a few stylesheets but now I would like to remove some of them.
First, how do I remove an entry ...
1
vote
0answers
38 views
Sharing styles between notebooks (Mathematica v9)
It appears from the documentation that we share styles via stylesheets. I am trying to set up a customised default stylesheet for my notebooks.
I have tried simple ideas, and more complex ones, ...
1
vote
0answers
29 views
How to insert expression matching the format?
I would like programmatically to insert/write an expression at the current insertion point, but matching the current format, such as font size and style, so that it looks like the user typed it. ...
1
vote
0answers
107 views
Adjust spacing between a section title and the first contained cell
In my day-to-day work with Mathematica I use a stylesheet I have derived from Mathematica's default stylesheet. One modification I would like to make to my stylesheet is to reduce the spacing between ...
0
votes
1answer
138 views
How to set font color for display formula to be same as the cell in which the display formula resides?
I have a stylesheet that works as expected in Mathematica 8. It does not work as expected in Mathematica 9.
In the stylesheet I have set FontColor to RGBColor[0.501961, 0, 0] for ItemParagraph. ...
0
votes
0answers
53 views
Is it possible to create a styled cell with some dynamic contents
I'm making a personal templalte/stylesheet,
Let me explain my question use the [correspondence] sytlesheet:
Create a New Cell, Alt+1 or Alt+Shift+1 (windows system shortcut) set the Style is ...
0
votes
0answers
62 views
Embedding a “Details Section Style” within a Section or SubSection
When presenting a technical derivation within a Section of a Mathematica notbook, I often encounter the situation where a lot of "detail" separates equations (x) and (x+1), and I suspect many readers ...




