Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 13, 2017
1 parent e551878 commit 368092c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions template/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
% use upquote if available, for straight quotes in verbatim environments
\usepackage{titling}
\usepackage{lipsum}
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[utf8]{inputenc}
Expand Down Expand Up @@ -204,6 +206,19 @@
\renewcommand{\tablename}{表}
\renewcommand{\appendixname}{附录}

\pretitle{\begin{center}\Huge\bfseries\vskip 5em}
\posttitle{\par\end{center}\vskip 24em}
\preauthor{\begin{center}\Large\ttfamily}
\postauthor{\end{center}}
\predate{\par\large\centering}
\postdate{\par}

\title{Growth: 全栈增长工程师指南}
\author{黄峰达(Phodal) \\ \href{https://github.com/phodal/growth-ebook}{https://github.com/phodal/growth-ebook}}
\date{\today}

\maketitle

$for(include-before)$
$include-before$

Expand Down

0 comments on commit 368092c

Please sign in to comment.