Setting the Output Style

To select the formatting style for math output notation, tap the "Output" button and choose a setting, or use the "output" command.

The "output" command is used to determine which of two styles of mathematical notation will be used when displaying expressions and equations:

The keyword "1d" selects one-dimensional notation.  It is the same as the notation used to enter expressions and equations from the command line.

e.g.   6(i-(y+z)/2)=p(1+2(3)/(4((4+x)/5-1)))

The keyword "2d" selects two-dimensional notation.  It approximates standard math notation by depicting fractions in the traditional numerator-above-denominator format, centering expressions, drawing large parentheses, and hiding redundant parentheses.  "2d" is the default format.

e.g.       /    y + z\       /         2(3)      \
        6 ( i - ----- ) = p | 1 + --------------- |
           \      2  /      |        /4 + x   \  |
                            |     4 ( ----- - 1 ) |
                             \       \ 5      / /

Those examples showed some of the program's equation formatting features.  The display mimics traditional, two-dimensional mathematical notation in the following ways:

The program also offers a simpler, one-dimensional output mode that matches the style used when entering equations at the command line.  To switch to the simpler, one-dimensional output mode, use the "output 1d" command:

> output 1d

 * One-dimensional output mode.

Here is the previous variable definition using one-dimensional output and medium detail:

> detail medium

 * Detail set to medium.

> (1-1/(2x))x=5

   Solving for x:




       x = 5.5 (or 11 / 2, or 5 & 1 / 2)

Since one-dimensional output mode matches the input format, it can be useful for cutting-and-pasting program output back into the program itself.

To switch back to the default, two-dimensional output mode, use the "output 2d" command:

demo> output 2d

 * Two-dimensional output mode.