1. A computer storage medium encoding a computer program of instructions for executing a computer implemented method for formatting a plurality of mathematical expressions that occupy one or more lines in a document, the method comprising: initializing and utilizing an expression editing tool to format the plurality of mathematical expressions, the expression editing tool: identifying an anchor point for a first mathematical expression; identifying an alignment point for each line of each mathematical expression; changing with the expression editing tool the horizontal position of a second mathematical expression such that the alignment point of the second mathematical expression and the anchor point for the first mathematical expression have the same horizontal position; after the changing the horizontal position, determining if a portion of the second mathematical expression crosses a second margin of the document; if a portion of the second mathematical expression crosses the second margin on a first line of the document, forcing an automatic break for the portion of the second mathematical expression crossing the second margin and calculating a total indention to maintain a meaning of the second mathematical expression: determining the amount of an automatic break indention for the portion of the second mathematical expression crossing the second margin, wherein the automatic break indention is the distance on a next line to align a first element of the portion of the second mathematical expression crossing the second margin with a first element on the first line after the alignment point of the second mathematical expression, determining the amount of the changing of the horizontal position, and adding with the expression editing tool the amount of the automatic break indention and the amount of the changing of the horizontal position to calculate the total indention; moving with the expression editing tool the portion of the second mathematical expression that crosses the second margin to the next line of the document; and applying with the expression editing tool the total indention to the moved portion.
1. A computer storage medium encoding a computer program of instructions for executing a computer implemented method for formatting a plurality of mathematical expressions that occupy one or more lines in a document, the method comprising: initializing and utilizing an expression editing tool to format the plurality of mathematical expressions, the expression editing tool: identifying an anchor point for a first mathematical expression; identifying an alignment point for each line of each mathematical expression; changing with the expression editing tool the horizontal position of a second mathematical expression such that the alignment point of the second mathematical expression and the anchor point for the first mathematical expression have the same horizontal position; after the changing the horizontal position, determining if a portion of the second mathematical expression crosses a second margin of the document; if a portion of the second mathematical expression crosses the second margin on a first line of the document, forcing an automatic break for the portion of the second mathematical expression crossing the second margin and calculating a total indention to maintain a meaning of the second mathematical expression: determining the amount of an automatic break indention for the portion of the second mathematical expression crossing the second margin, wherein the automatic break indention is the distance on a next line to align a first element of the portion of the second mathematical expression crossing the second margin with a first element on the first line after the alignment point of the second mathematical expression, determining the amount of the changing of the horizontal position, and adding with the expression editing tool the amount of the automatic break indention and the amount of the changing of the horizontal position to calculate the total indention; moving with the expression editing tool the portion of the second mathematical expression that crosses the second margin to the next line of the document; and applying with the expression editing tool the total indention to the moved portion. 2. A computer storage medium as defined in claim 1 , the expression editing tool inserting one or more manual breaks into one or more of the plurality of mathematical expressions.