emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Benjamin Slade <slade@jnanam.net>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: fontifying superscript/subscript
Date: Sat, 13 Oct 2012 06:06:33 -1000	[thread overview]
Message-ID: <m1fw5iz792.fsf@tsdye.com> (raw)
In-Reply-To: <87y5ja6equ.fsf@jnanam.net> (Benjamin Slade's message of "Sat, 13 Oct 2012 01:57:29 -0500")

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 <slade@jnanam.net> 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 <http://ling.uta.edu/~ben/>
>>>  Dept. of Linguistics & TESOL 
>>>    University of Texas at Arlington                
>>>      132E Hammond Hall | Office Hours: tba
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>        {sent by mu4e on Emacs running under GNU/Linux}
>>> 

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2012-10-13 16:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13  6:04 fontifying superscript/subscript Benjamin Slade
2012-10-13  6:41 ` Carsten Dominik
2012-10-13  6:57   ` Benjamin Slade
2012-10-13 16:06     ` Thomas S. Dye [this message]
2012-10-13 16:15       ` Benjamin Slade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1fw5iz792.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=slade@jnanam.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).