My code:
\begin{document}
\begin{equation}
2*x+y
\end{equation}
\end{document}
I found that F2 can compile as LaTeX. Compile result:
Process started
Process exited with error(s)
How to fixed and preview it?
|
|
F2 in TeXmaker is a shortcut. What it runs is seen in the 'Tools' menu. By default it runs 'LaTeX' but for this to compile correctly you would need your equation to be part of a complete, albeit minimal, .tex file. For example,
compiles without errors and should produce a .dvi file. You may, as usual, wish to add additional packages (e.g. |
|||||||
|
|
In LaTeX, the |
|||
|