As you use Mathcad and save your work for later use, you usually are creating worksheets, each of which contains unique text, math, and graphic regions. You typically create a separate worksheet, or group of worksheets, for each of your different calculation or projects. Mathcad uses”
•mcd” as the default file extension for worksheets. When you create a new worksheet in Mathcad, you can start with the equivalent of a blank piece of paper with Mathcad’ s default choices for formats and layout, or you can use a template that contains customized information for laying out and formatting the worksheet. When you create a worksheet based on a template, all of the formatting information and any text, math, and graphic regions from the template are copied to the new worksheet. The new worksheet therefore inherits the appearance and formatting instructions of the template, allowing you to maintain consistency in the appearance of your work. Mathcad comes with a variety of predefined templates for you to use as you create new Mathcad worksheets. You may extend the collection of templates by saving any of your Mathcad worksheets as a template. Mathcad uses.
•mct” as the default file extension for templates. Other saving options are available in Mathcad. You can save a worksheet in rich-text format (RTF), so that many word processors can open it. You can also save a worksheet in a format that can be read by Windows and Macintosh versions of Mathcad 6.
Creating and saving a new worksheet
When you open Mathcad, you’ll see an empty window to work in-this is the blank worksheet template. You can enter and format equations, graphs, text, and graphics in this space, and you can modify worksheet attributes such as the page margins, numerical
format, headers and footers, and text and math styles. When you want to save the worksheet, choose either Save or Save As from the File menu. The Save As dialog box appears, prompting you for a file name with the extension
•mcd under which to save the worksheet. After the first time you save the worksheet, simply choos~ng Save from the File menu updates the saved copy of the worksheet. The blank worksheet template is only one of the templates Mathcad provides. Other built-in templates are specific to types of worksheets you’ll be creating. For example, there is a template for homework assignments, one for engineering reports, and so on. To create a new worksheet based on a template other than the blank worksheet template:
• Choose New from the File menu. You will see a dialog box like the one below (the exact templates available will differ depending on your version of Mathcad)
• Choose a template other than “Blank Worksheet.” By default Mathcad displays worksheet templates in the templa te subdirectory of whatever directory you used to install Mathcad. Click the “Browse” button to find a template in another directory or on another drive.
• Click “OK.”
• Create and edit the necessary equations, text, and other regions for your worksheet.
• Choose Save or Save As from the File menu. The Save As dialog box appears, prompting you for a filename with the extension •mcd under which to save the worksheet. After the first time you save the worksheet, simply choosing Save from the File menu updates the saved copy of the worksheet. Creating a new template .4
Although Mathcad provides a variety of built-in templates, you can extend the collection of templates by creating your own. For example, you may want to use a template for a project that contains specific information in the worksheet header and footer, or you may want to customize the formatting in one of the predefined templates. The template you create can have equations, text, and graphics in certain places. The template also specifies:
• Default text properties (Chapter 5).
• Definitions of all math styles (Chapter 6).
• Definitions of all text styles (Chapter 5).
• Headers and footers (see “Layout” on page 76).
• Margins for printing (see “Printing” on page 79).
• Numerical result formats (Chapter 6).
• Values for Mathcad’s built-in variables (Chapter 8).
• Names of Mathcad’s basic units (Chapter 9). -,
• The default unit system (Chapter 9).
• The default calculation mode (Chapter 7).To create a new template, first create a new worksheet having the options listed above set the way you want. The worksheet should also contain any equations, text, and graphics that you want in the template. The next step is to save this worksheet as a template. To do so:
• Choose Save As from the File menu.
• Double-click on the Template folder in the Save As dialog.
• In the “Files of type” drop-down list, select “Mathcad Template.”
• Type a name for the template in the “File name” box.
• Click “Save.” The file is saved as a Mathcad template file (with the extension. met) in the templa te subdirectory by default, but you may save it in another location if you wish. Your template will now be added to the list of templates available in the dialog box that appears when you choose New from the File menu. To make a new worksheet based on a template you’ve created, simply choose New from the File menu and select your template from the list; if you did not save your template to the template subdirectory, you will need to browse to find the template