Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

LaTeX for Google Docs

Adds a LaTeX button for Google Docs (Insert -> LaTeX), allowing the user to insert LaTeX expressions in Google Docs (Not spreadsheets (at least not yet))

[Apr 6, 2008] Fixed for the new version of Google Docs (New toolbar)
[Apr 24, 2008] Added @include for Google Apps
[May 10, 2008] Updated menu elements' IDs




May 26, 2008
rfantster User

Greetings folks.

I appreciate the concept of this script but can't figure out how to "install" it after downloading.
I would be most thankful for any assistance.

Thanks,

Robert

 
May 23, 2008
Tom 02138 User

Thanks for making this available; it's already quite useful.

The LaTeX item only shows up on one of my browsers; is there any chance of making detection a little more reliable?

I guess the other BIG wish I would have is to be able to re-edit a formula by clicking on it in some way. Since the URL contains what I typed, it should be fairly easy to do this and only require client-side processing.

 
May 12, 2008
WindPower Script's author

Well, update your userscript~

 
May 12, 2008
Eduardo T. User

Yeap:
Error: document.getElementById("picture") has no properties
Source File: file:///home/etejada/.mozilla/firefox/qqlffonk.default/gm_scripts/latexforgoogledocs1.user.js
Line: 14

 
May 10, 2008
WindPower Script's author

Fixed, thanks~ Update the script and it should work.

 
May 10, 2008
Rene Castberg User

Seems the the code from google docs didn't work, if you want a copy of the source for an example page, i can try sending a copy by mail or so.

 
May 10, 2008
Rene Castberg User

Hi,

It seems it stopped working for me as well, i get one error message in the error console:

Error: document.getElementById("picture") has no properties
Source File: file:///home/username/.mozilla/firefox/x883x3.default/gm_scripts/latexforgoogledocs.user.js
Line: 13

Going to line 13 and changing picture to m-picture and comment to m-comment fixed the problem.

Code below taken from google docs source

 
Picture
 
Ctrl+K
Link
 
Table

 
Ctrl+M
Comment

 
May 10, 2008
WindPower Script's author

If you're using Google Apps, Rene Castberg told me the URL to a doc begins by http://docs.google.com/a/*/Doc?, which is something I'm not sure of, so this might explain it. If you're using another domain than docs.google.com (like docs.google.de or docs.google.fr or whatever), then you'll need to modify the included URLs accordingly. Otherwise, it should work... Anything showing in the Error Console?

 
May 9, 2008
Eduardo T. User

I'm having trouble using this script. I have Greasemonkey up and running and the script installed but I don't get the menu option Insert->LaTeX. Any ideas?

 
Apr 26, 2008
WindPower Script's author

For future reference, the site providing the images is http://texify.com/.

 
Apr 25, 2008
yotam User

I checked it now again an indeed there is no problem, perhaps it was something temporary with the web site.

 
Apr 25, 2008
WindPower Script's author

I can't seem to get yotam's problem; Using his code, I got this -> http://tinyurl.com/6l4eob
That's what supposed to show, there's no pointing arrow or anything... o_O

@Rene Castberg: Added, thanks~

 
Apr 8, 2008
yotam User

It doesn't handle brackets well.
The command:
\begin{array} {cc}
ax^2 & \lambda \\
\left( \int_0^\infty dx \right) & 2
\end{array}

showed anything it is supposed to apart from the brackets who where showen as simple ones and not scaled. it also showed a right pointing arrow.

 
Apr 8, 2008
Rene Castberg User

No apologies needed! :D

Thanks for the update, you just made my life a lot simpler.

b.t.w. I just tested it against google apps for domains , which have a url of the type: http://docs.google.com/a/*/Doc?* and works great there as well.

Thanks

 
Apr 7, 2008
WindPower Script's author

Apr 6, 2008: Fixed in order to work with the new version of Google Docs. Sorry Rene Castberg~

 
Apr 2, 2008
Rene Castberg User

This doesn't seem to work for me. Anybody else get this to work?

You could comment on this script if you were logged in.