SchoolWork-LaTeX/离散数学/平时作业/mypreamble.tex

40 lines
1.2 KiB
TeX
Raw Permalink Normal View History

2024-09-02 17:47:53 +08:00
\usepackage[margin=1in]{geometry}
\usepackage{amsmath}
\usepackage{amssymb, amsfonts, amstext, amsopn, amsthm}
\usepackage[outputdir=./latex-output]{minted}
\usepackage{subfiles}
\usepackage{mylatex}
\usepackage{fancyhdr}
\usepackage{zhnumber} % change chapter number to chinese
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{enumitem}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{subfig}
\usepackage{tasks}
\usepackage{appendix}
\usepackage{gbt7714}
\usepackage{totpages} % 不加这个会导致总页数出错
\fancyfoot[C]{\thepage\quad\ref{TotPages}}
\renewcommand\thesection{\thechapter.\arabic{section}}
\renewcommand \thesubsection {\arabic{subsection}}
\renewcommand{\labelenumii}{(\arabic{enumii})}
\title{《离散数学》作业}
\author{岳锦鹏}
\newcommand{\mysignature}{10213903403 岳锦鹏}
\date{2023年9月19日 —— 2023年12月31日}
\setlist[1]{listparindent=\parindent}
\setlist[2]{listparindent=\parindent}
\def\myitem#1#2{
\item \text{#1}
\begin{enumerate}
#2
\end{enumerate}
}
% \newcommand{\mycircle}[1]{\large{\textcircled{\normalsize#1}}\normalsize}
\setminted{linenos=true, breaklines=true, baselinestretch=0.85}
\bibliographystyle{gbt7714-numerical}