Questions tagged [stylesheet]

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

Filter by
Sorted by
Tagged with
139 votes
5 answers
18k views

Resources for beautiful Mathematica Stylesheets

When the Wolfram Demonstrations were introduced and the Documentation-Center was redesigned, I remember it was the first time I thought someone had put some effort into creating a beautiful stylesheet....
halirutan's user avatar
  • 113k
48 votes
5 answers
18k views

Where can I find a dark stylesheet for mathematica?

The default white is very tiring for the eye after some hours.
lagoa's user avatar
  • 835
45 votes
2 answers
6k views

Is it possible to change the colors of the highlighted code in the Mathematica frontend?

With Format -> Edit Stylesheet... it is possible to adjust text-properties, text-colors, formatting of equations, etc of a notebook and to use this style-definitions again by installing it as ...
halirutan's user avatar
  • 113k
42 votes
2 answers
1k views

Is there a style sheet that can be used to generate Stack Exchange input?

It would be convenient if there were a style sheet that automatically indented input cells, and automatically commented output cells, so that one could generate a stack exchange response in WL, and ...
Carl Woll's user avatar
  • 131k
30 votes
2 answers
936 views

Writing a technical note in Mathematica

I have been using Mathematica for many years, mostly for plotting, derivations and numerical computations. Many times I tried to incorporate some text and formulas in my worksheets. Text is Ok, but ...
yarchik's user avatar
  • 18.3k
24 votes
1 answer
976 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 ...
Mike Honeychurch's user avatar
24 votes
1 answer
836 views

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

As per discussion here: User A has a notebook that uses custom definitions from styles.nb. Now user A passes the notebook to user B. The styles do not show up for B because B does not have styles.nb. ...
Mike Honeychurch's user avatar
23 votes
4 answers
1k views

Defining functions in stylesheets

Is there a way to define functions in a stylesheet? So far I have managed to write my stylesheets without the need to use my own custom functions or definitions. For instance, maybe I have some color ...
jmlopez's user avatar
  • 6,480
23 votes
2 answers
4k views

Some tutorials on formatting notebook for exporting to pdf

I love the way that Mathematica allows me to type in of formulas. It is really easy to type complicated expressions with shortcuts on the keyboard. It would be great if I could use Mathematica ...
balboa's user avatar
  • 683
21 votes
2 answers
4k views

How can I change the default font used in ALL plots and legends in Mathematica?

Forgive me, but I cannot for the life of me figure out how to do this no matter how much I research. I really want to change the default font for all graphics, such as ArrayPlot, ContourPlot, ...
EllipticalInitial's user avatar
20 votes
2 answers
6k views

Any way to make my equations look better, more Latex like?

I find that the equations I write in Mathematica are not always publication quality. Here is a typical example: If I copy as Latex, then I get the following code: ...
Tyler Durden's user avatar
  • 4,090
19 votes
3 answers
5k views

How to change the style definitions for Default.nb?

I have looked over other questions related to style definitions, and looked through the Mathematica 8 documentation, but I do not know why I am having so much difficulty setting the default font in my ...
T. Webster's user avatar
19 votes
1 answer
504 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 ...
Alexey Popkov's user avatar
18 votes
2 answers
1k views

How to get rid of new default Version 11 and 12 Input/Output fonts -> and keep the traditional Courier font

Since version 11 (and 12), the default font for Input/Output cells has changed. As @J.M. has commented below, the font changes are system specific: Default font changed Source Code Pro on Mac ...
wolfies's user avatar
  • 8,722
18 votes
1 answer
728 views

Need a gentle introduction to stylesheet writing

I have searched Mathematica.SE for stylesheet and found a lot of useful information on specific issues but no general introduction. There were 746 hits, and it is very time consuming for anyone to ...
m_goldberg's user avatar
  • 108k
16 votes
1 answer
1k views

How do I remove Wolfram Branding in a CDF?

