aboutsummaryrefslogtreecommitdiff
path: root/main.tex
blob: cccf28c214839eeb5cdb198f9be48ec68bca0227 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
\documentclass[oneside]{book}
\usepackage[cm]{fullpage}
\usepackage[UTF8]{ctex}
\usepackage{graphicx}
\usepackage{framed}
\usepackage[pdfborder={0 0 0}]{hyperref}
\setcounter{chapter}{-1}

\title{Virtools 脚本指南\\ \large 一个面向 Ballance 玩家的介绍}
\author{Chris Xiong}
\begin{document}
\begin{titlepage}
	\makeatletter
	\centering
	\vspace*{3cm}
	{\huge \@title \par}
	\vspace{1cm}
	{\@author}
	\vfill
	{本书全部内容皆采用 CC BY-SA 4.0 协议授权。\par}
	\def\padd#1{\ifnum #1<10 0\fi\the#1}
	{生成日期:\the\year-\padd\month-\padd\day}
	\vfill
\end{titlepage}
\renewcommand{\contentsname}{目录}
\tableofcontents
\input preface.tex
\input chapter0/chap0.tex
\input chapter1/chap1.tex
\input chapter2/chap2.tex
\input chapter3/chap3.tex
\end{document}