Desktop Tools and Development Environment Previous page   Next Page

Changing the Font--Example

This example changes the default settings (see Default Font Settings) for the desktop code font, changes the Command History font preference so that it uses the desktop text font instead of the code font, and specifies a custom font for the Current Directory browser:

  1. Change the characteristics for the desktop code font. On the Fonts pane, set the Desktop code font to Times New Roman, Plain, 14 point. Use the default for the Desktop text font, SansSerif, Plain, 10 point. Click Apply.
  2. Make the Command History window use the desktop text font. Select Fonts, click +, select Custom, and then select Command History from Desktop tools. Select the Desktop text radio button.
  3. Apply a custom font to the Current Directory browser. Select Current Directory from Desktop tools. Select the Custom radio button. Select Arial Narrow and Plain, and type 11 in the size field. Click OK.

The following table details the results of the changes.

Tool
Font Type
Font Characteristics
Command Window
Desktop code
Times New Roman, Plain, 14 point
Command History
Desktop text
SansSerif, Plain, 10 point
Editor/Debugger
Desktop code
Times New Roman, Plain, 14 point
Help Navigator
Desktop text
SansSerif, Plain, 10 point
HTML Proportional Text
Desktop text
SansSerif, Plain, 10 point
Current Directory
Custom
Arial Narrow, Plain, 11 point
Workspace
Desktop text
SansSerif, Plain, 10 point
Array Editor
Desktop text
SansSerif, Plain, 10 point

See Also.   For help about how MATLAB stores preferences and help for other preferences, see About Preferences.


Previous page  Custom Fonts Preferences Colors Preferences for Desktop Tools Next page

© 1994-2005 The MathWorks, Inc.