Stack Exchange Network

Stack Exchange network consists of 175 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.

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 ...
3
votes
2answers
257 views

PlotRange label digit precision

I'm trying to plot a set of points, Mathematica create the plot with the right range but it doesn't show all the digits (only shows up to six digits): ...
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
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:
5
votes
2answers
85 views

How to specify both Center and Graphics directives for Dividers option in Grid?

The docs for Dividers give an example featuring Center as the setting for the the Dividers ...
5
votes
1answer
108 views

Changing line style in Dendrogram

How does one change the line style in Dendrogram? BaseStyle changes the style on the points (vertexes) and ...
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?
11
votes
1answer
200 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 ...
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 ...
0
votes
1answer
38 views

Specifiying infix operators in Style

This has certainly been asked on MSE somewhere before. Where it is has eluded me the past 50 or so minutes. I'm formatting some boolean expressions using ...
7
votes
3answers
120 views

Change style of cell if group collapses?

Other than the GroupOpener triangle, are there anyways to change how a cell (that is the parent cell of a group) looks when its group is collapsed or expanded? Specifically, using the stylesheet ...
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 ...
1
vote
0answers
62 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?
6
votes
2answers
265 views

Limited styles in the Monochrome plot theme

It seems like PlotTheme -> "Monochrome" produces up to 8 different dashing styles for Plot. I know one way to overcome this ...
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 ...
1
vote
1answer
236 views

Display level sets of gradient-magnitude by Meshfunctions

EDIT 2 Question refined to: How can I use this information to impose Meshlines which correspond to level sets of this graddata? ...
0
votes
1answer
55 views

Why is ExclusionsStyle not working as expected? [closed]

I have the following script ...
8
votes
1answer
175 views

Style in Graphics or Graphics3D?

To generate a yellow sphere, I usually write the code without using Style: Graphics3D[{Yellow, Sphere[]}] However, ...
2
votes
1answer
66 views

Palette for text styling

When modifying the style of a document, such as the headings, I find it tedious to be constantly visiting the menu every time I need to change a color/style/size/etc. Is there a palette or other ...
3
votes
1answer
76 views

Questions about InlineCell vs InlineFormula vs DisplayFormula cells

I'm having trouble with typesetting, and can't get these questions straight in my head. What is the difference between "InlineCell" and ...
4
votes
1answer
170 views

Differently colored edges of same direction in a graph?

When I try to color edges in a graph that point to different vertices, it works properly: Graph[{Style[DirectedEdge[1, 2], Red], Style[DirectedEdge[2, 3], Blue]}] ...
0
votes
1answer
60 views

Stylesheet code for limitspositioning option of InlineCell inside a “Text” vs “DisplayFormula” cell

I am attempting to build a stylesheet to emulate the underoverscripts in a textbook. First some background... When I come to place in a "Text" cell where I need to write some math notation I use an "...
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 ...
1
vote
1answer
229 views

Writing text inside Venn Diagrams

I found this question which is extremely cool and amazing How to plot Venn diagrams with Mathematica? which also helped me in plotting and creating Venn Diagrams. But there is something that is ...
8
votes
1answer
132 views

Make polygons visible in MeshRegions in v11, as they were in v10

In versions 10.x, polygons in mesh regions were clearly outlines: In version 11.0 they aren't by default. How do I get back the v10 display so I can see where my polygons are, even in flat faces ...
7
votes
2answers
161 views

Styling Geo Primitives

How do you style the following: GeoGraphics[{Red, Opacity[1], GeoDisk[{60, 20}]}, GeoBackground -> None] so that the resulting disk is exactly red? ...
0
votes
0answers
23 views

Is it possible to Include predefined text in a custom stylesheet? [duplicate]

I added the following code to my private stylesheet for a notebook. Now when I create a new cell in that notebook with the style "Theorem", all of the options below are pre-populated for that cell. ...
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? ...
5
votes
1answer
76 views

