% %后面的是注释 \xx代表指令
% 导言区
\documentclass{article}
%\usepackage{ctex}使用中文时需用ctex宏包
\title{My First Document}
\author{Qaz}
\date{\today}
% 正文区(文稿区)
\begin{document}
\maketitle %制作首页
Hello World!
% 文中公式:通过$进入“数学环境”,通过$退出“数学环境”;
% 独立公式:通过$$进入“显示数学环境”,通过$$退出“显示数学环境”,独占一行。
Let $f(x)$ be defined by the formula
$$f(x)=3x^2+x-1$$ which is a polynomial of degree 2.
\end{document}
LaTex学习笔记2017.12.25
最新推荐文章于 2021-08-05 21:09:42 发布