emacs-orgmode
[Top][All Lists]

Re: [O] Disabling overstrike (+) inside formulas

 From: Suvayu Ali Subject: Re: [O] Disabling overstrike (+) inside formulas Date: Tue, 6 May 2014 23:40:28 +0200 User-agent: Mutt/1.5.22.1 (2013-10-16)

On Tue, May 06, 2014 at 03:55:38PM +0300, Jarmo Hurri wrote:
>
> I have LaTeX macros in which I regularly use a plus sign in a
> parameter. This is currently interpreted as an attempt to overstrike in
> org:
>
> ----------------------------------------------------------------------
> * testing
>   $1\text{+}2$ creates an overstrike $\text{+}$
> ----------------------------------------------------------------------
>
> Would it be possible to turn off (by default) the interpretation of +
> as an overstrike delimiter inside a formula?

Conditionally disabling it should be possible using filters, but I think
it can be very clunky and could break from time to time.  If you do not
use strike-throughs, I would suggest turning it off entirely.  I think
(my Org-foo is a bit rusty) you can do that by removing it from
`org-emphasis-alist'.

Hope this helps,

--
Suvayu

Open source is the future. It sets us free.