I'm trying to configure TeXStudio (using Windows) with MiKTeX. I configured the path to latex.exe and pdflatex.exe in Options\Commands and still I get errors compiling any .tex.
Every command (like \title, \usepackage, \begin) produces an error: "Undefined control sequence".


