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

learn more… | top users | synonyms

0
votes
0answers
14 views

How to disable OperatorSubstitution in a style sheet without losing syntax highlighting for local variables

I'm trying to define a custom style sheet that has "OperatorSubstitution" set to false in order to keep fonts consistent. However, whenever I disable this, I lose ...
0
votes
0answers
20 views

Embedding Style Sheet in Mathematica Notebook [duplicate]

I have a custom stylesheet for mathematica, stored in User Base directory. However, if and when I send the notebook file to some one , it says that stylesheet is missing. How to embed the stylesheet ...
7
votes
0answers
90 views

Hidden parent stylesheet?

Please follow those steps: ...
8
votes
1answer
96 views

Reference to multiple stylesheets

I need to set StyleDefinitions for a notebook in such manner so I can provide references to multiple stylesheets: ...
2
votes
0answers
34 views

How to save the current configuration of preferences?

When I go Edit -> Preferences -> Appearance there are many colors to set. I want to set them all non-default, but I too want to save the configuration and be able to reload it, when needed. My only ...
1
vote
0answers
52 views

Notebook style which imitates Latex paper

I have not experimented with Notebook styles, but from what I understand they can be customized to a wide range of styles. Is there a style which looks like a typical paper written in TeX/LaTeX? My ...
2
votes
1answer
52 views

Change cell frame color in stylesheet

I am tryin to make a custom stylesheet but I am not able to get rid of the cell frame color from the base stylesheet. In particular I have, where I have changed the background color of the cell to ...
2
votes
0answers
35 views

How to format the background color of page footers and headers

I have created a StyleSheet by modifying a copy of Default.nb. The StyleSheet applies a dark grey background at the Notebook level. However, when I export to PDF and exam Print Preview (although PDF ...
0
votes
1answer
45 views

create subsubsubsection in Standard Report Style

I am working with Standard Report Style. When I press for instance Alt+5 a Subsection is generated. When I press Alt+6 Subsubsection is generated. What I want is a creation of something like Alt+foo, ...
4
votes
1answer
54 views

Can I install the Stylesheet from a Mathematica Journal article?

A discussion from 2012 suggested that it should be possible to download an article from the Mathematica Journal and install its stylesheet locally. I can download the .nb file but can not seem to ...
1
vote
1answer
32 views

How to change size of whole input?

I would like to change size of font of input/output. I see that I can just click on options of single input and set size, but I don't want to do this separately for every line. Could someone help me ...
0
votes
0answers
35 views

Some unexpected behaviour with StyleKeyMapping

Start with a fresh front end & kernel. The expected behaviour with an Input cell should be like this: Input 1and delete ...
5
votes
1answer
51 views

How to set different default cell per section?

In various sections in my notebook I'd like the default cell type to be different, if possible, how can I specify this?
2
votes
1answer
86 views

Package editor interface

Is there a way to get rid of the unused space on the left of the package editor? What is it's purpose if I configured Mathematica to not show In and ...
4
votes
1answer
53 views

How to make a style for paragraphs with hanging indents

I am making slides with text. I created a style template, but I cannot see how to make a style for a hanging paragraph. Is there a way to do this?
2
votes
0answers
36 views

Display of ConfusionMatrixPlot depends on Stylesheet

I´m using Classify and do the testing via ClassifierMeasurements. Now I observed that ConfusionMatrixPlot is not shown correctly when using StyleSheet Report(default). Maybe you can reproduce (example ...
0
votes
0answers
16 views

How to edit shortcut of setting the style of a cell? [duplicate]

By default, we can use "Alt" + "1-9" to set the style of a cell to be "Title", "Chapter", etc. How can I edit those shortcuts so that "Alt+1" is mapped to "DisplayFormulaNumbered"?
0
votes
1answer
79 views

Create new style where elements are arranged in a grid

I'd like to create a new style where elements are arranged in a grid. I'm taking notes and I have some definitions. I'd like to have every definition formatted like this: ...
2
votes
2answers
207 views

How to change the font color and size of tick labels by default

I've read Mike Honeychurch's answer here, and while it tells me how to change the font size on all of my plots, that size change affects (I think) all text on the plot. I would like to be able to make ...
4
votes
2answers
150 views

How to use FontWeight options in Mathematica 10.x

I‘m using stylesheets to create customized styles for course materials. That includes using fonts like Gill Sans, and Helvetica (Neue). Up to MMA version 9, it worked. When switching to version 10, ...
3
votes
0answers
55 views

How can I set up a cell style that is ascending dates?

Outline style notebooks have cell counters that are simply ascending numbers, but what if I want to apply a function to them and have descending dates like this: So that they auto format and the ...
3
votes
0answers
51 views

How can I make a stylesheet that counts subcells?

The example cells in the documentation each have count of the cells inside their section: ...
0
votes
1answer
43 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 ...
2
votes
2answers
91 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
54 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 ...
4
votes
4answers
99 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
1answer
131 views

ConversionRules and style inheritance

Take the LaTeX-Article stylesheet stylesheet = FileNameJoin[{"Article","LaTeX-Article.nb"}]; Compare these outputs ...
3
votes
1answer
68 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
64 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 ...
1
vote
0answers
74 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
39 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
48 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
53 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
22 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 ...
2
votes
0answers
105 views

StyleSheet for custom application

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
2
votes
1answer
69 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 ...
0
votes
0answers
81 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 ...
0
votes
0answers
35 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 ...
0
votes
1answer
88 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
43 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 ...
6
votes
1answer
131 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 ...
10
votes
2answers
2k 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
120 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
174 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
344 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
87 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: ...
8
votes
1answer
371 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 ...
3
votes
1answer
215 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 ...
2
votes
0answers
51 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
200 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 ...