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.

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
45 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
86 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
60 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 ...
7
votes
0answers
148 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
87 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
97 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
6
votes
0answers
227 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
5
votes
0answers
195 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
163 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 ...
4
votes
0answers
67 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 ...
4
votes
0answers
60 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
57 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
110 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
93 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
56 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
147 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
111 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
36 views

How to undo “do this for all notebooks” when offered 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 ...
2
votes
0answers
40 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
1answer
85 views

Why do I get different symbols (a) with the same FontFace (Cambria Math)?

When I create an equation in MS Office, it uses Cambria Math, and I get the following when I use variable 'a'. When I try to use Mathematica to create graphics for my files, I can try to use ...
1
vote
0answers
52 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
68 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
78 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
44 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
66 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
71 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
39 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
41 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
67 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
28 views

How to graph a text as a function of some arbitrary parameters?

I'm trying to graph a text in a couple of plots I have. I want to be able to edit the text depending on the values I choose (rho0, zp, zm, temp, ion, and perm) and show them at some point in my plot (...
0
votes
0answers
83 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
35 views

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

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