[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: displaying subscripts and superscripts
From: |
Stefan Monnier |
Subject: |
Re: displaying subscripts and superscripts |
Date: |
Wed, 21 Apr 2010 14:18:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
>>> (defun suscript-height (height)
>> [...]
>>> (defface superscript
>>> '((t :height suscript-height))
>>> "Face used for superscripts.")
>> The :height attribute cannot be a function.
> Err, tex-mode.el uses a function for :height, and it seems to work...
> The elisp manual says :height can be a function.
Huh!? Indeed!
Stefan "This tex-suscript-height is really overkill, BTW"