[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
ohyeahq
General User

Joined: 03 Aug 2005
Posts: 9

 Posted: Tue Aug 05, 2008 2:42 am    Post subject: Right and Left (Long) Arrows for Chemical Equilibrium? Hi, I need to make equations for chemical reaction and equilibrim. Is there a way to put "rightleftarrow", "longrightleftarrow" and "longrightarrow" (like in TeX)? I tried stack{rightarrow # leftarrow} but the in-between space is awkwardly large. Any trick? Help please!!! Cheeeeeeers
Robert Tucker
Moderator

Joined: 16 Aug 2004
Posts: 3407
Location: Manchester UK

 Posted: Tue Aug 05, 2008 4:03 am    Post subject: www.oooforum.org/forum/viewtopic.phtml?t=33416 or OOoLatex._________________OpenOffice 4.0.0 and LibreOffice 4.x.x on Fedora 20, Ubuntu 13.10, Windows 8.1 Preview (Triple Boot)
keme
Moderator

Joined: 30 Aug 2004
Posts: 2910
Location: Egersund, Norway

 Posted: Tue Aug 05, 2008 4:21 am    Post subject: To get it exactly right you also need the half arrowheads. I don't think Math can do that easily just yet. MathType manages it, but the symbols used don't carry over to OOo reliably in an OLE object. You may need to save your formula as a GIF and insert that into your document. That will normally give a formula with poor resolution (not print quality).
ohyeahq
General User

Joined: 03 Aug 2005
Posts: 9

Posted: Tue Aug 05, 2008 6:54 am    Post subject:

Thank you for replies. I don't mind too much about the half arrowheads, but a long arrow is desirable. My best code so far is:

 Code: size 30 {"H"_2 ~+~ "O"_2  ~ size -5 {{}^{overstrike{"          " {} > {} }}_{overstrike{{} < {} "          "}} } csup{size +5 k_f}csub{size +5 k_b} ~ "H"_{2}"O"_{2} }

Let me know if you find a better way. Cheeeeeers
Robert Tucker
Moderator

Joined: 16 Aug 2004
Posts: 3407
Location: Manchester UK

Posted: Tue Aug 05, 2008 10:10 am    Post subject:

Don't know if this LaTeX style file is of interest:

http://ctan.releasenotes.org/macros/latex/contrib/chemarrow/chemarrow.sty

With it installed (plus font arrow.mf) this code:

 Code: {\rm{H_2 + O_2}} \mathop{\rightleftharpoonsfill{20pt}_{k_b}^{k_f}} {\rm{H_2O_2}}

produced this

_________________
OpenOffice 4.0.0 and LibreOffice 4.x.x on Fedora 20, Ubuntu 13.10, Windows 8.1 Preview (Triple Boot)
bjdette21
Newbie

Joined: 16 Mar 2010
Posts: 1

Posted: Tue Mar 16, 2010 11:11 pm    Post subject:

 keme wrote: To get it exactly right you also need the half arrowheads. I don't think Math can do that easily just yet. MathType manages it, but the symbols used don't carry over to OOo reliably in an OLE object. You may need to save your formula as a GIF and insert that into your document. That will normally give a formula with poor resolution (not print quality).

Thanks for sharing us your ideas. I don't think also if math can do that easily just yet. Maybe it can help. Thank you for the great suggestions, that we need to save your formula and insert that into your document. That will normally give a formula with poor resolution.
_________________