Questions tagged [stylesheet]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How to Dynamically update CellFrame around 1, 2 or more cells of the same style (Looking for a Stylesheet Solution)

The following "Theorem" cellstyle in defined in my private stylesheet ...
2
votes
0answers
75 views

Realtime background blur

Is it possible to have partially transparent cells (attached or docked) with live background blur? Something like this: Here's what I've tried: ...
2
votes
3answers
50 views

Make new cells in package files Input-style cells by default

When editing a package (*.wl or *.m) file, the "Style" of each newly-created cell is "Code" by default. However, when writing code (and in particular, usage messages) in these ...
3
votes
0answers
35 views

Trigger immediate update of (Inherited?) stylesheet to notebook [duplicate]

I’ve noticed that when I make changes to a notebook’s stylesheet, whether it’s manually or programmatically, often the changes are not applied immediately to the notebook. Usually all it takes is ...
0
votes
0answers
58 views

Cursor (prompt) color using black background

I am dealing with a prompt (blinking cursor) color problem in Mathematica 12.3.0. I am using a black theme (my input cells have black background) and, during the cell editing, the prompt blinks in ...
1
vote
0answers
33 views

In my stylesheet how to change number color to red?

I would like to have a notebook stylesheet which colors any number e.g., {1,2,{3}} red. I tried Preferences ,Appearance, LocalVariables etc.but there numbers stay black. How can I change my stylesheet?...
1
vote
1answer
33 views

Stylesheet that assigns CellIDs as CellTags

For a given notebook, I can turn on CellIDs by opening the notebook's stylesheet and adding the following code: ...
2
votes
0answers
46 views

Using a Stylesheet to create reference links to "DisplayFormulaNumbered" cells using CellIDs

Suppose I have a notebook with lots of "DisplayFormulaNumbered" cells. These cells have a built-in counter, which continuously updates when cells are deleted, moved or added, which is nice. ...
4
votes
1answer
73 views

Set a background color for several adjacent cells and "page"

I'm using a book style sheet but this question applies to the standard notebook interface as well. I'm writing a sequence of cells in different styles (text, equation, figure, figure caption, ...) in ...
1
vote
2answers
85 views

How to set a background color for a cell style via a command?

I want to set different background colors for various cell styles (e.g. Section, Text), so that whenever I choose a specific style for some cell in the notebook, it automatically gets colored ...
0
votes
0answers
18 views

CDF Strange difference of line Plot display when switching from stylesheet "Normal" to "Journal Article" with "Manipulate"

A LinePlot graphic with Manipulate works well in the CDF Player if i Use the stylesheet "Normal" but is rendered quite differently when I use the stylesheet "Journal Article". Here ...
0
votes
0answers
28 views

GraphicsGrid $\to$ Beep "The shared stylesheet "Stylesheet-review-topics.nb" could not be \ found. The default stylesheet will be used instead."

12.0.0 for Microsoft Windows (64-bit) (April 6, 2019) I have a notebook in which using GraphicsGrid causes a beep "The shared stylesheet "Stylesheet-review-topics.nb" could not be found....
0
votes
0answers
14 views

Where is presently the "MenuPosition" to fix the StyleSheet in the Menu/Format/StyleSheet?

In the previous versions of Mma, one could fix the position of the StyleSheet in Menu/Format/StyleSheet. I documented it for myself years ago. It is as follows. "Open the style sheet notebook and ...
10
votes
1answer
174 views

How to modify default options of Dataset

I try to make a dark stylesheet based on the ReverseColor theme. However, dataset headers are barely readable. This question is related to others such as Question ...
4
votes
1answer
68 views

How to preserve the Checkbox value after closing the notebook

I am trying to create a to-do list style for the stylesheet. The goal is to have a CellDingbat that is a check box. And after pressing enter, a new cell with a ...
2
votes
2answers
55 views

Can a Style inherit CellMargins depending how it is grouped?

This is a cross-post from https://community.wolfram.com/groups/-/m/t/2107710?p_p_auth=JoAd1Xpi and is similar to How to inherit indentation in cell groups? I'd like to have the Styles Item, Subitem, ...
1
vote
0answers
43 views

Latex Stylesheet and inline text cells

I am looking for a professionally looking LaTex ish stylesheet, where i can still calculate equations within Mathematica. Also i am wondering if i can get inlineText cells to display summations with ...
1
vote
1answer
42 views

Change the linespacing of input cell of Mathematica globally

Is there a way to change linespacing of input Cell of Mathematica globally? I think the default linespacing is a litte small and want to change it. I have tried to do it by set options of input Cell ...
1
vote
1answer
78 views

Pressing the "enter" key in the Python External Evaluation cell becomes "run" instead of "line break"

I have met problem in the use of style sheet. In using the External Evaluation of Python in Mathematica, If we choose the style sheet as "Default", pressing the "Enter" will cause ...
4
votes
1answer
92 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 ...
1
vote
0answers
90 views

How can i change IDE color theme of Mathematica Wolfram? [duplicate]

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
139 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
23 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?
10
votes
1answer
689 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
262 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
55 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
90 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?
2
votes
0answers
25 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.
3
votes
1answer
77 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
215 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
58 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
133 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
130 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
45 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 ...
1
vote
1answer
110 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
46 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
48 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
28 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
123 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
87 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
25 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
83 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 ...
3
votes
1answer
43 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
70 views

PlotMarkers problem on some stylesheets

Sample data: ...
5
votes
0answers
56 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
480 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
232 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
32 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
86 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
78 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
2 3 4 5
7