remove pagestyles from titlesec pkg and set parindent for lang=cn

This commit is contained in:
EthanDeng
2019-09-23 19:51:06 +08:00
parent b8c165a6b7
commit ce8c1d582d
4 changed files with 59 additions and 12 deletions

28
ceshi.tex Normal file
View File

@@ -0,0 +1,28 @@
\documentclass[cn,11pt,onecol,color=black]{elegantbook}
% \usepackage{titlesec}
\usepackage{float}
\makeatletter
\@addtoreset{chapter}{part}
\makeatother
\renewcommand{\thetable}{\arabic{table}}
\title{ElegantBook优美的 \LaTeX{} 书籍模板}
\subtitle{Elegant\LaTeX{} 经典之作}
\author{Ethan Deng \& Liam Huang}
\institute{Elegant\LaTeX{} Program}
\date{\today}
\version{3.09}
\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}
\logo{logo.png}
\cover{cover.jpg}
\begin{document}
\maketitle
\tableofcontents
\mainmatter
\hypersetup{pageanchor=true}
\part{1部分}
\chapter{章1}
\chapter{章2}
\part{2部分}
\chapter{章3}
\chapter{章1}
\end{document}