|
|
last edited 10 years ago by test1 |
1 2 3 4 | ||
Editor:
Time: 2007/11/17 22:26:34 GMT-8 |
||
Note: |
changed: - In 'OutputForm' there is a function 'width' that returns the amount of space taken by some element of 'OutputForm'. For example \begin{axiom} width((sin x)::OutputForm)$OutputForm \end{axiom} However, the width for squares and fractions seems to be wrong: \begin{axiom} width((x^2)::OutputForm)$OutputForm width((1/2)::OutputForm)$OutputForm \end{axiom} The function is unfortunately not implemented in SPAD but rather calls 'outformWidth' coded in BOOT in the file 'i-output.boot'. Martin
In OutputForm
there is a function width
that returns the amount of space taken by some element of OutputForm
. For example
axiomwidth((sin x)::OutputForm)$OutputForm
![]() | (1) |
However, the width for squares and fractions seems to be wrong:
axiomwidth((x^2)::OutputForm)$OutputForm
![]() | (2) |
axiomwidth((1/2)::OutputForm)$OutputForm
![]() | (3) |
The function is unfortunately not implemented in SPAD but rather calls outformWidth
coded in BOOT in the
file i-output.boot
.
Martin