Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [style]

Questions about applying a consistent look or form to Mathematica output, including use of the built-in styling constructs (Style, PlotStyle, etc). For questions specific to styling in notebooks with stylesheet properties please use the [stylesheet] tag.

8
votes
0answers
40 views

Styles inheritance stack for elements of a Graphics/GraphicsBox

You can skip to the bottom if you only care about the question. My original goal was to control FrameLabel color from a notebook level opposed to doing it ...
8
votes
0answers
81 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 <...
7
votes
0answers
135 views

How to change the style of part of a cell in 11.2?

In Mathematica 11.1 and earlier it was possible to select just part of the text in a cell, and apply a different style to it using Format → Style. For example, we could type "One two three four" in a ...
6
votes
0answers
80 views

How to generate docs with the new style?

Is there a way to make the Wolfram Workbench generate HTML with the new documentation styles of version 11.1?
6
votes
0answers
92 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
5
votes
0answers
169 views

How to prevent formatting as Mathematica code in inline cells?

We can start a new inline cell using Insert → Typesetting → Start Inline Cell. This is often used to insert mathematical formulae in text cells. Instead, I want to use it to insert small bits of non-...
5
votes
0answers
134 views

How to make Mathematica show parentheses using the AntykwaTorunska font correctly?

I am currently on a Windows 10 machine using Mathematica 11.0.1.0 and on which I installed the AntykwaTorunska fonts (light, bold, condensed, etc). Here you can see a part of the screenshot of the ...
5
votes
0answers
197 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
5
votes
0answers
148 views

How edit stylesheet to change automatic numbering of Reference type to numeric, not alphabetic?

I applied the stylesheet JournalArticle to a notebook. When I use the Reference cell style there, it automatically inserts "A.", "B.", etc., to number the cells. What exactly should one do (...
4
votes
0answers
56 views

How to control indentation of a cell relative to it's parent?

Is there a stylesheet property that can be set to control the extra level of indentation of a cell in its group (I don't want to specify absolute CellMargins)? Carl suggests in the comments to use ...
4
votes
0answers
47 views

What are the possible options for the Appearance option of IntervalSlider?

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
4
votes
0answers
101 views

Are there any rules about style inheritance in Mathematica?

I can style every part of an UI separately. But it is not handy and it would be nice to have list of Heads which are not inheriting at all or even partly. Are there any rules about inheritance? <...
4
votes
0answers
92 views

How to insert expression matching the format?

I would like programmatically to insert/write an expression at the current insertion point, but matching the current format, such as font size and style, so that it looks like the user typed it. ...
3
votes
0answers
52 views

Highlight selected text everywhere?

Notebook++ has a very useful feature which highlights all occurrences of certain text once it has been selected with the mouse cursor in one spot: It is very useful in order to jump between different ...
3
votes
0answers
49 views

Merging list valued style options

As shown in Difference between ParentList and Inherited we can use ParentList to nicely merge additional rules. It seems to work nicely when it comes to inheriting ...
3
votes
0answers
143 views

How to center graphics via stylesheet?

I though this should be a simple one, but I have run into issues. I have a style for Graphics, which holds things like plots generated as outputs from commands, as well as images I may have inserted ...
3
votes
0answers
108 views

How to include automatic references to cells styled with DisplayFormulaNumbered

Under the Style menu, there is an entry called DisplayFormulaNumbered. It does exactly what it seems to suggest: it indexes the ...
2
votes
0answers
35 views

Centering CellLabels

Is there a way to get cell labels to vertically center next to the input text? It always looks like the CellLabels are offset a bit too low:
1
vote
0answers
42 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 ...
1
vote
0answers
57 views

Changing the y-axis tick style of a RegionPlot

I have an inequality of the form $f(x,y) < 1$ and plot it with RegionPlot[f[x, y] < 1, {x, 0, 5}, {y, 10^-7, 10^-4}] The y-axis ticks are displayed as 0....
1
vote
0answers
76 views

Oxford journal referencing style

I've been scanning through Mathematica documentation for a while but has been unable to find anything related to compiling a journal/ report based on Oxford style. Does Mathematica have this option ...
1
vote
0answers
37 views

Hiding '//*Form' in output cell labels?

Is there a way to hide the '//form' part of Output cell labels but keep the Input cell labels the same? For example, I'd like to keep "In[2]:=" but get rid of the "TreeForm=" here:
1
vote
0answers
63 views

Is there a way to make the whole document black in Default stylesheet?

I want to change the text color of the whole document to black, because it makes it more readable after printing with a black and white printer. Is there a way to make all document black with one ...
1
vote
0answers
61 views

Gallery of different style cells?

I'm looking for some nice new cell styles for my stylesheets, are there any galleries of cells from which I can mix and match?
1
vote
0answers
38 views

Include level number in style format definitions?

I would like to prepend a heading style (from Title down to subsubsection) with the level number corresponding to the Alt key shortcut: I lose track of what level I am at. How might this be achieved? ...
1
vote
0answers
37 views

Can I change the background of a deployed object?

I am deploying an object that displays some graphics. The background of the graphics is white, and I like it that way, but it clashes with the grey background of the wolfram cloud website. Follow ...
1
vote
0answers
65 views

Mysterious message posted when I move the cursor in a custom function

I wrote a function called CPlot for complex plotting which is supposed to act a lot like Plot in its input format, but ever ...
0
votes
0answers
53 views

Graphics3D ignores EdgeForm

Works great: Graphics[{FaceForm[White], EdgeForm[AbsoluteThickness[10]], Polygon[{{0, 0}, {1, 0}, {0, 1}}]}] Ignores color and thickness: ...
0
votes
0answers
48 views

Text Display doesn't save in version 11.1

I have the problem that my changes to the display style of cells doesn't save with the notebook. When I convert a cell to text-display and check before saving I can see that the style is set as text-...
0
votes
0answers
34 views

How to get information about DefaultStyle of axes, frame, colorfunction, etc

How can I find out the DefaultStyle of Axes, Frames, ...