Google Docs now supports LaTeX equations

Today I logged in my Google Docs account to edit some documents and found out that Google had, perhaps quietly, added some new and neat features to this already very useful web application. Among them is one I find very helpful: the ability to insert and edit LaTeX-based mathematical equations to documents. Currently only word documents support this feature, so you cannot insert equations directly into presentations or spreadsheets.

In any document, you can insert a new equation using the menu Insert/Equation. Google Docs provides a dialog with several buttons allowing users to enter commonly used mathematical symbols and formulas, such as the Greek letters and the square-root symbol. However, because this feature uses LaTeX as its language to represent and render mathematical expressions, you can enter the formula directly in LaTeX. Moreover, Google Docs accepts most LaTeX math commands and environments – many of them are not included in the dialog. For example, you can enter a matrix using the following syntax:
\begin{bmatrix} a & b \\ c & d \end{bmatrix}
which will render as
\begin{bmatrix} a & b \\ c & d \end{bmatrix}

My guess is that Google Docs equation editor supports not only basic LaTeX mathematical commands but also the packages: amsmath, amsfonts, and amssymb. For more information on LaTeX mathematical syntax and commands, a good (and free) reference is Chapter 8 of the excellent book “The LaTeX companion,” which is available on the Internet (e.g. this link).

Even MS Office and Apple’s iWork cannot do this well. Good job, Google! My only wish is that Google Docs will implement this feature in presentation documents.

Have fun with Google Docs mathematical equations!

This entry was posted in LaTeX and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s