Re: Re: typesetting fractions
- To: mathgroup at smc.vnet.net
- Subject: [mg45727] Re: [mg45719] Re: typesetting fractions
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Thu, 22 Jan 2004 03:37:29 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200401140626.BAA19657@smc.vnet.net> <200401161105.GAA10610@smc.vnet.net> <bua2v1$ild$1@smc.vnet.net> <200401210955.EAA07811@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
I don't think your pointer to Default FormatType for TextInLine is contrary to what I claimed. The option for "TextInline" for CommonDefaultFormatTypes does not offer any separate "display math" style such as I described, just the opportunity to substitute a new format type that one defines. Also, the issue is not one of inline math in a text cell vs. math in a NumberedEquation or similar cell. A single text cell ought, it seems to me, to be able to include both inline math, that is, math embedded right into the text paragraph, AND separate lines of math displayed -- still part of the same paragraph (even in the middle of a paragraph), just like in real math typography. Of course Mathematica DOES allow this, but in order to make built-up fractions have their numerators and denominators larger in the in-line math, one needs either to define and use a new FormatType, as you suggest, or else apply the obscure ScriptSizeMultipliers, as suggested in a separate reply by John Fultz. Paul Abbott wrote: > In article <bua2v1$ild$1 at smc.vnet.net>, > Murray Eisenberg <murray at math.umass.edu> wrote: > > >>An underlying difficulty is that there is no separate notion of "display >> math" -- mathematical expressions displayed on separate lines -- as >>opposed to math within normal paragraphs of text. This may be an >>unfortunate front-end design limitation. > > > Are you sure? You can individually control the Default FormatType for > TextInline which, by default is set to TraditionalForm. And for "display > math" (e.g. NumberedEquation cells in some StyleSheets), you can > independently control the formatting. > > Note that you can define your _own_ FormatType, not just be restricted > to InputForm, OutputForm, StandardForm and TraditionalForm. Defining a > FormatType from scratch is, of course, non-trivial but one can use > ParentForm to define a new FormatType that inherits formats from one of > the built-in FormatTypes. > > I hope to include an example of using ParentForm in the forthcoming > issue of The Mathematica Journal. > > Cheers, > Paul > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- typesetting fractions
- From: sabitnokta@yahoo.com (sabit)
- Re: typesetting fractions
- From: Selwyn Hollis <sh2.7183@misspelled.erthlink.net>
- Re: typesetting fractions
- From: Paul Abbott <paul@physics.uwa.edu.au>
- typesetting fractions