What is the cause of "Latex Error: The font size command /normalsize is not defined"

Eugenia M picture Eugenia M · Oct 29, 2018 · Viewed 9.9k times · Source

I follow the instructions online to set up environment for LaTeX using Sublime text 3 and skim. However, I encountered a problem. When I try to compile the latex document shown in the picture, there are a lot of errors shown and the PDF generated is blank, i.e. without the "Introduction: ..." line.

Screenshot of ST3

And I downloaded all relevant program including latexmk.

System Check in ST3

Is there anything I can do to solve this problem?

Answer

Werner picture Werner · Oct 29, 2018

You should use

\documentclass[a4paper]{article}

not

\document[a4paper]{article}

Also, regarding the use of $$...$$ for display math, see Why is \[ ... \] preferable to $$ ... $$?