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

learn more… | top users | synonyms

0
votes
0answers
20 views

Questions on applying a private Stylesheet to another Notebook

I have a notebook, let's call it Ideal.nb for short, with some styles defined in it and some were altered from what it inherits from Default.nb. If I want to reuse this stylesheet in my notebook ...
15
votes
0answers
131 views

Any manual on cell grouping management?

Recently I come back to the problem of cell grouping and performed extensive search on this site and on MathGroup archive for information on how to use the possible values of the ...
5
votes
0answers
36 views

Collapse cell groups when you close parent group?

I have a particularly long notebook. Here's what I'd like to do: to say in my stylesheet that upon closing certain types of cell-groups that all the cell-groups inside should close as well. That way ...
3
votes
1answer
51 views

Image background for cell?

I'd like to make code Cells have a specific background image. I know you can do this for Notebooks, but what about Cells? This simple test fails: ...
0
votes
1answer
50 views
0
votes
1answer
69 views

Where is the file Default.nb?

I've found a couple of files called Default.nb under my Mathematica installation, but they don't seem to have any effect. At any rate, neither of them was changed when I edited 1 the so-called ...
5
votes
0answers
39 views

How to trace the stylesheet directives responsible for the selected text's appearance?

By way of example, in a typical Mathematica interactive session, one sees text content as shown below: Three different text styles can be seen in this figure: input, output, and the style for the <...
5
votes
0answers
129 views

Graphs' options vs JournalArticle stylesheet

Bug introduced in 10.4 and persists through 10.4.1 [...] This GridGraph behavior does appear to be a regression in Mathematica 10.4 from earlier versions. As ...
-1
votes
1answer
46 views

How to graph the max and min values of a sheet?

Hi I just start working in Mathematica version 10.3.1 and I want to graph a sheet of data that I created in Excel (yeah i use Windows). The problem is i have so many data; 200 columns and 50 row of ...
2
votes
0answers
53 views

Reference a notebook's title cell contents in its stylesheet

In my stylesheet I have the following code: ...
0
votes
0answers
25 views

Why does OptionInspector not act on grouped cells?

I found out that hyphenation for German text is horrible in Mathematica 10.4. So I want to switch it off alltogether. For this purpose, I select all cells in my notebook. Then I invoke Format>...
0
votes
0answers
32 views

How do I apply Styles from my Notebook's Style Sheet, in Particula Hyphenation->False

In my notebbok's private style sheet, I set the style for Text to ...
4
votes
2answers
102 views

How to find the background color in Placeholder

I would like to know how to find the background color used in Placeholder[abc]. It is some kind of Yellowish-Pinkish, I think. There is also a ...
0
votes
0answers
32 views

Generate tags for all types of headlines automatically

Is it possible to create for each headline a tag with the same content (i.e. for all Title, Chapter, Subchapter, Section, Subsection, Subsunsection) automatically? When using text processing tools ...
5
votes
1answer
95 views

Magnifying the Help documents without magnifying the images therein

In Mathematica's Option Inspector I set the notebook magnification factor to be larger than 1, for example 1.12, ("Notebook Options"->"Display Options"). Accordingly contents of the Help browser are ...
6
votes
0answers
104 views

How to unlock a stylesheet which is not needed anymore by the FrontEnd

Reply from WRI Support: [...] This indeed seems to be an issue with the Frontend on Windows and I have alerted the development team about this. Unfortunately I do not have a work around at ...
17
votes
1answer
325 views

What options and settings can be used to create print quality typeset documents with Mathematica?

If I am proficient on dedicated typesetting software (e.g. LaTeX) it makes sense to use that for typesetting but if I am not how can I use Mathematica to create good quality documents. The question ...
0
votes
2answers
64 views

How to set dynamically stylesheet definitions?

To produce good color schemes for styling notebook I was used to generate a grid of controls ...
0
votes
0answers
46 views

Change the default package toolbar? [duplicate]

Everytime a package file (.m or .wl), it opens with the standard package toolbar (a docked cell) ...
4
votes
1answer
68 views

Updating styles which are based on styles changed in private stylesheet

Intro Styles can inherit from other styles: base one style on another? And for example WolframAlphaLong is inheriting from ...
6
votes
1answer
64 views

FormatType with respect to Cell's content

Minimal example: Let's establish a notebook's stylesheet with additional TestStyle which has a FormatType->"CellExpression": ...
3
votes
1answer
38 views

Current values of the options for StyleData cell

In a style sheet there is this definition: ...
0
votes
0answers
37 views

installing solarised stylesheet! [duplicate]

I have recently stumbled upon your solarised stylesheet for mathematica! I've been having some trouble installing the dark themed version of it! This is my first time using stylesheets and it is all ...
0
votes
0answers
54 views

How can I edit the built-in Stylesheets in Mathematica?

It seems that the default stylesheets used by Mathematica's Front End cannot be edited like other user-created stylesheets. The following, for example, is the stylesheet for the Help documents of ...
1
vote
0answers
39 views

How to create an active menu for Ebook to call cell tag

