MathGroup Archive 2001

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

Search the Archive

Re: Math 1 Fonts Problem, Another Aspect

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30772] Re: [mg30753] Math 1 Fonts Problem, Another Aspect
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Sun, 9 Sep 2001 20:43:07 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at wolfram.com

On Sun, 9 Sep 2001, AES wrote:

> That's all right.  Since all the characters I ever need are in the
> Helvetica font, and since The Mathematica Book says on page 1222
>
> 	"The style specified by TextStyle in a graphics object is
> 	used by default for *all* text, including labels and tick
> 	marks"
>
> I can just use, for example,
>
> 	Plot[ x^2-5,  {x, -3, 3}, TextStyle->{ FontFamily->"Helvetica"} ]
>
> and maybe, as belt and suspenders,
>
> 	PlotLabel->StyleForm[ "R1 = 30%, R2-->0%", FontFamily->"Helvetica" ]
>
> Right?

The Math fonts will still be used for operator and bracketing characters,
unless you explicitly specify otherwise.

Compare the PostScript outputs in the following examples:

Plot[x^2 - 5, {x, -3, 3}, Epilog ->
   Text["f(x) = \!\(x\^2\) - 5", {1.5, 2}],
  TextStyle -> {FontFamily -> "Helvetica"}]

Plot[x^2 - 5, {x, -3, 3}, Epilog ->
   Text["f(x) = \!\(x\^2\) - 5", {1.5, 2}],
  TextStyle -> {FontFamily -> "Helvetica",
    PrivateFontOptions -> {"OperatorSubstitution" ->
       False}}]

The aggregate option PrivateFontOptions -> {"OperatorSubstitution" ->
 False} prevents the parentheses and minus sign from being drawn using
Math1 and Math2.

-- 
P.J. Hinton
User Interface Programmer                         paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: Seeking Mathematica's faults
  • Next by Date: Re: Summing list subsets
  • Previous by thread: Re: Math 1 Fonts Problem, Another Aspect
  • Next by thread: Re: Math 1 Fonts Problem, Another Aspect