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.

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 ...
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 ...
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 ...
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. [...] ...
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., ...
7
votes
1answer
208 views

Hidden parent stylesheet?

Please follow those steps: ...
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 ...
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?
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: ...
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, ...
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 ...
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": ...
6
votes
2answers
197 views

Fractions formatting in Column / Grid

Fractions are squished in GridBox: ...
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
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 <...
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. ...
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? <...
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 ...