Formatter FΒΆ
fmt.spad line 1541 [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 functionfsuch thatf(l) returns a box with labell.
- format: % -> OutputBox
format(t)extracts thefmtsection of a 2D-formt.
- format: OutputForm -> %
format(o)creates a formatted form of theOutputFormo.
- formatStep: (OutputForm, Integer) -> %
format(o, n)creates a formatted form of theOutputFormowith 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 formtto epi and returns the previous epilogue.
- setFormat!: (%, OutputBox) -> OutputBox
setFormat!(t, box)sets thefmtsection of a formtand returns the previous box.