%开头,相当于LaTeX模板,可以调用相应的字体字号等参数作为排版的依据
\documentclass{article}%常见的参数有:article:文章 book:书籍; Report:报告 letter:信件 中文文章:ctexart
%宏包,类似于C中的头文件
\usepackage{amsmath}%为了方便输入数学公式,这里使用的是美国数学学会的宏包
%以上为导言区
%以下为正文区
\begin{document}
The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
%以下是一段,必须用空行来分割段落!
The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
%对于特殊的字符:
\% %在文章中输入:百分号
\$ %在文章中输入:$
\{ \} %输入大括号
$\backslash$ %在文章中输入:反斜杠符号
%对于数学公式
$$ a^2 + b^2 = c $$ %用两个“$$”来表示行间公式,它会居中对齐
%用一个“$”来表示行内的数学符号
This is a inline formula $a^2 + b^2 = c$ The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
\end{document}
%后面部分不会参加编译
【WinEdt学习笔记】第一课
最新推荐文章于 2022-04-08 12:14:00 发布