LaTeX 是一种基于 TeX 的排版系统,广泛用于生成科学和数学文档。它以其强大的排版能力和灵活性而闻名。
快速入门
安装 LaTeX
- Windows: 使用 MikTeX 或 TeX Live。
- Mac: 使用 MacTeX。
- Linux: 使用 TeX Live。
基本命令
\documentclass{article}
: 设置文档类型。\begin{document}
和\end{document}
: 包含文档内容。\section{标题}
: 创建章节。
数学公式
- 使用
$
和$
包裹数学公式。
- 使用
示例
\documentclass{article}
\begin{document}
\section{Hello World}
This is a simple LaTeX document.
\end{document}
扩展阅读
想要了解更多关于 LaTeX 的知识,可以访问我们的 LaTeX 教程。
LaTeX 公式示例