LaTex标准article文件框架解析


新建一个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}
% ----------------------------------------------------------------
View Code


关于宏包

LATEX 的核心只提供基本的功能,系统以宏包(package)的形式提供 附加功能或增强原有功能。

所以要引用一些功能与样式,大部分的情况下都需要确认是否已经导入相应宏包。

推荐网站:

  1. 常用的LaTex宏包
  2. 写作排版常用宏包
  3. LaTeX的一些宏包及细节知识

原文地址:https://www.cnblogs.com/huangtao36/p/7608356.html