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

learn more… | top users | synonyms

1
vote
0answers
27 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
26 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
37 views

What's wrong with this stylesheet? [closed]

I edited this style sheet: ...
4
votes
1answer
116 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") ...
5
votes
2answers
89 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
32 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 ...
0
votes
2answers
61 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?
10
votes
1answer
356 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: ...
8
votes
2answers
112 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 ...
1
vote
1answer
59 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 ...
0
votes
0answers
67 views

Any way to create custom templates for slide shows?

Is there any way to change the masters and create a new slide show template? I want to be able to change things like the title page background, the title bar formatting of the sections and select ...
3
votes
0answers
81 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 ...
2
votes
2answers
160 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
80 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
78 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 ...
4
votes
1answer
92 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
122 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 ...
0
votes
1answer
53 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
100 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
53 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 ...
1
vote
0answers
71 views

Sharing styles between notebooks (Mathematica v9) [duplicate]

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, ...
5
votes
0answers
125 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 ...
1
vote
0answers
46 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. ...
8
votes
1answer
180 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.
11
votes
1answer
412 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 ...
7
votes
2answers
201 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?
4
votes
2answers
171 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 ...
2
votes
1answer
234 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: ...
6
votes
2answers
141 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?
4
votes
1answer
90 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 ...
6
votes
1answer
137 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 ...
9
votes
2answers
922 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 ...
1
vote
1answer
103 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 ...
3
votes
2answers
225 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 ...
9
votes
3answers
303 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 ...
5
votes
1answer
523 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 ...
6
votes
3answers
499 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 ...
2
votes
1answer
152 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 ...
3
votes
2answers
841 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 ...
7
votes
2answers
177 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 ...
2
votes
0answers
79 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 ...
2
votes
1answer
137 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 ...
3
votes
1answer
106 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 ...
9
votes
1answer
112 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., ...
5
votes
2answers
183 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 ...
9
votes
1answer
132 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 ...
4
votes
2answers
355 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 ...
2
votes
1answer
255 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 ...
3
votes
1answer
185 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 ...
1
vote
1answer
160 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 ...