Skip to content

Instantly share code, notes, and snippets.

@liuchengxu
Last active September 28, 2019 05:54
Show Gist options
  • Save liuchengxu/46a21d8bb9074e73bf12d8c9be5ddc66 to your computer and use it in GitHub Desktop.
Save liuchengxu/46a21d8bb9074e73bf12d8c9be5ddc66 to your computer and use it in GitHub Desktop.
\documentclass[
a4paper,
punct,
space=true,
nospace,
fancyhdr,
fntef,
UTF8,
autoindent = 2, % autoindent = ⟨true|false|数值|带单位的数值⟩
scheme=chinese % scheme = ⟨(chinese)|plain⟩
]{ctexart}
\usepackage{tex_utils} % 引入常用宏包
\title{}
\author{}
\begin{document}
\maketitle
\thispagestyle{empty}
\newpage
\cfoot{\zihao{-5}第 \ \thepage \ 页 \ 共 \ \pageref{lastpage} 页}%%%%lastpage为末页标签
\pagenumbering{arabic}%页码使用阿拉伯数字
%\setcounter{page}{0} %重新设置页码计数
\pagestyle{fancy}
\label{lastpage}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment