MathGroup Archive 1999

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

Search the Archive

Re: Font for inlines and Numbered Equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20850] [mg20850] Re: Font for inlines and Numbered Equations
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Wed, 17 Nov 1999 03:41:12 -0500 (EST)
  • Organization: "Wolfram Research, Inc."
  • References: <80ngsm$27f@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 14 Nov 1999, Kevin J. McCann wrote:

> I have a strange problem.  I use the Article Classic Stylesheet for many of
> my NB's.  However, I find that inline equations and the paragraph style
> Numbered Equation show up as Italic and Courier Font, respectively.  The
> Stylesheet shows that both should be in Arial and Plain-text.  How can I fix
> this?

Open the style sheet and unformat the prototypes for the problematic
styles.  If you see an option with the name

	DefaultFormatType

This option will force the front end to use overlapping style settings for
the corresponding format type instead of settings for the cell style
itself.  

For example, suppose your cell style is supposed to use Arial, but the
DefaultFormatType option for this cell is set to be
DefaultInputFormatType. The front end dereferences the option by checking
the aggregate option CommonDefaultFormatTypes, looking for a setting for
"Input".  

You can find out what it is at the global and notebook levels through
Options[].

notebook scope:

"Input" /. (CommonDefaultFormatTypes /. 
      Options[EvaluationNotebook[], CommonDefaultFormatTypes])

global scope:

"Input" /. (CommonDefaultFormatTypes /. 
      Options[$FrontEnd, CommonDefaultFormatTypes])

In most cases, unless you've changed this setting through some mechanism
like the front end menu command Cell -> Default Input Format Type, this
will resolve to StandardForm.  Consequently, the front end will override
settings for the cell's style with overlapping settings in the format type
prototype in the style sheet.  The StandardForm prototype cell usually has
a setting of FontFamily -> Courier, which would explain why this font is
used in place of Arial.  To change to Arial, change the font setting in
the StandardForm cell style prototype.

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com
Wolfram Research, Inc.





  • Prev by Date: Re: Solve Equation
  • Next by Date: Re: Solve Equation
  • Previous by thread: Font for inlines and Numbered Equations
  • Next by thread: External Kernels Problem