Consider this scenario: you’re learning calculus and a friend asks for help. It’s an integral, so you try your best to type it out, but all you can muster up is \int_a^b f(x) \, dx. Your friend has no idea what secret code you just wrote.
LaTeX-Bot fixes this. It compiles LaTeX code straight in your DMs or on your servers without requiring an entire preamble or document structure. Simply use standard delimiters like $...$ or \[...\] and let the bot do the rest.
Built specifically for study servers, class groups, and anyone tired of math getting lost in plain text!
Why Add LaTeX-Bot?As a utility and educational bot, it is designed to be simple, fast, and completely free of annoying ads or vote-locked features.
- Lightning Fast: Reliable rendering for both quick inline math and full document/TikZ snippets without hanging.
- Works Everywhere: Fully supported in public servers, private channels, and direct messages.
- No Preamble Needed: For standard math, the bot adds a basic structure automatically. (A preamble is only needed if you are using specific TikZ packages).
- Edit on Error: Messed up your formula? Just click the built-in “Fix Code” button instead of retyping everything!
- AI Study Buddy: Includes an optional
/talk-to-mecommand powered by Google’s Gemini ecosystem to help answer your questions.
| Command | Description |
|---|---|
/latex <latex_code> [dpi] |
Render LaTeX into a clean PNG image. |
/help |
Show command and usage guidance. |
/talk-to-me <message> |
Chat with the integrated AI assistant. |
/clear-history |
Clear your chat history used by /talk-to-me. |
/ping |
Check the bot’s health and latency. |
latex <latex_code> |
Legacy message-based render command for servers. |
- Fast Editing: To quickly fix a past message, press the up arrow (
↑) on your keyboard. - Remove Comments: If using the
/latexcommand, be sure to remove all%comments from your code before sending.
/latex \[ \hat{f}(\xi) = \int_{-\infty}^\infty f(x) e^{-2\pi i \xi x} \, dx \]
Tikz Example
latex
\documentclass[border=1mm]{standalone}
\usepackage{tikz}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[scale=1.5,>=stealth]
\draw[->] (-0.5,0) -- (3,0) node[right] {$x$};
\draw[->] (0,-0.5) -- (0,3) node[above] {$y$};
\draw[thick, blue] (0,0) -- (2.5,1.5) node[above right] {$\mathbf{v}$};
\draw[thick, red] (0,0) -- (2,1.2) node[below right] {$\text{proj}_{\mathbf{u}} \mathbf{v}$};
\draw[dashed] (2,1.2) -- (2.5,1.5);
\draw[dashed] (2,1.2) -- (2,0);
\draw[thick] (0,0) -- (2,1.2) node[midway, below left] {$\mathbf{u}$};
\draw[fill] (2,1.2) circle (1pt);
\draw[fill] (2.5,1.5) circle (1pt);
\end{tikzpicture}
\end{document}