最近在使用 LaTeX 来编辑文档, LaTeX 要想很好的使用, 需要导入一些宏包, 下面就列出一些我经常使用的宏包.
两个宏包:fixdif, derivative
\usepackage[a4paper, total={6in, 8in}]{geometry}
%支持中文
\usepackage{ctex}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{amsthm}
\usepackage{color}
\definecolor{sumire}{RGB}{152,124,185}
\usepackage[colorlinks,linkcolor= sumire,citecolor= sumire]{hyperref}
\usepackage{gensymb}
%插入图片需要导入的宏包
\usepackage{graphicx}
\newcounter{Emp}[section]
\renewcommand{\theEmp}{\thesection.\arabic{Emp}}
\newcommand{\Ex}{\textbf{例}\refstepcounter{Emp}\textbf{\theEmp}\hspace{1em}}
\newtheorem{theorem}{\indent Theorem}[section]
\newtheorem{lemma}[theorem]{\indent Lemma}
\newtheorem{proposition}[theorem]{\indent Proposition}
\newtheorem{corollary}[theorem]{\indent Corollary}
\newtheorem{definition}{\indent Definition}[section]
\newtheorem{property}[theorem]{\indent Property}
\newtheorem{example}{\indent Example}[section]
\newtheorem{remark}{\indent Remark}[section]
\makeatletter
\renewenvironment{proof}[1][\proofname]{\par
\pushQED{\qed}%
\normalfont \topsep6\p@\@plus6\p@\relax
\trivlist
\item[\hskip\labelsep
% \itshape
#1\@addpunct{}]\ignorespaces
}{%
\popQED\endtrivlist\@endpefalse
}
\makeatother
%\renewcommand{\qedsymbol}{$\blacktriangleright$}
%\renewcommand{\proofname}{\indent $\blacktriangleleft$}
\renewcommand{\qedsymbol}{$\square$}
\renewcommand{\proofname}{\indent \textbf{Proof:}}
%\def\pgfsysdriver{pgfsys -dvipdfmx.def}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{calc}
\usepackage{subfigure}
\usepackage{parskip}
\usepackage{float}
\usetikzlibrary{chains}
\usepackage{geometry}
\geometry{a4paper,left=25mm,right=20mm,top=25mm,bottom=25mm}
\usepackage{pdfpages}
\usepackage{bm}
%\usepackage{mathrsfs}
%标题页
\renewcommand{\maketitle}{\begin{titlepage}
\includegraphics[scale = 0.4]{Images/cover/main.jpg}
\vspace{7em}
{\raggedright \Huge Boruto loves Sumire}
\vspace{3em}
{\raggedright \Large Sumire Kakei}
\end{titlepage}}
\renewcommand{\contentsname}{Contents}