%导言区
\documentclass{article}%book,report,letter
\title{文章标题}
\author{作者}
\date{\today}
%正文(文稿区)
\begin{document}
\maketitle
Hello Word!\\
%单$数学模式,双$行间公式
Let $f(x)$ be defined by the formula $f(x)=3x^2+x-1$\\
$$f(x)=3x^2+x-1$$which is a polynomial of degree 2.\\
\end{document}
Latex源文件基本结构%导言区\documentclass{article}%book,report,letter\title{文章标题}\author{作者}\date{\today}%正文(文稿区)\begin{document} \maketitle Hello Word!\\ %单$数学模式,双$行间公式 Let $f(x)$ be defined by the formula $f(x)=3x^2+x-1$\\ $$f(x)=3x^2+x-1$$which is a po