From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: fontifying superscript/subscript Date: Sat, 13 Oct 2012 11:15:11 -0500 Message-ID: <87zk3qqrg0.fsf@jnanam.net> References: <87fw5ij4b2.fsf@jnanam.net>, <3353628D-8D21-461F-8210-FC2B92751E22@gmail.com>, <87y5ja6equ.fsf@jnanam.net>, Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN4N2-0001QR-NX for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 12:15:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN4N1-0006sk-Fg for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 12:15:24 -0400 Received: from mail-oa0-f41.google.com ([209.85.219.41]:55728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN4N1-0006sB-9u for emacs-orgmode@gnu.org; Sat, 13 Oct 2012 12:15:23 -0400 Received: by mail-oa0-f41.google.com with SMTP id k14so4495710oag.0 for ; Sat, 13 Oct 2012 09:15:22 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org, Carsten Dominik It seemed to work, but (setq org-pretty-entities t) is probably cleaner, so I switched to that. thanks, --Ben On Sat, 13 Oct 2012, Thomas S. Dye wrote: > Aloha Benjamin, > > I don't know if your supposition will work. However, org-pretty-entities > can be customized, or you can put (setq org-pretty-entities t) in your > .emacs. > > I prefer to do this on a per-file basis with: > #+startup: entitiespretty > > hth, > Tom > > Benjamin Slade writes: > >> Thanks. >> >> I suppose that: >> >> (add-hook 'org-mode-hook 'org-toggle-pretty-entities) >> >> is the way the auto-enable it? >> >> >> On Sat, 13 Oct 2012, Carsten Dominik wrote: >> >>> On 13.10.2012, at 08:04, Benjamin Slade wrote: >>> >>>> Is there a way to have org-mode fontify superscript/subscript the way >>>> that AUCTeX does? >>> >>> C-c C-x \ >>> >>>> >>>> (A second, but related, question---especially assuming that the answer >>>> to the first question may be "no"---is there any straightforward way of >>>> getting emacs to raise/lower text as part of a "face"? [I looked at >>>> font-latex.el of AUCTeX, but it's not clear to me exactly how the >>>> raising/lowering is being implementd.]) >>>> >>>> >>>> -- >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>> Dr Benjamin Slade >>>> Dept. of Linguistics & TESOL >>>> University of Texas at Arlington >>>> 132E Hammond Hall | Office Hours: tba >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>> {sent by mu4e on Emacs running under GNU/Linux} >>>> -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr Benjamin Slade Dept. of Linguistics & TESOL University of Texas at Arlington 132E Hammond Hall | Office Hours: tba ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {sent by mu4e on Emacs running under GNU/Linux}