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 [inheritance]

The tag has no usage guidance.

2
votes
1answer
66 views

A stylesheet problem

I've run into a problem with a private stylesheet that I'm struggling to understand and resolve. The issue is that my notebook does not appear to always respect the values for ...
5
votes
1answer
78 views

How to enforce priority on custom directory over paclets default repository

As explained in $Path hijacked by PacletManager? loading packages from custom directories may not be so intuitive. Not to mention absolute lack of documentation of interaction between ...
3
votes
1answer
45 views

Prevent Grid from overriding GridBoxItemSize from Stylesheet

I have problems getting the Stylesheet settings for GridBoxOptions/GridBoxItemSize to be applied to ...
3
votes
0answers
53 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
1answer
80 views

Why does Mathematica ignore my stylesheet for DisplayFormulaNumbered cells?

I made a custom stylesheet, installed it, and applied it to a new blank notebook. Adding a cell and changing it to Text results in the expected behavior. The font and font size change to whatever the ...
4
votes
0answers
51 views

Hidden Notebook inherits NotebookDynamicExpression?

Bug introduced in 8 or earlier and persisting through 11.3 The following behavior is stably reproduced with versions 8.0.4, 10.4.1, 11.0.1 and 11.1.1 on Windows 7 x64. Set the ...
3
votes
0answers
45 views

Inherited TaggingRules misbehaving

Here's an example: ...
2
votes
3answers
203 views

Forcing the front end to update style definitions

tl;dr I need a way to apply style edits in stylesheets, even when I can't use cmd+Shift+E ntl;wr A while back I wrote a suite of stylesheet editing tools to automate operations I did in batch, ...
6
votes
2answers
273 views

Default styles for Exporting to PDF, EPS and SVG

By default for on-screen display, Rasterize and Exporting to raster formats FrontEnd uses styles defined on the Notebook level ...
17
votes
1answer
223 views

Notebook's TaggingRules inherit too much

Bug introduced in V10.4 or earlier and persisting through V11.3 [CASE:3852725] was created [...] I have forwarded an incident report to our developers with the information you provided. [...] ...
3
votes
1answer
61 views

Retaining custom style when creating a palette

I created a style in a private stylesheet called "GreenStyle". Here it is ...
8
votes
0answers
82 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 <...
6
votes
1answer
194 views

Graphs' options vs JournalArticle stylesheet

Bug introduced in 10.4 and fixed in 11.01 As noticed by Alexei Boulbitch, below one of my answers, there appears to be an unexpected issue with VertexLabels in <...
8
votes
1answer
131 views

Strange caching of Palette's TaggingRules

Please follow those steps to get the idea about the problem: Let's create a palette: ...
5
votes
1answer
132 views

Updating styles which are based on styles changed in private stylesheet

Intro Styles can inherit from other styles: base one style on another? And for example WolframAlphaLong is inheriting from ...
7
votes
1answer
143 views

FormatType with respect to Cell's content

Minimal example: Let's establish a notebook's stylesheet with additional TestStyle which has a FormatType->"CellExpression": ...
3
votes
1answer
210 views

FilterOptions Errors with Riemann Sum Notebook on Math World

I am trying to run the notebook for a maximum (upper) integration calculation (hopefully, symbolically). I am using the notebook available at Wolfram Math World (upper left of web page). When I ...
4
votes
1answer
120 views

How to use an ExpressionCell to display e.g. an Input cell inside a generated output?

It's not that I can't live with that but I don't understand why e.g: ExpressionCell[ Defer @ Style["string", Red], "Input"] is not showing quote marks? This ...
13
votes
2answers
306 views

What is the difference between Inherited and (Inherited + 0)

Let's create a stylesheet: ...
7
votes
1answer
208 views

Hidden parent stylesheet?

Please follow those steps: ...
8
votes
1answer
159 views

Reference to multiple stylesheets

I need to set StyleDefinitions for a notebook in such manner so I can provide references to multiple stylesheets: ...
4
votes
0answers
107 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? <...
6
votes
2answers
197 views

Fractions formatting in Column / Grid

Fractions are squished in GridBox: ...
7
votes
1answer
212 views

How to inherit options by scoping?

Consider the following example: you have a function framed producing a cell with a button that, when pushed, calls framed again. ...
12
votes
2answers
359 views

How do I inherit a specific cell option from another style (without copy paste)?

How can I define a style with FontSize from Section and CellFrame from Program?
10
votes
1answer
311 views

Inheriting Stylesheets when using CreateDocument

I build a lot of presentations and custom notebooks with very different stylesheets, and use Button and CreateDocument quite ...
11
votes
1answer
272 views

Is there a way to base one style on another?

I'm setting up a stylesheet and and finding the process of defining related styles tedious and error prone. In particular, I have several related styles that need to have synchronized settings (e.g., ...
13
votes
1answer
425 views

Order/Dependency of Styles in a Stylesheet

How exactly is a custom stylesheet processed? Which style depends on (inherits from) which other style. Consider e.g. setting a font. I would expect that setting the font for ...