17 lines
11 KiB
Plaintext
17 lines
11 KiB
Plaintext
en·vÅos EQUATIONS
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
EQUATIONS
|
||
1
|
||
|
||
4
|
||
|
||
By: Tad Hogg (Hogg.pa@Xerox.com)
|
||
DESCRIPTION
|
||
This module provides interactive editing of mathematical equations within TEdit. An equation consists of a number of pieces of text and possibly one or more special symbols. For many purposes, such as deletion and copy selection, equations behave as a single (large) character in TEdit. Operations on their pieces are described below.
|
||
To load:
|
||
The equation editor and a standard set of equation types is obtained by loading EQUATIONS.LCOM.
|
||
To use:
|
||
This section describes the procedures by which equations can be inserted into documents and their pieces modified.
|
||
Adding an equation to a TEdit document:
|
||
To add an equation, first move the caret to the desired insertion point and then select "Equation" from the main TEdit menu (obtained by holding down the middle button in the window's title bar). This will display a menu of known equation types. Selecting one of these will insert the corresponding equation into the document at the current location of the caret. To abort the insertion, click outside the menu. Once the equation is inserted, a subeditor will be created for each of the equation pieces, one at a time. This can be used to fill in the various pieces of the equation and its use is described below. Some equation types will prompt for additional information before inserting the new equation (e.g. inserting a matrix will prompt for the desired number of rows and columns).
|
||
Editing a currently existing equation:
|
||
In order to modify a piece of an existing equation (e.g. the numerator of a fraction), the piece must be selected with the mouse in one of two ways. First, you can point at the piece in the displayed equation and press the left mouse button. Alternatively, pointing at the equation and pressing the middle button will display a menu from which the desired piece can be selected. This is useful for selecting pieces that are too small to conveniently point at with the mouse. In either case, if a piece is selected, a subeditor will start on that piece. In addition, some equation types may also allow changes to global properties when no specific piece is selected (e.g. changing the number of rows in a matrix).
|
||
Using the equation piece subeditor:
|
||
The subeditor is attached to the bottom of the main edit window and allows individual pieces of the equation to be modified with normal TEdit operations. While a subeditor is active, the corresponding piece of the equation in the main window is inverted. Since the text in equation pieces must be on a single line, the subeditor will not accept control characters such as carriage returns. Instead the edit window will flash when such characters are typed.
|
||
In the subeditor, the TEdit menu is modified to provide a limited set of TEdit commands as well as additional commands relevant to equations. The menu appears as
|
||
|