Render LaTeX in Slack chat.

Latest Version

Version
0.5.1
Update
November 30, 2020
Size
308KiB
Developer
Category
Users
3,000+
Rating
3.75 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

LaTeX in Slack Extension

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 \
ewline. 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/[email protected]/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.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "content_scripts": [ { "all_frames": true, "js": [ "content.js" ], "matches": [ "*://*.slack.com/*" ] } ], "description": "Render LaTeX in Slack chat.", "manifest_version": 2, "name": "LaTeX in Slack", "short_name": "latex-slack", "options_ui": { "page": "options.html", "open_in_tab": false }, "browser_specific_settings" : { "gecko": { "id": {344e6ebd-84a3-422d-8460-b954d1bc6bf8} } }, "permissions": [ "storage" ], "version": "0.5.1", "icons": { "32": "icon32.png", "48": "icon48.png", "128": "icon128.png" }}
Read more

How to download and manually install LaTeX in Slack extension for Chrome

Looking for a way to install LaTeX in Slack extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install LaTeX in Slack extensions manually, this article outlines two simple methods to effortlessly install LaTeX in Slack extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download LaTeX in Slack extension and manually install through Drag &Drop

If you ever need to manually install a LaTeX in Slack extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the LaTeX in Slack Extension by clicking the "Download CRX" button on the website.

Look for the LaTeX in Slack extension you wish to install. Go to the website and download the LaTeX in Slack extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for LaTeX in Slack extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the LaTeX in Slack extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download LaTeX in Slack extension for Chrome and install in Developer Mode

This is another method to install LaTeX in Slack extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the LaTeX in Slack extension file

Select and download the LaTeX in Slack extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the LaTeX in Slack extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your LaTeX in Slack extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the LaTeX in Slack extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install LaTeX in Slack extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

TeX All the Things Extension · Productivity 3,000+ 102 ★ 70.04KiB

icon

Math Anywhere Extension · Productivity 3,000+ 66 ★ 26.87KiB

icon

QuickTeX Extension · Productivity 3,000+ 6 ★ 1.55MiB

icon

math-with-slackb Extension · Productivity 3,000+ 0 ★ 3.59KiB

icon

Google Scholar PDF Reader Extension · Productivity 3,000+ 373 ★ 3.22MiB

icon

MathJax Plugin for Github Extension · Developer Tools 3,000+ 47 ★ 796KiB

icon

Markdown Here Extension · Productivity 3,000+ 367 ★ 534KiB

icon

Writefull for Overleaf Extension · Productivity 3,000+ 127 ★ 918KiB

icon

Latex Math Extension · Productivity 3,000+ 2 ★ 7.46MiB

icon

TeX Math Here Extension · Productivity 3,000+ 1 ★ 114KiB

icon

LaTeX Editor Extension · Productivity 3,000+ 5 ★ 7.99MiB

icon

Wikipedia with MathJax Extension · Productivity 3,000+ 57 ★ 47.86KiB

icon

TeX for Gmail Extension · Productivity 3,000+ 358 ★ 154KiB

icon

KaTeX Extenstions Extension · Accessibility 3,000+ 0 ★ 44.23KiB

icon

Paperpile Extension Extension · Productivity 3,000+ 184 ★ 9.25MiB

icon

Mathpix Snip Extension · Productivity 3,000+ 19 ★ 1.96MiB

icon

Overleaf textarea Extension · Productivity 3,000+ 110 ★ 75.91KiB

icon

LaTeX in Discord Extension · Social & Communication 3,000+ 5 ★ 1.31MiB

icon

ChatGPT Equation Renderer Extension · Productivity 3,000+ 27 ★ 167KiB

icon

MathJax 3 Plugin for Github Extension · Developer Tools 3,000+ 6 ★ 2.05MiB

icon

QuickLaTex Extension · Productivity 3,000+ 1 ★ 597KiB

icon

ViewTeX Extension · Productivity 3,000+ 6 ★ 501KiB

icon

Latex Math Equations for Google Chrome™ Extension · Productivity 3,000+ 50 ★ 808KiB

User reviews

icon

Giorgia Tessari (ID: 000000b14170ab86) Voted 1 ★ - Updated 02/05/2021 It doesn't work

icon

Geoffrey Zhu (ID: 000000f146f0346d) Voted 4 ★ - Updated 10/28/2020 Great plugin. One problem is that the recipient will need to install this plugin, too.