Monday, February 2, 2009

Editing with Equations

Equations in Google Docs





This manuscript does not appear properly in FireFox, and I use IE always to see the pictures and equations properly.



We open sitmo in IE (firefox doesn't show sitmo properly for some unknown reason)eq=-\frac{\hbar}{2 \pi}\nabla^2 \psi +V\psi=E\psi


and type the latex as needed. Then, right click on the image and copy it, return to docs, and paste it. Wow! NOT REALLY.

This won't print. You need to save the image out of sitmo on your desktop, and then use

Insert->Picture in docs and find the image and upload it. We obtain the

pasted image (here):



Here's what the sitmo screen looked like ( I put the border on):


showing the Latex I typed (in red), the Schroedinger Equation as formatted, so all that's missing is the right click on the formatted equation and the accompanying paste into my Google Docs. Of course, you have to ignore the physics error!





How about directly inserting Latex (via codecogs rather than sitmo) using Edit->Edit HTML: using an online codecogs editor and the code shown in this footnote<a href="http://www.codecogs.com/eqnedit.php?latex=-%5Cfrac%7B%5Chbar%7D%7B2 \pi}\nabla^2 \psi +V\psi=E\psi"><img src="http://latex.codecogs.com/gif.latex?-%5Cfrac%7B%5Chbar%7D%7B2&space;%5Cpi%7D%5Cnabla%5E2&space;%5Cpsi&space;+V%5Cpsi=E%5Cpsi" title="-\frac{\hbar}{2 \pi}\nabla^2 \psi +V\psi=E\psi" border="1"/></a>. This one prints badly also, since there are extraneous spaces which IE can't handle. In the footnote, you will see the offending spaces explicitly.



Here is the final rendering, absent spaces (better physics but doesn't show on FireFox!, only IE):




which should be OK (in IE, on screen and printed).

Here's a screen dump of codecogs.com:


The disadvantage of this scheme is that if one downloads the manuscript (say in Word form) the link will be inactivated! Thus one is umbilically bound to Google Docs (not necessarily a bad thing).

I would be remiss if I didn't note that material such as this exists on the WWW.

1 comment:

  1. Hi...
    I am feeling glad to found such an interesting article. I really enjoyed your amazing stuff. Thank you so much for sharing here.

    ReplyDelete