Try $$ for inline math