Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1311
| From | Peter Breitfeld <phbrf@t-online.de> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Keep Fractions Displayed Using HoldForm From Scaling Down |
| Date | 2011-03-31 08:57 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <in1flp$4aa$1@smc.vnet.net> (permalink) |
| References | <imushm$id3$1@smc.vnet.net> |
Gregory Lypny 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
>
>
>
You may use the Option AllowScriptLevelChange->False, which is known by
Column, FractionBox, Grid, GridBox, Item and ItemBox, but not by TableForm
--
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Keep Fractions Displayed Using HoldForm From Scaling Down Gregory Lypny <gregory.lypny@videotron.ca> - 2011-03-30 09:18 +0000 Re: Keep Fractions Displayed Using HoldForm From Scaling Down Peter Breitfeld <phbrf@t-online.de> - 2011-03-31 08:57 +0000 Re: Keep Fractions Displayed Using HoldForm From Scaling Down gekko <pfalloon@gmail.com> - 2011-03-31 09:05 +0000
csiph-web