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: Mirko
Subject: Re: displaying subscripts and superscripts
Date: Mon, 19 Apr 2010 17:14:53 -0700 (PDT)
User-agent: G2/1.0

On Apr 18, 11:19 pm, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > (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

Well, I tried that, and that did not work.  But one more thing may be
amiss.  In tex-mode.el, the subscript is defined as belonging to the
`tex group.

(defface subscript
  '((t :height tex-suscript-height)) ;; :raise -0.2
  "Face used for subscripts."
  :group 'tex)

I will look into that next.

Thanks,

Mirko


reply via email to

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