Formatter FΒΆ
fmt.spad line 1535 [edit on github]
undocumented
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: OutputForm -> %
from CoercibleFrom OutputForm
- convert: (OutputForm, Integer) -> %
- epilogue: % -> OutputBox
epilogue(t)
extracts the epilogue section of the formt
. This is a functionf
such thatf
(l
) returns a box with labell
.
- format: % -> OutputBox
format(t)
extracts thefmt
section of a 2D-formt
.
- format: OutputForm -> %
format(o)
creates a formatted form of theOutputForm
o
.
- formatStep: (OutputForm, Integer) -> %
format(o, n)
creates a formatted form of theOutputForm
o
with step numbern
.
- new: () -> %
new()
create a new, empty object with defaultPrologue(""
) and defaultEpilogue(""
). Use setPrologue!, setFormat! and setEpilogue! to set the various components of this object.
- operatorHandlers: () -> OperatorHandlers((Integer, List OutputForm) -> OutputBox)
operatorHandlers()
returns an internal data structure that is used for the selection of respective handlers.
- prologue: % -> OutputBox
prologue(t)
extracts the prologue section of the formt
.
- setDefault!: (String -> OutputBox, String -> OutputBox) -> Record(prolog: String -> OutputBox, epilog: String -> OutputBox)
Set the prologue and epilogue that is used by default. Between the elements of the list the stepnumber will be inserted. The old values are returned.
- setEpilogue!: (%, OutputBox) -> OutputBox
setEpilogue!(t, epi)
sets the epilogue section of the formt
to epi and returns the previous epilogue.
- setFormat!: (%, OutputBox) -> OutputBox
setFormat!(t, box)
sets thefmt
section of a formt
and returns the previous box.