Styles define how Mathematica notebooks, cells and expressions are formatted, displayed, evaluated and interacted with.

learn more… | top users | synonyms

0
votes
0answers
31 views

Retrieve style definitions [duplicate]

How can I retrieve the style definitions of a certain style within a cell, notebook or stylesheet? For example how can I retrieve the FontColor and ...
4
votes
2answers
69 views

How can I make a stylesheet where inline cells have are styled like input cells?

How can I make a stylesheet where inline cells have are styled like input cells? By "similar", I mean the same font and syntax highlighting. I have even tried copying all settings from ...
5
votes
1answer
157 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 ...
0
votes
0answers
43 views

naturalcolor stylesheet not working between linux and windows

I have encountered a weird problem with Mathematica 9. I have it installed on my laptop running Windows 7 and on my work computer now running Debian Wheezy. I am also using dropbox to access my work ...
2
votes
0answers
34 views

Custom WindowToolbar for my stylesheet

So I've noticed that some stylesheets (for instance Slideshow stylesheets) load a toolbar using the assignment WindowToolbars -> {"ToolbarName"} and I've been ...
4
votes
0answers
45 views

Changing mouse appearance at notebook level

Ideally, I'd like to change the mouse pointer appearance(s) at notebook level, from a styleseet. However, I'd be satisfied only by changing its color. This is the main issue keepeing me away from ...
9
votes
2answers
926 views

How to get the new font in Mathematica 10?

Trying out Mathematica 10 and I still get the Courier font, not the new font shown in all of the examples on Wolfram's website. Anybody have any ideas how to get the new font working? Running on Mac ...
3
votes
1answer
105 views

How to preserve In/Out tags like what they did in documentation files

Every evaluation generates a pair of In[n]/Out[n] signs tagged before actual input and output. Like the following: If I save the file, close it and re-open it, that In[n]/Out[n] signs will ...
4
votes
1answer
69 views

How to avoid page break appearing between the table title and the table in Mathematica?

I'm wring a thesis which has quite amount of tables. When the thesis gets printed, Mathematica often breaks pages between the table title and table. I would like to keep the title and table in the ...
8
votes
1answer
780 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 ...
8
votes
2answers
296 views

Mathematica outliner's capabilities

