# Chatting about mathematics (with real-time LaTeX rendering)

Do you know about some tools which can be used for online chat about mathematics? In particular, I am interested in software which would be able to render LaTeX formulas. (Since LaTeX is probably the fastest possibility to type mathematics.)

Have you tried some of them? What are their advantages and drawbacks?

NOTE 1: In this question I am asking only about solutions how to type mathematics in chat, not about possibility to use video and sound. (For the purposes of this question, assume that only keyboard, mouse and display are plugged to your computer.)

NOTE 2: I will post some possibilities I am aware of in the answers. But I would be grateful if someone who tried these applications could expand these answers a little more.

-
... and Mathematics via Distance Drawing from Category Theory mailing list. –  Martin Sleziak Nov 12 '11 at 15:36
Theoretically it might be possible to make your LaTeX-code into pictures and - if the chat client enables this - paste them into chat. It seems that there are many possibilities how to do this, e.g. this online equation editor. But this solution is not so neat and much slower than typing LaTeX code directly into the chat. (I occasionally used such approach to get mathematical formulas into emails.) –  Martin Sleziak Nov 12 '11 at 15:43
GmailTeX if you use gmail –  leo Nov 12 '11 at 19:20
"Since LaTeX is probably the fastest possibility to type mathematics" Have you seen ASCIIMathML? –  Mk12 Oct 31 '13 at 23:14

Mathim - online chat with the possibility to use of LaTeX syntax (the first result that google returned for latex online chat or latex online chat math)

http://mathim.com

Screenshot from my short experiment with this tool:

Mathim was also discussed here:

It is possible to copy the text of session (simply by selecting it) and put it into a TeX file.

-
If some of you have worked with mathim and has some practical experience, I would be glad to know: Is there a possibility to save the text from the session in some way? –  Martin Sleziak Nov 12 '11 at 15:37
The problem with copying the text of session is solved now. (Before, when I tried to copy the text, the dollars where missing.) physicsforums.com/showthread.php?p=3860528 –  Martin Sleziak Apr 11 '12 at 17:36
I've noticed that MathIM has some problems with range in which fonts are valid. E.g. if you write $(2\mathbb N+1)\cup 2\mathbb N$ then the blackboard font is used for the whole text starting from N. You have to write $(2{\mathbb N}+1)\cup 2{\mathbb N}$ instead. Screenshot. –  Martin Sleziak May 22 '12 at 15:53

In the Mathematics chat, we often use the codecogs.com $\LaTeX$ Equation Editor: http://latex.codecogs.com/gif.latex?\sum_{k=1}^\infty\frac{1}{k^2}=\frac{\pi^2}{6} yields

You have to replace spaces with %20 since spaces are not allowed in URLs (actually, it is probably best to escape all reserved characters in URLs, but other than spaces, most characters seem to be passed through by a number of common browsers).

-

EDIT: This project seems to be abandoned. (At least the website does not work anymore.) If anyone has the knowledge that it has been moved to another location, please, edit this post with updated information.

TeXChat is a chat which uses Mathjax for rendering math.

I've learned about it from the website MathJax in Use.

Here's a screenshot:

You can copy a source of an individual message by hovering above it and selecting the text.

-
I wasn't able to figure out how the source of the whole session can be copied. I you find out, please, let me know. (And maybe add this to the answer.) –  Martin Sleziak May 29 '12 at 8:32
I asked the author about that several months ago and had not received a response. –  Willie Wong May 29 '12 at 11:53
According to this it seems that he was planning to do this. (Hopefully, he still is.) –  Martin Sleziak May 29 '12 at 14:38
Seems abandoned, site is currently down –  leonbloy May 27 '13 at 14:51

-

ShareLaTeX has builtin chat with MathJax:

As almost all of ShareLaTeX, it's open source [backend, frontend].

Overleaf has not exactly chat but inline commenting with replies — currently doesn't render math in comments.

Both in their heart are near-real-time collaborative LaTeX editors, so this is great for discussion around a writeup/paper, but you can also create empty project or file just to use chat/commenting, and gradually "spill over" into the editor for a more flexible collaboration...

-

Hopefully this is helpful; I have been programming a MathJax based online chat service in my spare time (there are some styling issues still). It is quite fast and has quite a few features. Here it is:

http://mathchat.x10.mx/

Enjoy!

-

There are scripts written by Valery Alexeev.

UPDATE: The new name for this plugin is TeX for Gmail. Now there is only one plugin which adds TeX-rendering to both Gmail and Gmail Chat. (IIRC, they used to be separate.)

Here is original version of this post:

They were mentioned in this answer: http://physics.stackexchange.com/questions/7809/online-physics-collaboration-tools/7811#7811

GmailTeX was mentioned in leo's comment. There is also GmailChatTeX.

This Firefox add-on http://thewe.net/tex/ seems to be similar.

-
Again, any comment by someone who actually tried some of these would be great. –  Martin Sleziak Nov 12 '11 at 22:00
TeX for Gmail is great, especially ability to heuristically recognize and render in incoming unformatted mail stuff like A_n without explicit math delimiters. Worked fine in chat too but doesn't (yet) support Hangouts. –  Beni Cherniavsky-Paskin Apr 1 at 12:51

Gitter which is generally programmer-optimized (markdown, syntax highlight, GitHub integration) also supports math with $$...$$ syntax. It uses KaTeX which is very fast but not as feature-full as MathJax (no matrices, missing many symbols e.g. mathcal...)

Free public and private rooms up to 25 people.

-

http://papertogether.com is a collaborative whiteboard app with chat that supports math surrounded by backticks:

Foo a^2 + b^2 = c^2 bar baz.


Unfortunately there is no text tool to add formulas inside the drawing area, and the chat is a small subwindow in the corner.

KaTeX-powered so supports less constructs (e.g. no matrices).
Help, Background

-
Meanwhile KaTeX added support for arrays: \left ( \begin{array}{lcr} Aa & B & C\\ D & Ee & Ff \end{array} \right). (paste that in khan.github.io/KaTeX to see the output) –  Adobe Jul 13 at 6:45

The web interface of hack.chat renders LaTeX, and there are some pre-made rooms for math, physics, etc. It's also open source and can be installed on your own server if needed.

-

I use Lyx to type LaTeX quickly. It is a WYSIWYG LaTeX editor. You can then use screen sharing e.g with Skype so the other person can see what you are doing on Lyx. Never tried the screen sharing part, just an idea.

-