Uwe Brauer <o...@mat.ucm.es> 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