As my notebooks get larger, I often try to organize them with titles/subtitles etc, structuring them as an outliner (http://en.wikipedia.org/wiki/Outliner) This also helps me as I try to structure a ...
2
votes
2answers
59 views

Can I change Legend text in a stylesheet?

I prefer a sans serif font in graphics, which I do by creating a style for "Graphics" in a stylesheet. However, this does not affect the style used by legend labels: ...
3
votes
1answer
99 views

Giving a custom style a colored gradient background

In Mathematica, customizing Sections, Subsections, Titles and so on, can be done with Format > Style > .... Changing the background color of a style is one of the things you can do. Here is an example ...
83
votes
4answers
6k 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 ...
5
votes
1answer
139 views

Solarized stylesheet and other goodies. Feedback welcome!

I was inspired by this post so I've made a Solarized stylesheet after mucking around with the text options and asking stupid questions on here. I know you can change the syntax highlighting by running ...
1
vote
1answer
77 views

Merge StyleSheet into a notebook

I have a custom style called style1.nb and I want to install it into a notebook Class01.nb so I can send only the notebook file to my students with the style of style1.nb. Is that possible?
2
votes
0answers
43 views

Will custom fonts in my notebook be carried over?

In my notebook, I have Open Sans (a free font) as a text font and Consolas (a paid font) as a code font. Those fonts are coded into the stylesheet of my notebook. My question is: if I send someone a ...
6
votes
1answer
146 views

How to modify font for all text fields?

I know that one can modify the StandardForm style so that all input and output codes (and maybe other things too) follow that style. This makes it tricky to make input code different from output code ...
3
votes
2answers
167 views

Where can I find a dark stylesheet for mathematica?

The default white is very tiring for the eye after some hours.
8
votes
2answers
159 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?
8
votes
1answer
191 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 ...
1
vote
1answer
76 views

Styling differences between CDF in CDF player and in MMA

I've used the ConfidentialReport stylesheet for a CDF document. When I edit the CDF within MMA a Paragraph Item appears with an opener as follows: but when the document is opened in the Player ...
1
vote
0answers
27 views

Is there a way to convert InlineCell to InputForm once and for all?

After asking a question about making InlineCell similar to Input, I realized that by typing Shift+Ctrl+I I really can manually convert every InlineCell to InputForm. So my new question is: Is there a ...
1
vote
0answers
36 views

CDF to give away with a custom StyleSheet

Related to this. I would like to be able to give away CDF documents created with a custom StyleSheet. The important peculiarity is that this document is assumed to be viewed on a machine with no ...
1
vote
1answer
39 views

How to change a spacing between the lines of a notebook?

My question is formulated above. However, to precise a bit I would like to split it into two sub-questions: It it possible to define the spacing in the current notebook/CDF pressumably through the ...
-3
votes
1answer
47 views

What's wrong with this stylesheet? [closed]

I edited this style sheet: ...
3
votes
1answer
146 views

Prevent Mathematica from “romanizing” a string of letters?

When I'm authoring in text style (Alt-7), I'll often include inline math. Whenever I enter two or more consecutive letters (e.g., $ax^2$), Mathematica will automatically "romanize" (or "un-italicize") ...
1
vote
1answer
110 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 ...
20
votes
4answers
630 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 ...
1
vote
1answer
178 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 ...
5
votes
2answers
169 views

How to input formula embedded in text

I'm creating a styled notebook showing a simple theorem. I can set cell style as text or theorem or code to satisfy my requirement. But when I explain the theorem, I need to embed formula (not ...
0
votes
0answers
33 views

shortcut conflict: My Default Stylesheet was broken by one of my personal stylesheet?

My Default Stylesheet was broken by one of my personal stylesheet? I've added one shortcut to one of my stylesheet, Ctrl+Shift+I, to change a style of cell into style named ...
6
votes
2answers
197 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 ...
0
votes
2answers
65 views

Export all open notebooks and change font size

Is there a simple way to export all open notebooks to pdfs? Also, when I export notebooks the font looks too big / the margins are too big. Can I change these settings when exporting?
9
votes
2answers
121 views

Rasterize uses default stylesheet if ImageSize is specified

If I make a style definition which affects GraphicsBox, the style is used by Rasterize unless I specify an explicit ...
11
votes
1answer
487 views

Any way to make my equations look better, more Latex like?

I find that the equations I write in Mathematica are not always publication quality. Here is a typical example: If I copy as Latex, then I get the following code: ...
1
vote
1answer
63 views

Can kernel-specific variables be accessed from stylesheets?

I'm trying to create a modified version of the Default.nb StyleSheet that adds a docked cell to act as a status bar along the top of every notebook to display some ...
3
votes
0answers
82 views

Stylesheet modifications mimicking Stack Exchange styles

I find myself frequently highlighting and formatting portions of text cells in a Mathematica notebook. Bold and Italic typesetting is easy to handle but I would like to use ...
5
votes
3answers
742 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 ...
2
votes
2answers
216 views

Long text inside a grid does not word wrap

If I create a simple grid with Ctrl+, and paste a long piece of text outside the boxes (I'm sure you can find some yourself), then that text does not break at the width of the window in Mathematica. ...
2
votes
0answers
84 views

Counter assignments [duplicate]

I'm trying to create a specific outline format to match some course materials I am required to submit in a particular way. I know how to create auto-numbered cells using ...
2
votes
1answer
93 views

Set a path relative to $UserBaseDirectory in the option inspector

Is there a way to set a setting in the option inspector to a path that is relative to some global Mathematica variable? I'm trying to set up a default stylesheet by setting ...
3
votes
2answers
247 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 ...
4
votes
1answer
98 views

How do I make two styles in a stylesheet inherit the same style

Specifically I want different versions of 'Item1Numbered'. For example one with a frame and another with a background colour. How is that done?
2
votes
1answer
165 views

Customizing the numbers used by DisplayFormulaNumbered cells

I was typesetting some formulas and I encountered a formula number marked with a prime. I am using the DisplayFormulaNumbered cell style`. How can I add a cell ...
10
votes
2answers
1k 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 ...
0
votes
1answer
56 views

Color of numbers and defined functions [duplicate]

How do I change the color of numbers and the text representing defined functions in my notebook?
1
vote
1answer
103 views

Is it possible to create a styled cell with pre-defined content?

When you create a new styled notebook from the Stylesheets chooser dialag, you get a new notebook using the chosen style with some sample content provided. But if you apply styles from the same ...
0
votes
0answers
57 views

Loading Cell Option Definitions on Kernel Launch for Stylesheets

I have my own stylesheet that I like using so much I change all my documents to it almost immediately, but as I demo Mathematica to people I cannot use ...
9
votes
1answer
255 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?