This question already has an answer here:

I don't know why I'm getting

> ! Missing $ inserted.
<inserted text> 
l.11 m^
       *(E) := \inf_P m(P)

My code

\documentclass[border=1pt, convert={outext=.png}]{standalone}
m^*(E) := \inf_P m(P)

marked as duplicate by egreg errors Mar 30 at 17:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I can compile the code without problems. – user156344 Mar 30 at 16:50
  • Have used also the standalone class? – Giuliano Malatesta Mar 30 at 16:50
  • Yes. (although the error seems to be not related to standalone.) My output. – user156344 Mar 30 at 16:51
  • 2
    equation* doesn't make sense in standalone. – egreg Mar 30 at 16:55
  • My apologize, but I forgot I added varwidth option. Adding it will work. – user156344 Mar 30 at 16:59

Browse other questions tagged or ask your own question.