107
$\begingroup$

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.

$\endgroup$
6

19 Answers 19

25
$\begingroup$

LaTeX plugin in Pidgin:

http://sourceforge.net/projects/pidgin-latex/

Screenshot 1

This screenshot is taken from http://sourceforge.net/projects/pidgin-latex/screenshots/124729

Screenshot 2

$\endgroup$
1
  • $\begingroup$ Probably it is better to be called jabber/xmpp + any client that has LaTeX plugin. In addition to pidgin, gajim also have it. Miranda might have one, but not sure. $\endgroup$
    – Yrogirg
    Sep 30, 2017 at 3:00
19
$\begingroup$

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

Mathim was also discussed here:
http://www.physicsforums.com/showthread.php?t=193510
http://www.physicsforums.com/showthread.php?t=196699

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

$\endgroup$
3
  • 1
    $\begingroup$ 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? $\endgroup$ Nov 12, 2011 at 15:37
  • $\begingroup$ 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 $\endgroup$ Apr 11, 2012 at 17:36
  • 1
    $\begingroup$ 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. $\endgroup$ May 22, 2012 at 15:53
18
+500
$\begingroup$

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.

$\endgroup$
17
+100
$\begingroup$

If you use Discord, invite TeXit to your server. (Go to that webpage, click "invite" and enter the name of your server.) Anytime you put dollar signs in a post, TeXit will interpret what you say as LaTeX and will repeat a TeX'd version of what you said. Here is an example of what you'll see

enter image description here

Mathbot is another bot with similar features, but you need to type =tex at the start of the line, which I find harder to remember.

$\endgroup$
13
+200
$\begingroup$

Sorry for reviving a bit of an old question, however as of today, it is now possible to LaTeX over Facebook chat, automatic rendering. There are a few things to note:

$1:$ You will only be able to view this on desktop, mobile does not support it yet.

$2:$ You must enclose your message in either \(...\) for inline math (can be interspersed in text) or $$...$$ for display math (must be the sole content of a chat message, not recognized if preceded/followed by other text)

$3:$ There is a one-line size limit which isn't terribly generous.

$4:$ If KaTeX can't parse the math, it will stay unrendered text, but you can hover over it to see the error message.

So, a bit restricted, but there's a lot of potential, and the future is now. But yeah, again sorry for mentioning it on such an old message, but I think it's worth letting people know.

$\endgroup$
2
  • $\begingroup$ Uses KaTeX. $$...$$ gives display math, has to be alone in chat message — doesn't render if there's text before or after for display math. \(\displaystyle ...\) works too. $\endgroup$ Mar 16, 2018 at 8:27
  • $\begingroup$ Wow this is awesome $\endgroup$
    – a06e
    Aug 29, 2020 at 12:27
13
+400
$\begingroup$

Deprecated: There are easier ways to render $\LaTeX$ in chat, such as the start ChatJax bookmarklet, which uses MathJax to render.

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

\sum_{k=1}^\infty\frac{1}{k^2}=\frac{\pi^2}{6}

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).

$\endgroup$
2
  • 1
    $\begingroup$ This was most likely true back in 2011 - I suppose that now most people actually use some bookmarklets, like the ones mentioned in this meta post or on robjohn's page. However, I think that if somebody wanted to try the same bookmarklet for a different chat software, that would most likely require some modifications. $\endgroup$ Mar 31, 2020 at 4:32
  • 1
    $\begingroup$ @MartinSleziak: Indeed. I use the "start ChatJax" bookmarklet in chat; I no longer use the codecogs.com page to post $\LaTeX$ in chat. I should edit this post to note its deprecated status. $\endgroup$
    – robjohn
    Mar 31, 2020 at 9:13
8
$\begingroup$

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!

$\endgroup$
7
  • 1
    $\begingroup$ Is there a possibility to save all messages from a chat session to a file or to clipboard (ideally with leaving TeX intact - so that I can then paste it into a TeX file and compile)? $\endgroup$ Oct 18, 2015 at 5:23
  • 1
    $\begingroup$ Thank you for your comment and suggestion! I will go about programming that feature in soon. Your suggestion will go on the current development page and I will tell you when it is done. $\endgroup$ Oct 19, 2015 at 14:22
  • 1
    $\begingroup$ Yes, it is now all done. Just use the export chat feature on the bottom right of the chat page and it will give you a TeX document source. Hope this helps! $\endgroup$ Oct 19, 2015 at 18:51
  • 2
    $\begingroup$ Wow, that was really fast! The exported TeX file and the pdf compiled from it look quite nice. $\endgroup$ Oct 19, 2015 at 18:59
  • 4
    $\begingroup$ The link is dead… $\endgroup$
    – Watson
    Apr 11, 2018 at 21:46
8
+500
$\begingroup$

ShareLaTeX had builtin chat with MathJax:

ShareLaTeX chat screenshot

