help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displaying subscripts and superscripts


From: Glenn Morris
Subject: Re: displaying subscripts and superscripts
Date: Mon, 19 Apr 2010 16:29:44 -0700
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

>> (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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]