After writing, shift+enter runs to display the formula, and double-click the formula to return to the editing state.
The formulas at the beginning and end of a single dollar symbol are only smaller in font size, and there is no difference in others.
The following are some common latex formula symbol specifications:
More examples
end