[Issue] Chemical reaction arrow

Discuss the word processor
Post Reply
pjanssen
Posts: 3
Joined: Sat Jan 19, 2008 1:46 pm

[Issue] Chemical reaction arrow

Post by pjanssen »

Hi all,

I recently started using openoffice as an alternative for ms office. I'm a chemistry student and am using mostly LaTeX for writing my articles etc. But the other day someone asked me to supply some document in .doc. This seemed the best opportunity to test openoffice. Everything works perfectly but one small thing I can't find a correct arrow for chemical reactions (inline: NaCl ---> Na+ + Cl-). In LaTeX I use a command like \xrightarrow{cat} this gives an arrow with the text "cat" on top of it. In OOo Math I did find the rightarrow command but it is rather small and I can't place anything on top of it.
Is there a way to display this kind of arrow or supply TeX commands (and needed packages) into OOo Math/Writer?

Peter
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Chemical reaction arrow

Post by Hagar Delest »

Try that:

Code: Select all

NaCl stack{ cat # rightarrow # "" } Na^{"+"} + Cl^{"-"}
You may need to add some minus signs before rightarrow to widen the arrow.

Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Chemical reaction arrow

Post by acknak »

Seems like scalable (longer/shorter) arrows might be a good enhancement.

Open Office Quality Assurance - Report Bugs
AOO4/LO5 • Linux • Fedora 23
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Chemical reaction arrow

Post by Hagar Delest »

Seems to be that one: Issue 60591 - Labeled arrows is missing. So I tag the thread as Issue.

You should subscribe and vote for it Peter (up to 2 votes per issue).
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Dave
Posts: 1011
Joined: Sun Dec 23, 2007 6:53 pm

Re: [Issue] Chemical reaction arrow

Post by Dave »

FWIW, have you tried the DRAW capablities of OpenOffice? You can draw an arrow in several styles, lengths, whatever, and move, copy/paste to wherever you need that. Super and subscripts will take care of the rest of the equation, perhaps.

David.
pjanssen
Posts: 3
Joined: Sat Jan 19, 2008 1:46 pm

Re: [Issue] Chemical reaction arrow

Post by pjanssen »

Thanks all, for now I used Hagar's suggestion and I voted on the issue. Should I mark this thread as solved or just leave it as issue?

Peter
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Issue] Chemical reaction arrow

Post by Hagar Delest »

Leave it as Issue because there is a link to the bug report, it could drag the attention of other users.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
pjanssen
Posts: 3
Joined: Sat Jan 19, 2008 1:46 pm

Re: [Issue] Chemical reaction arrow

Post by pjanssen »

Oke, thank you for your help.
Post Reply