Consider this scenario, you’re learning calculus and a friend asks you to help him solve a question. But it’s an integral, so you try your best to present the question in a nice format but all you can muster up is \int_a^b f(x) , dx but your friend has no idea what hindu scripture you just wrote. BUT this bot can help you compile LaTeX code straight in your dms or on servers without an entire preamble or document structure simply delimiters such as $…$ or […].
The bot also supports Tikz packages though it is not recommended :). If you decide to use Tikz you require a full document structure.
As this is a more “educational” and utility based bot, it’ll be simple and there won’t be any ads, marketing, voting restricted features etc.
Example UseGeneral Example
/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}
To get a past message press up arrow on your keyboard ↑.
A preamble is only needed if using a Tikz package otherwise
a basic structure is added by default. However you still need
delimiters e.g. “$…$” or “\[…\]” or maybe “$$…$$”.
If using /latex remove all comments