Item logo image for LaTeX in Slack

LaTeX in Slack

3.8(

4 ratings

)
ExtensionWorkflow & Planning3,000 users
Item media 1 screenshot

Overview

Render LaTeX in Slack chat.

Renders LaTeX math formulas in Slack. Similar to the Chrome extension math-with-slackb, except this plugin uses the KaTeX library instead of MathJax for better compatibility with the latest version of Slack. Usage instructions: Mostly works like standard LaTeX. Default delimiters are as follows (this avoids issues with dollar signs being used for other purposes): Inline math: \( .. \) $$ .. $$ Display math: \[ .. \] $$$ .. $$$ Alternatively, in the options of the extension one can also choose to work with the usual LaTeX delimiters: Inline math: \( .. \) $ .. $ Display math: \[ .. \] $$ .. $$ Newlines in formulas can be inserted with \newline. Double backslash \\ is ignored. Blackboard bold letter shorthands: \R is short for \mathbb{R} \N is short for \mathbb{N} \Z is short for \mathbb{Z} Downloads: Firefox: https://addons.mozilla.org/nl/firefox/addon/latex-in-slack/ Chrome: https://chrome.google.com/webstore/detail/latex-in-slack/pfcfelfnpbnboelkjedecjipaibpnfja Troubleshooting: 1. Slack uses _ for _italics_ and * for *boldface*. This can interfere with your LaTeX formatting if your message has multiple underscores or asterisks in it. The developers of Slack are not big on having a consistent way to escape these special characters, but you can try: a) escaping using two backslashes: $$\bar\chi^{\\*}\\_W$$ A single backslash is interpreted by the LaTeX rendering library as part of a command, but two of them will be ignored. b) putting spaces around it: $$\bar\chi^ * _ W$$ 2. Sometimes Slack does something funny to double space " " making the plugin unable to recognize a piece of LaTeX that contains it, like $$\R $$. Plugin by Sophie Huiberts and Bento Natura (2019-2020). Option to choose $/$$/$$$ delimiters added by Nicolas Boumal (2020). Licenced under the MIT licence. katex.js is taken straight from the KaTeX project, from the url https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.js as indicated by https://katex.org/docs/browser.html auto-render.js is adapted from the KaTeX project: https://github.com/KaTeX/KaTeX/blob/master/contrib/auto-render/auto-render.js This plugin is not associated with the KaTeX project nor with Slack or Slack Technologies, Inc.

3.8 out of 54 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Giorgia TessariFeb 5, 2021

It doesn't work

1 out of 2 found this helpful
Review's profile picture

Geoffrey ZhuOct 28, 2020

Great plugin. One problem is that the recipient will need to install this plugin, too.

3 out of 4 found this helpful

Details

  • Version
    0.5.1
  • Updated
    November 30, 2020
  • Offered by
    Sophie Huiberts
  • Size
    308KiB
  • Languages
    English
  • Developer
    Email
    sophie@huiberts.me
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps