77

Risking of this question being closed, I'm just wondering if any of your use ---or know--- of any email platform that supports writing in LaTeX.

I made a quick search around the site and found this question:

LaTeX on Gmail (GmailTex?)

So I'm guessing Gmail is not supporting it... or at least that seemed so as of 2012. Maybe this changed in the last year?

But what about other services? Do you know if Yahoo!, hotmail, or any other in particular is capable of handling it? How do you send e-mails with LaTeX?

PS: Using an editor and then attaching the pdf is not a valid answer :P

  • 9
    Is the following a valid answer: Attach the tex file ;-) – Marco Daniel Jun 8 '13 at 13:03
  • @MarcoDaniel Hahahahaha, you got me there! – Mario S. E. Jun 8 '13 at 13:05
  • 2
    For the math part you can use the thunderbird addon LaTeX It – student Jun 8 '13 at 13:16
  • 4
    Note that the answer you reference is out of date: the current version of GmailTeX (as of June 8, 2013) seems to work fine. – Charles Staats Jun 8 '13 at 13:56
  • 1
    I do not know and I really do not care if any platform supports writing e-mails in LaTeX even though that I use TeX/LaTeX circa 1992. E-mail messages should be pure text-files preferably only ascii for languages which use Latin characters. They should be wrapped to 72 characters so that can be displayed in standard terminal 80x24 so that people who use text-based mailers can actually read them. For the record I use heirloom mailx. – Predrag Punosevac Jun 9 '13 at 4:30
49

On some browsers you can install an extension called Markdown Here, which is capable of rendering markwdown syntax into HTML in some rich-editing boxes. In particular it works with the Google Mail composing message box.

Admittedly, markdown is not LaTeX, but you get anyway a simple and familiar syntax (it is the one used here at stackexchange) to format your messages. In addition, it supports TeX equations (you surround them with dollars), but the method is sub-optimal, since it calls google to render them (did you know that google can render TeX math into images? I didn't) and paste a link to the resulting image. This feature is disabled by default for privacy issues.

Here is a pair of screenshots of the compose box, first while I write the message:

Composing

Then after converting it (Ctrl-Alt-M or toolbar button):

Result

  • Interesting ;-) -- Google is everywhere ;-) – Marco Daniel Jun 28 '13 at 14:13
  • 3
    Now, the real subquestion: why are there privacy issues? – Mario S. E. Jun 28 '13 at 14:22
  • 13
    @MarioS.E. Your formula is converted to a <img> tag, whose src points to a google service, so the image is not part of the email, but instead it is rendered and fetched when the mail is read. This can serve to track (at least by google) when the mail is read. Some people deactivates external images in emails for this reason, and thus they won't see the formula. Also, the code of the formula is shared with google, which is again a privacy issue (perhaps it is a secret formula! :-) – JLDiaz Jun 28 '13 at 14:25
  • 3
    @FangJing Yes. The plugin translates your markdown into standard HTML, replacing equations with <img> tags. Then Gmail sends your message as a multi-part MIME message. One part contains "plain text" which should be visible in any email client (but you loss formatting and equation). The other part is HTML visible in any html-capable email client (almost all, nowadays). This client could block however the rendering of the IMG, because it contains a link to an external site. Nevertheless, the image contains a text-version in its alt attribute. – JLDiaz Jan 27 '15 at 14:53
  • 1
    @gerrit: Mathml currently is supported only in Firefox and Safari. Hence currently it is no option for emails. Try e.g. looking at developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/… with Chrome. Sadly though, currently the extension doesn't seem to support equations in Gmail at all (they are displayed as plain source after conversion). – kdb Apr 29 '15 at 11:13
18

Maybe it's too late to answer now, but what about Thunderbird? Thunderbird is open source software. You just have to install "LaTeX It" (it's an addon in Thunderbird). Hope it helped :-)

Some information about the Addon. But download it directly in Thunderbird addon center! That's easier than installing it by the link.

  • Works perfectly fine with me, thanks for the hint! – tomglabst Sep 11 '15 at 13:16
12

There is a Chrome extension called TeX for Gmail (available from the Chrome Web Store), which can typeset math expressions, equations, and theorems, among other things. I experimented with it and it has been working for me.

  • 4
    I want to point out that this extension has been significantly streamlined in the past year and is now very polished. I use it daily. Crucially, it allows you to quickly convert an image back to the original TeX, modify it, and then re-convert to an image. The messages seem to look good to non-Gmail users and Gmail users alike. Highly recommended. – Jess Riedel Jul 8 '16 at 16:04
8

On Mac OS X, one can install the utility LaTeXiT: http://www.chachatelier.fr/latexit/ which will allow one to type LaTeX in any Mac OS X app which understands Services and will accept an image, and then Typeset the equations in place, replacing them w/ a .pdf in situ.

The recipient will receive a .pdf as an attachment (it will display in-line on mail programs which display .pdfs), and then may invoke LaTeXiT's ``linkback'' support to untypeset the equations, reverting them to their source form (the source is attached to the .pdf as an attachment).

5

Another client indepent solution similar to texpaste if you do not want to install anything is to write your email by using markdown and latex here and copy paste the result into your mail.

4

I was searching for an answer to this question and I have finally settled for this email client independent solution http://www.texpaste.com and is basically a LaTex equivalent of Pastebin.

This corresponds to my use of LaTex in emails and of course I attach PDFs and/or .tex files if it gets longer.

1

As an old-school (and quite primitive) alternative I may suggest using ascii-art to render LaTeX. The only requirement is that both of you need to use monospaced font:

     +-+                              
 ,- \|x   2                              
 | e    /x    dx                              
-'           

Quite obviously it has a limited use.

There are scripts to make the formulas from latex, the above was generated with tex2mail. One can add some unicode to it to produce nicer output:

┬─┬oo ⎛   1  ⎞   ⎛ ┬─┬oo   1   ⎞-1           1            1     6 
│ │   ⎜ 1-── ⎟ = ⎜ │ │   ───── ⎟   = ───────────────── = ──── = ──  ≈ 61%
┴ ┴p  ⎜    2 ⎟   ⎜ ┴ ┴p     -2 ⎟         1    1          ζ(2)    2
      ⎝   p  ⎠   ⎝       1-p   ⎠     1 + ── + ── + ∙∙∙          π 
                                          2    2
                                         2    3 

But be careful, not all monospaced unicode is rendered as truly monospaced.

Also helpful https://math.stackexchange.com/questions/149303/software-to-render-formulas-to-ascii-art

  • 10
    Humanity spent centuries to arrive at cat videos, yet we are stuck in ASCII art – percusse Oct 19 '17 at 22:37
0

Recently I have found the following extension with the help of which it is possible to send email with MathJaX equations (however I am not sure whether to read the sent emails if the receiver also needs to add the extensions). The extensions is, Math Anywhere.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.