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

2013-05-06 Thread Uwe Brauer
 rasmus == rasmus  Rasmus writes:

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

Thanks for pointing out these settings, I will try them out.

Uwe 


smime.p7s
Description: S/MIME cryptographic signature


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

2013-05-05 Thread Uwe Brauer

Hello 
the following formula works well with org-preview-latex-fragment



However 


$ \|vk(t)\|_{Hs+1,}$


Not nor 


$ \|vk(t)\|_{Hs+1,}$,


Could that behaviour made a little less picky?


thanks


Uwe Brauer 


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

2013-05-05 Thread Rasmus
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!!!




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

2013-05-05 Thread Marcin Borkowski
Dnia 2013-05-05, o godz. 21:07:23
Rasmus ras...@gmx.us napisał(a):

 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 \(·\).

Just before someone asks why:
http://tex.stackexchange.com/questions/510/are-and-preferable-to-dollar-signs-for-math-mode

Regards,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University