Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 77

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

3 votes

Why do I have to install my stylesheet each time I make changes to it?

When you edit a stylesheet, the styles are displayed in a notebook using PrivateStylesheetFormatting.nb style. This in turn inherits from StylesheetFormatting.nb which has Saveable->False. … It is this setting -- for the stylesheet that is rendering/displaying your editing front end -- that is controlling the behaviour. …
Mike Honeychurch's user avatar
2 votes
Accepted

Adjusting Stylesheet Output Format

It appears that TraditionalForm has its background set to white. Cell[StyleData["TraditionalForm"], Background->None] should fix this.
Mike Honeychurch's user avatar
2 votes
Accepted

basic `StyleDefinitions` question: setting cell `Backgroun` when printing

You have 3 separate definitions for "Output" so only the first one will be used therefore the 2nd and 3rd that contain the dingbat and background are ignored. SetOptions[EvaluationNotebook[], StyleD …
Mike Honeychurch's user avatar
5 votes
Accepted

How can I remove a style from the list of available styles?

If you don't want a style to be available from the menu then edit your stylesheet and add all the styles that you want removed from the style listing. … For example if you don't want the Text style to appear then add this cell to your stylesheet: Cell[StyleData["Text"], StyleMenuListing->None] Do this for all styles that you want to remove from the …
Mike Honeychurch's user avatar
3 votes

(Centered) Automatic Numbering of Figures

I have used this style: Cell[StyleData["FigureCaption"], CellMargins->{{54, 24}, {10, -5}}, TextAlignment->Center, LineSpacing->{1, 2}, ParagraphSpacing->{0, 5}, LanguageCategory->"NaturalLangua …
Mike Honeychurch's user avatar
4 votes
Accepted

Problems with setting style options

There are some functions that don't work with SetOptions. This Q&A provides a WRI tech support solution to finding functions that don't work with SetOptions but it appears that that method doesn't pic …
Mike Honeychurch's user avatar
25 votes
Accepted

How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet?

In answering the question the underlying assumptions are that the parent stylesheet (myparent.nb) of private stylesheet for a notebook is not a built in stylesheet; and that the stylesheet has one or more … has a built in stylesheet as its parent. …
Mike Honeychurch's user avatar
19 votes

Defining functions in stylesheets

to the private stylesheet?" … Stylesheet settings are inherited. The first cell in a private stylesheet Cell[StyleData[StyleDefinitions -> "Default.nb"] means the stylsheet is taking its styles from the default stylesheet. …
Mike Honeychurch's user avatar
7 votes

How do I set the fonts for Input and Output in my stylesheet?

Not sure if there is a straight forward way but here is one way that works. Edit the private styles of your notebook as per these grabs: And now your output is Comic Sans :) You can also: Se …
Mike Honeychurch's user avatar
27 votes

Resources for beautiful Mathematica Stylesheets

The problem was how to use that code in a stylesheet. Functions in stylesheets are associated with ButtonFunction, Counterfunction, InterpetationFunction etc. …
Mike Honeychurch's user avatar
9 votes
Accepted

Customizing the numbers used by DisplayFormulaNumbered cells

Note the new style "DisplayFormulaNumberedPrimed": The new style was added to the private stylesheet for this notebook: The underlying box code for this style is: Cell[StyleData["DisplayFormulaNumberedPrimed …
Mike Honeychurch's user avatar
8 votes

Mathematica outliner's capabilities

For what you are wanting you probably should make this an option in a custom stylesheet for sections and subsections etc. You can also make buttons and use them as Section/Subsection headings etc. …
Mike Honeychurch's user avatar
3 votes

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

Make sure you add CounterIncrements Cell[StyleData["Figure",StyleDefinitions -> StyleData["Text"]], CounterIncrements->"Figure", MenuSortingValue->10000] then it works fine
Mike Honeychurch's user avatar
3 votes

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

You just need to add the ticks style that you want to the Graphics style in your style sheet. It is analogous to the answer of mine that you have referenced. Cell[StyleData["Graphics"], GraphicsBoxO …
Mike Honeychurch's user avatar
25 votes
1 answer
857 views

How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet?

This is because the private stylesheet for the notebook inherits from styles.nb (which inherits from Default.nb). …
Mike Honeychurch's user avatar

15 30 50 per page