MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Keep Fractions Displayed Using HoldForm From Scaling Down

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117799] Re: Keep Fractions Displayed Using HoldForm From Scaling Down
  • From: gekko <pfalloon at gmail.com>
  • Date: Thu, 31 Mar 2011 04:05:35 -0500 (EST)
  • References: <imushm$id3$1@smc.vnet.net>

On Mar 30, 8:18 pm, Gregory Lypny <gregory.ly... at videotron.ca> wrote:
> Hello everyone,
>
> Can't seem to get the typesetting to come out the way I want.  If I use HoldForm on an unevaluated expression such as (where the x's are multiplication signs)
>
> HoldForm[(p/(1 + r)) x ((3 a)/(6 b)) x 17]
>
> I get the format that I want: the font size of the numerators and denominators of the fractions are the same as that of the lone integer, 17, at the end.  But if I stick that same expression into a row of a table or grid, the font size of the fraction is reduced, presumably to make it fit within the height of the row; so the following
>
> Tableform[{
> {HoldForm[(p/(1 + r)) x ((3 a)/(6 b)) x 17]},
> {=93Another line of stuff goes here.=94}
>
> }]
>
> does not display the way I want because the fractions are shrunk.  Is there any way to control this.  I've tried RowSpacings, RowMinHeight, and ItemSize but these control the space between rows rather than the height of the row itself.
>
> Regards,
>
> Gregory

Not sure how useful this is, but I have previously used the option
"AllowScriptLevelChange->False" to control this kind of thing. I did
via the Option Inspector, and only for display purposes (e.g. inside
DisplayFormula cells). But it seems to work with the function "Grid",
e.g. :

    Grid[{{HoldForm[(p/(1 + r)) x ((3 a)/(6 b)) x 17]}},
AllowScriptLevelChange->False]

Cheers, P.


  • Prev by Date: Re: Parallelize a sequence of NDSolve's
  • Next by Date: Re: LaguerreL[n,a,x] with negative n?
  • Previous by thread: Keep Fractions Displayed Using HoldForm From Scaling Down
  • Next by thread: Bloch Equation, NDSolve, and strange behaviors