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
4
votes
0answers
62 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
73 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?
5
votes
0answers
180 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 ...
13
votes
2answers
1k views

What is the precedence of FrameStyle, FrameTicksStyle, and LabelStyle? How to have a LabelStyle different from FrameStyle

From the documentation: Plot[2 Sin[x], {x, 0, 10}, Frame -> True, FrameLabel -> {x, y}, PlotLabel -> 2 Sin[x], LabelStyle -> Orange] But then add a ...
1
vote
1answer
313 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 ...
0
votes
1answer
72 views
8
votes
1answer
207 views

Style in Graphics or Graphics3D?

To generate a yellow sphere, I usually write the code without using Style: Graphics3D[{Yellow, Sphere[]}] However, ...
9
votes
3answers
710 views

Set the style of a cell

I know it's possible to programmatically change options on the selection in a notebook. I'd like to create a button that lets me change the style of a cell. It's a style that doesn't have a keyboard ...
2
votes
1answer
73 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 ...
2
votes
1answer
270 views

BarChart EdgeForm not producing correct colors

EdgeForm is not producing correct colors for the borders of my bars. My code: ...
3
votes
1answer
91 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 ...
0
votes
1answer
78 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
71 views

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

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
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 ...
6
votes
2answers
874 views

Awful styling in MMA10's Plot

Switching to MMA10, I'd want to produce a plot using this code: ...
7
votes
2answers
174 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? ...
10
votes
1answer
349 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,...
4
votes
1answer
851 views

Background in ItemStyle

Bug introduced in 6.0 and persisting through 11.0.1 or later Grid ang ItemStyle are new in 6.0 I would expect the following to ...
9
votes
1answer
322 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 \...
65
votes
3answers
5k views

Python-style plots in Mathematica

I love making plots in Mathematica. And I love to spend a lot of time making high-quality plots that maximize readability and aesthetics. For most cases, Mathematica can make very beautiful images, ...
7
votes
0answers
106 views
8
votes
1answer
83 views

Acessing style information of TimeObject and DateObject DisplayForm

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

Plot label distance to plot

Consider the two following similar expressions: ...
1
vote
1answer
115 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 ...
3
votes
0answers
151 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 ...
4
votes
2answers
387 views

Labeling vertices by number in Graph: Getting text to display at the right size

Minor aesthetic question here. I was playing around with Graph's and decided to render a cute-looking family of directed graphs, with the vertices being the number ...
4
votes
1answer
517 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: <...
7
votes
1answer
1k views

How to use an image as a plot background

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

How to make the background lines in PlotTheme -> {“Detailed”} more visible?

The following code ListLogLogPlot[{1}, PlotTheme -> {"Detailed"}] adds thin dashed gray lines to the background. Their visibility is OK in the notebook but ...
65
votes
2answers
1k views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Background Usually I don't ...
6
votes
4answers
785 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
145 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
498 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
390 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
154 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
241 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: ...
6
votes
0answers
265 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
1
vote
2answers
86 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 ...
5
votes
3answers
518 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
1answer
86 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 ...
2
votes
0answers
128 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%
3
votes
1answer
282 views

How to set the Arrowheads style in a figure with broken vertical axes

I am trying to combine three separated curves into a same figure. The codes are inspired by another post and answers here. Codes: ...
1
vote
0answers
43 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 ...
7
votes
1answer
2k views

How to change frame size, while maintaining ImageSize? [duplicate]

I'm trying to come up with a MWE: anyData = Range[10]; Column@Table[ListLinePlot[n*anyData, Frame -> True], {n, {-1, 1}}] The lateral size of the plotframe ...
-1
votes
1answer
115 views

How to graph the max and min values of a sheet?

Hi I just start working in Mathematica version 10.3.1 and I want to graph a sheet of data that I created in Excel (yeah i use Windows). The problem is i have so many data; 200 columns and 50 row of ...
0
votes
1answer
77 views

How to assign arbitrary values to frameaxis of a ListDensityPlot

Maybe the question is stupid or already has been asked, however, I cannot find an answer while searching Q&A. Assume you have a Table[x*y,{x,1,4},{y,1,4}] ...
0
votes
0answers
37 views

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

How can I find out the DefaultStyle of Axes, Frames, ...
2
votes
2answers
435 views

Change Font in Grid Header

How can I style headers in a grid to be in Arial, 20pt? ...

1
3 4
5
6 7