From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mirko Newsgroups: gmane.emacs.help Subject: Re: displaying subscripts and superscripts Date: Mon, 19 Apr 2010 17:14:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <08eeb820-8cbd-48a1-a6f4-2407d1e6d717@c42g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273011875 28545 80.91.229.12 (4 May 2010 22:24:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 22:24:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 00:24:34 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9QXa-0002us-8u for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 00:24:34 +0200 Original-Received: from localhost ([127.0.0.1]:39777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9QXZ-0005BY-Mt for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 18:24:33 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!c27g2000vbb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 74.76.172.207 Original-X-Trace: posting.google.com 1271722494 5040 127.0.0.1 (20 Apr 2010 00:14:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 20 Apr 2010 00:14:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c27g2000vbb.googlegroups.com; posting-host=74.76.172.207; posting-account=yS7ZzQoAAACbDncxMo9UeCyhsLtcDWPM User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177795 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73235 Archived-At: On Apr 18, 11:19=A0pm, Stefan Monnier wrote: > > (defun suscript-height (height) > [...] > > (defface superscript > > =A0 '((t :height suscript-height)) > > =A0 "Face used for superscripts.") > > The :height attribute cannot be a function. =A0You probably just want to > use 0.8 (or suscript-height-ratio) here instead. > > =A0 =A0 =A0 =A0 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