I have a Mathematica Enterprise License, which lets me export Pro-feature CDFs. One of the benefits is supposed to be removal of branding and full customization of UI. Does anyone know how to get that ...
Gregory Klopper's user avatar
16 votes
2 answers
1k views

How to replace the style of the inline cell in a StyleSheet

I would like to change a StyleSheet in such a way that any text that is typed into the inline cell (the one created by Ctrl+9) is shown in a different font (e.g. the font of my choice). At present I ...
Alexei Boulbitch's user avatar
15 votes
2 answers
4k views

How to get the new font in Mathematica 10?

Trying out Mathematica 10 and I still get the Courier font, not the new font shown in all of the examples on Wolfram's website. Anybody have any ideas how to get the new font working? Running on Mac ...
bridges2's user avatar
  • 387
15 votes
1 answer
577 views

Order/Dependency of Styles in a Stylesheet

How exactly is a custom stylesheet processed? Which style depends on (inherits from) which other style. Consider e.g. setting a font. I would expect that setting the font for ...
NoEscape's user avatar
  • 842
15 votes
1 answer
376 views

Setting Stylesheet for Package files in Version 11.1

Since many versions the frontend does a pretty good job as an editor for package files (.m or .wl). In versions up to 11.1 code as the following could be used to additionally tweak the appearance and ...
Albert Retey's user avatar
  • 23.6k
14 votes
1 answer
524 views

How can I style text like in a system usage message?

I'm writing an article, and I really like this style that you get when you type ?AnyFunction. Is it possible to achieve this?
balboa's user avatar
  • 683
14 votes
2 answers
367 views

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

Let's create a stylesheet: ...
Kuba's user avatar
  • 137k
13 votes
3 answers
2k views

Quickly editing the stylesheet and saving it

I have a private stylesheet I'm using. I edit it by going to the menu Edit->Edit Stylesheet and then clicking on the private stylesheet cell. I can modify whatever I want but it never gets saved. The ...
Rojo's user avatar
  • 42.6k
13 votes
4 answers
545 views

How can I get information about properties of a style?

I'd like to make some features of my notebooks responsive to some properties of styles in the active stylesheet. Is there a way to do this? I can't seem to get anything out of ...
orome's user avatar
  • 12.8k
13 votes
1 answer
274 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.
Chris K's user avatar
  • 20.2k
13 votes
2 answers
389 views

How can I make a stylesheet that counts subcells?

The example cells in the documentation each have a count of the cells inside their section: ...
M.R.'s user avatar
  • 31.5k
12 votes
2 answers
307 views

Turn off keyboard shortcut

