emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-preview-latex-fragment is very picky


From: Rasmus
Subject: Re: [O] org-preview-latex-fragment is very picky
Date: Sun, 05 May 2013 21:07:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

> Hello 
> the following formula works well with org-preview-latex-fragment
> $\|v^k(t
>
> However 
>
> $ \|vk(t)\|_{Hs+1,δ}$
>
> Not nor 
>
> $ \|vk(t)\|_{Hs+1,δ}$,
>
> Could that behaviour made a little less picky?

Probably not.

Note these are Org features irrespective of fragment preview.  There
was some talk about it not so long ago.

Basically, it just happens that $·$ works as desired most of the time.
The proper way in LaTeX as well as in Org is \(·\).  Often you'll find
that in challenging cases you're better off with \(·\).

To see whether $·$ will work I use

  (setq org-highlight-latex-and-related '(latex))

To have nice symbols making preview of fragments less dire I use
pretty entities:

  (setq org-pretty-entities t)

Pretty entities can also be turned on locally.  For missing glyphs
you're using you can do something like:

  (setq org-entities-user '(("implies" "\\Rightarrow" t "&rArr;" "=>" "=>" "⇒")
                            ("iff" "\\iff" t "&hArr;" "<=>" "<=>" "⇔")))

Hope this helps. 

–Rasmus

-- 
Don't panic!!!




reply via email to

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