UPDATE: it was aquired by Overleaf. As almost all of ShareLaTeX, it was open source, and remains open source after aquisition!
Source moved here: [backend, frontend].

As of 2020 it's integrated into Overleaf.com, and all MathJax features seem to work fine:

Overleaf chat screenshot

This is a near-real-time collaborative LaTeX editor, so this is great for chatting 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...

P.S. Note that for review comments on particular points of the paper, Overleaf have dedicated feature for comment threads on particular points! These don't render math currently. Oveleaf review panel

$\endgroup$
7
$\begingroup$

I work on Zulip, an open source team chat server. It supports LaTeX using $$…$$ for inline math and

```math
…
```

for displayed math. These are rendered on the server side using KaTeX.

$\endgroup$
2
  • $\begingroup$ I wonder why don't you use $...$ for inline math, just as Markdown. $\endgroup$
    – Akira
    Dec 17, 2021 at 9:54
  • 1
    $\begingroup$ @Akira There is no LaTeX in “Markdown”, neither in the original implementation nor the CommonMark specification. It’s always an extension, and the various extensions for LaTeX are not consistent with each other. They’re not even consistent within the Stack Exchange network: some Stack Exchange sites use \$…\$, some use $…$, some don’t support it at all. See this issue for some of the considerations involved in Zulip. $\endgroup$ Dec 17, 2021 at 16:40
6
$\begingroup$

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:

enter image description here

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

$\endgroup$
4
  • $\begingroup$ 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.) $\endgroup$ May 29, 2012 at 8:32
  • 1
    $\begingroup$ I asked the author about that several months ago and had not received a response. $\endgroup$ May 29, 2012 at 11:53
  • $\begingroup$ According to this it seems that he was planning to do this. (Hopefully, he still is.) $\endgroup$ May 29, 2012 at 14:38
  • 4
    $\begingroup$ Seems abandoned, site is currently down $\endgroup$
    – leonbloy
    May 27, 2013 at 14:51
5
$\begingroup$

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: https://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.

$\endgroup$
2
  • $\begingroup$ Again, any comment by someone who actually tried some of these would be great. $\endgroup$ Nov 12, 2011 at 22:00
  • $\begingroup$ 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. $\endgroup$ Apr 1, 2015 at 12:51
4
$\begingroup$

Instabird with this MathJax addon:

screenshot

$\endgroup$
4
$\begingroup$

If you want a wide platform support, including smartphones and want a mainstream messenger lots of people already use, then telegram with a latex bot can do this. If you are not familiar with telegram, it's basically like whatsapp.

Once you have telegram, you need to add a bot (just a contact) that would render LaTeX to image in your chats. Right now I have inlatexbot, but there are also others. https://github.com/vdrhtc/InLaTeXbot

It might not be as feature reach and perfect as latex plugins for jabber clients, for example, it is not capable of inline math, it just gives you an image with your formula in chat. If you need LaTeX only occasionally, this is ok.

However, I believe telegram is the only mainstream messenger that can do LaTeX and it is also available for all major platforms including mobile. It also has a superfast synchronization between your devices via cloud (yes, you can store your history on the server).

$\endgroup$
4
$\begingroup$

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

screenshot

Free public and private rooms up to 25 people.

$\endgroup$
3
$\begingroup$

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

$\endgroup$
2
  • 1
    $\begingroup$ 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) $\endgroup$
    – Adobe
    Jul 13, 2015 at 6:45
  • 3
    $\begingroup$ The link isn't working. Did they move? Is there an alternative Collaborative White Board? $\endgroup$
    – Royi
    Mar 14, 2018 at 20:53
2
$\begingroup$

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.

$\endgroup$
2
$\begingroup$

Overleaf has a 'Chat' feature which is accessible in the top-right corner and is LaTeX-processed.

$\endgroup$
1
$\begingroup$

I haven't seen the easiest answer: Facebook Messager! If you write a message of the form:

$$ equation here $$

The whole message has to be only the formula, if you want an equation as a part of a longer message you can use:

Some text \( equation here \) and more text.

enter image description here

$\endgroup$
3
  • $\begingroup$ Only works on desktop version though, but I'd be surprised if you wanted to do it on your phone. $\endgroup$ Mar 26, 2020 at 17:15
  • 1
    $\begingroup$ If I understood correctly what I read on reddit, if you want to use equation as a prat of the linger message, you have to use \(....\) rather than $$...$$, double dollars only work if the message contains nothing else. I have edited your post to reflect this - feel free to edit it further if more details are needed. $\endgroup$ Mar 26, 2020 at 18:32
  • $\begingroup$ Only now I noticed that this is already mentioned in the answer posted by Daminark. $\endgroup$ Mar 31, 2020 at 4:29
1
$\begingroup$

I use overleaf and screenshare it while talking over zoom. Or I use a chrome extension "TeX for Gmail & Inbox"

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .