% 文档类声明,用于指定文档类型,常用类包括article、report、book 等 \documentclass{article} % 导言区,用于设置全局参数、加载宏包、定义命令等 \usepackage{graphicx} % 正文区,由 \begin{document} 和 \end{document} 包裹,包含文本、公式、图表等。 \begin{document} % 设置标题、作者等 \title{test} \author{Hua Li} \date{October 2025} % 生成标题 \maketitle % 普通句子 1. Fireheart shivered. His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this. % 注释后半部分 2. Fireheart shivered. % His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this. % 有缩进 \indent 3. Fireheart shivered. His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this. % 无缩进 \noindent 4. Fireheart shivered. His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this. % 加粗 \textbf{5. Fireheart shivered. His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this.} % 斜体 \textit{6. Fireheart shivered. His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this.} % 换行 7. Fireheart shivered. \\ His flame-colored fur wasstill greenleaf-light; it would be a few moons before it was thick enough to keep out cold like this. % 字号 8. {\tiny aa} {\small bb} {\large cc} \end{document}