论文写作常用的平台包括 Markdown, Word, LaTeX
LaTeX:一种结构化的解释编程语言,主要用于数学等学术论文排版
latex 编译的语言, markdown 解释的语言
Overleaf 是 LaTeX 语言的在线编译平台
打下第一行latex
环境 ENV, environment \begin{document}\end{document}
\begin{env}
text
\begin{env1}
\end{env1}
\end{env}
命令 CMD, command \textbf{bold font}, \section{section1}
\cmd{text}
{} 包含必须参数,[] 包含可变参数,必须参数必须有,可变参数可以没有
Preamble 脚本要运行在环境当中
.tex\documentclass{article} — .cls — 主文档调用的一个体例函数\usepackage{geometry} — .sty 宏包 macro package\usepackage{ctex}/\documentclass{ctexart}CJK 宏包对中文字体的支持比较麻烦,已经不再推荐使用。 xeCJK以及luatexja宏包在CJK基础上封装了对汉字排版细节的处理功能。 Ctex宏包和文档类进一步封装了CJK、xeCJK、luatexja… xeCJK还进一步封装了 fontspec 宏包,总之Ctex宏包足够支撑所有中文应用LaTeX, pdflatex, Xelatex的区别
LaTeX 多次编译的原因
\section, \subsection, \subsubsection\\ 表示换行, 空行 表示的换段enumerate, itemize\clearpage