Function: math-comp-descent
math-comp-descent is an autoloaded and byte-compiled function defined
in calccomp.el.gz.
Signature
(math-comp-descent C)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calccomp.el.gz
(defun math-comp-descent (c)
(cond ((not (consp c)) 0)
((eq (car c) 'horiz)
(let ((accum 0))
(while (setq c (cdr c))
(setq accum (max accum (math-comp-descent (car c)))))
accum))
((memq (car c) '(vcent vleft vright))
(let ((accum (- (nth 1 c))))
(setq c (cdr c))
(while (setq c (cdr c))
(setq accum (+ accum (math-comp-height (car c)))))
(max (1- accum) 0)))
((eq (car c) 'supscr)
(math-comp-descent (nth 1 c)))
((eq (car c) 'subscr)
(+ (math-comp-descent (nth 1 c)) (math-comp-height (nth 2 c))))
((eq (car c) 'tag)
(math-comp-descent (nth 2 c)))
(t 0)))