SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2.01k stars 364 forks source link

Udefined control sequence when using \begin{equation} #1433

Closed Kaasstengel closed 4 years ago

Kaasstengel commented 4 years ago

I am trying to compile an equation in my text. it looks like this \begin{equation} \frac{\deltaT}{\deltat}=\alpha\frac{\delta^{2}T}{\deltat^{2}} \end{equation}
However I get the errors: Undefined control sequence. [\frac{\deltaT}{\deltat}] Undefined control sequence. [\frac{\deltaT}{\deltat}] Undefined control sequence. [...tat}=\alpha\frac{\delta^{2}T}{\deltat^{2}}]

as if amsmath is not imported correctly or something like that. Or am I just completely fluffing the syntax?

thanks for your input

Kaasstengel commented 4 years ago

My mistake: I think sharelatex and overleaf are more lenient to spacing errors. Typing the equations like this: \frac {\delta T} {\delta t} = \alpha \frac {\delta^{2} T} {\delta t^{2}} solved the issue