Re: [O] latex export of \ce question

2014-04-26 Thread John Kitchin
On Tue, Apr 22, 2014 at 6:44 PM, John Hendy wrote: > #+options: tex:t Thanks for all the ideas. In the end I found the best way is to use ^:{} as options, and then use regular subscripts. For chemical formulas works fine. So that is ABO_{3} and ABO_{3-\delta}. John ---

Re: [O] latex export of \ce question

2014-04-22 Thread John Hendy
On Mon, Apr 21, 2014 at 6:35 PM, John Kitchin wrote: > Hi all, > > I often have to use the mhchem latex package to write chemical formulas, and > I have teh following export issue. > > If I have this in an org file: > > \ce{ABO_3} > > \ce{ABO_{3-\delta}} > I've taken to using \( \) around LaTeX s

Re: [O] latex export of \ce question

2014-04-22 Thread John Kitchin
Thanks. I was going crazy looking for the snippet syntax! On Tue, Apr 22, 2014 at 8:32 AM, Rasmus wrote: >#+MACRO: ce @@latex:ce($1)@@ >@@latex:ce{ABO_{3-\delta}}@@ >{{{ce(ABO_{3-\delta})}}} > John --- John Kitchin Associate Professor Doherty Hall

Re: [O] latex export of \ce question

2014-04-22 Thread Rasmus
John Kitchin writes: > Hi all, > > I often have to use the mhchem latex package to write chemical formulas, > and I have teh following export issue. > > If I have this in an org file: > > \ce{ABO_3} > > \ce{ABO_{3-\delta}} > > this exports as > \ce{ABO_3} > > \ce\{ABO$_{\text{3-}\delta}$\} > > Th

Re: [O] latex export of \ce question

2014-04-21 Thread Richard Lawrence
Hi John, John Kitchin writes: > If I have this in an org file: > > \ce{ABO_3} > \ce{ABO_{3-\delta}} > > this exports as > \ce{ABO_3} > \ce\{ABO$_{\text{3-}\delta}$\} > > The first one is fine, but the second one is not. The nested {} seems to > mess it up. Is there a way to get this to export c

[O] latex export of \ce question

2014-04-21 Thread John Kitchin
Hi all, I often have to use the mhchem latex package to write chemical formulas, and I have teh following export issue. If I have this in an org file: \ce{ABO_3} \ce{ABO_{3-\delta}} this exports as \ce{ABO_3} \ce\{ABO$_{\text{3-}\delta}$\} The first one is fine, but the second one is not. T