Previous Page Next Page Contents

PRETTYPRINT -- control the formatting of output

Introduction

The environment variable PRETTYPRINT determines whether MuPAD's results are printed in the one-dimensional or the two-dimensional format.

Call(s)


PRETTYPRINT
PRETTYPRINT := value

Parameters

value - either TRUE or FALSE

Related Functions

print, TEXTWIDTH

Details

Example 1

The following command disables pretty printing:

>> PRETTYPRINT := FALSE
      FALSE

Now MuPAD results are printed in a one-dimensional, linearized form:

>> series(sin(x), x = 0, 15)
      x - 1/6*x^3 + 1/120*x^5 - 1/5040*x^7 + 1/362880*x^9 - 1/399168\
      00*x^11 + 1/6227020800*x^13 + O(x^15)

After setting PRETTYPRINT to TRUE again, the usual two-dimensional output format is used:

>> PRETTYPRINT := TRUE: series(sin(x), x = 0, 15)
            3    5      7       9        11          13
           x    x      x       x        x           x            15
       x - -- + --- - ---- + ------ - -------- + ---------- + O(x  )
           6    120   5040   362880   39916800   6227020800

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000