emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] plus in superscript.


From: Carsten Dominik
Subject: Re: [O] plus in superscript.
Date: Thu, 15 Sep 2011 09:44:51 +0200

On Sep 15, 2011, at 9:43 AM, Christian Moe wrote:

> Hi,
> 
> $...$ may sometimes get confused with currency signs, variable names and 
> whatnot.
> 
> Org-mode is sophisticated about it as long as you follow a few safeguards -- 
> from the Info section 11.7.3:
> 
>     To avoid conflicts
>     with currency specifications, single `$' characters are only
>     recognized as math delimiters if the enclosed text contains at
>     most two line breaks, is directly attached to the `$' characters
>     with no whitespace in between, and if the closing `$' is followed
>     by whitespace, punctuation or a dash.  For the other delimiters,
>     there is no such restriction, so when in doubt, use `\(...\)' as
>     inline math delimiters.
> 
> But note that MathJax, the preferred backend for math in Org's HTML exports, 
> does not support $...$ by default. To configure it, see:
> 
> http://www.mathjax.org/docs/1.1/tex.html#tex-and-latex-math-delimiters


When Org exports to HTML for use with MathJax, it does convert $..$ to \(..\) 
to work around this.

Still, parsing $...$ is much harder than parsing \(..\), so most of the time, 
using \(//\) will give better and more stable results with Org-mode.

- Carsten


reply via email to

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