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

learn more… | top users | synonyms

0
votes
1answer
61 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
31 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 ...
4
votes
0answers
104 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 ...
1
vote
0answers
44 views

Reference a notebook's title cell contents in its stylesheet

In my stylesheet I have the following code: ...
0
votes
0answers
24 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 ...
0
votes
0answers
28 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
98 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
30 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 ...
4
votes
1answer
70 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 ...
5
votes
0answers
71 views

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

Problem: So, if your notebook has a private stylesheet and it has a parent stylesheet, you can't delete that parent, in the same FE session, after the notebook is closed. Minimal example: We are ...
16
votes
1answer
292 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
56 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
42 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
54 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
57 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
35 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
48 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
31 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
78 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
27 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
50 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 ...
1
vote
0answers
45 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
84 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
124 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
94 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
77 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
122 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
28 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
62 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
46 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 ...
12
votes
2answers
247 views

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

Let's create a stylesheet: ...
1
vote
0answers
91 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
43 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
76 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
122 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
49 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
152 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
158 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 ...
2
votes
1answer
42 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
33 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
23 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
1answer
136 views

Hidden parent stylesheet?

Please follow those steps: ...
8
votes
1answer
115 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
43 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 ...
2
votes
0answers
123 views

Notebook style which imitates Latex paper [closed]

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
106 views

Change cell frame color in stylesheet

I am trying 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: I have changed the background color of the cell to ...
2
votes
0answers
54 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
100 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, ...