







                           M A T H   T E X T  

                             VERSION  1.85

                        M I N I   E D I T I O N





             Copyright (c) 1984, 85, 86 by Robert E. Huff
                          All rights reserved.




                             HUFF Software
                           410 S. Fraser St.
                        State College, PA 16801
                             (814)238-0885




                        DISCLAIMER OF WARRANTY:

        This SOFTWARE and manuals are distributed "as is" and
        without warranties as to performance or merchantability.

        This program is distributed without any express or
        implied warranties whatsoever.  Because of the diversity of
        conditions and hardware under which this program may be
        used, no warranty of fitness for a particular purpose is
        offered.  THE USER IS ADVISED TO TEST THE PROGRAM THOROUGHLY
        BEFORE RELYING ON IT.  THE USER MUST ASSUME THE ENTIRE RISK
        OF USING THE PROGRAM.
























                                                       -1-

        This MINI Edition of MATH TEXT has been specially prepared 
        for distribution at cost, with permission given users to 
        copy and give the MINI Edition to their friends and 
        associates.  (We do ask that only the FULL, ORIGINAL disk 
        be copied and distributed.)

        The MINI Edition has the following restrictions:

             1)  The response time of some operations has been 
                 slowed so that the user will sometimes find
                 himself waiting for the program to catch up.

             2)  The file size is restricted to approximately 8000
                 bytes, about 3 to 5 pages.

             3)  Transfers between files are impossible -- there is
                 no reading of one file into another, there are no
                 disk resident macros, and the cut-and-paste buffer 
                 is cleared whenever a new file is started.

        Also omitted from the MINI Edition are the FONTEDIT utility,
        the MT2ASCII and MTFIX utilities, and the User-Customizable
        printer driver.  A disk with these programs, documentation,
        and configuration files for the HP LASER JET printer (with
        HP's MATH J cartridge can be ordered from HUFF Software
        for $6.

        Even with these restrictions, some may find that the MINI 
        Edition is all they really need.  In this case, we ask the
        user to send a $9 contribution to HUFF Software to continue
        our MINI Edition distribution program.  In exchange, we
        will send back a copy of the latest version and information
        about our other products.  (Unfortunately, we must also ask
        MINI users not to call us for technical support.)

        The full version of MATH TEXT v.1.85 sells for $199.  Check
        with your software dealer.  It can be ordered directly from
        HUFF Software or from

                         TAYLOR & FRANCIS INC.
                           242 Cherry Street
                      Philadelphia, PA 19106-1906
                            1-800-821-8312
        (In Pennsylvania, Alaska, Hawaii, Canada call (215)238-0939)

                  VISA and MC card orders are welcome.
                University purchase orders are accepted.
                   Quantity discounts are available.
















                                                       -2-


                            C O N T E N T S


        WARNINGS .............................................  4
        CONFIGURING THE PROGRAM ..............................  5
        THE AUTO-DEMO ........................................  8

        I.    INTRODUCTION ...................................  9
              1. Your Computer ...............................  9
              2. Your Printer ................................ 10
              3. MS-DOS ...................................... 11
              4. The MINI MATH TEXT System Components ........ 12

        II.   THE MATH TEXT EDITOR ........................... 13
              1. Invoking the Editor Program ................. 13
              2. The Editing Screen .......................... 14
              3. Exiting the Editor Program .................. 15
              4. Help Screens vs. Menus ...................... 17
              5. The F8 and F9 Menus ......................... 17

        III.  THE CHARACTER SETS ............................. 18
              1. Normal/Italic Toggle ........................ 18
              2. Special Characters .......................... 18
              3. Changing Character Tables ................... 19

        IV.   ROWS AND LINES OF TEXT ......................... 20
              1. Cursor Movement ............................. 21
              2. Superscripts/Subscripts ..................... 22
              3. Underlining ................................. 22
              4. Inserting and Deleting Lines and Rows ....... 22
              5. Shifting Columns Up or Down ................. 23
              6. Removing Line Boundaries .................... 23

        V.    COLUMNS ........................................ 25
              1. Margins ..................................... 25
              2. Tabs ........................................ 26
              3. Word-Wrap ................................... 26
              4. Corrections, Insert Mode .................... 27
              5. Reformatting ................................ 27
              6. Centering, etc. ............................. 28

        VI.   PRINTER "DOT" COMMANDS ......................... 29
              1. Page Breaks, Page Numbering ................. 29
              2. Headers and Footers ......................... 30

        VII.  LINE SPACING AND PAGE BREAKS ................... 33
              1. The "Dot" Command .Qn ....................... 33
              2. Page Break Preview .......................... 34

        VIII. MACROS ......................................... 36
              1. Calling Macros .............................. 36
              2. Defining Macros ............................. 37
              3. Disk Resident Macros ........................ 38

        IX.   CUT-AND-PASTE OPERATIONS ....................... 39








                                                       -3-


        X.    SEARCH - SEARCH-AND-REPLACE .................... 41

        XI.   MATH TEXT FILES AND ASCII FILES ................ 43
              1. Transferring Files from Other Sources to
                 MATH TEXT Files ............................. 43
              2. Converting MATH TEXT Files to ASCII Files ... 43

        XII.  THE PRINT PROGRAM .............................. 44
              1. Invoking the Printer Program ................ 44
              2. The Print Menu .............................. 45
              3. Page Layout Parameters ...................... 47
              4. Printing .................................... 49
              5. Exiting/Merging Another File/Initializing ... 49

        XIII. THE FONT EDITOR ................................ 51
              1. Dot Matrices ................................ 51
              2. The Font Tables ............................. 51
              3. Using the FONTEDIT Utility .................. 53

        APPENDICES ........................................... 56
              1. Notes on the Hercules Graphics Card ......... 56
              2. Omitted ..................................... 56
              3. Omitted ..................................... 56
              4. Notes on the TANDY 2000 Computer ............ 56
              5. Notes on Printers ........................... 57
              6. Omitted ..................................... 63
              7. Omitted ....................................  63
              8. The Structure of a MATH TEXT File ..........  63
              9. Alternate Controls - Notes for Touch Typists  65

        SUMMARY .............................................  66
































                                                       -4-

                            W A R N I N G S


        1)   With the MINI Edition of MATH TEXT, the file size is
             restricted to approximately 8000 bytes.  If you
             exceed the buffer limit, lines will automatically
             be deleted from the end of the file.

        2)   Before starting an editing session, be sure there is
             sufficient room on your disks for any saving of files
             that you may do.  Even the "Update" option of the save
             routine requires disk space for an extra copy of the
             file being saved.

        3)   Do not attempt to define a line with more than 40 rows.
             The editor program must be able to display the entire
             line on the screen, and will get "lost" if this is not
             possible.

             If you do define a line with more than 40 rows,
             immediately save the file and then pass it through
             the utility MTFIX which will salvage as much of the
             file as possible.

        4)   Some errant keystroke sequences during editing can
             loose the screen (for example, calling a menu during
             entry of a macro).  The screen can always be redrawn
             as follows:  (a) hit ESCape to escape the errant menu
             call or whatever, (b) hit [F10] to get a help screen,
             and (c) hit ESCape to have your screen redrawn.

        5)   Beginning with version 1.85, MATH TEXT will only run
             under MS-DOS Version 2.00 or later.































                                                       -5-

        C O N F I G U R I N G   T H E   P R O G R A M


        You should first make a working copy of the distribution
        program disk, store the original distribution disk in a
        safe place, and then carry out the following steps on the
        working program disk.

        Start your computer, and boot the system using your MS-DOS
        master disk, obtaining the "A>" prompt.

        Place the MATH TEXT program disk in drive A, and enter the
        command MTCONFIG (return).

        A banner will appear, then a list of the current
        configuration, and then the following
             ---------------------------------------
              MAIN MENU
              Choose one of the following:
                   1.  Configure for computer.
                   2.  Configure for printer.
                   3.  Set directories.
                   4.  Set default margins.
                   5.  Exit configuration program.

              Strike key 1, 2, 3, 4, or 5. _
             ---------------------------------------

        1.   To configure the program disk for your computer, strike
             the "1" key.  You will get a list of supported
             computers.  Read the list carefully, and choose the
             letter corresponding to your computer.

             For certain computers, you will then be given a choice
             for screen color.  The first time user should choose
             "white" for any foreground color, and "black" for any
             background color.  Later you can experiment to find
             the colors that appeal to you.  (NOTE:  For the IBM-PC
             there is NO color choice.)

             After making your choice, the new configuration will
             appear, and then the MAIN MENU will be given again.

        2.   To configure the program disk for your printer, strike
             the "2" key.  You will get a list of supported
             printers.  Read the list carefully, and choose the
             number corresponding to your printer.

             One of the choices is "J. User-Customized Driver."
             Choose this option only after you have used
             the utility MTCUST.EXE (See Appendix 6).

             Another of the choices is "K. Special Print Driver."
             Choose this one only if you have one of the MT
             miscellaneous print drivers or you are using your own
             print driver.








                                                       -6-


        3.   Option "3. Set directories" is used to define two
             strings of characters, which we will call PREFIX1 and
             PREFIX2.

             When the MT editor and print programs run, they use
             these as follows:

             (1)  Every time the program works with an MT document
                  name, it automatically prefixes PREFIX1 to that
                  name.  For example, if the document name is
                  "MYFILE.DOC" and PREFIX1 is "B:", then the program
                  will deal with the file as "B:MYFILE.DOC".  Thus
                  it will look for the file MYFILE.DOC on drive B.

             (2)  Every time the program works with a font table,
                  a macro table, or a macro file, it will
                  automatically prefix PREFIX2 to the name of the
                  file.

             The prefixes may be drive names (e.g., "B:"), or they
             may be complete directory paths (e.g., "B:\MTDOCS\").

             EXAMPLE:  if the prefixes are

                          B:\MTDOCS\  and  A:\MTFNTS\

             then the programs will read and write all font tables,
             macro tables, and macro files in the directory MTFNTS
             on drive A, and will read and write all MT documents
             (including saved blocks) in the directory MTDOCS on
             drive B.

             To set the directory prefixes, strike the "3" key.
             Some information will be displayed on the screen.
             When asked, strike the 'Y' key, meaning "Yes, we do
             indeed wish to modify the directories."

             Enter the desired directory prefixes when asked.

             NOTE:  If either directory is to simply be the default
             disk drive name, then it is best to leave the prefix
             blank.  To do this, simply hit the return key when
             asked to enter the directory.

             If a directory is given for the fonts, the user must
             copy the font tables and the macro table from the
             distribution disk into that directory.

             The typical set up for the MT system is to use drive A
             for the program disk and drive B for the document
             files.  In this case, the directory prefix given for
             documents should be "B:", and the directory prefix
             given for fonts should be blank.

        4.   The first time user should simply accept the default








                                                       -7-

             margin settings 1-78 until he understands MT's margin
             controls.

             Later, by using this MTCONFIG program and choosing
             option "4", the user can set new defaults.  These will
             then be the margin settings that will automatically be
             used anytime a new file is started.

        5.   After the configuration is complete, strike the "5" key
             to exit the configuration program.  You will be asked
             to wait while the program writes a configuration data
             file (MTCONFIG.DAT), and modifies the font tables.
             The MS-DOS prompt will then appear.

        The program MTCONFIG can be used to reconfigure the program
        disk as needed.  Simply repeat the above steps.
















































                                                       -8-

                    T H E   A U T O - D E M 0


        After configuring for your computer, you can run the AUTO-
        DEMO.

        With the configured MT program disk in the active drive,
        enter the command

                      MTEDIT #DEMO (return)

        A copyright banner should appear on the screen.

        Hitting any key will start the demo.

        Hitting 0 (zero) will freeze the screen.

        Hitting [Ctr C] will stop the demo.














































                                                       -9-

        C h a p t e r   I.

        I N T R O D U C T I O N


             MT is a full-screen word processor especially designed
        for technical typing.  It manipulates lines of text where a
        line consists of up to 40 overlapping rows of characters.
        It works with 5 character sets:  the standard characters,
        italics, and 3 special sets, each special set containing
        94 characters all of which are user-definable.
             A special feature is a set of 94 internal macros, each
        of which can store up tp 49 keystrokes for fast entry of
        common expressions and symbols.
             There are no complicated commands to embed in your
        document.  The text is completely and continuously formatted
        on screen.  To enter a character as a subscript, one simply
        places the cursor (which moves by half-lines), and types
        the character, be it a Greek V or whatever.  In addition,
        most features of standard word processors are in MT.

        I.1.  YOUR COMPUTER

        MT uses a graphic screen to display the 470 possible
        characters, which can in fact appear vertically by half-
        lines.

        You must also have the MS-DOS (PC-DOS, etc., here referred
        to simply as MS-DOS) software operating system for your
        computer.  This must be Version 2.00 or later.

        THIS MANUAL ASSUMES THAT YOU ARE FAMILIAR WITH YOUR COMPUTER
        AND ARE ALREADY RUNNING PROGRAMS ON IT.  IF THIS IS NOT THE
        CASE, IF YOU ARE NEW TO YOUR COMPUTER AS WELL AS TO MT,
        PLEASE CONSULT YOUR COMPUTER USER'S MANUAL FOR DETAILS ABOUT
        OPERATING YOUR COMPUTER, USING MS-DOS COMMANDS, CALLING
        PROGRAMS, DISK HANDLING, ETC., BEFORE GOING ON IN THIS
        MANUAL.

        In particular, you must be familiar with your keyboard.  We
        assume that you have the IBM-PC keyboard.  Notes on
        keyboards for other computers are given in the SUMMARY.

        In this manual, we indicate special keys by placing them in
        square brackets.  Some special keys are:

        [RETURN]  (Indicated on the IBM keyboard by a curled arrow
                   pointed left.)
        [TAB]     (Indicated on the IBM keyboard by left and right
                   blocked arrows.  This key is on the left, beside
                   the "Q" key.)
        [BACKSPACE]    (At the top of the keyboard, beside the
                   "+/=" key, and indicated on the IBM by a left
                   pointing arrow.)
        [F1] ...  (The numbered function keys at the left side of
                   keyboard.)








                                                       -10-

        [HOME], [END], [PgUp], [PgDn], [u arr], [d arr], [r arr],
                   [l arr] (u/d/r/l arr = up/down/right/left 
                   arrow cursor control keys)  (These keys are 
                   on the keypad at the right side of the
                   keyboard, and are active when the "num lock"
                   key is off.)

        There are three types of modifying keys:  the "shift
        keys" (one on each side of the keyboard, and indicated by
        bold up arrows on the IBM), the "alternate" key (below the
        shift key on the left), and the "control" key (above the
        shift key on the left.)  These keys are used in conjunction
        with other keys.  For example, in this manual we may ask
        you to enter the keystroke [Ctr HOME], by which we mean for
        you to hold down the Control button while striking the HOME
        key.  Similarly, to enter [Sh F1], you should hold down
        either of the shift keys while hitting the "F1" key.

        The keyboards for many IBM-PC compatibles differ in the
        layout from the real IBM-PC.  In particular, be sure you
        find the keys for the characters:  "/", "|" (a vertical
        bar, often a broken vertical bar),"~", and "`".

        I.2.  YOUR PRINTER

        In general, the technique used by the MT printer program
        is to print the standard characters using the font internal
        to the printer, and to print the special characters using
        graphics.

        Thus, the printing of MT files involves mixing standard
        characters with special characters using the graphics
        capabilities of the printer.  These capabilities and the
        methods by which they are executed vary considerably from
        printer to printer.  Notes on the individual printers
        supported by MT appear in the appendices.

        We make no attempt here to teach the reader how to use his
        printer, but simply refer to the printer user's manual.

        REMARK:  Because of the large data flow of graphic printing,
        background printing is virtually impossible without using
        excessively large computer memory.

        REMARK:  The IBM version of MT assumes that the printer to
        be used has been configured as LPT1 (i.e., it is the default
        printer for the system.)

        REMARK:  The Z-100 version of the MT assumes that the
        printer to be used is connected to the standard parallel
        port J3.  This restriction is caused by the printer program
        having to bypass MS-DOS 2.xx when sending the high volume of
        bytes necessary in graphics printing.











                                                       -11-

        I.3.  MS-DOS (PC-DOS)

        MS-DOS (PC-DOS referred to hereafter as simply MS-DOS) is
        the underlying software for the Disk Operating System for
        your computer.  Among other things, it manages the loading
        and executing of programs such as those in the MT package.
        It also contains programs of its own called "MS-DOS
        commands" or "MS-DOS utility routines".

        We assume that the reader is familiar with certain
        fundamental MS-DOS conventions and routines.  Please refer
        to your computer user's manual for your computer.

        In particular, we assume that the reader is familiar with
        the following topics.

        1)   Starting the computer and "booting" the MS-DOS system.

        2)   The MS-DOS prompt, which indicates the currently active
             drive, and that the MS-DOS command processor is waiting
             for a command.

        3)   The MS-DOS conventions for naming files which are to
             be written to or read from disks.

             Basically, a DOS file name can consist of up to eight
             alphanumeric characters (no spaces) with an optional
             period and three character name extension.  We
             recommend either no extension or the extension .DOC for
             document files; for example, the names

                              FILE1 and FILE2.DOC

             are valid document names.  Note that when you exit the
             MT editor using the "Backup" option, a backup copy is
             created with the extension .BAK.  Thus, the two file
             names above would generate backup copy files

                            FILE1.BAK and FILE2.BAK.

        4)   The directory structure of disks.

        The user should also, as a minimum, be familiar with the
        following MS-DOS utilities.

        1)   DIR  (used for obtaining the directory of a disk;
                  i.e., obtaining a list of the files on the disk.)

        2)   COPY (for copying files from disk to disk.)

        3)   DISKCOPY  (for copying an entire disk.)

        4)   DATE and TIME  (for setting the computer's clock.
                  When a file is written or modified, the date and
                  time are stamped in the disk's directory.)









                                                       -12-

        5)   REN  (for renaming files.)

        6)   DEL  (for deleting files from a disk.)

        7)   FORMAT    (for preparing a new disk for use by the
                  computer.)

        8)   TYPE (for displaying the contents of a standard ASCII
                  file on the screen.)

        It is also reccommended that the user, when time permits,
        become adept in creating and executing "batch" files.  Batch
        files can save tedious entry of commands, and can be used to
        customize program packages such as MT.

        In fact, the more the user learns about the powerful MS-DOS
        system, the more he will enjoy his computer.

        I.4.  THE MINI MT SYSTEM COMPONENTS

        The core of the system consists of the MT Editor and the
        MT Printer program.

        The MT Editor creates, reads, and edits MT Document files.
        It needs a Screen Font Table for its display.  It creates
        and uses a table of Memory Resident Macros for easy
        technical typing.

        The MT Printer program reads MT Document files and prints
        them, creating the finished product.  It needs a Screen
        Font Table for its screen display, and a Printer Font Table
        for its printing of special characters.

        The Font Editor utility can be used to modify and/or create
        the special characters in the font tables.

        The MTFIX utility is used to repair MT document files that
        may have been damaged by magnetic media failure, disk write
        errors, etc.  We hope that you will never need this utility!

























                                                       -13-

        C h a p t e r   I I.

        T H E   M A T H   T E X T   E D I T O R


        II.1.  INVOKING THE EDITOR PROGRAM

        We now assume that the user has properly configured the MT
        program disk for his system.  Moreover, we assume that the
        program disk is in the default drive as indicated by the
        MS-DOS prompt.

        To invoke the editor program, carry out the following steps.

        (a)  At the MS-DOS prompt, enter the command

                                  MT [return]

             A list of the programs in the MT system will be
             displayed on the screen.  [NOTE:  This step can be
             omitted when the user is more familiar with the
             program.]

        (b)  There are two ways to invoke the editor program.

             (i)  To call the editor program without specifying the
                  file to be edited, simply enter the command

                                 EDIT [return]

             (ii) To call the editor program and simultaneously
                  specify that the file DEMO.DOC is to be edited,
                  enter the command

                             EDIT DEMO.DOC [return]

                  (The name DEMO.DOC can be replaced by the name of
                  any MT file to be edited, even the name of a new
                  file to be created.)

        The editor program will then be loaded into the computer.

        [The following operations will also occur automatically at
        this time.

             (i)  The file MTCONFIG.DAT will be read from the
                  default drive.

             (ii) The screen font table (SCFONT.TAB) and the macro
                  table (MACRO.TAB) will be read from the directory
                  for font tables.]

        A copyright notice will appear on the screen.

        Press the space bar to start.









                                                       -14-

        If the program was invoked with the file name DEMO.DOC,
        then that file will be read into the computer's memory.
        If the file is not found in the directory for documents,
        then the program assumes that it is a new file.

        If the program was invoked without a file name, you will be
        asked to give a file name at this time.  If the file you
        specify is located, it will be read into the computer's
        memory.  If the file is not found in the directory for
        documents, then the program assumes that it is a new file.

        The first page of the document will be displayed on the
        screen.  The name of the file and the amount of the file
        buffer space still available will be shown at the bottom of
        the screen.

        IF THE FILE IS TOO LARGE FOR THE MINI BUFFER, THE EDITOR
        PROGRAM WILL ABORT, AND RETURN YOU TO DOS.

        II.2.  THE EDITING SCREEN

        The active text file occupies all but the bottom two lines
        on the screen.  The slashes on the left hand side of the
        screen represent line breaks (See Chapter IV).

        A ruler line appears below the text, with the tab settings
        indicated (See section Chapter V).

        The reverse video cursor shows in the text area, and a
        small dash appears above the ruler line to indicate the
        column position of the cursor.

        The message/command line appears at the bottom of the
        screen.  It gives information during and after certain
        operations.  It also is used to prompt for input such as
        file names.

        The normal content of the message/command line is a reminder
        list of the roles of the unmodified function keys.  (This
        list can be obtained by pressing the [ESC] key.) The roles
        are explained elsewhere in this manual, but we give a brief
        summary here.

        "f1,f2,f3=Sets" means that by pressing one of the keys [F1],
             [F2], [F3], we wish to get a character from the special
             character set 1, 2, or 3, respectively.
             (See Chapter III.)

        "f4=????" will either appear as "f4=Ital" or "f4=Std".  The
             first means that by pressing [F4], we will replace the
             current default (standard) character set by the italic
             set.  The second means that by pressing [F4], we will
             return to the standard set as the default set.
             (See Chapter III.)










                                                       -15-

        "f5=Macs" means that pressing [F5], we will call for a
             macro.   (See Chapter XIII.)

        "f6=Undl" means that by pressing [F6] we will underline
             the current character.  (See Section IV.3.)

        "f7=C&P" means that [F7] calls the Cut-and-Paste (or Block)
             operations.  (See Chapter IX.)

        "f8=Fmat" means that [F8] calls a menu for Formatting
             operations.  (See Section II.5.)

        "f9=Menu" means that [F9] calls a menu for special
             operations.  (See Section II.5.)

        "(Sh)f10=Help" indicates that both [F10] and [Sh F10] will
             produce help screens.  (See Section II.4.)

        At the end of the command line there will appear a digit,
        0 thru 4, and a character.  These indicate the character
        set and key of the character under the cursor.  (See
        Chapter III.)

        II.3.  EXITING THE EDITOR PROGRAM

        Exiting of the editor program is done by first pressing the
        function key F9 to obtain a menu.

        The menu will show the following two options:

             f1= SAVE file to disk / SAVE and EXIT or INIT. editor.

             f2= ABANDON the current file.  (EXIT or INIT. editor.)

        1)   The first option, obtained by pressing [F1], is used
             to save the file that is in the computer's memory to
             a disk.

             If [F1] is selected, the message line will prompt you
             to choose one of the following:

                  B  Backup.  MT will rename the old file that is
                       on disk with the extension .BAK, and then
                       write the new file that is in memory to disk
                       with the active file name.

                  U  Update.  The file in memory is written to disk
                       with the active file name, deleting any
                       previous copy of the file with this same
                       name.  REMARK:  First the old file, if any,
                       with this name is renamed with extension
                       .$$$, then the file from memory is written
                       to disk, and if all was successful the file
                       with .$$$ is erased.

                  N  New name.  MT will prompt you for a file name,








                                                       -16-

                       and then will write the file using this name.
                       Any old file with this name will be
                       destroyed.

                  ESC  Pressing the ESC key will abort the saving
                       operation.

             [All writing will be to the directory for the document
             files.]

             If one of B, U, or N is chosen (by pressing the
             corresponding key), and if the saving operation is
             successful, the following message will appear at the
             bottom of the screen:

               ABANDON FILE --????--:  F5=exit editor
                                       F6=Initialize editor
                                       ESC=ignore

             If [F5] is pressed, the editor program will be aborted,
             and the MS-DOS prompt will appear.

             If [F6] is pressed, the programs's file buffer will be
             erased, and the program will ask you for the name of
             the next file to be edited.

             If [ESC] is pressed (or any other key except [F5] or
             [F6]), the exit operation will be ignored, and you can
             continue to edit the current file.

        2)   The second option on the F9 menu

                  f2= ABANDON the current file.  (EXIT or INIT.
                      editor.)

             is used to exit or initialize the editor program
             without saving the file that is in memory.  (Note that
             any old copy of the file that was on disk is still
             there.)

             If [F2] is selected, a warning will appear on the
             screen, and the following message will appear at the
             bottom of the screen:

                ABANDON FILE --????-- :  F5=exit editor
                                         F6=Initialize editor
                                         ESC=ignore

             If [F5] is pressed, the editor program will be aborted,
             and the MS-DOS prompt will appear.

             If [F6] is pressed, the program's file buffer will be
             erased, and the program will ask you for the name of
             the next file to be edited.

             If [ESC] is pressed (or any other key except [F5] or








                                                       -17-

             [F6]), the exit operation will be ignored, and you can
             continue to edit the current file.

        II.4.  HELP SCREEN vs. MENU

        We wish to emphasize the distinction between a "help screen"
        and a "menu".

        A "help screen" simply gives the user some information.  In
        MT, the help screens are called by the function keys [F10]
        and [Sh F10].  After the information is read from the
        screen, the user presses [ESC] to return to editing.

        A "menu" gives a list of options to be selected.  The user
        makes a selection from the menu, and presses the
        corresponding key to get that option.  In MT, the keys [F8]
        and [F9] call menus.  One of the options on a menu is to
        press [ESC], meaning that the user does not want any of the
        selections but simply wishes to return to editing.

        II.5.  THE F9 AND F8 MENUS

        Pressing [F9] during editing will call the following menu.

         --------------------------------------------------------
         |f1= SAVE file to disk / SAVE and EXIT or INIT. editor.|
         |f2= ABANDON the current file.  (EXIT or INIT. editor.)|
         |f3= READ a MT file into the current one.              |
         |f4= READ a DISK resident MACRO.                       |
         |f5= DEFINE a MEMORY resident MACRO.                   |
         |f6= DEFINE a DISK resident MACRO.                     |
         |f7= SAVE the MACRO TABLE or READ a new MACRO TABLE.   |
         |f8= <reserved>                                        |
         |f9= CHANGE to new FONT TABLE.                         |
         |                                                      |
         |   *** Make menu selection or hit ESC to ignore. ***  |
         --------------------------------------------------------


        Pressing [F8] during editing will call the following menu.


         --------------------------------------------------------
         |f1= POSITION current line (center, indent, etc.)      |
         |f2= REMOVE next LINE BOUNDARY.                        |
         |f3= SET the margins.                                  |
         |f4= Release the margins.                              |
         |f5= ReSTORE the margins that were last released.      |
         |f6= FORMAT from the cursor line to end of paragraph.  |
         |f7= PAGE BREAK preview.                               |
         |f8= WORD-WRAP on/off switch.                          |
         --------------------------------------------------------












                                                       -18-

        C h a p t e r  I I I.

        T H E   C H A R A C T E R   S E T S


        MATH TEXT works with five character sets, each containing
        94 characters.

        Character set 0 contains the normal characters which
        correspond to those on the keys of the keyboard.  It is
        usually the "default set".

        Character set 4 contains an alternate default set, usually
        an italic version of the normal characters, and referred to
        in this manual as the italic set.

        Character sets 1, 2, and 3 are special characters.

        When the cursor is on a character in the text, the character
        set and the key corresponding to that character are shown
        at the far right side of the command line.

        III.1.  NORMAL / ITALIC TOGGLE

        When the program is invoked, the default character set is
        the standard set; i.e., set 0, the normal characters.
        Typing will put these characters onto the screen and into
        the file.

        By pressing the [F4] key, the default set is changed to the
        italic set, set 4.  Typing will then generate italic
        characters on the screen, and in the file.

        Pressing [F4] again will switch back to the standard set as
        the default.

        III.2.  SPECIAL CHARACTERS

        The characters from sets 1, 2, and 3 are entered into the
        text, one at a time, by using the keys [F1], [F2], and [F3].

        To obtain a character from set 1, first press the [F1] key,
        and then the key corresponding to the character that you
        want.

        Similarly, use [F2] or [F3] to get characters from set
        2 or 3.

        Further typing will draw characters from the default set.
        Characters from sets 1, 2, and 3 are entered one at a time,
        each taking two key strokes--[F?] followed by the key.

        Remark:  After pressing [F1], [F2], or [F3], you must enter
        a key for a character from that set.  Unfortunately, there
        is no ESCape.  If [F1], [F2], or [F3] was pressed in error,
        a character must be entered and then corrected.








                                                       -19-


        A keyboard map of the characters in each special set can be
        obtained by pressing [F10].  This can be done at any time.

        A printout of the character sets can be obtained by printing
        the file FONT.DOC which is on the distribution disk.

        It should be remarked that in the distribution font tables:

             (1)  Set 1 is primarily devoted to Greek characters,
                  and a set of small numerals,

             (2)  Set 2 contains mathematical symbols, a set of
                  German letters, and some graphic symbols
                  used to make integral signs, etc.,

             (3)  Set 3 contains "blackboard boldface" capitals and
                  script capitals, as well as some graphic symbols
                  for making boxes, etc.

        There are many blanks, into which you can insert your own
        creations.  All the characters in sets 1, 2, and 3 are
        user-definable (See Chapter XIII).

        III.3.  CHANGING CHARACTER TABLES

        The program FONTEDIT can be used to create new font tables.

        When the editor is invoked, it reads the font table
        SCFONT.TAB.

        While editing, a different font table can be read by first
        pressing [F9] to get the F9 menu, and then selecting the
        option

                       f9= CHANGE to new FONT TABLE.

        You will be asked to specify a file name.  The table file
        must be in the directory for font tables.

        After the table is read, you should hit [F10] followed by
        [ESC] to have your screen redrawn using the new table.

        See Chapter XIII. for complete details about FONTEDIT and
        creating font tables.



















                                                       -20-

        C h a p t e r   I V.

        R O W S   A N D   L I N E S   O F   T E X T


        MT manipulates lines of text, where a line of text consists
        of a bundle of overlapping rows of characters.  The rows
        overlap by one half of a row, as follows.  (NOTE:  Since
        this manual is in an ASCII file for printing on any printer,
        we cannot actually show the rows as overlapping.  See the
        demo and the sample document files.)

        _
                       row1                      2
                       row2                     x  + 3x + 123
             Line 1    row3       sin f(x) = ---------------------
                       row4                      3     2
                       row5                     x  + 5x  + 13
        _
        _    Line 2
                                   2     2    2 
             Line 3               z   = x  + y
        _                          n     n    n

        A line can have up to 40 rows.  Line boundaries are shown
        by dashes on the left side of the screen.  [These dashes
        may not always be up to date.  By pressing [ESC], the dashes
        will be made to agree with the text on the screen.]

             WARNING:
             
             Do not attempt to define a line with more than 40
             rows.  The editor program must be able to display the
             entire line on the screen, and will get "lost" if
             this is not possible.

             If you do define a line with more than 40 rows,
             immediately save the file and then pass it through
             the utility MTFIX which will salvage as much of the
             file as possible.

        The main row of a line is not well-defined.  When the
        program needs to guess, it guesses that the row with the
        most characters is the main row.  When there is ambiguity,
        it is the top such row.  We will call this the central row
        of the line.  The central row in line 1 above is row 3.

        Many operations require that the line be completely on the
        screen as well as the rows above and below.  If this is not
        the case, the program will automatically shift the screen
        up or down.

        PLEASE NOTE that when in insert mode, entire columns are
        inserted into a line.

        Similarly, a character delete or a backspace will delete an








                                                       -21-

        entire column from the line.

        IV.1.  CURSOR MOVEMENT

        The cursor is the reverse video box, and it indicates your
        position in the file.  It is manipulated by the following
        keys.  (See the SUMMARY for non-IBM keyboards.)

        [u arr]   These move down (up) by lines, jumping to the
        [d arr]   central row of each line.  When the bottom (top)
                  of the file is reached, new blank lines will be
                  added to the file.

        [PgDn]    These move by half-lines (or rows) within lines.
        [PgUp]    When the top or bottom of the line is reached, new
                  blank rows will be added to the line.

        [Ctr PgDn]     These move down (up) by one screen.
        [Ctr PgUp]

        [r arr]   These move right and left one character.  When the
        [l arr]   right (left) margin is reached, these keys will
                  move the cursor to the beginning (end) of the next
                  line.

        [Ctr r arr]   These move to the end (beginning) of the current
        [Ctr l arr]   line.

        [RETURN]  This moves to the beginning of the next line,
                  without inserting a line break.  Use [Ctr RETURN]
                  to break a line at the cursor position.
        [HOME]    Sends the cursor to the top line on the screen.

        [END]     Sends the cursor to the bottom line on the screen.

        [Ctr HOME]     Sends the cursor to the beginning of the
                  file.  This always causes the screen to be
                  rewritten, and the file name and free buffer
                  space will be shown on the message line.

        [Ctr END]      Sends the cursor to the end of the file.
                  This usually causes the screen to be rewritten.

        [TAB]     The tab key moves the cursor to the next tab stop.
                  Tab stops are automatically set at five space
                  intervals from the current left margin.

        The most difficult thing to get used to is that [u arr] and
        [d arr] jump out of the line, so that [PgDn] and [PgUp] must
        be used to move by half-lines within a line.  On the other
        hand, [PgDn] and [PgUp] will never leave a line, so that it is
        impossible to get from one line to another using these keys!

        Pressing [Sh F10] calls two help screens, the second of
        which has a brief list of the cursor movement keys.









                                                       -22-

        IV.2.  SUPERSCRIPTS / SUBSCRIPTS

        Superscripts and subscripts are trivial to obtain.

        Use the [PgUp] and [PgDn] keys to move the cursor by half-
        lines within your line.  Space will automatically be opened
        as necessary.

        Place the cursor where you want a character, and then enter
        that character.

        Large symbols are obtained by putting together graphic
        pieces.  See the auto-demo and sample document files.

        PLEASE NOTE that when in insert mode, entire columns are
        inserted into a line.

        Similarly, a character delete or a backspace will delete an
        entire column from the line.

        IV.3.  UNDERLINING

        In MATH TEXT you underline much as you would on an ordinary
        typewriter.  There is no "underline mode" in which entered
        text is automatically underlined.  Instead, the text is
        first entered, and then the appropriate parts are
        underlined.

        One underlines a character by placing the cursor on that
        character and then hitting the [F6] key.  The cursor will
        automatically move down one row (opening room if necessary),
        enter a special "dash" character, and then return to the
        position immediately following the character.  Holding down
        the [F6] key will continue underlining.

        Thus, the underline is simply a dash character in the first
        subscript row.  The special dash character used is special
        set 2, key '_' (underscore).

        The underline feature can be used to enter fraction bars in
        mathematical formulas.

        IV.4.  INSERTING AND DELETING LINES AND ROWS

        Press the [Sh F10] key to get a help screen showing the
        action of the shifted function keys.  Several of these
        involve inserting or deleting lines and rows.

        To insert an entire blank line into the text, press the
        [Sh F5] key.

        To delete an entire line, press the [Sh F6] key.  (You will
        be asked to verify the command to delete by pressing y
        or n.)

        To insert a row into a line, press the [Sh F3] key.








                                                       -23-


        To delete a row from a line, press the [Sh F4] key.  (You
        will be asked to verify the command to delete by pressing
        y or n.)

        Recall that the [PgUp] and [PgDn] keys can be used to add
        rows to the top and bottom of a line.

        To delete large sections of text, use the block operations
        (See Chapter IX.)

        TIP: Often a user may obtain a line with several unwanted
             blank rows at the top or bottom of the line.  Although
             [Sh F4] can be used to delete each of them, the
             following is often faster:  Place the cursor in the
             first column of the line, and then hit [Ctr RETURN]
             to insert a line break.  The entire line, less the top
             and bottom blank rows, will be carried to a new line.
             Use [Sh F6] to delete the remaining blank line.

        IV.5.  SHIFTING COLUMNS UP OR DOWN

        Additional control is given by the [Sh F7] and [Sh F8] keys.
        [Sh F7] will move the column containing the cursor up by one
        half-line within the line; [Sh F8] moves it down one half-
        line.  In either case, if there is not room, an additional
        row will be added to the line.

        These controls are useful if, in reformatting a paragraph,
        the program has not aligned your rows correctly.

        IV.6.  REMOVING LINE BOUNDARIES

        This operation is best explained by example.

        Suppose we wish to type a fraction.

        First type the numerator on one line.

        Then move the cursor to a new line by hitting [Return], and
        type the denominator on this new line.

        Now center each line (See Section V.6), so that therefore
        the numerator and denominator will be centered with respect
        to each other.  At this point, the numerator and denominator
        are in different lines and hence they move independently.

        Now place the cursor in the line containing the numerator,
        and hit the [F8] key to call the FORMAT MENU.

        Select the option

                       f2=REMOVE next LINE BOUNDARY

        This removes the line boundary and the numerator and
        denominator become parts of the same line.








                                                       -24-


        See the auto-demo for an example of the above.

        NOTE:  See the WARNING at the beginning of this section.




























































                                                       -25-

        C h a p t e r   V.    C O L U M N S

        V.1.  MARGINS

        MATH TEXT works with 78 columns of characters, numbered 1
        through 78.  Margins can be set so as to leave white space
        on the left and/or right.  In addition, a page layout
        parameter "INDENT" for the print program specifies
        additional white space on the left of the page.  (See
        Section XII.3.)  Think of this parameter as specifying a
        shift of the text to the right.  No other reformatting will
        be done by the print program.  That is, what you see on the
        screen is exactly what will appear on the printed page,
        except for a possible uniform shift to the right.

        Default margins can be set using the MTCONFIG utility.  The
        margin settings specified during configuration will
        automatically be set by the program each time a new file is
        started.

        During editing, the margins can be changed using the F8
        menu, by selecting the option

                            F3=SET the margins

        That is, first press [F8] to obtain the F8 menu, and then
        press [F3] to select this option.

        You will be asked to specify a value for the left margin.
        The current value will be shown in parentheses.  If you
        immediately press [return], the left margin will remain
        unchanged.

        Otherwise, enter the value you desire.  It is recommended
        that you choose one of the following values:  1, 6, 11,
        16 ...  because that will correspond to tabs and indents
        from the extreme column 1.

        You will then be asked to select a value for the right
        margin.  The current value will be shown in parentheses, and
        if you immediately press [return], the right margin will
        remain unchanged.

        Two other options on the F8 menu are

             F4=Release the margins
             F5=ReSTORE the margins that were last released.

        These are useful to "hang indent" one's paragraphs; i.e., to
        produce paragraphs with the following shape.

        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxxxx.








                                                       -26-


        By selecting the F4 option from the menu, the current margin
        settings are temporarily stored, and the active margins are
        set to the extremes, 1-to-78.  By selecting the F5 option,
        the margins are reset to the previously stored values.

        The active margin settings are always reflected in the ruler
        line which appears at the bottom of the screen.

        Whenever an MT document file is saved (either through the
        [f9][f1] sequence, or as a block save through the [f7][S]
        sequence), the margin settings at the time are automatically
        saved with the file.  Whenever that file is read (either as
        the main file or by using the [f9][f3] sequence), the active
        margins are automatically reset to the values that were saved 
        with the file.

        V.2.  TABS

        Whatever the margin setting, tabs are automatically set at

                             5, 10, 15, 20,...

        columns after the left margin.  For example, if the left
        margin is set to 8, then the tabs will be at columns

                              13, 18, 23,...

        These tab settings are indicated in the ruler line at the
        bottom of the screen.

        Note that the TAB key acts simply as a cursor movement key.
        Hitting TAB does not "insert a tab" and shift the text.
        Instead, it acts just like a typewriter - the cursor is
        simply moved to the next tab stop.

        V.3.  WORD-WRAP

        Word-wrap can be turn ON and OFF by choosing the option

                       F8 = WORD-WRAP on/off switch

        from the F8 menu.  That is, hit F8 twice, once to call the
        menu, and once to select the option.

        The default is for word-wrap to be ON.

        When word-wrap is ON, as soon as a character is typed into
        the last column (the column specified as the right margin),
        that character and any connecting previous characters are
        wrapped to a new line.  Therefore, with word-wrap ON, it is
        impossible to type into the last column.  (However,
        reformatting of the paragraph (See Section V.5) will use the
        last column if it does not cause the breakup of a word.)

        When word-wrap is OFF, a character typed into the last








                                                       -27-

        column remains there and the cursor simply moves to the
        first column of the next line.

        V.4.  CORRECTIONS, INSERT MODE

        For corrections, note that the default is "replace mode";
        i.e., typing over old text will replace that text with the
        new.

        Insert mode is obtained by pressing the [INS] key.  The
        message line will then read "Insert Mode".  As one types,
        when in insert mode, the tail of the line is pushed to the
        right.  When there is no more room on the line, the entire
        tail is sent to a new line.

        Exit from insert mode is semi-automatic.  Whenever the
        cursor is moved to a new position using the cursor movement
        keys, the program will automatically exit insert mode.

        To force an exit from insert mode, press the [ESC] key.

        PLEASE NOTE that when in insert mode, entire columns are
        inserted into a line.

        To delete an (entire) column from a line, press the [DEL]
        key.

        Also, the [Back Space] key will delete the previous (entire)
        column from the line.

        Whenever word-wrap occurs, whether in insert mode or not, a
        new line is generated.  In this way one can insert an
        entire paragraph without first inserting blank lines----just
        let word-wrap insert the lines for you as you type.

        V.5.  REFORMATTING

        After making changes, your paragraph may need to be
        reformatted.  To reformat, first place the cursor in the
        top line of the paragraph.  Then call the F8 menu by
        pressing the [F8] key.  Select the option

             F6=FORMAT from the cursor line to end of paragraph.

        The end of the paragraph is defined to be any of the
        following:

             (1)  A line indented from the left margin; i.e., the
                  left margin column is blank.

             (2)  A line with character outside the margins.

             (3)  A line with a period in the first column.  (Such
                  a period is used as a code for a printer command.
                  See Chapter VI.)









                                                       -28-

        CAUTION:  Before reformatting a paragraph, be sure that
        your margin settings agree with the text.  Otherwise, the
        reformatting operation can scramble the text badly.

        If after reformatting, some lines have not been aligned
        properly, you can use [Sh F7] and [Sh F8] to shift columns
        up or down (See Section IV.5).

        V.6.  CENTERING, ETC.

        To center a line on the page, place the cursor anywhere in
        the line, and hit the [Ctr F1] key.  Note the command line.

        Hitting "C" will center the line between the current
        margins.

        Hitting "L" will move the line to the left margin, and "R"
        will move it to the right margin.

        Hitting "I" (indent) will shift the line five spaces to the
        right, word-wrapping the end of the line if necessary.











































                                                       -29-

        C h a p t e r   V I.

        P R I N T E R   "D O T"     C O M M A N D S


        There are several commands which can be embedded in an MT
        file (using the MT editor program) and which will be
        recognized by the print programs.

        If a line in your MT document has a period "." in the first
        row, first column, then the program assumes the line
        contains a printer command.  The line will not be printed;
        instead, the command will be executed.  If the command is
        not recognized by the printer, the line will be completely
        ignored.

        If you actually want to print a line with a period in the
        first row, first column, use an italic period.

        Note that by first column we mean the physical first column,
        not the left margin (unless of course the left margin is set
        at 1).

        A complete list of the printer dot commands is given in
        the SUMMARY at the end of the manual.

        VI.1.  PAGE BREAKS, PAGE NUMBERING

        The print program calculates page breaks based on page
        layout parameters that specify top and bottom margins and
        the number of lines that will fit on a page (See Section
        XII.3).  Using these parameters, it makes "natural page
        breaks".  (These page breaks will not break up lines which
        consist of more than one row.)

        The print program also prints headers and footers, and
        keeps track of page numbers.

        The following dot commands can be embedded in an MT file to
        force page breaks.

        .P   New page.  If a line has a period "." in the first row,
             first column, and an upper case "P" in the first row,
             second column then a new page will be started at this
             point during printing.

             [First the footer (if any) will be printed, then the
             page counter is incremented and a new page started.]

        .pn  Conditional new page.  The conditional new page command
             has a period "." in the first row, first column and a
             lower case "p" in the second column, followed by the
             digits of a number, say n, and at least one space.

             A new page will be started at this point unless there
             is room for at least n more half-lines before the next








                                                       -30-

             natural page break.

             For example, the command

                  .p20

             (occurring at the beginning of a line) would force a
             page break unless there is room for at least 20 half-
             lines (or 10 single spaced lines, or 5 double spaced
             lines, etc.) before the next natural page break.

             [First the footer (if any) will be printed, then the
             page counter is incremented and a new page started.]

        .y   Page eject.  This command will force a new page, but
             the page counter will not be incremented, and a footer
             will not be printed.


        When the printer program first starts, it assumes that the
        first page is page number 1, and that the succeeding pages
        are numbered in sequence.  The following dot command can be
        used to override that assumption.

        .xn  Change the Page Number.  This command changes the page
             number of the NEXT page to n.  Using this command,
             chapters in a book can be given individual page number
             sequences.  For example, immediately before the
             beginning of a new chapter, one might have the
             following set of commands:

                  .x1
                  .P

        VI.2.  HEADERS AND FOOTERS

        The print program stores four lines for use as headers and
        footers for pages:

             (1) header 'e' - the header for even numbered pages.
             (2) header 'o' - the header for odd numbered pages.
             (3) footer 'e' - the footer for even numbered pages.
             (4) footer 'o' - the footer for odd numbered pages.

        These lines are specified by using dot commands, as
        explained below.  (See Section XII.3 for specifying where
        the headers and footers will appear on the printed page.)

        The format of a header or footer line is as follows:

             a)   It may contain special characters, but it cannot
                  have any superscripts or subscripts; i.e., the
                  line must consist of only one row of characters.

             b)   If, in the line, the expression %d occurs, when
                  printed that expression will be replaced by the








                                                       -31-

                  current page number in decimal format.

             c)   If, in the line, the expression %r occurs, when
                  printed that expression will be replaced by the
                  current page number in lower case Roman numerals.
                  For this to work, the page number must be between
                  1 and 99 (that is , between i and xcix.)

             d)   If, in the line, the expression %R occurs, when
                  printed that expression will be replaced by the
                  current page number in upper case Roman numerals.
                  For this to work, the page number must be between
                  1 and 99 (that is, between I and XCIX.)

        If, after substituting the page number for %d, %r, or %R,
        the line becomes more that 78 characters wide, the line will
        be truncated on the left.

        Only one of the expressions %d, %r, or %R will be recognized
        in any one line.

        When the print program is first initialized to print a file,
        both footer lines are blank, and both header lines contain a
        default header line consisting of

                                  - %d -

        at the far right.  Thus, if no other headers are given by
        the user, then the pages will be numbered in the upper right
        hand corner.  To suppress this page numbering, you should
        place a "blank" header command line

                              .ha

        at the beginning of your file.

        Header and footer lines are specified by using dot commands
        as follows.

        .he<header>    This command consists of the initial '.',
             followed by 'he', and then by a header line.  The rest
             of the 78 columns can be used for the line.  It may
             contain special characters, but it cannot have any
             superscripts or subscripts; i.e., the header should be
             a line consisting of only one row.

             When the program recognizes this command, it will
             substitute this header for the header 'e' line.

        .ho<header>    This is the same as the .he command, except
             that the header given will become the header 'o' line.

        .ha<header>    This is exactly the same as the .he command,
             except that the line given will replace both the
             header 'e' and header 'o' lines.  Thus it will be used
             on all pages.








                                                       -32-


        .fe<footer>    This acts the same as the command .he -- the
             footer given will become the footer 'e' line.

        .fo<footer>    This acts the same as the command .ho -- the
             footer given will become the footer 'o' line.

        .fa<footer>    This acts the same as the command .ha -- the
             footer given will replace both the footer 'e' and
             footer 'o' lines.

        When a header or footer is printed, it is automatically
        shifted left to make up for the columns used by the command
        itself.  That is, the command line

                                .haAlgebra

        will cause the word "Algebra" to be printed starting on
        column one, while the command line

                               .ha Calculus

        will cause the word "Calculus" to be printed starting in
        column two.

        NOTE:  A footer command will apply immediately -- the new
               footer will be used at the bottom of the current
               page.  A header command does not apply until the
               next page is printed.

        NOTE:  A header is never printed on the first sheet.  If
               you desire your header to be printed on page 1, your
               file should start with a header command, followed by
               a ".y" command to eject the first sheet.






























                                                       -33-

        C h a p t e r   V I I.

        L I N E   S P A C I N G   A N D   P A G E   B R E A K S


        NOTE:  It is not a good idea to double space your document
        as you type it.  First, it is difficult because word-wrap
        does not work that way, and second, you cannot use [F8][F6]
        to reformat paragraphs (See Section V.5).  In this section,
        we tell you how to obtain even line spacing and also double
        spacing on the printed page.

        When one types a document using MATH TEXT, without
        additional work the line spacing is uneven - some lines
        have subscripts, some have superscripts, some both, etc.
        The editor program only opens room as it is needed, and
        this yields uneven spacing.

        Even spacing can be obtained by putting both a subscript
        and a superscript row in each line.

        TIP: the best way to handle this is to not worry about the
             problem until you have finished typing the document.
             Then build yourself a utility macro (See Chapter VIII.)
             consisting of the keystroke sequence.

                       [PgUp] [PgDn] [PgDn] [u arr]

             repeated several times.  Then, beginning at the end of
             your document, call this macro over and over until you
             have gone through the entire file.

        VII.1.  THE "DOT" COMMAND .Qn

        Double spacing, etc., is obtained by using the dot command

                                      .Qn

        where n is a positive integer.  To understand the use of
        this command we need to consider some facts.

        First, if a line of text consists of just one row of
        characters, then when printed that line occupies two
        half-lines of space.  If the line consists of two rows of
        characters, say the central row and a subscript row, then
        when printed that line occupies three half-lines of space.
        The command

                                      .Qn

        tells the print program to print the lines as they are, but
        then after each line is printed add (n - 2) blank
        half-lines.

        Thus, .Q2 would indicate "single spaced printing"; i.e., no
        extra blank half-lines added by the print program.  The








                                                       -34-

        printed output will be exactly as it appears on screen.  The
        command .Q3 tells the print program to add 1 blank half-line
        to each line, etc.

        If your entire document is to be printed with two extra
        half-lines after each line, then place the command

                                    .Q4

        at the beginning of the document.  If different parts of the
        document require different spacing, then use a .Qn command
        anytime a change is necessary.  For example, you may place
        .Q4 at the beginning of the file, and then .Q2 before the
        references page.  Then the main body of the document will be
        printed with two extra half-lines after each line, but the
        references page will be printed with "single spacing".

        When the print program is invoked, it assumes the default
        line spacing value equivalent to the command .Q3; i.e., one
        extra half-space after each line.

        REMARK:  We are using "half-line" in a very special sense.
        Because MATH TEXT prints using graphics, and because it is
        desirable to have some characters connect vertically, the
        true size of a half-line does not conform to typing
        standards.  Moreover, the size varies from printer to
        printer.  In Appendix 5, the vertical size of a half- line
        is given for each of the supported printers.

        VII.2.  PAGE BREAK PREVIEW

        During editing, it is possible to find out where page
        breaks will occur when the document is printed.  The page
        break preview is obtained by the keystroke sequence
        [F8][F7]; i.e., [F8] calls a menu, and [F7] selects the
        option

                           F7= PAGE BREAK PREVIEW

        NOTE:  In order to use this feature, you must first have

             (1) configured the program disk for your printer,

             (2) specified page layout parameters and saved those
                 parameters to a PARMS file (See Section XII.3), and

             (3) saved the defaults for the printer program. (See
                 Section XII.2.)

        If these steps have not been carried out, then the editor
        program does not know how the document is to be printed,
        and thus cannot determine the page breaks.

        The editor program uses the default page layout PARMS file
        to computer the number of lines that will fit on a page,
        and thus determines page breaks.  It takes into account the








                                                       -35-

        dot commands .P, .pn, .y, .Qn, etc. just as the printer
        program will interpret them.

        After calling the page break preview via the [F8][F7]
        keystroke sequence, the program will show the "sheet 0/1"
        break; i.e., the start of the file.  You will have the
        option of seeing the next break, or to go to any break.
        Note that the breaks are numbered in sequence as "sheet
        breaks" rather than page breaks since the page numbers are
        variable (using the dot command ".xn").

        At a typical break say between sheet 7 and 8, the center of
        the screen will show the number of the sheet break as

                              SHEET BREAK 7/8

        Also on this same line the program tells how many rows
        (half-lines) were skipped before the natural page break.
        This skip may be caused by various things:  a command, .P,
        .pn, or .y  forcing a page break, or the non-printing of a
        line because it would not all fit on the previous page.
        (Recall that the print program will not break the rows of
        line.)

        Above the "SHEET BREAK 7/8 ROWS SKIPPED" line, and between
        dotted lines, the program shows the footer, if any, that
        would be printed on sheet 7.  If this footer involves a
        page number, that page number will appear exactly as it
        would be printed.

        Below the "SHEET BREAK 7/8 ROWS SKIPPED" line, and between
        dotted lines, the program shows the header, if any, that
        would be printed on sheet 8.

        The top third of the screen shows the text for the end of
        sheet 7, and the bottom third of the screen shows the text
        for the top of sheet 8.

        If you wish to exit the page break preview to change the
        file (for example, to insert a .P to avoid a widowed line),
        first note the number of the sheet break you are at (in
        this case, sheet 8).  Then hit ESCape.  After making the
        change, again call the page break preview, [F8] [F7], and
        then "GO" to sheet break 8 to see that your correction has
        had the effect you desired.



















                                                       -36-

        C h a p t e r   V I I I.    M A C R O S


        A macro consists of several keystrokes stored in memory and
        which can be entered into the text as a group.

        MT sets aside memory for 94 memory-resident macros (one for
        each character key), each of which can hold up to 49
        keystrokes.  These are stored in the disk file MACRO.TAB
        which is read by the editor program when it is loaded.

        The file MACRO.TAB on the MT distribution disk contains
        some predefined macros.  However, they should be thought of
        only as examples.  The user should design his own macros,
        stored at the character positions that he chooses, and he
        should design his own record keeping system.

        VIII.1.  CALLING MACROS

        To enter a macro into the text, place the cursor where
        desired, and then press the [F5] key.  The following
        message will appear.

             To enter MACRO, press key.  ESC to ignore.

        The key associated with the desired macro should then be
        pressed.

        Macros are best explained by examples.

        Assuming that the distribution macro table is still intact,
        try entering the macros associated with the following keys:
        "a", "u", "[", "]", "<", and ">".  (For each, press [F5] and
        then the key.)

        Next, call up the macro for "I" by hitting [F5] and the "I"
        key.  Your screen should show an integral sign with the
        cursor at the lower right.

        The macro is not finished!  It is waiting for you to tell
        it what to put as the lower limit for the integral.  Hit
        the "0" key.  The screen should then show the integral sign
        with the cursor at the top right.

        Again it is waiting for you to enter a value.  Hit the "1"
        key, and the macro should finish with cursor back on the
        main row.

        Repeat entering this macro for the "I" key, entering 
        different limits; e.g., alpha and beta. 

        Next, call up the macro for the character key "S" by
        hitting [F5] and then the "S" key.  This macro will produce
        a summation symbol for a sum from 1 to infinity.

        It will pause for you to enter the summation index, and








                                                       -37-

        also the "1" and the infinity symbol.  However, when it
        pauses at the "1", a "1" is already there under the cursor!
        The "1" is a default  value.  If you want to replace it, go
        ahead.  If you want to keep it, you can simply hit the [ESC]
        key and the "1" will stay at that position.  Similarly, for
        the infinity symbol.  Use the macro for "S" to produce 
        various summations.

        Now try the predefined macros for the keys

                               '    "    P.


        VIII.2.  DEFINING MACROS

        Again the explanation is by way of an example.

        To define a macro, first get the F9 menu by pressing [F9].
        One of the choices is

                    f5= DEFINE a memory resident MACRO

        Hit [F5] and note the command line.  It is asking what key
        to associate with the macro to be defined.  Any of the
        printable character keys can be chosen.  Note that the
        previous macro defined for that key will be erased in the
        computer's memory.

        Press the "0" key and note the command line.  The program
        will now record your keystrokes in the memory set aside for
        the "0" macro.

        Type the word "limit", and then using the [PgDn] and [l arr]
        keys, bring the cursor to the position as shown here as *:

                                   limit
                                   *

        Now press the [INS] key, and note that the screen then
        shows

                                   limit
                                   ?*

        Type a space and an arrow (set 2 key 3) and another space
        to obtain

                                   limit
                                   ? ->*

        Type a 0 (zero) to obtain

                                  limit
                                  ? ->0*

        Press the [l arr] key to place the cursor back over the








                                                       -38-

        zero, and then press the [INS] key.  The screen should
        show the following:

                                  limit
                                  ? ->?*

        Bring the cursor back to the main row, and press the [F5]
        key to end the recording of the macro.  (Note:  If you use
        more than 49 keystrokes, the program will automatically
        stop recording.)

        When this macro is entered, it will pause for you to
        replace the ?'s, and for the second one it will have a
        default value "%".  Use this macro to produce each of the
        following:

                    limit          limit          limit
                    x ->0          y ->1          t ->x

        The macro just created is stored in the computer's memory.
        However, it will be lost when we exit the editor program
        unless the macro table is saved to disk.  To save the table
        memory resident macros, press the [F9] key to get the F9
        MENU.  One of the choices is

             f7= SAVE the MACRO TABLE or READ a new MACRO TABLE

        Choose this option and follow the prompts to SAVE.  (You
        will be asked to give a file name.)  The table file will be
        written into the directory for fonts.

        To read a new table of memory resident macros, choose the
        same [F7] option from the F9 menu, and follow the prompts
        to READ.

        To get MT to automatically read your macro table when the
        program is loaded, you can rename your file MACRO.TAB.

        VIII.3.  DISK RESIDENT MACROS

        In addition to the memory resident macros, which are
        limited in length to 49 keystrokes, it is possible to
        define "disk resident macros" which are stored on disk
        instead of internal computer memory.  These are limited
        only by disk space.

        THESE ARE NOT AVAILABLE WITH THE MINI EDITION.

















                                                       -39-

        C h a p t e r   I X.

        C U T - A N D - P A S T E   O P E R A T I O N S


        MT sets aside a 16k block buffer for cut-and-paste
        operations.

        To perform such a block operation, press the [F7] key.  You
        will be prompted to choose one of the following:

             B  Block Define.  This is used to copy a section of the
                  text into the block buffer.  You will be asked to
                  mark the block  (see below), after which it will
                  be copied into the block buffer.

             C  Copy.  This is used to copy the contents of the
                  block buffer into the text.

             D  Delete.  This is used to delete a section of text.
                  You will be asked to mark the block to be deleted
                  (see below.)  The section of text marked will
                  first be copied into the block buffer, and then
                  deleted from the text.  It then resides in the
                  block buffer and can be copied back into the text
                  if desired.

             S  Save.  The contents of the block will be written to
                  a disk file.  You will be asked for a file
                  specification.  The format of the file will be
                  the same as that of any MT document, and can be
                  read like any other MT file.

             ESC  Pressing the ESC key will abandon the block
                  operation call.

        REMARKS:

             (1)  Block operations are by whole lines only.

             (2)  There is only one block buffer.  The operations B
                  and D will erase the old content of the buffer.
                  Use the S operation if you need to work with more
                  than one block at a time.

             (3)  Using the C operation, the contents of the block
                  buffer can be copied into the text as often as
                  desired.

        We now explain how to mark a block.

        Place the cursor in the top line of the section to be
        marked, and then hit [F7].

        Then choose operation B or D by hitting the "B" or "D" key.









                                                       -40-

        A "T" will appear at the left side of your line.  The "T"
        indicates "top of block".  Press the [d arr] key.  Note that
        the "T" has been replaced by two or more "hats".  These
        indicate that the line will be part of the block.

        Hit the [d arr] several more times.  Then hit the [u arr]
        key several times, and see how lines are removed from the
        section marked.

        Next, hit the [PgDn] key.  Hitting [PgDn] is the same as
        striking [d arr] ten times, while [PgUp] is the same as ten
        [u arr]'s.

        After you have marked your block, hit the [RETURN] key to
        end marking.  The program will then ask you to "wait" while
        it does its job.

        With the standard MATH TEXT editor, when the MT editor is
        initialized (using [F9] [F1] "B" [F6] or [F9] [F2] [F6]),
        the block buffer remains intact so that it can be carried
        to the new file.  BUT, IN THE MINI EDITION, THE BUFFER IS
        CLEARED.










































                                                       -41-

        C h a p t e r   X.

        S E A R C H -- S E A R C H - A N D - R E P L A C E


        To search for a word ("string of characters"), press [Sh
        F1].  You will be asked to enter the string of characters to
        be sought.  This string can contain special characters, but
        it cannot have superscripts or subscripts.  Note that when
        entering the string, spaces will show on the screen as
        "~"'s.

        After you have entered the search string and have pressed
        return, the program will ask if you wish to search for "any
        case".  If you answer "no", then the program will search
        only for strings which match exactly the string that has
        been entered.  If you answer "yes", then the search will
        ignore both case and FONT SET.

        After you have answered the case question, you will be
        asked if you wish to replace the string when found.  If you
        answer "yes", then you will be asked to enter the replace
        string.  Again, this can contain special characters, but
        cannot contain subscripts or superscripts.

        Finally, the program will ask if you wish to search forward
        in the file.  If you answer "yes", then the search will
        start at your cursor and move toward the end of the file.
        If you answer "no", then the search will be toward the top
        of the file.

        Searching is by ROWS.  Thus, if one is searching for the
        string "sin x", then in the following line
        _
                                   |  1 if 0 < sin x
        (*)             f(sin x) = |  0 if sin x = 0
        _                          | -1 if sin x < 0 

        the occurrences of "sin x" are considered to be in the
        following order:

                              in     "0 < sin x",
                              in     "f(sin x)",
                              in     "sin x = 0",
                              and in "sin x < 0".

        If the search string is not found, then the program will
        take you to the end (or to the beginning) of the file.

        If the search string is found, and if you have specified a
        replace string, then the program will ask you to verify
        that the replace should take place.

        Note that if the replace string is longer than the search
        string, then replacing will insert columns.  On the other
        hand, if the replace string is shorter than the search








                                                       -42-

        string, then columns will be deleted.

        After a search, the program remembers the search and
        replace strings and you can repeat the operation as often
        as desired.  To repeat a search, press the [Sh F2] key.
        You will be asked to verify that you wish to repeat the
        operation.

























































                                                       -43-

        C h a p t e r   X I.

        M A T H   T E X T   F I L E S   A N D

        A S C I I   F I L E S


        XI.1.  TRANSFERRING FILES FROM OTHER SOURCES TO MATH TEXT
                  FILES

             THIS OPTION IS NOT AVAILABLE WITH THE MINI EDITION.


        XI.2.  CONVERTING MATH TEXT FILES TO ASCII FILES

        MATH TEXT files must be considered as binary files, a great
        distance from ASCII files.  Appendix 8. describes the
        structure of a MT file.

        A utility program, MT2ASCII.EXE will create an ASCII file
        from a MT file.  It is rather crude, dealing deadly blows
        to special characters, subscripts, and superscripts.

        Documentation is contained in the MT document file
        MT2ASCII.DOC which is on the MT distribution disk.







































                                                       -44-

        C h a p t e r   X I I.

        T H E   P R I N T   P R O G R A M


        XII.1.  INVOKING THE PRINTER PROGRAM

        Before the print program is run, the paper in the printer
        should be adjusted so that the printhead is set to print
        across the very top of the page.  The printer should be
        initialized by turning it off and then on.

        We assume that the user has properly installed the MT
        system.  Moreover, we assume that the program disk is in
        the default drive as indicated by the MS-DOS prompt.

        To invoke the printer program, carry out the following
        steps.

        (a)  At the MS-DOS prompt, enter the command

                                 MT [return]

             A list of the programs in the MT system will be
             displayed on the screen.  [Note:  This step can be
             omitted when the user is more familiar with MT.]

        (b)  There are two ways to invoke the print program.

             (i)  To call the print program without specifying the
             file to be printed, simply enter the command

                                  PRT [return]

             (ii) To call the print program and simultaneously
             specify that the file DEMO.DOC is to be printed, enter
             the command

                             PRT DEMO.DOC [return]

             (The name DEMO.DOC can be replaced by the name of any
             MT file to be printed.)

        The print program will then be loaded into the computer.

        [The following operations will also occur automatically at
        this time.

        (i)   The file MTCONFIG.DAT will be read from the default
              drive, and the program will read the directory
              prefixes from that file.

        (ii)  The screen font table (SCFONT.TAB) will be read from
              the directory specified for font tables.

        (iii) The file PRDEFLTS.DAT, if it exists, will be read,








                                                       -45-

              and the defaults that it specifies will be set.  If
              it gives a PARMS file name, that file will be read,
              and the page layout parameters will be set according
              to that file.]

        If the program was invoked without a file name, you will be
        asked for a file name at this time.

        If the file to be printed is located by the program, the
        print menu will appear on the screen.


        XII.2.  THE PRINT MENU

        After the file to be printed has been located by the
        program, the following print menu will appear on the screen.

        ------------------------------------------------------------

        MT PRINTER ROUTINE v.*.** (c)1984/85/86 R. Huff. All rights
                                     reserved.

                          PRINTER:  -- ????--
                             FILE:  --??????--

        1.  Hard Copy? (?)
        2.  Print sheets ?? through ????.
        3.  Page number of current sheet: _
        4.  Continuous or Single sheets:  ?
        5.  Printer font table::  --??????--
        6.  Print style:  ?

        F.  Page layout PARMS FILE in use: --?????--
        D.  Make the above the DEFAULT values.
        P.  Change layout PARMS and make PARMS file.
        E.  Exit printer routine.

        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        The ?'s in the menu will be replaced by the current default
        values.

        The command line at the bottom of the screen will show the
        following:

          "Make choice (1 or 2 or 3 ... or E) or RETURN to begin
           printing."

        From this menu, the user has the following options.

        (1)  Hard copy?  A "no" here will give a "screen print
             only".  That is, the file will be shown on the screen,
             and nothing will be sent to the printer.

        (2)  Print sheets    through   .  One may wish to print only
             sheet 12 out of a document.  In that case, one should








                                                       -46-

             use this option to print 12 through 12.

        (3)  Current page number.  The user can specify the number
             for the initial (or current) page.

        (4)  Continuous or single sheets?  If the answer here is
             'S', the print program will pause at the end of each
             page to allow you to manually change paper in the
             printer.

             If the answer is 'C', then at the end of each page the
             program will simply advance to the next page and
             continue printing.

        (5)  Printer font table.  When the program is ready for
             actual printing, a font table to be used for the
             printer font will be read from disk.

             The program FONTEDIT can be used to create new font
             tables (See Chapter XIII).

             Using this option, one can specify the font file to be
             used.

        (6)  Print style.  Most printers are capable of printing in
             more than one style; for example draft vs. enhanced,
             10 c.p.i. vs. 12 c.p.i. (See Appendix 5).

             By choosing this option, you can select the style to
             be used.

        (F)  PARMS file to use.  See (P) below.  If this option is
             called, the program will ask for a name of a PARMS
             file, and read it if it exists.

        (D)  Make the above the DEFAULT values.  When the print
             program is invoked or initialized, it looks for a file
             named PRDEFLTS.DAT in the default drive.

             If that file is found, the program reads it and sets
             the answers to all the above questions to the values
             specified in that file, including the PARMS file name.
             If the PARMS file exists, it also is read, and the
             page layout parameters are set to the values specified
             in it.

             If you select 'D' from the print menu, then a new
             PRDEFLTS.DAT file will be written, erasing the old one
             if it existed, and the new file will contain the
             values as currently set.

        (P)  Change parameters.  There are certain parameters used
             by the print program which change the layout of the
             text on the printed page.

             These parameters may be changed by selecting this








                                                       -47-

             option on the print menu.

             If desired, the new values may be saved to a disk file,
             called here a PARMS file.


        XII.3.  PAGE LAYOUT PARAMETERS

        The page layout parameters can be used to modify the
        position of the text on the printed page.  In the following
        discussion, let x, y, z, a, b, and c, be the distances
        shown in the following diagram.  Distances x, y, a, b, and
        c, are measured in half-lines (rows), and distance z is
        measured in character spaces.

             ---------------------------------------------   --- 
             |       x |                             |   |    |
             |         ----      -5- HEADER          |   |    |
             |          y |                          |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |  z  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |---->xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   | b |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |a
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   |   |    |
             |     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  ---  |    |
             |                | c                        |    |
             |              -----   FOOTER               |    |
             |                                           |    |
             ---------------------------------------------   ---

        The following option on the print menu

             (P)  Change page layout parameters

        allows one to change the way the printed page will appear.

        If 'P' is selected from the print menu, then the command
        line will ask for values for the following parameters.
        (The message line will give the current values in square
        brackets.  If one presses the return key immediately when
        asked to enter a value, the current value will remain
        unchanged.  NO PARAMETER CAN BE GIVEN THE VALUE ZERO.)

             MAX ROWS.  This parameter controls the number of
                  half-lines that will be printed on the page
                  before a natural page break.  It represents the
                  distance 'b' in the previous diagram.








                                                       -48-


             TOTAL ROWS.  This is the total number of half-lines on
                  a page.  (This parameter is only used for those
                  printers where ASCII form feeds do not find the
                  correct next top of form when graphic line feeds
                  have been used.)  It represents the distance 'a'
                  in the diagram.

             INDENT @10.  This parameter controls the white space
                  on the left side of the page when printing is
                  done at 10 c.p.i.  It is only used by those
                  printers that MT supports at 10 c.p.i.

                  It, together with your left margin setting when
                  your document was prepared with the MT editor,
                  determines the actual left margin on the printed
                  page.  (INDENT @10 + left margin = 'z' in the
                  previous diagram.)

                  The right margin is then determined by the width
                  of your text.  The print program does no
                  reformatting!

             INDENT @12.  This parameter controls the white space
                  on the left side of the page when printing is done
                  at 12 c.p.i.  It is only used by those printers
                  that MT supports at 12 c.p.i.

             INDENT @17.  This parameter controls that white space
                  on the left side of the page when printing is done
                  at 17 c.p.i.  It is only used by those printers
                  that MT supports at 17 c.p.i.

             HEAD SPACE is the number of blank half-lines that will
                  appear between the top edge of the paper and the
                  line containing the page header.  This represents
                  the distance 'x' in the diagram above.

             HEAD SPACE-2 is the number of blank half-lines between
                  the page header and the start of the printed
                  text, the distance 'y' in the diagram.

                  The sum HEAD SPACE + HEAD SPACE-2 determines the
                  white space at the top of the page.

             FOOT SPACE is the number of blank half-lines between
                  the bottom of the text and the footer, the
                  distance c in the diagram.  (Remark:  Footers will
                  actually always appear the distance 'b' + 'c'
                  half-lines from the top of the page, even if
                  there are only a few lines of text.)

        After you have set the values of the parameters, the
        program will ask if you wish to write a PARMS file.  If you
        answer 'y', it will ask for a file name for that parms file,
        the file will be written on the default drive, and the file








                                                       -49-

        name will appear on the print menu in line (F)

        XII.4.  PRINTING

        After making any adjustments necessary using the menu, one
        presses the [Return] key to begin printing.

        The message "TURN ON PRINTER" may occur at various times.
        It does not mean that the program thinks that the printer
        is off, but only that the program will hang at this point
        if the printer is off or off-line.  If the printer is
        on-line, the message will go away.

        The message "PLEASE WAIT ---" will show while the program
        locates the top of the first page to be printed.

        The message line will then show the message

              PRINTING.  Hit any character to pause printing.

        If a key is struck, then printing will pause after the
        entire current line is finished (which may not be
        immediately!).  The following message will appear.

           Printing PAUSE. Press RETURN to continue. M for menu.
           ESC to Abort.

        Pressing [Return] (or any other key except 'M', 'm', or
        ESCape) will cause printing to begin again.

        Pressing 'M' or 'm' will call up the menu, so that changes
        can be made.

        Pressing the ESCape key will cause the entire print program
        to be aborted.

             SEE THE NEXT SECTION ON HOW THE PRINT PROGRAM EXITS.
             BEFORE THE LAST LINE IS PRINTED, THE PROGRAM WILL
             PAUSE FOR KEYBOARD INPUT.


        XII.5.  EXITING / MERGING ANOTHER FILE / INITIALIZING

        Before the last line of the document is printed, the
        printer will stop and the following message will appear.

        END OF FILE. Press RETURN to merge another file, ESC to end.

        If [Return] is pressed, the program will ask for a file
        name.  If the the file is located, printing will begin
        again, page numbering, heading, etc. will continue just as
        if the new file is a continuation of the old file.

        If [ESC] is pressed, then the printing of the current file
        will be finished, and a page feed will be issued to the
        printer.








                                                       -50-


        The following message will appear in the command line.

            E to exit printer routine, P to print another file

        If 'E' is pressed, the program will abort, and the MS-DOS
        prompt will appear.

        If 'P' is pressed, the program will initialize, and ask
        for the name of the next file to print.

        REMARK:  When the print program exits, it issues a final
        escape sequence to the printer.  If the printer is off-line
        at this point, the system will hang with the message

                           "ALLOW PRINTER EXIT"

        showing on the screen.  To continue, put the printer
        on-line to allow transmission of the terminating codes to
        the printer.












































                                                       -51-

        C h a p t e r   X I I I.

        T H E   F O N T   E D I T O R


        XIII.1.  DOT MATRICES

        The characters that appear on the screen are created
        electronically by lighting dots, or pixels, on the CRT
        screen.  Which dots are lit to make up any particular
        character is determined by that character's "dot matrix
        definition" in a "screen font table."

        Similarly, the characters that are printed by the printer
        are created by printing small dots.  Which dots are printed
        to make up any particular character is determined by that
        character's "dot matrix definition" in a "printer font
        table."

        Unfortunately, the dot matrix definitions for screen
        characters are not the same as the dot matrix definitions
        for the printed characters.  This is caused by differences
        in "resolution" (number of dots per inch, and thus number
        of dots per character) and "aspect ratios" (vertical verse
        horizontal spacing of dots.)  Moreover, MATH TEXT supports
        several types of screens which require different dot matrix
        definitions.

        The font tables themselves are stored on disk and are read
        by the editor and printer programs when those programs are
        invoked.

        In this chapter we will

        1.   list the various font tables that are on the
             distribution disks, and explain how they are
             manipulated by the MTCONFIG routine and when
             and how they are used by the editor and print
             programs, and

        2.   explain how to use the utility FONTEDIT to modify the
             dot matrix definitions, and thus how to create your own
             special characters.  One can even make up sets of
             alternate font tables.

        XIII.2.  THE FONT TABLES

        The following font table files are on the main MATH TEXT
        program distribution disk:

                                SCFONT1.TAB
                                SCFONT2.TAB
                                SCFONT3.TAB
                                PRTFONT.TAB

        The first three are "screen font tables" for various








                                                       -52-

        computer configurations.  When the MTCONFIG program is run,
        it copies one of these tables to a new file simply called

                                SCFONT.TAB

        Exactly which table is used for various computer configura-
        tions is determined by the screen resolution.

        Both the editor and printer programs read the file
        SCFONT.TAB to get the dot matrix definitions for the screen
        display.

        The last table, PRTFONT.TAB, is the "printer font table"
        for the higher quality dot matrix printers supported by
        MATH TEXT.  The draft quality printers use the file
        SCFONT1.TAB to get dot matrix definitions for the printed
        characters.  (See Appendix 5).

        Each of the font tables contain all the dot matrix
        definitions for all five MATH TEXT character sets (See
        Chapter 3.   However, most printers take some of

        their characters from font internal to the printer.  (See
        Appendix 5 ).

        For all of the screen font tables, there are twelve bytes
        per character in the file.  For the table PRTFONT.TAB,
        there are 54 bytes per character, reflecting the higher
        resolution of the high quality dot matrix printers.

        The screen font table SCFONT1.TAB is used for those screens
        which required only eight bytes per character.  Of the
        twelve bytes per character in the file, the first two and
        the last two are simply ignored.  This table is also used
        for the draft quality printers (See Appendix 5), and again
        only the middle eight bytes are used.

        The screen font table SCFONT2.TAB is used for those screens
        which require all twelve bytes per character.  These are
        the higher resolution screens.

        The screen font table SCFONT3.TAB is used for those screens
        which require only nine bytes per character.  Of the twelve
        bytes in the file, the first one and the last two are
        simply ignored.

        The font tables can be modified using the utility FONTEDIT
        as explained in the next section.  To create a new
        character, we recommend the following steps:

             (1)  Use FONTEDIT to put the new character into
                  SCFONT1.TAB.

             (2)  Use FONTEDIT to also put the new character into
                  SCFONT2.TAB and SCFONT3.TAB.  (A special
                  character editing option "Make" is intended to








                                                       -53-

                  make this step easy.)

             (3)  Use FONTEDIT to put the new character into
                  PRTFONT.TAB.  (The "Make" option again can help.)

             (4)  Run the MTCONFIG program so as to copy the
                  correct new screen font table to the file
                  SCFONT.TAB.

        The above steps will keep all the font tables on your disk
        up to date.  You may, if you wish, only use FONTEDIT on the
        tables that your system uses.  The disadvantage of this
        shortcut would show up if you ever transfer to another
        computer system.

        XIII.3.  USING THE FONTEDIT UTILITY

        To invoke the font editor program, with the program disk in
        the default drive, enter the command

                             FONTEDIT [return]

        The program will load.  It will read the file MTCONFIG.DAT
        and configure itself to your system.  It will read the file
        SCFONT.TAB for its own display.

        The following menu will appear.

            ----------------------------------------
             MAIN MENU:

                 1. Edit SCFONT1.TAB
                 2. Edit SCFONT2.TAB
                 3. Edit SCFONT3.TAB
                 4. Edit another SC font table.
                 5. Edit PRTFONT.TAB
                 6. Edit another PRT font table.
                 7. Exit FONTEDIT.

             Choose 1, 2, 3, ...,7.  _
            ----------------------------------------

        Options 1, 2, 3, and 5 are self-explanatory.  Options 4 and
        6 are for editing alternate font tables.  Choosing option 7
        will return you to DOS.

        After making one of the choices 1-through-6, the following
        menu will appear.

         ---------------------------------------------------------
         Editing  <name of table>

         Choose:
                1.  Edit a character's dot matrix definition.
                2.  Return to main menu.
         ---------------------------------------------------------








                                                       -54-


        After you have chosen to edit a character from the submenu,
        you will be asked to specify the set containing the
        character.

        Specify the set by striking a number key, 0 to 4.

        You will next be asked to strike the key corresponding to
        the character to be edited.

        Strike a character key.

        The screen will then be rewritten.

        The dot-by-dot definition of the character will appear in a
        matrix in the upper left corner.  The size of the matrix
        depends on whether this is a screen character or a printer
        character.  Screen characters are 12x8, printer characters
        are 24x18.

        A screen rendition of the character will appear in the
        lower left corner.  Note that this will probably be
        distorted for printer fonts.

        The set and key for the character will be given at the
        lower left.

        In the upper right, there will be a description of the
        editing controls.

        Follow that description to define the character as you
        wish.  (A little experimentation will soon make you a
        master.)

        Note that cursor movement is by numerals on the keypad.  If
        you are working with an IBM type keyboard, you will want to
        activate the num lock key.

        Note that by striking 'G' (for "get"), you can erase the
        current definition completely and copy the definition of
        another character.  (You will be asked to specify the set
        and key of the character that you want to copy.)

        By striking 'S', you can superimpose another character's
        definition onto the one that is  being edited.  (You will
        be asked to specify the set and key.)

        By striking the 'M' (for "make"), you will replace the
        current definition by that for the same set and key from
        SCFONT1.TAB.  If you are editing a screen font, the
        SCFONT1.TAB definition will simply be copied.  If you are
        editing a printer font, then the program will make a
        (crude?) conversion of the SCFONT1.TAB definition to the
        new matrix size.  The result will normally need to be
        edited.









                                                       -55-

        By striking 'B' (for "blank"), the current matrix will be
        blanked.

        If you are editing a printer font character, and if your
        system is configured for one of the high quality dot matrix
        printers, then by pressing 'P', you can obtain a test print.
        The printout will appear as (where the "b" represents your
        character)

                                b EbE b EbE

        where the first four characters are printed at 10 cpi, and
        the second four are printed at 12 cpi.  The capital E's are
        there so that you can see how your creation will print in
        relation to the standard characters.

             NOTE:  A character for a printer font table is defined
             by a 24 x 18 matrix.  When printing is done at 10 cpi,
             the entire matrix os dots is printed.  However, when
             printing is done at 12 cpi, only columns 3 through 17
             are used; i.e., the first two columns and the last
             column will be ignored.


        By pressing 'Q', the changes that you have made will be
        completely ignored, and you will be returned to the submenu.

        By pressing the RETURN key, the changes that you have made
        will be recorded in the font table being edited, and you
        will be returned to the submenu.

        VERY IMPORTANT NOTE:  The MATH TEXT editor uses keyboard 2,
        key _ (underscore, ASCII code 5Fh) for underlining and for
        producing fraction bars, etc.  In order to keep this feature
        of the editor, the keyboard 2, key _ character should not
        be changed.




























                                                       -56-

        A P P E N D I C E S


        Appendix 1.  NOTES ON THE HERCULES GRAPHICS CARD

        Please refer to your Hercules Graphics Card OWNER'S MANUAL.

        (1)  The card can be configured for one of three states:
             DIAG, HALF, or FULL.  The default on starting the
             computer is DIAG.  Often the AUTOEXEC.BAT file is used
             to set the desired configuration.

             The programs in MT will automatically switch the
             system to the HALF configuration, and upon exit from
             MT, the system will be left in the HALF configuration.

        (2)  If, for some reason, MS-DOS (PC-DOS) interrupts the
             program while in the graphics mode, it does not
             recognize the mode, and the results may be confusing.
             The following scenario is an example.

             Suppose the MT editor program tries to read a disk
             file, and the user has left the drive door open.
             MS-DOS will attempt to put the following message on
             the screen:

                  Not ready on Drive d. Abort? Retry? Ignore?

             However, since the screen is in a graphics mode
             unrecognized by MS-DOS, this message will be
             unreadable.  (It will appear as random chicken tracks!)
             If the user recognizes these symptoms, the solution is
             easy:  (a) close the drive door, (b) press the 'R' for
             Retry, allowing the file to be read, and (c) recover
             the MT screen by pressing [F10] and [ESC].

        Appendix 2.  <Omitted.>

        Appendix 3.  <Omitted.>

        Appendix 4.  NOTES ON THE TANDY 2000 COMPUTER

        The MT program uses the full high resolution color graphics
        capabilities of the TANDY-2000.  The display colors are user
        selectable during the configuration process.

        The MT Editor screen on the TANDY-2000 will appear somewhat
        differently than as described in the MT manual.  The
        command/message line appears below a text window, and it
        normally will give the current default character set and the
        left and right margin settings.  The editing roles of the
        function keys (which the manual and auto-demo say will be
        the normal content of the command line) will appear
        constantly at the bottom of the screen.  Please bear this
        difference in mind when viewing the auto-demo.









                                                       -57-

        Appendix 5.  NOTES ON PRINTERS

        We list here some data for each of the printers supported
        by the general MATH TEXT print program.  We include the
        escape sequences employed by the program so that the user
        can determine the compatibility of other printers.

        A.   TOSHIBA 1340
             General Remarks:  This is a high quality printer with
                  a 24-pin printing head.  However, it has no
                  resident 12 cpi. font.

             Printer Font Table Used:  PRTFONT.TAB
             Printer Resident Fonts:  Set 0 (except in 12 cpi.,
                  high-quality style, where no printer resident font
                  is used.)
             Printing Styles Supported:  High quality 10 and 12 cpi.
                  Draft quality 10 and 12 cpi.

             Size of Half Space:  1/15 inch
             Half-spaces per 11 inch sheet:  165
             Escape sequences used by the program:
             ESC "L07"        Sets line space to 2/15 inch
             ESC "L08"        Sets line space to 1/6 inch
             ESC "E12"        Sets horizontal spacing to 10 cpi.
             ESC "E10"        Sets horizontal spacing to 12 cpi.
             ESC "*0"         Selects Draft font
             ESC "*1"         Selects High Quality font
             ESC "U"          Half Line Feed
             ESC ";abcd"      Initialization for sending (abcd)x4
                              graphic bytes.  Each four bytes
                              represents one column of 24 dots.
                              (See the programming manual for the
                              printer.)

             A form feed (ASCII 12) is issued to move to the next
             top of page.

        B.   TOSHIBA 1351
             General Remarks:  This is a high quality printer with
                  a 24-pin printing head.

             Printer Font Table Used:  PRTFONT.TAB

             Printer Resident Fonts:  Set 0.

             Printing Styles Supported:  High quality 10 and 12 cpi.


             Size of Half Space:  1/15 inch
             Half-spaces per 11 inch sheet:  165
             Escape sequences used by the program:

             ESC "L07"        Sets line space to 2/15 inch
             ESC "L08"        Sets line space to 1/6 inch
             ESC "E12"        Sets horizontal spacing to 10 cpi.








                                                       -58-

             ESC "E10"        Sets horizontal spacing to 12 cpi.
             ESC "*0"         Selects Draft font
             ESC "*1"         Selects High Quality font
             ESC "U"          Half Line Feed

             ESC ";abcd"  Initialization for sending (abcd)x4
                              graphic bytes.  Each four bytes
                              represents one column of 24 dots.
                              (See the programming manual for the
                              printer.)

             A form feed (ASCII 12) is issued to move to the next
             top of page.


        C.   TANDY DMP 2100
             General Remarks:  This is a high quality printer with
                  a 24-pin printing head.

             Printer Font Table Used:  PRTFONT.TAB

             Printer Resident Fonts:  Set 0.

             Printing Styles Supported:  High quality 10 and 12 cpi.
                  Draft quality 10 and 12 cpi.

             Size of Half Space:  1/15 inch
             Half-spaces per 11 inch sheet:  165
             Escape sequences used by the program:

             ESC (21)          Turn off auto-line feed on carriage
                               return.
             ESC (49)          Line feed of 1/120 inch.
             ESC (29)          Select high quality 12 cpi.
             ESC (18)          Select high quality 10 cpi.
             ESC (23)          Select draft quality 12 cpi.
             ESC (19)          Select draft quality 10 cpi.

             ESC (73)(m)(n)    Initialization for sending
                               ((mx256)+n)x3 graphic bytes.  Each
                               three bytes represents one column of
                               24 dots.  (See the programming manual
                               for the printer.)

             A form feed (ASCII 12) is issued to move to the next
             top of page.

        D.   EPSON LQ1500
             General Remarks:  This is a high quality printer with
                  a 24-pin printing head.

             Printer Font Table Used:  PRTFONT.TAB

             Printer Resident Fonts:  Sets 0 and 4.










                                                       -59-

             Printing Styles Supported:  High quality 10 and 12 cpi.
                  Draft quality 10 and 12 cpi.

             Size of Half Space:  1/15 inch
             Half-spaces per 11 inch sheet:  165
             Escape sequences used by the program:

             ESC "x0"          Select draft mode
             ESC "x1"          Select letter quality mode
             ESC "M"           Select 12 cpi.
             ESC "P"           Select 10 cpi.
             ESC "J"(12)       One time line feed of 1/15 inch

             ESC "*"(39)(m)(n) Initialization for sending
                               ((nx256)+m)x3  graphic bytes.
                               Each three bytes represents one
                               column of 24 dots.  (See the
                               programming manual for the printer.)

             A form feed (ASCII 12) is issued to move to the next
             top of page.

        E.   IBM GRAPHICS
             General Remarks:  The print head has nine pins, only
                  eight of which are usable during graphics
                  printing.

             Printer Font Table Used:  SCFONT1.TAB

             Printer Resident Fonts:  Set 0

             Printing Styles Supported:  10 cpi. draft and enhanced.

             Size of Half Space:  1/18 inch
             Half-spaces per 11 inch sheet:  198
             Escape sequences used by the program:

             ESC "J"(12)       One time line feed of 1/18 inch
             ESC "E"           Select enhanced mode
             ESC "F"           Select draft mode

             ESC "Z"(m)(n)     Initialization for sending
                               (nx256)+m  graphic bytes.  Each byte
                               represents one column of 8 dots, high
                               bit corresponding to the top dot.
                               (240 dots per inch).

             A form feed (ASCII 12) is issued to move to the next
             top of page.

        F.   EPSON RX, FX, LX
             General Remarks:  The print head has nine pins, only
                  eight of which are usable during graphic printing.

             Printer Font Table Used:  SCFONT1.TAB









                                                       -60-

             Printer Resident Fonts:  Sets 0,4

             Printing Styles Supported:  10 cpi. in draft,
                  emphasized, and letter quality.

             Note:  The RX and earlier FX printers do not support
                    letter quality.

             Size of Half Space:  1/18 inch
             Half-spaces per 11 inch sheet:  198
             Escape sequences used by the program:

             ESC "J"(12)       One time line feed of 1/18 inch
             ESC "E"           Select emphasized
             ESC "F"           Cancel emphasized
             ESC "x"(1)        Select letter quality
             ESC "x"(0)        Cancel letter quality

             To print italics, the high bit is set.

             ESC "*"(4)(m)(n)  Initialization for sending
                               (nx256)+m  graphic bytes.  Each
                               byte represents one column of 8 dots,
                               high bit corresponding to the top
                               dot.  (80 columns per inch)

             A form feed (ASCII 12) is issued to move to the next
             top of page.

        G.   GEMINI 10X
             General Remarks:  The print head has nine pins, only
                  eight of which are usable during graphic printing.

             Printer Font Table Used:  SCFONT1.TAB

             Printer Resident Fonts:  Sets 0,4

             Printing Styles Supported:  10 cpi in draft quality

             Size of Half Space:  1/18 inch
             Half-spaces per 11 inch sheet:  198
             Escape sequences used by the program:

             ESC "J"(8)        One time line feed of 1/18 inch
             ESC "F"           Select draft mode
             ESC "4"           Select italic font
             ESC "5"           Cancel italic font

             ESC "z"(m)(n)     Initialization for sending
                               (nx256)+m  graphic bytes.  Each byte
                               represents one column of 8 dots,
                               high bit corresponding to the top
                               dot.  (240 dots per inch.)

             A form feed (ASCII 12) is issued to move to the next
             top of page.








                                                       -61-


        H.   C.ITOH 8510
             General Remarks:  The print head has nine pins, only
                  eight of which are usable during graphics
                  printing.

             Printer Font Table Used:  SCFONT1.TAB

             Printer Resident Fonts:  Set 0

             Printing Styles Supported:  Draft and enhanced at 10,
                  12, or 17 cpi.

             Size of Half Space:  1/18 inch
             Half-spaces per 11 inch sheet:  198
             Escape sequences used by the program:

             ESC "T08"         Set line feed to 1/18 inch
             ESC ">"           Uni-directional printing
             ESC "A"           Set line feed to 1/6 inch
             ESC "<"           Bi-directional printing
             ESC "!"           Select enhanced (bold)
             ESC (34)          Cancel enhanced (bold)
             ESC "E"           Select 12 cpi.
             ESC "Q"           Select 17 cpi.
             ESC "N"           Select 10 cpi.

             ESC "S0008"       Initialization for sending eight
                               graphic bytes.  Each byte represents
                               one column of dots, the high bit
                               corresponding to the lowest dot.

             A form feed is not used.  To advance to the next top
             of page, the program issues a sufficient number of
             line feeds.


        I.   HP THINKJET
             General Remarks:  The print head has eight dots usable
                  for graphic printing.  The printer should be
                  operated with switch 5 UP (Alternate Mode).

             Printer Font Table Used:  SCFONT1.TAB

             Printer Resident Fonts:  Set 0

             Printing Styles Supported:  12 cpi in either draft or
                  bold.

             Size of Half Space:  1/24 inch
             Half-spaces per 11 inch sheet:  264
             Escape sequences used by the program:

             ESC "U1"          Uni-directional printing
             ESC "U0"          Bi-directional printing
             ESC "A"(n)        Select line spacing of n/96 inch








                                                       -62-

             ESC (2)           Select 1/6 inch line spacing
             ESC "E"           Select bold print
             ESC "F"           Cancel bold print
             ESC "K"(m)(n)     Initialization for sending
                               (nx256)+m  graphic bytes.  Each byte
                               represents one column of eight dots
                               with the high bit corresponding to
                               the top dot.  (96 columns per inch.)

             A form feed (ASCII code 12) is issued to advance to
             the next top of page.





















































                                                       -63-

        Appendix 6.  <Omitted.>

        Appendix 7.  <Omitted.>

        Appendix 8.  THE STRUCTURE OF A MATH TEXT FILE

        A MATH TEXT document file is a binary file.  For those who
        might like to write their own print drivers or conversion
        programs, we describe the structure of the file.

        The file begins with a 128 byte file header.  The first
        five bytes are codes which serve to identify the version of
        the file structure.  All the MT versions through 1.85 have
        the codes 52H, 45H, 48H, 4DH, and 54H in those bytes.
        Future versions may modify the file structure and these
        codes may change.

        The 6th and 7th bytes are the values of the left and right
        margin settings when the file was last saved.

        The remaining 121 bytes are reserved for use in future
        versions of the programs.

        The remainder of the file is devoted to the text which
        should be thought of as consisting of rows of characters.
        There are two types of rows:  (1) "normal rows" of
        characters, and (2) blank rows which serve as "line
        boundaries."

        Normal Rows:  A normal row starts with the "row code byte"
             01H.  This is followed by one- and two-byte
             combinations to be interpreted as follows:

                  Single byte with value 20H to FEH:  the ASCII
                       code for a character from character set 0.

                  Byte pair 01H,n:  This pair represents the
                       character from set 1 with ASCII code n
                       (20H < n < FFH).

                  Byte pair 02H,n:  This pair represents the
                       character from set 2 with ASCII code n.
                       (20H < n < FFH).

                  Byte pair 03,n:  This pair represents the
                       character from set 3 with ASCII code n
                       (20H < n < FFH).

                  Byte pair 04,n:  This pair represents the
                       character from set 4 with ASCII code n
                       (20H < n < FFH).

                  Byte pair 09,n:  This pair represents a string of
                       n spaces.

                  Single byte 00H:  This terminates a row of








                                                       -64-

                       characters.

        Line Boundary Row:  A line boundary row consists of the
             "row code byte" 04H immediately followed by a null
             byte 00H.

        The first and last rows of the file are normal rows.

























































                                                       -65-

        Appendix 9.  ALTERNATE CONTROLS - FOR TOUCH TYPISTS

        After the touch typist has become familiar with the
        entering characters in MT, he/she may want to learn the
        following alternate controls.

        These controls are based on using the control key in
        conjunction with the certain character keys:

             G, T, Y, V, Q, A, S, D, F, E, R, X, and C.

        (To understand the choices, please note the layout
        of these keys on your keyboard.)

        These keys, when pressed while the control key is held down,
        are equivalent to some of the function keys and cursor
        movement keys, as follows:

                           [Ctr Q]=[F5](macros)
                           [Ctr T]=[F2](set 2)
                           [Ctr Y]=[F3](set 3)
                           [Ctr G]=[F1](set 1)
                           [Ctr V]=[F4](italic/std.)
                           [Ctr E]=[u arr]
                           [Ctr R]=[PgUp]
                           [Ctr A]=[Ctr l arr]
                           [Ctr S]=[l arr]
                           [Ctr D]=[r arr]
                           [Ctr F]=[Ctr r arr]
                           [Ctr X]=[d arr]
                           [Ctr C]=[PgDn]

































                                                       -66-

        S U M M A R Y


        Invoking the EDITOR program:  EDIT <filename>
        Invoking the PRINT program:   PRT  <filename>
        For a list of these and other programs in the system:  MT

        NOTE:  to understand the workings of the editor, one must
        understand how MATH TEXT works with "lines" of text which
        consist of bundles of overlapping "rows" of characters.
        (See Chapter IV.)

        The next few pages contain a summary of the commands.

        CURSOR MOVEMENT:

                    Keyboard Type
            IBM       Z-100        TI-PC     Movement
        [u arr]     [u arr]    [u arr]       Up/down by lines.
          [d arr]     [d arr]    [d arr]
        [Pg Up]     [Sh u arr] [Alt u arr]   Up a row within a
                                             line.
        [Pg Dn]     [Sh d arr] [Alt d arr]   Down a row within a
                                             line.
        [Ctr Pg Up] [F0]       [Ctr u arr]   Back one screen.
        [Ctr Pg Dn] [F11]      [Ctr d arr]   Forward one screen.
        [l arr]     [l arr]    [l arr]       Left/right one
          [r arr]     [r arr]    [r arr]     character.
        [Ctr r arr] [Sh r arr] [Ctr r arr]   To end of line.
        [Ctr l arr] [Sh l arr] [Ctr l arr]   To left margin.
        [RETURN]    [RETURN]   [RETURN]      To next line, left
                                             margin.
        [HOME]      [HOME]     [HOME]        To top of screen.
        [END]       [ENTER]    [Alt LINE FD] To bottom of screen.
        [Ctr HOME]  [Sh HOME]  [Ctr HOME]    To first line of file.
        [Ctr END]   [Sh ENTER] [Ctr LINE FD] To last line of file.
        [TAB]       [TAB]      [TAB]         To next tab stop.

        ADDITIONAL SPECIAL KEYS:

        [Ctr F1]    [HELP]     [F12]         Position line (center,
                                             etc.).
        [Ctr RETURN][LINE FD]  [LINE FD]     Break line.
        [INS]       [I CHR]    [INS]         Enter insert mode.
                                             (Exit is semi-
                                             automatic.)
        [DEL]       [DELETE]   [DEL]         Delete a column.
        [BACKSPACE] [BACKSPACE][BACKSPACE]   Delete previous column.


        FUNCTION KEYS:
        F1, F2, F3          Call for character from set 1, 2, 3.
            F4              Normal/italic toggle.
            F5              Call memory resident macro.
            F6              Underline current character.
            F7              Call cut-and-paste operation.








                                                       -67-

            F8              Call F8 menu (see below).
            F9              Call F9 menu (see below).
            F10             Call keyboard maps.
         Sh F1              Search, search-and-replace.
         Sh F2              Repeat last search.
         Sh F3              Insert blank row.
         Sh F4              Delete row.
         Sh F5              Insert blank line.
         Sh F6              Delete line.
         Sh F7              Shift column up.
         Sh F8              Shift column down.
         Sh F9              Cursor blink on/off switch.
         Sh F10             Call Help Screens.


        FUNCTIONS USING THE F8 MENU:

        F8-F1               Position line (center, etc.).
        F8-F2               Remove line boundary.
        F8-F3               Set margins.
        F8-F4               Release margins.
        F8-F5               Restore margins.
        F8-F6               Reformat paragraph.
        F8-F7               Preview page breaks.
        F8-F8               Word-wrap on/off switch.

        FUNCTIONS USING THE F9 MENU:

        F9-F1               Save file and exit.
        F9-F2               Exit without saving file.
        F9-F3               Read in an MT file.
        F9-F4               Read a disk resident macro.
        F9-F5               Define a memory resident macro.
        F9-F6               Define a disk resident macro.
        F9-F7               Save/change the macro table.
        F9-F9               Change the font table.


        PRINTER "DOT" COMMANDS:

        (See Chapters VI. and VII.)

        .P             New Page.
        .pn            New page unless there is room for n more
                       rows on the current page.
        .y             Page eject.
        .xn            Change next page number to n.
        .Qn            Change line spacing to n.  (Add (n-2) blank
                       rows to each line.)
        .he<header>    Header for even numbered pages.
        .ho<header>    Header for odd numbered pages.
        .ha<header>    Header for all pages.
        .H<header>     Same as .ha<header>
        .fe<footer>    Footer for even numbered pages.
        .fo<footer>    Footer for odd numbered pages.
        .fa<footer>    Footer for all pages.








                                                       -68-


        The following commands were not discussed in the manual.

        .Bn            Block of n blank rows.  If there is not room
                       on the current page, a new page will be
                       started, and the blank block will occur on
                       the next page.

        .M             This will cause a pause in printing and the
                       print menu will appear so that changes can
                       be made.  For example, the font table could
                       be changed.

        .oII/JJ/.../MM/NN//   This command consists of "."
                       followed by a lower case "o" (for "out") and
                       then a sequence of two-digit hexadecimal
                       numbers, separated by slashes, and
                       terminated by a double slash.  When the
                       print program recognizes this command, it
                       will send the hex bytes specified to the
                       printer.  For example, the following might
                       be used when printing on a DMP 2100 printer:

                              .o1B/1F//
                              Chapter II - Infinite Series
                              .o1B/20//

                       In this case the hex bytes 1B, 1F constitute
                       the escape sequence which causes the DMP
                       2100 to begin bold face, and 1B,20 causes it
                       to stop bold face.  Hence, the line
                       containing the title

                              Chapter II - Infinite Series

                       would be printed in bold.  You must consult
                       the programming manual for your printer for
                       its particular escape sequences.  Note that
                       the hex numbers given must be exactly two-
                       digit; i.e., not .o1B/2//, but .o1B/02//.
























                                                       -69-

