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.

Filter by
Sorted by
Tagged with
5
votes
3answers
720 views

changing line style from solid to dashed after an intersection

I used this link: Plot that draws a dashed/solid curve depending on the y-value of the curve to help me start this. I have two lines. I want to change from solid to dashed after an intersection. The ...
7
votes
3answers
1k views

How do I adjust the thickness of all the FrameTicks? [duplicate]

I am very sorry if this is trivial, but I can not for the life of me adjust the thickness of all tick marks in Plots. Depending on the data to plot, either the top, bottom, top and bottom, or top and ...
4
votes
3answers
369 views

Color labels in Listplot

Bug introduced in 11.0 and fixed in 11.1 Given a ListPlot like this, for example: ...
3
votes
1answer
258 views

Changing Text cell color

What can I set so that whenever I create a text cell, everything I enter into the text cell, whether plain text or some mathematical notation (Ctrl+9 on the Macintosh) is in a particular color I would ...
3
votes
2answers
332 views

Change ListPlot marker style depending on coordinates

I have a set of data in an array; each element of the overall array is a list of the form $\{x, y, c\}$, where $c$ is a number representing a property of the data point $\{x, y\}$. I can plot these ...
1
vote
1answer
113 views

How to customize order of default plot styles?

I dislike the orange style as the second default plot style, and I would like to swap it with the fourth, which is red. Is there a relatively painless way of doing this?
2
votes
2answers
592 views

Using ColorData function in ListPlot for a third variable

I am trying plot data using a ColorData function to do a gradient of color from blue to red, I used "Rainbow" option, but ...
4
votes
2answers
1k views

Multiple GridLines of different colors

I wanna plot 2 gridlines in colors. One in red. Other in blue. How to do it? Wrong code: ...
6
votes
3answers
190 views

Styling points generated by table to have varying opacity?

I want the points generated by Table styled with increasing opacity. For example, let's say I have ListPlot[Table[n,{n,0,5}]]. ...
0
votes
1answer
81 views

Add better style to a dynamic question

I would like to obtain something similar to this: A user, has to answer the question selecting an answer from a popupmenu and he can check it. I wrote that: <...
4
votes
1answer
93 views

How to style a cell depending on CellTags?

Is there a way to create a style definition that reformats its background based on it's own tags? The following doesn't work: ...
2
votes
1answer
91 views

Additively applying EdgeStyle to a graph without resetting

w = {3, 4, 10, 2, 1}; g = Graph[{1 -> 2, 1 -> 3, 1 -> 4, 2 -> 3, 2 -> 4}, EdgeWeight -> w]; p = {1 -> 2, 1 -> 4}; Then I set their ...
4
votes
1answer
247 views

How to extract vertex/community colors from FindCommunityPlot

How can I extract the colors of the individual vertices/communities from a community graph plot? E.g. ...
2
votes
1answer
290 views

How to control size of self loops in Graph?

Is there a way to control the size of self loops when rendering a Graph? Example: ...
1
vote
1answer
247 views

Text loses its transparent background when opacity of graphics is reduced

By default Text has a transparent background. However, combined with other graphics with the opacity option, the text background turns to white and even overrides ...
1
vote
1answer
416 views

Command to set text color for current notebook

I'm looking for a command to insert at the start of my notebook that would change the text color for all text cells (style "Text") to have the color magenta. Maybe something that starts with ...
10
votes
3answers
815 views

How to create parabolic mesh?

In general how can we create a figure like this?
2
votes
3answers
95 views

Switch styles for special words

I want to create a Cloze test in Mathematica. I want to have text in a text cell and leave some words blank (to be filled in by students). With a button I want be able to switch between styles for ...
3
votes
2answers
116 views

Placing Graph vertexLabels into the vertexes

The DiscreteMarkovProcess defined in Mathematica can be passed to Graph to visualize it. It is exactly what I have done. ...
6
votes
1answer
76 views

How to use Style's FontVariations “Shadow” option value

FontVariations is an option for Style that has a "Shadow" option value. However, using <...
4
votes
3answers
484 views

PlotRange precision limit?

I'm trying to plot a set of points with 9 digits precision with a properly range labelling Y-axis, from a previous question I got two possible ways of doing this: 1st: suggested by @Carl Woll Using ...
1
vote
0answers
83 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
595 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
41 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
55 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
107 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
130 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
89 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
257 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
70 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
41 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
154 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
63 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
75 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
470 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
189 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
270 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
72 views

Why is ExclusionsStyle not working as expected? [closed]

I have the following script ...
8
votes
1answer
217 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
77 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
95 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 ...
5
votes
1answer
199 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
82 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 "...
5
votes
0answers
73 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
341 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
135 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
183 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
25 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
40 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? ...
7
votes
2answers
124 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 ...

1 2 3
4
5
7