aboutsummaryrefslogtreecommitdiff
path: root/main.tex
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-01-31 11:25:24 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-01-31 11:25:24 +0800
commitf3a42eea284ac7903f24ab8e29d9d7b355496019 (patch)
tree93bbd1b8f26086d92e9eed5c975a5df0ee3dd964 /main.tex
downloadA-Peek-Into-Virtools-Scripting-f3a42eea284ac7903f24ab8e29d9d7b355496019.tar.xz
Initial commit. Preface and other basic stuff.
Diffstat (limited to 'main.tex')
-rw-r--r--main.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/main.tex b/main.tex
new file mode 100644
index 0000000..fa58631
--- /dev/null
+++ b/main.tex
@@ -0,0 +1,29 @@
+\documentclass[oneside]{book}
+\usepackage[cm]{fullpage}
+\usepackage[UTF8]{ctex}
+\usepackage{graphicx}
+\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
+\end{document}
+