On this page:
2d-show-expression
expression->tex-string
pp
wallp-pp
watch-it
pp-it
cpp
*divide-out-terms*
*heuristic-numbers*
canonicalize-numbers
ham:  simplify
divide-out-terms-simplify
eqn:  simplify
flush-derivative
flush-literal-function-constructors
*factoring*
simplify
careful-simplify
*only-printing*
*last-expression-printed*
system-environments
prepare-for-printing
unsimplifiable?
improper-expression?
show-expression
print-expression
pe
se
print-expression-comment
pec
*suppressed-argument-list*
*suppressed-argument-list-counter*
*rename-list*
suppress-arguments
show-suppressed-arguments
clear-arguments
arg-suppressor
arg-suppressor+
rename-part
rename-expression
8.15.0.4

4 Display🔗

Modules under sicm/display hold functions that are not exported by sicm. They can be divided in two categories: Displaying expression or Simplifying expressions. For displaying, you should maybe consider also the packages ’latex-pict’ and ’Text block’. Regarding the expression simplifier, simplify as exported by sicm has the necessary functionality. The functions here can be used to tie the simplifier to the current-printer

 (require sicm/display) package: rktsicm

procedure

(2d-show-expression expr)  void?

  expr : any/c
Print a multi-line ASCII-representation of the expression of expr. Similar to $formula from ’Text Block’.

Example:
> (2d-show-expression '(/ (+ alpha (/ ((derivative f) b) (+ alpha beta)))
                          (+ (/ (+ x y) 2)
                             (expt (/ (+ a c (/ 2 x)) (* d e))
                                   (+ f (/ g h))))))

               Df(b)        

    alpha + ------------    

            alpha + beta    

----------------------------

                           g

                       f + -

         /         2 \     h

        |  a + c + -  |     

x + y   |          x  |     

----- + |  ---------  |     

  2      \    d e    /      

procedure

(expression->tex-string expr)  string?

  expr : any/c
Generate a Latex-formula for the expression of expr. The original scmutils provides also a way to display these. For similar functionality please use tex-display-math from ’latex-pict’.

procedure

(pp ??? ...)  '???

  ??? : any?
(wallp-pp ??? ...)  '???
  ??? : any?
(watch-it ??? ...)  '???
  ??? : any?
(pp-it ??? ...)  '???
  ??? : any?
(cpp ??? ...)  '???
  ??? : any?

procedure

(*divide-out-terms* ??? ...)  '???

  ??? : any?
(*heuristic-numbers* ??? ...)  '???
  ??? : any?
(canonicalize-numbers ??? ...)  '???
  ??? : any?
(ham:simplify ??? ...)  '???
  ??? : any?
(divide-out-terms-simplify ??? ...)  '???
  ??? : any?
(eqn:simplify ??? ...)  '???
  ??? : any?
(flush-derivative ??? ...)  '???
  ??? : any?
(flush-literal-function-constructors ???    
  ...)  '???
  ??? : any?
(*factoring* ??? ...)  '???
  ??? : any?
(simplify ??? ...)  '???
  ??? : any?
(careful-simplify ??? ...)  '???
  ??? : any?
(*only-printing* ??? ...)  '???
  ??? : any?
(*last-expression-printed* ??? ...)  '???
  ??? : any?
(system-environments ??? ...)  '???
  ??? : any?
(prepare-for-printing ??? ...)  '???
  ??? : any?
(unsimplifiable? ??? ...)  '???
  ??? : any?
(improper-expression? ??? ...)  '???
  ??? : any?
(show-expression ??? ...)  '???
  ??? : any?
(print-expression ??? ...)  '???
  ??? : any?
(pe ??? ...)  '???
  ??? : any?
(se ??? ...)  '???
  ??? : any?
(print-expression-comment ??? ...)  '???
  ??? : any?
(pec ??? ...)  '???
  ??? : any?

procedure

(*suppressed-argument-list* ??? ...)  '???

  ??? : any?
(*suppressed-argument-list-counter* ???    
  ...)  '???
  ??? : any?
(*rename-list* ??? ...)  '???
  ??? : any?
(suppress-arguments ??? ...)  '???
  ??? : any?
(show-suppressed-arguments ??? ...)  '???
  ??? : any?
(clear-arguments ??? ...)  '???
  ??? : any?
(arg-suppressor ??? ...)  '???
  ??? : any?
(arg-suppressor+ ??? ...)  '???
  ??? : any?
(rename-part ??? ...)  '???
  ??? : any?
(rename-expression ??? ...)  '???
  ??? : any?