Skip to content

最小示例

EthanDeng edited this page Feb 28, 2019 · 3 revisions

安装之后即可使用,下面是一个示例:

\documentclass{elegantbook}

% title info
\title{Title}
\subtitle{Subtitle is here}

% bio info
\author{Your Name}
\institute{XXX University}
\date{\today}

% extra info
\version{1.00}
\equote{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}

% add preface chapter here if needed
\chapter{Example Chapter Title}
The content of chapter one.

\bibliography{reference}
\appendix

\chapter{Appendix Chapter Title}
The content of appendix 1.

\end{document}
Clone this wiki locally