MathGroup Archive 2002

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

Search the Archive

Re: Changing the default Input font

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36009] Re: [mg35987] Changing the default Input font
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Mon, 12 Aug 2002 03:34:26 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at wolfram.com

On Sun, 11 Aug 2002, Jonathan Rockmann wrote:

> Does anyone know how to change the default (ASCII?) Input font which is
> used by Mathematica on every Input line to something easier for me to
> read like, Arial?
> 
> After getting some excellent advice on working with style sheets, I have
> been able to configure the front end substantially but am still unable
> to change what is, however universal, still a difficult font for me to
> read.

Front end style sheets include prototypes for Mathematica format types
like StandardForm and InputForm.  You will find these settings near the 
bottom of the style sheet notebook.  If a cell style is configured to use 
a format type, then the settings in the format type protoptype cell will 
override the settings in the cell style itself.

For example, suppose you change the FontFamily option value in Input to 
"Arial".  By default, the Input style uses the StandardForm format type.  
The prototype for StandardForm includes the FontFamily option with its 
value set to "Courier".

To ensure that Arial is used, you need to change the FontFamily option in
the StandardForm prototype cell.  Bear in mind that this will cause all
cell styles, such as Output, that use StandardForm to inherit this font as
well.

Another caveat for you is that some format types (InputForm and
OutputForm, for example), assume a monospaced font is being used to
display text.  It is probably not a good idea to use Arial for these
format types.  Choose a monospaced sans serifed font like Lucida Console 
instead.

-- 
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: font problem solved
  • Next by Date: RE: Re: Re: One to the power Infinity
  • Previous by thread: Re: Changing the default Input font
  • Next by thread: Plot a function with constants