Desktop Tools and Development Environment Previous page   Next Page

Modifying Styles in the M-Book Template

You can control the appearance of the text in your M-book by modifying the predefined styles stored in the M-book template. These styles control the appearance of text and cells. By default, M-books use the Word Normal style for all other text.

For example, if you print an M-book on a color printer, input cells appear dark green, output and autoinit cells appear dark blue, and error messages appear red. If you print the M-book on a grayscale printer, these cells appear as shades of gray. To print these cells using black type, you need to modify the color of the Input, Output, AutoInit, and Error styles in the M-book template.

The table below describes the default styles used by Notebook. If you modify styles, you can use the information in the tables below to help you return the styles to their original settings. For general information about using styles in Word documents, see the Word documentation.

Style
Font
Size
Weight
Color
Normal
Times New Roman
10 points
N/A
Black
AutoInit
Courier New
10 points
Bold
Dark blue
Error
Courier New
10 points
Bold
Red
Input
Courier New
10 points
Bold
Dark green
Output
Courier New
10 points
N/A
Blue

When you change a style, Word applies the change to all characters in the M-book that use that style and gives you the option to change the template. Be cautious about making changes to the template. If you choose to apply the changes to the template, you will affect all new M-books you create using the template. See the Word documentation for more information.


Previous page  Printing and Formatting an M-Book Choosing Loose or Compact Format for Notebook Next page

© 1994-2005 The MathWorks, Inc.