* Disabling overstrike (+) inside formulas
@ 2014-05-06 12:55 Jarmo Hurri
2014-05-06 21:40 ` Suvayu Ali
0 siblings, 1 reply; 2+ messages in thread
From: Jarmo Hurri @ 2014-05-06 12:55 UTC (permalink / raw)
To: emacs-orgmode
Greetings.
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?
All the best,
Jarmo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Disabling overstrike (+) inside formulas
2014-05-06 12:55 Disabling overstrike (+) inside formulas Jarmo Hurri
@ 2014-05-06 21:40 ` Suvayu Ali
0 siblings, 0 replies; 2+ messages in thread
From: Suvayu Ali @ 2014-05-06 21:40 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-06 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 12:55 Disabling overstrike (+) inside formulas Jarmo Hurri
2014-05-06 21:40 ` Suvayu Ali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.