新建一個LaTex-Article文件
生成的文件框架代碼

% ---------------------------------------------------------------- % Article Class (This is a LaTeX2e document) ******************** % ---------------------------------------------------------------- \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{amsmath,amsthm} \usepackage{amsfonts} % THEOREMS ------------------------------------------------------- \newtheorem{thm}{Theorem}[section] \newtheorem{cor}[thm]{Corollary} \newtheorem{lem}[thm]{Lemma} \newtheorem{prop}[thm]{Proposition} \theoremstyle{definition} \newtheorem{defn}[thm]{Definition} \theoremstyle{remark} \newtheorem{rem}[thm]{Remark} \numberwithin{equation}{section} % ---------------------------------------------------------------- \begin{document} \title[]{}% \author{}% \address{}% \thanks{}% \date{}% % ---------------------------------------------------------------- \begin{abstract} \end{abstract} \maketitle % ---------------------------------------------------------------- \section{} \end{document} % ----------------------------------------------------------------
關於宏包
LATEX 的核心只提供基本的功能,系統以宏包(package)的形式提供 附加功能或增強原有功能。
所以要引用一些功能與樣式,大部分的情況下都需要確認是否已經導入相應宏包。
推薦網站: