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: Stefan Monnier
Subject: Re: displaying subscripts and superscripts
Date: Tue, 04 May 2010 15:45:17 -0000
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.  You probably just want to
use 0.8 (or suscript-height-ratio) here instead.


        Stefan


reply via email to

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