Following code renders completely fine but I still get the infuriating "missing $ inserted" error at line 6 and 12. I've got no idea where the problem lies.
Here's the code:
\documentclass[]{standalone}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
$$
\begin{cases}
F&=ma \\
F&=Eq
\end{cases}
$$
\end{document}
Thanks in advance!
varwidthclass option:\documentclass[varwidth]{standalone}– samcarter_is_at_topanswers.xyz Aug 10 '23 at 14:03F&=madoes not really make sense in acasesenv. In this env each row is of the formformula & condition, it is not meant for alignment like inalign– daleif Aug 10 '23 at 14:07