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

learn more… | top users | synonyms

14
votes
2answers
1k views

Some tutorials on formatting notebook for exporting to pdf

I love the way that Mathematica allows me to type in of formulas. It is really easy to type complicated expressions with shortcuts on the keyboard. It would be great if I could use Mathematica ...
0
votes
1answer
22 views

How make first automatic numbering cell for a style number 1 not 0?

I have a cell style "Figure" for a notebook, defined as: Cell[StyleData["Figure", StyleDefinitions -> StyleData["Text"]], MenuSortingValue->10000] In ...
0
votes
1answer
41 views

Basic stylesheet customization of “Text” cells not working for me

I have learned much from other posts about stylesheet customization. Here is my procedure: Step 1 - Open a new, empty document. Step 2 - Format..Edit Stylesheet. I have added the following ...
4
votes
4answers
82 views

How to set the output be generated in a cell different from “Output”

I would have some functions, for instance Plot, to generate their output using a different Cell's style rather than "Output". The reason is that I'm producing some documents with many images and, for ...
2
votes
2answers
76 views

Why MMA cannot apply the correct style of unit?

When I select Style-> Style-> DisplayFormulaNumbered Then I type some formula show as below: I found that the font of formula is not Times New Roman,so I select the unit ,then select ...
2
votes
1answer
38 views

When is are these additional docked cell styles used?

The the style "DockedCell" is automatically used for Docked Cells even when no Cell style is specified. In the section of ...
1
vote
1answer
105 views

ConversionRules and style inheritance

Take the LaTeX-Article stylesheet stylesheet = FileNameJoin[{"Article","LaTeX-Article.nb"}]; Compare these outputs ...
3
votes
1answer
36 views

How can I make the script level styles imitate TeX?

In math mode in $\TeX$, there are four styles that are used to determine what font will be used to typeset parts of a formula. In decreasing hierarchical order, they are, with default font size in ...
0
votes
0answers
49 views

Stylesheet Customization improved in Mathematica 10?

I have been struggling with customization of stylesheets in Mathematica 8. Other users have commented on its byzantine quirks. Before justifying an upgrade to Mathematica 10, I need to ask if the ...
2
votes
0answers
32 views

Define custom StyleData in webMathematica application

I need to set some options to customize the style of TraditionalForm expressions inside a webMathematica application. I asked to Wolfram's Techcnical Support if StyleSheet can be used from within ...
1
vote
0answers
29 views

How edit stylesheet to change automatic numbering of Reference type to numeric, not alphabetic?

I applied the stylesheet JournalArticle to a notebook. When I use the Reference cell style there, it automatically inserts "A.", "B.", etc., to number the cells. What exactly should one do ...
0
votes
0answers
36 views

Insert the chapter number and title in a header or footer

I would like to export a mathematical paper in pdf format. I try to inport the chapter title and number in each pages. Could you please give me some ideas? I read the ...
0
votes
0answers
16 views

How to let CellMargins inherit the container section's width?

I'm defining a cell style in my own style sheet. I wish to let the cell's width to inherit its container's width -- possibly 90% of it but aligned to the left -- for example, if the cell using this ...
1
vote
0answers
53 views

StyleSheet for custom application

I'm working on a package that for some reasons needs to be installed into a "non standard" path, that means neither $BaseDirectory or ...
2
votes
1answer
47 views

How to adjust the size of figure automatically with Stylesheet editor

It's known that in LaTex, "\includegraphics[]{}",we can adjust the width or size of the figure by using "width=0.75\textwidth". Can we realize such functionality in Mathematica with editing the ...
6
votes
1answer
90 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 ...
0
votes
0answers
47 views

Word wrapping in Code cells

The style for Code cells has no word wrapping. I don't like this as code lines either have to broken manually (with ugly, poorly indented results) or left largely invisible beyond the right of the ...
9
votes
1answer
462 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 ...
5
votes
1answer
186 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
33 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
77 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 ...
0
votes
0answers
59 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
39 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 ...
10
votes
2answers
1k 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
116 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
103 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
2answers
321 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
78 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
137 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 ...
87
votes
4answers
7k 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 ...
6
votes
1answer
234 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
84 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
48 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
174 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 ...
4
votes
2answers
255 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
169 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
204 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
84 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
28 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
42 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
59 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
51 views
3
votes
1answer
163 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
115 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 ...
21
votes
4answers
654 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
206 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
310 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 ...
6
votes
2answers
205 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
84 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
2answers
126 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 ...