I have some physics exercises done and I´d like to make an ebook in CDF with the explanations with simulations as well. For these I look for some tips, and wolfram videos has a lot of it with Prof ...
2
votes
0answers
81 views

Is it possible to change the fontsize and simultaneously TabSpacing when printing a notebook in the working enviroment

It is a dilemma: In order to easily edit code on the screen, I have to set Magnification to 1.25 and also to set fontsize for Input (using Courier New bold for Input) to 12 pt. Of course, in this ...
0
votes
0answers
32 views

Private Style in a StyleSheet with preformatted text

I want to create a new Style in my private StyleSheet. I duplicated the Style "Text" and made some alterations. Now I want that a Cell with this style has an expression already filled in, for example "...
1
vote
1answer
59 views

Why can't I change the Magnification in Printout Style in Default.nb

This happens with Mathermatica 10.3.1.0: When working with a notebook, I can choose between different working environments. However, they inherit their settings from Default.nb situated at c:\...
1
vote
0answers
50 views

Shortcuts for Indentation in Text Cells?

Marking a cell's bracket and then using Alt-7 I can make it a Text cell using the formatting set forth in Default.nb or in a modification of it stored with the notebook itself (so called "private ...
3
votes
1answer
89 views

Author Tools layout for a table of contents

Can someone point me at the place, where the Layout of the Table of Contents is stored in the Author Tools. There should be some style sheet, but I can't find it. Author Tools is still a very useful ...
2
votes
1answer
141 views

programmatically styling notebook

A notebook's background can be changed simply by SetOptions[EvaluationNotebook[], Background -> GrayLevel[.9]]; What is the command to set, let's say, the ...
3
votes
1answer
96 views

How to have an Input cell that doubles as an Output

Motivation / examples: on a spreadsheet environment, each cell doubles as input and output. If we click on it, it shows the input; if we hit Enter, it shows the output; on this answer, I tried to ...
5
votes
0answers
84 views

How to change default font for all existing notebooks at once?

By default, Mathematica 9 and 10 use Gill Sans MT fonts for headings of title/subtitle/section/subsection/subsubsection. Unfortunately, Gill Sans MT fonts have no Cyrillic letters, so that all ...
8
votes
1answer
139 views

Programming scripts to create and modify stylesheets: problems with contexts

I am trying to emulate the shift and shift+tab feature in the Outline.nb stylesheet that comes with Mathematica. I added the following code to a private ...
0
votes
0answers
31 views

Manually modifying stylesheet code without toggling out of expression form

When modifying underlying expressions I use Shift+Cmd+e to toggle out of display form and into expression form. I noticed that this functionality is lacking a little in a stylesheet notebook. Once ...
2
votes
1answer
68 views

Adding headers and/or footers to a stylesheet

I would like to push a common header(file name and page number) across multiple notebooks using one Stylesheet. I know I can use the header/footer dialog on each notebook individually but this is ...
0
votes
0answers
58 views

Serious Startup Error, “The file outline cache was ignored.”

I was trying to change my default fontsize. I was reading Changing the default font for StandardForm I/O from 'New Courier' to 'Consolas'? and the instructions for affecting all future notebooks weren'...
12
votes
2answers
255 views

What is the difference between Inherited and (Inherited + 0)

Let's create a stylesheet: ...
1
vote
0answers
99 views

a question about Stylesheet (pastelSolarized)

I am working with the Stylesheet pastelSolarized.nb found here (see also here). I like it a lot. However, compare the ...
3
votes
0answers
46 views

How to inherit indentation in cell groups?

In my notebook the text cells "stick out" like this: Instead, I'd like the to be left aligned (plus some margin) with the cell they are grouped under... How can I achieve this from the stylesheet? ...
8
votes
0answers
83 views

What is a full list of cell styling options and sub-options?

I'm trying to customize a style sheet and have hit a few speed bumps and walls. Firstly, I can't see how to do a few specific things, like to set the color of the cell's left side label: Or how to ...
7
votes
1answer
124 views

How to add a caption below a cell?

How can I change my stylesheet definition for a cell to optionally add a caption below? For example, I would like to add a caption to my "Program" cells shown here: like this (but with the option ...
1
vote
1answer
52 views

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

I am having trouble getting good StyleData guidance from the Mma docs. Am I overlooking the good stuff? Anyway, suppose I run the following in a notebook: ...
6
votes
2answers
172 views

How to group cell type A under cell type B?

My notebook's groupings for "Subsection" and "SubitemNumbered" are broken: And by broken, I mean I wanted it to automatically group like this which I did manually (with lots of control+shift+g) ...
4
votes
1answer
170 views

Typesetting in Mathematica

Are there typesetting environments/boxes or something similar in Mathematica? I want to write some documentation for a notebook using text cells and I would like to have a brief description of my ...
3
votes
1answer
45 views

set “input” as default style for newline entry

I altered the notebook stylesheet ArticleJournal to my needs and I'm using it as a private stylesheet. However, every time a new line is encountered; it assumes as text by default since its a journal ...
1
vote
0answers
36 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 ...
7
votes
1answer
139 views

Hidden parent stylesheet?

Please follow those steps: ...
8
votes
1answer
120 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
46 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 ...