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

learn more… | top users | synonyms

3
votes
1answer
33 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
1answer
25 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 ...
0
votes
0answers
41 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 ...
1
vote
0answers
25 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
25 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 ...
13
votes
1answer
972 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
0answers
34 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
46 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 ...
1
vote
1answer
44 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
39 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
459 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
182 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
74 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
54 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
113 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
93 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
316 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
74 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
125 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 ...
86
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
201 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
47 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
166 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
229 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
168 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
202 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
41 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
57 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
162 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
114 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
649 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
197 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
265 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
36 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
204 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
79 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
124 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
658 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
67 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
84 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 ...
6
votes
3answers
828 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 ...