Every once in a while when editing a formula, I want to add a parenthesis at the beginning of the line by pressing Shift9 to get (. However, I will accidentally ...
user297024's user avatar
12 votes
2 answers
411 views

How do I inherit a specific cell option from another style (without copy paste)?

How can I define a style with FontSize from Section and CellFrame from Program?
M.R.'s user avatar
  • 31.5k
12 votes
1 answer
210 views

How to decorate cells with widgets like jupyter and collab?

I would like to add a couple UI features from cells in python notebooks that I find helpful. Specifically, these two features from google's collaboratory and vs-code's jupyter mode: To the left of ...
M.R.'s user avatar
  • 31.5k
12 votes
1 answer
394 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 ...
B flat's user avatar
  • 5,523
12 votes
1 answer
253 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 ...
Vly's user avatar
  • 388
12 votes
1 answer
554 views

Automatic generation of cell tags

A similar question has been asked before, with no answers. I would love to have a way to easily reference objects associated with counters. To provide such a capability for things like figures, tables,...
Pirx's user avatar
  • 4,139
11 votes
2 answers
2k views

Did Mathematica 9 remove some previously available stylesheets?

Did Mathematica 9 remove some previously available stylesheets? If so, how can I customize a currently available style sheet to be like a previous one or get previous version's stylesheet back? I ...
sebastian c.'s user avatar
  • 1,973
11 votes
2 answers
559 views

What is the simplest way to set the toolbar of a notebook to an image?

For custom stylesheets, it's nice to have a graphic banner in the Docked Cell. According to the doc page tutorial/IntroductionToToolbars, this is how you do it, but it seem a bit overkill: ...
M.R.'s user avatar
  • 31.5k
11 votes
3 answers
4k views

How to export notebook in colored PDF form [duplicate]

Possible Duplicate: Saving a notebook as PDF, preserving syntax highlighting I would like to export my notebook code in a colored PDF form. What I do is select the brace in the right side of the ...
Thanos's user avatar
  • 1,003
11 votes
1 answer
380 views

Inheriting Stylesheets when using CreateDocument

I build a lot of presentations and custom notebooks with very different stylesheets, and use Button and CreateDocument quite ...
Charlotte Hadley's user avatar
11 votes
1 answer
318 views

Is there a way to base one style on another?

I'm setting up a stylesheet and and finding the process of defining related styles tedious and error prone. In particular, I have several related styles that need to have synchronized settings (e.g., ...
orome's user avatar
  • 12.8k
11 votes
2 answers
501 views

Mathematica outliner's capabilities

As my notebooks get larger, I often try to organize them with titles/subtitles etc, structuring them as an outliner This also helps me as I try to structure a notebook trying to produce an article, ...
alessandro's user avatar
  • 1,085
11 votes
2 answers
622 views

Show StyleSheets and Palettes from custom directory in Mathematica's Menu

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
bobknight's user avatar
  • 2,037
11 votes
2 answers
294 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 Documentation ...
User18's user avatar
  • 882
11 votes
1 answer
503 views

How can I change the style of every newly opened notebook?

I'd like to make Mathematica open a new notebook using the Natural Color template (under the Creative category) by default. Is that possible? If so, how?
glwhart's user avatar
  • 311
11 votes
1 answer
295 views

Creating version specific notebook styles: decide based on whether version is at least 11.1

I am trying to clean up the appearance of user-generated documentation in 11.1. I believe in some cases I need to set options based on the front end version: use one value for 10.0-11.0 and a ...
Szabolcs's user avatar
  • 235k
11 votes
2 answers
260 views

Rasterize uses default stylesheet if ImageSize is specified

Bug introduced in 8 or earlier and persisting through 11.0.1 If I make a style definition which affects GraphicsBox, the style is used by ...
Simon Woods's user avatar
11 votes
1 answer
2k 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 ...
我心永恒's user avatar
10 votes
3 answers
724 views

Inconsistent display of TraditionalForm in version 9

After installing version 9, the default style sheet uses Arial font in text and formula cells. So far, so bad. At least one would hope this is done consistently. But now I see this: You can see ...
Jens's user avatar
  • 97.3k
10 votes
1 answer
133 views

How do I view the built-in definition of TemplateBox styles in terms of low level boxes?

The following: TemplateBox[{"a", "b"}, "Binomial"] // RawBoxes yields the correctly formatted (2d box structure) of Binomial[a,b]: $$\...
QuantumDot's user avatar
  • 19.7k
10 votes
1 answer
308 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' (...
nilo de roock's user avatar
10 votes
1 answer
642 views

Mathematica File Organization

Last year I asked how to integrate notebooks to the documentation center in stackoverflow. Back then I was only interested in seeing those notebook and being able to search for them. Unfortunately, it ...
jmlopez's user avatar
  • 6,480
10 votes
0 answers
394 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. ...
hal's user avatar
  • 783
9 votes
2 answers
506 views

How can I style a cell frame with rounded corners?

I'd like use rounded rectangles for my cell style, but I'm not sure if this is possible. Perhaps it can be faked with an image as a background for it?
M.R.'s user avatar
  • 31.5k

1
2 3 4 5
7