Maintaining correct spacing around operators

How can I create mathematical expressions (just for the looks) which have correct spacing around the operator? I want to use display these in arbitrary places, such as labels in a GUI, tick labels or ...
6
votes
0answers
92 views

Set PlotTheme globally without overriding custom (font) settings

Content of the initialization cell: ...
8
votes
1answer
73 views

Acessing style information of TimeObject and DateObject DisplayForm

The two functions TimeObject and DateObject (both introduced in version 10) feature neat ...
3
votes
3answers
552 views

Plot label distance to plot

Consider the two following similar expressions: ...
3
votes
0answers
144 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 ...
10
votes
1answer
285 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,...
3
votes
1answer
298 views

How I style and label individual curves in a ParametricPlot? [duplicate]

I have what I think is a ParametricPlot that is no different in structure from the example for explicitly styling different curves provided in the documentation: <...
6
votes
1answer
938 views

How to use an image as a plot background

Is it possible to use an image as a plot background?
1
vote
1answer
99 views

Saving a notebook as CDF, preserving syntax highlighting

My question is virtually the same as Saving a notebook as PDF, preserving syntax highlighting except that I'd like to save my file (a tutorial on Mathematica) as a .CDF file and thus keep the syntax ...
2
votes
2answers
139 views

Output as numbered display formula

I would like to be able to have Mathematica output appear in my "DisplayFormulaNumbered" style, which puts an automatically incremented equation number at the right ...
6
votes
4answers
731 views

3D scatter plot with crosses

I would like to do a 3D scatter plot with cross (x or +) markers instead of dots for each point. So far I'm using the following command: ...
1
vote
1answer
131 views

Problems with Subsuperscript and Subscript Combination [closed]

I have a 3D figure, not important what it is, and I have the following code for the Z axis of this figure: ...
2
votes
2answers
323 views

Opacity of a given point in ListPlot

I have a flat list of data {{x1,y1}, {x2,y2}, ..., {xn,yn}}, that I plot with a ListPlot. I now want each point to have it's own ...
1
vote
1answer
330 views

How do you make y-axis labels and Ticks bigger in a BoxWhiskerChart

I'm trying to do a BoxWhiskerChart in Mathematica with a very specific Style. Specifically, I'm trying to get the y-axis labels (the numbers) to be bigger (point 72)...
4
votes
1answer
110 views

Image background for cell?

I'd like to make code Cells have a specific background image. I know you can do this for Notebooks, but what about Cells? This simple test fails: ...
4
votes
1answer
200 views

How to automatically label the cluster distances in a DendrogramPlot?

I have a distance matrix data, and want to visualize it as below: The current codes I am using is: ...
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: ...
1
vote
2answers
74 views

TexForm List with Rule

I'm having some difficulty TexForming a list. The output is not what I want. The following is a minimum working example. I've tried every combination of Flatten, ArrayReshape, and Partition to no ...
9
votes
1answer
255 views

Why I cannot change the AxesStyle of the Plot?

Bug introduced in 8 or earlier and persists through 11.0.1 or later I am trying to plot the following single variable function: $$\small\frac{180 \sqrt{\pi ^2-625 t} \left(\pi ^2 (36 t-25)-1500 t \...
4
votes
3answers
404 views

Using different style on segments of a plot [duplicate]

Is it possible to plot a function with two different colors? To illustrate, let's have: Plot[Sin[x], {x, 0, 2 π}] which plots a curve. And I would like it to be ...
2
votes
0answers
119 views

How to change the default stylesheet? [duplicate]

How to change $\textbf{default} $ output font color in Mathematica? for instance : how to set following style as default And how to set the default magnification to 200% instead 100%
2
votes
1answer
83 views

Output short denominator as pre-factor

How can I make the output print like the input, with the short denominator written as a factor in front of the long expression? I was messing with styles earlier today to do something else, and at ...