Questions tagged [stylesheet]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
42 views

Is there a way to construct more/deeper layer of subsection?

We know in a notebook there are Sections, Subsections and Subsubsections. I wonder is there a way to construct something like Subsubsubsection and Subsubsubsub...subsection? I ask this because when I ...
0
votes
0answers
60 views

How can i change IDE color theme of Mathematica Wolfram?

I'm a new in mathematica wolfram, please help how can i change IDE colors theme's, text and background? I can't work with bright white screen? I use Mathematica 12.1. and want color theme like a ...
2
votes
1answer
46 views

Change Font and Size of Print[] output

I managed to create a definition for the "Print" style, following the instructions here. However, the result does not work in my v.12.1. On the plus side, a "Print" entry exists at the bottom of the ...
1
vote
0answers
20 views

Style options to make initialization cells appear like regular cells?

I find the discontinuous grey rectangles around those cells to be distracting. Any way I can make them look like regular cells?
9
votes
1answer
227 views

How use the black mode permanently

Now I can use this function:ResourceFunction["DarkMode"][] to use the dark mode, but when I turn on Mathematica again, the black mode will not work. How can I set ...
9
votes
0answers
169 views

The dark side of Mathematica

I know that there are (at least one: Where can I find a dark stylesheet for mathematica?) previous posts about how to change the appearance of Mathematica, but they haven't been much of a help for me. ...
2
votes
1answer
44 views

Can Notebooks Inherit Options through Stylesheets?

Motivation: Is there some way to bundle notebook-level options such as InputAliases into a stylesheet, so that notebooks styled with it inherit those options? ...
5
votes
1answer
61 views

Color of the evaluating cell brackets

What is the option to use in a stylesheet that controls the color of the brackets for cells in the evaluation queue?
1
vote
0answers
16 views

How to add “New Stylesheet” to the New File Menu?

What's the easiest way of adding an option for opening a "New Stylesheet" to the File > New submenu.
2
votes
1answer
40 views

Stylesheet control of system panel font colors?

