Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Re: Modifying the Default stylesheet?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81768] Re: [mg81696] Re: Modifying the Default stylesheet?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 3 Oct 2007 02:29:54 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200710020924.FAA28118@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Unless one is going to do something really fancy, a safer way to modify 
a cell style such as Text is just to use the main Mathematica menus to 
format it directly.

So in this case, after you've select Text as the style to modify, select 
the entire cell that appears in the Private Style Definitions notebook. 
  Then from the main menu select Format > Font... and from the dialog 
that opens, select Helvetica.

This way may be more tedious that editing the "expression form" of the 
cell, but it leads to fewer syntax errors.

chuck009 wrote:
> Piece of cake dude:
> 
> Select Format/EditStyle sheet.  You'll get a blank "private style sheet".  From the left menu that says, "choose style to modify", select Text.  You'll get a skeleton override for Text at the bottom.  Open up this cell with Shift/control E. It'll look something like:
> 
> Cell[StyleData["Text"]]
> 
> See, it's just a skeleton.  Now add, FontFamily->"Helvetica" to it like this:
> 
> Cell[StyleData["Text"],
> FontFamily->"Helvetica"
>  ]
> 
> Close the cell with another Shift/Crt E.
> 
> Now save it as something like "myNewDefault". Make sure it's saved in the StyleSheet directory that Mathematica expects to find stylesheets.  Now may need to exit Mathematica for it to show up in the list of styles.  Do that, bring up Mathematica again, should be in the list.  Choose it and your Text format should be Helvetica.
> 

-- 
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


  • Prev by Date: Re: Dependence of precision on execution speed of Inverse
  • Next by Date: Re: [?? Probable Spam] converting function from RasterArray to Raster
  • Previous by thread: Re: Modifying the Default stylesheet?
  • Next by thread: Re: Modifying the Default stylesheet?