emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Superscripts and subscripts


From: Daniel Mahler
Subject: Re: [O] Superscripts and subscripts
Date: Thu, 18 Apr 2013 03:00:09 -0500

upgrading to trunk gives me the same behaviour as John reported,
which, while not perfect, is better for tensors.


On Wed, Apr 17, 2013 at 10:54 PM, Daniel Mahler <address@hidden> wrote:
In my .emacs I have

(custom-set-variables
 ;;...
 '(org-pretty-entities t)
 '(org-use-sub-superscripts (quote {}))
;;...
)

but I get the opposite result ' ^{14}C' works , but 'x^{y}_{z}' does not,



On Wed, Apr 17, 2013 at 10:18 PM, John Hendy <address@hidden> wrote:
On Wed, Apr 17, 2013 at 9:57 PM, Daniel Mahler <address@hidden> wrote:
> This works for me in org 7.9.2 and emacs 24.1.1, but chaining  as in
> 'x^{y}_{z}' will only fontify the ^{y} but not the _{z}, as I reported
> earlier today, but 'x^{y} _{z}' will fontify both, just with an ugly gap in
> the middle.

Ah. Googled around a bit. Are you sure you don't have something in
.emacs to set this? If not, perhaps the default settings just changed
since 7.9.2 and the current master branch, 8.0-pre. I found this upon
googling "fontify subscripts orgmode":
- http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00358.html

I added this to my buffer:

#+startup: entitiespretty

Now I get the attached. Indeed = ^{14}C= does not work for me, but
=x^{y}_{z}= does.


John



>
> cheers
> Daniel
>
>
> On Tue, Apr 16, 2013 at 1:29 AM, Bastien <address@hidden> wrote:
>>
>> Hi Thomas,
>>
>> address@hidden (Thomas S. Dye) writes:
>>
>> > With a recent git pull and #+OPTIONS: ^:{}, `C^{14}' is interpreted
>> > correctly but ` ^{14}C' is not, both in the Org buffer and in LaTeX
>> > export. The space before the caret appears to be the problem.
>>
>> Confirmed -- this was reported already once.  I don't have a fix for
>> this at the moment, hopefully Nicolas can have a look sometime.
>>
>> --
>>  Bastien
>>
>



reply via email to

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