Function: tex-suscript-height

tex-suscript-height is a byte-compiled function defined in tex-mode.el.gz.

Signature

(tex-suscript-height HEIGHT)

Documentation

Return the integer height of subscript/superscript font in 1/10 points.

Not smaller than the value set by tex-suscript-height-minimum.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
(defun tex-suscript-height (height)
  "Return the integer height of subscript/superscript font in 1/10 points.
Not smaller than the value set by `tex-suscript-height-minimum'."
  (ceiling (max (if (integerp tex-suscript-height-minimum)
		    tex-suscript-height-minimum
		  ;; For bootstrapping.
		  (condition-case nil
		      (* tex-suscript-height-minimum
			 (face-attribute 'default :height))
		    (error 0)))
		;; NB assumes height is integer.
		(* height tex-suscript-height-ratio))))