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

Chemical Notation in OpenOffice

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Jmcgrory
Newbie
Newbie


Joined: 15 Mar 2006
Posts: 2

PostPosted: Wed Mar 15, 2006 5:24 am    Post subject: Chemical Notation in OpenOffice Reply with quote

I've got a chemistry project to type up and I have noticed there is no facility in standard open office for chemical symbols such as the two-directional arrow used to represent equilibrium in reactions (thats the one I noticed, there may be others).

Does anyone know of any add-ons which enable the use of these symbols in openoffice writer and if so, where can I find it?

Thank you in advance.
Back to top
View user's profile Send private message
yuki
OOo Advocate
OOo Advocate


Joined: 20 Oct 2005
Posts: 264

PostPosted: Wed Mar 15, 2006 6:16 am    Post subject: Reply with quote

Either: Insert -> Special Character... and help yourself in the Open Symbol font.
Or: Insert -> Object -> Formula (F4)... and do the it as equations.

Code:
CO_2 + H_2 O toward O_2 + C_6 + H_12 O_6


Check out the Math forum here, since we had a similar question recently. If you want to write things across the arrows, if memory serves right, you'll need to use the Draw component.

http://www.oooforum.org/forum/viewtopic.phtml?t=31283

(edits: added formula, link to other thread)

Oh, just played around a bit:
Code:

CO_2 + H_2 stack{ size -3 {alignc "sunlight"} # size +0 "←→" # " " } O_2 + C_6 + H_12 O_6


I know, there is a small gap between the arrow heads (from OpenSymbol) and the lines... but that's as good as I can offer it at the moment.

The more flexible approach is using the Draw component, by combining the different parts of the formula. You can then copy & paste this into Writer.

(edit: new solution)
Back to top
View user's profile Send private message
Jmcgrory
Newbie
Newbie


Joined: 15 Mar 2006
Posts: 2

PostPosted: Wed Mar 15, 2006 8:07 am    Post subject: Reply with quote

Thank you for the help but unfortunately thats not the symbol I need. Its two lines one on top of the other eavh with half an arrow head on the top left of the top one and the bottom right of the bottom one.



That except, tidier and maybe less drawn in MS paint. Laughing
Back to top
View user's profile Send private message
BillP
Super User
Super User


Joined: 07 Jan 2006
Posts: 2703

PostPosted: Wed Mar 15, 2006 8:47 am    Post subject: Reply with quote

You can download free chemistry fonts with this symbol. Just search for "chemistry font" and "true type".
Back to top
View user's profile Send private message
Jallan
OOo Advocate
OOo Advocate


Joined: 16 Jan 2006
Posts: 267

PostPosted: Wed Mar 15, 2006 8:55 am    Post subject: Reply with quote

OpenOffice itself mostly has no particularly facility for supplying "special" characters. It just uses the fonts your system supplies.

The character you want is Unicode U+21CB LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON: ⇋ . If you can see it in this post, you already have a font with that character.

You can probably find a font containing this character through http://www.alanwood.net/unicode/fonts.html#general or http://cgm.cs.mcgill.ca/~luc/math.html .
Back to top
View user's profile Send private message
yuki
OOo Advocate
OOo Advocate


Joined: 20 Oct 2005
Posts: 264

PostPosted: Fri Mar 31, 2006 4:21 am    Post subject: Reply with quote

I know this does not help in this particular case, but I have come across a discussion of chemical notation in another forum, where the use of wide vectors was suggested. Note the tildes (~) to space...

Code:
O_{2}+2 H_{2} {}_{widevec{~~~"Reaction"~~~~}}^{ alignc ~~~~~"Text"} 2 H_{2}O


[just for the record, really]
Back to top
View user's profile Send private message
b87203050
Newbie
Newbie


Joined: 20 Jul 2008
Posts: 1

PostPosted: Sun Jul 20, 2008 5:24 am    Post subject: Could we suggest it? Reply with quote

Could we tell the OpenOffice team to add this subject to the Math plugin. This may be the best way to solve the problem and http://www.oooforum.org/forum/viewtopic.phtml?t=31283 too.
In fact, I can do it on M$ word, but i don't like to use equation in word ( because i do not like to switch my hands between keyboard and mouse at all hour).
Yes, I know I can do it on LaTeX with some scripting, but not all computer are bound with LaTex.

ps: How could I give my idea to the OO team
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Tue Jul 22, 2008 5:41 am    Post subject: Reply with quote

Already reported, see here: [Issue] Chemical reaction arrow.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Tue Jul 22, 2008 9:26 am    Post subject: Reply with quote

It's available in MathType. Is there no also specialty software for doing just that sort of thing?

David.
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 11:09 pm    Post subject: Reply with quote

Using OOoLatex.

Install chemarrow.sty from:

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

On Linux:

# mkdir /usr/share/texmf/tex/latex/chemarrow

and copy chemarrow.sty to it; then run:

# mktexlsr

Install the font arrow.mf from:


http://ctan.releasenotes.org/macros/latex/contrib/chemarrow/arrow.mf

On Linux:

# mkdir /usr/share/texmf/fonts/source/public/arrow

and copy arrow.mf to it; then run:

# texhash

Add:

\usepackage{chemarrow}

to the preamble in OOoLatex.


See:


www.oooforum.org/forum/viewtopic.phtml?t=73962

for example use.
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer 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