Function: math-compose-tex-sum
math-compose-tex-sum is a byte-compiled function defined in
calc-lang.el.gz.
Signature
(math-compose-tex-sum A FN)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-lang.el.gz
(defun math-compose-tex-sum (a fn)
(cond
((nth 4 a)
(list 'horiz (nth 1 fn)
"_{" (math-compose-expr (nth 2 a) 0)
"=" (math-compose-expr (nth 3 a) 0)
"}^{" (math-compose-expr (nth 4 a) 0)
"}{" (math-compose-expr (nth 1 a) 0) "}"))
((nth 3 a)
(list 'horiz (nth 1 fn)
"_{" (math-compose-expr (nth 2 a) 0)
"=" (math-compose-expr (nth 3 a) 0)
"}{" (math-compose-expr (nth 1 a) 0) "}"))
(t
(list 'horiz (nth 1 fn)
"_{" (math-compose-expr (nth 2 a) 0)
"}{" (math-compose-expr (nth 1 a) 0) "}"))))