I'm trying to make a custom dark mode stylesheet, and I started with Kuba's great DarkPackage. The issue is how to deal with text in panels (you can barely see the white-on-white text, unless you ...
9
votes
1answer
192 views

How to share stylesheets (with a preview)?

I have never understood how to easily generate an image preview for a given stylesheet. I also am unclear on how to easily share one. So I'm looking for an implementation or good 3rd party solution ...
1
vote
0answers
45 views

How do Mathematica processes DynamicBox? [closed]

I've heard that Mathematica uses a session ad hoc to process DynamicBox, but I don't know any detail. I am using DynamicBox in ...
7
votes
1answer
120 views

Quick way to preview and tweak styles?

I find the old stylesheet UI clunky and hard to use: FrontEndExecute @ FrontEndToken @ "EditStyleDefinitions" There's also the clunky style previewer as well: ...
6
votes
1answer
66 views

Formula numbering in StyleSheet Book/Monograph

I am writing a text within the document corresponding to the StyleSheet Book/Monograph. I find it strange how the numeration is working in this StyleSheet. Here you can see the screenshot from a part ...
1
vote
1answer
33 views

Fixing background color of labels in output cell

I swear that I have asked or at least seen a similar question before, but I cannot find it. I tend to use the Report/StandardReport stylesheet because the color difference between input and output ...
0
votes
0answers
23 views

How to set the font size and back ground colour of the editor in Mathematica permanently [duplicate]

Every time when I choose a new untitled notebook I have to manually go to format and set size, background color and face of the text. How to make these changes permanently so that whenever I open a ...
1
vote
1answer
80 views

Quickly restoring default notebook display color and font

(Not a duplicate. I've checked How to "undo" SetOptions (restore defaults)? and others.) Suppose I change some display options, e.g.: ...
0
votes
0answers
41 views

Formatting of exporting

I am writing notes via Mathematica, but when I want to share it with others, there exists two problems. First, if I export it as pdf, there is no word wrapping of math expression: and input code: ...
2
votes
0answers
40 views

How to make a StyleSheet with certain text in some cell types like Subsection, Subsubsection and alike? [duplicate]

I am modifying several StyleSheets to adapt them to convenient use at school. Now I am working on the StyleSheet for Mathematics classes. I would like to make several types of default headings on the ...
0
votes
0answers
20 views

How to make a StyleSheet with a custom-defined Cell type that will be open by default?

I am making a StyleSheet to conveniently use them for homeworks and class works in Mathematics classes. I base it on the JournalArticle StyleSheet. I would like to make it such that by Default opens ...
2
votes
2answers
104 views

What causes Autonumbering to stop working after “Evaluating” Notebook in 12.0

Bug introduced in 12.0 I'm using "Section" autonumbering in a notebook that contains text and calculations. Normally my "Section" style numbering looks like: ...
7
votes
0answers
74 views

How to distribute styles with packages?

I want to define some named styles with StyleData and StyleDefinitions that are either entirely new or inherit from default ...
3
votes
0answers
21 views

Change the default color of formula embedded in text

We can use Ctrl+( to start a new math cell in a text cell. But is there anyway to make the default color of the formula different? I am making a presentation with ...
8
votes
1answer
66 views

How to remove an installed Stylesheet?

Recently I learned to installed a stylesheet, so I tried it on a random notebook. While the installed stylesheet did show in the drop-down menu, I don't know how to remove it! Since I won't be using ...
2
votes
1answer
33 views

easy modification of existing theme

For the most part, the "Monochrome" theme is useful. However the default inclusion of plot markers in a ListLinePlot was imo a horrible mistake (a design bug), ...
2
votes
1answer
65 views

PlotMarkers problem on some stylesheets

Sample data: ...
5
votes
0answers
52 views

How to force a desired numeration of equations in Book/Monograph StyleSheet?

I am writing a text in the MMA > Format > StyleSheet > Book > Monograph StyleSheet. I have a problem with the automatic numeration of "EquationNumbered" cells. ...
4
votes
1answer
393 views

Can a Mathematica notebook be programmed to work as a LaTeX editor? [duplicate]

A short example code will show that the answer to this question is yes. The example code (which I give in my answer) is for a simple LaTeX editor that is almost a drop-in replacement for TeXworks. ...
10
votes
1answer
205 views

How to emulate LaTeX Theorem environment with a Mathematica Style?

( This has probably been asked before, but I found no Q/A's ) ( Update: Changed Title 28/6 ) Mathematica has the Style 'DisplayFormulaNumbered', I want to find / create something like 'TextNumbered' (...
1
vote
0answers
29 views

Un-assign MenuCommandKey

In my StyleSheet, I would like to assign to the environment Subchapter the Key Alt+2 (via MenuCommandKey. However, this is ...
0
votes
1answer
69 views

Specify position of button

This might go against the spirit of Mathematica, but I would like to create the button, but I do not want that button to be grouped with the code that generated it. In fact, the code that generates it ...
1
vote
0answers
60 views

Where do documentation stylesheets live?

I started using Workbench to write documentation again after some time off. Something must have happened (maybe upgrading to v12?), because now when I double click on a documentation page in ...
1
vote
0answers
44 views

How to undo “do this for all notebooks” when prompted to revert or keep updated styling of older styled notebooks?

Check out this old question: How to stop V10 asking to continue with updated styling each time I open a new notebook Cool, right? But what if you checked "do this for all notebooks", naively ...
0
votes
2answers
85 views

How does one use option CellGroupingRules?

It seems that Manual Cell Grouping is broken in 12.0.0.0 (at least in Linux). If one pastes a cell, then any cell bracketing gets "chopped" at the paste position. This bug affects a large project of ...
0
votes
1answer
62 views

Automatic indentation of text and equations depending on Style

I have a rule when writing text and equations. Starting from the Section environment, each text/equation that sits inside Section...
3
votes
1answer
44 views

Using an image as a CellDingbat

I'm writing code that generates a report notebook using a defined style. I would like to display an image (a logo) in the title cell along with the title itself. How can this be done? Example: ...
3
votes
1answer
82 views

How do I add a style programmatically without specifying the stylesheet?

I have the following code that successfully adds a style: ...
4
votes
2answers
156 views

How do I add into a text cell a reference to a numbered function?

I have a document with lots of numbered equations in their own cells (which I numbered through Format->Style->DisplayFormulaNumbered). I also have lots of ...
4
votes
1answer
90 views

How to improve on this Stylesheet Manipulation for Message Styling

The answer by @Kuba changing color of error messages did not seem to work for me (MMA 11.0.1 Win 10 64-bit). I couldn't work out why and implemented something else that does work for me, but it seems ...
3
votes
2answers
55 views

Using a stylesheet to create a footer that prints the directory name of the current file

I am trying to use a stylesheet to create a footer that will use the directory name of the current file. For example, consider the following temp.nb file with stored within the CalculusI directory. ...
5
votes
1answer
112 views

Change color of curently evaluating cell using stylesheets

How can I change the format of the cell, which is currently being evaluated?
3
votes
1answer
109 views

Changing Color of error messages

I would like to change (from the stylesheet) the colors of the error messages. For example, trying to evaluate Solve[wrongsyntax = 0, var] gives an obvious error ...
2
votes
1answer
123 views

Changing text color for Input fields

I try changing the color for the Input fields. By going to Format >> Text Color >> Orange the color stays to the default value of blue?? For any other ...
10
votes
1answer
153 views

Stylesheets & Wolfram Cloud

Can one use a custom stylesheet in Wolfram Cloud? I didn't see such an option but maybe there's a non-obvious way.
5
votes
1answer
130 views

All the group formatting available in Mathematica

I was wondering how many pre-defined group formatting style there is in Mathematica. From Format -> Style, one see that we can go from ...
1
vote
0answers
45 views

Setting default font size [duplicate]

Say I want to create a new stylesheet that would be based on some preexisting stylesheet. The first thing I'd like to do is to set some initial font size globally by: ...
2
votes
1answer
77 views

A stylesheet problem

I've run into a problem with a private stylesheet that I'm struggling to understand and resolve. The issue is that my notebook does not appear to always respect the values for ...
5
votes
1answer
82 views

Styling InputAlias popup box

I'm trying to create a dark theme and I'm using the ReverseColor stylesheet as a base. I have most things changed to my liking and fixed some of the problems with ReverseColor. However, I cannot find ...
1
vote
0answers
59 views

Is there a good strategy or method to produce “cascading” styles?

I want to write a theorem in form of group of cells in a notebook. I want all the cells within the theorem grouping have the same styling such as background color, text font, etc. I would also like ...
2
votes
1answer
70 views

Modify CellLabel of Print cell in stylesheet

I would like to modify the style of Print in a Mathematica notebook. Locally, I can do so by toggling on Show Cell Expression of ...

1
2 3 4 5 6