OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Right and Left (Long) Arrows for Chemical Equilibrium?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math
View previous topic :: View next topic  
Author Message
ohyeahq
General User
General User


Joined: 03 Aug 2005
Posts: 9

PostPosted: Tue Aug 05, 2008 2:42 am    Post subject: Right and Left (Long) Arrows for Chemical Equilibrium? Reply with quote

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
Back to top
View user's profile Send private message
Robert Tucker
Moderator
Moderator


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

PostPosted: Tue Aug 05, 2008 4:03 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
keme
Moderator
Moderator


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

PostPosted: Tue Aug 05, 2008 4:21 am    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
ohyeahq
General User
General User


Joined: 03 Aug 2005
Posts: 9

PostPosted: Tue Aug 05, 2008 6:54 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Robert Tucker
Moderator
Moderator


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

PostPosted: Tue Aug 05, 2008 10:10 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
bjdette21
Newbie
Newbie


Joined: 16 Mar 2010
Posts: 1

PostPosted: Tue Mar 16, 2010 11:11 pm    Post subject: Reply with quote

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.
_________________
badette c. junsan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group