Fractions are squished in GridBox
:
expr = Style["\!\(\*FractionBox[\(\[Alpha]\),\(360 \[Degree]\)]\)", Bold, 30];
{#, Column[{#}]} & @ expr
But we can fix this with AllowScriptLevelChange -> False
as shown in linked topic.
{#, Column[{#}, AllowScriptLevelChange -> False]} &@expr
The problem is GridBox
inherits this option from outer GridBoxes
only when it is True
! Moreover even if I fix the inner option AllowScriptLevelChange -> False
it will be overwritten by default True
from outer one.
Grid[{{#, Column[{#}, AllowScriptLevelChange -> False]}}
] &@expr
Grid[{{#, Column[{#}]}},
AllowScriptLevelChange -> False] &@expr
This behaviour is forcing me to manually put this option in each GridBox
.
Grid[{{#, Column[{#}, AllowScriptLevelChange -> False]}},
AllowScriptLevelChange -> False] &@expr
GridBox
, correct? $\endgroup$Grid
with fractions withAllowScriptLevelChange -> False
if you pass it to someone and he puts it in hisGrid
structure it will change the appearance. It is not how style should work. $\endgroup$inheritance
tag because I think that grouping issues such as this will eventually be useful. $\endgroup$