JFriCASSupport

fmtjfricas.spad line 137 [edit on github]

The package JFriCASSupport provides a number of service functions to more easily switch on/off certain formats, in particular the use of the FormatMathJax formatter. Use setFormat! FormatMathJax to switch on MathJax output or setFormats [FormatMathJax, Format1D] to enable several output formats.

setFormat!: Type -> Void

setFormat! f returns setFormats! [f].

setFormats!: List Type -> Void

setFormats!(l) takes a list l of formatters and sets this for future output in a session. It also issues a command equivalent to “)set output formatted on” if the given list is non-empty and “)set output formatted off” if the input list is empty.