From be0988c28cf4c21053e8adfdb9f08a3c46fe4255 Mon Sep 17 00:00:00 2001 From: Tong Hui Date: Wed, 5 Oct 2016 22:21:37 +0800 Subject: template cleanup --- pdf/template.tex | 45 +++++---------------------------------------- 1 file changed, 5 insertions(+), 40 deletions(-) diff --git a/pdf/template.tex b/pdf/template.tex index 762383b..4756b19 100644 --- a/pdf/template.tex +++ b/pdf/template.tex @@ -231,7 +231,8 @@ framexleftmargin=20pt \settowidth{\parindent}{文字} \setcounter{footnote}{1} -\title{{自由软件,自由社会(第三版)}} +\title{\huge{\textbf{自由软件,自由社会}}\\ +(第三版)} \makeatletter \let\savedauthor=\@author @@ -241,52 +242,16 @@ framexleftmargin=20pt \else\Gin@nat@width\fi} \makeatother -\title{\huge{\savedtitle}} +\title{{\savedtitle}} -\author{\textbf{[美] Richard .M Stallman 著,北京 GNU/Linux 用户组协力翻译}\thanks{本书基于 GNU 自由文档协议 1.3 版 (GNU Free Documentation License 1.3) 授权发布,可自由复制和分发,和/或基于 GNU 自由文档协议 1.3 版或自由软件基金会发布的更高版本,做出修改。本书使用 Markdown 书写,源码地址:\url{https://github.com/beijinglug/fsfs-zh/}。}} +\author{\textbf{[美] Richard .M Stallman 著}\\ + \textbf{北京 GNU/Linux 用户组协力翻译}\thanks{本书基于 GNU 自由文档协议 1.3 版 (GNU Free Documentation License 1.3) 授权发布,可自由复制和分发,和/或基于 GNU 自由文档协议 1.3 版或自由软件基金会发布的更高版本,做出修改。本书使用 Markdown 书写,源码地址:\url{https://github.com/beijinglug/fsfs-zh/}。}} \def\w3cdtfymd{\the\year-\ifnum\month<10 0\fi\the\month-\ifnum\day<10 0\fi\the\day} \date{\w3cdtfymd} \newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} \let\PBS=\PreserveBackslash -%\makeatletter -% \setlength\headheight{12\p@} -% \setlength\headsep {.25in} -% \setlength\topskip {10\p@} -% \setlength\footskip{.15in} -% \setlength\textwidth{400\p@} - -% \setlength\@tempdima{\paperheight} -% \addtolength\@tempdima{0.2in} -% \divide\@tempdima\baselineskip -% \@tempcnta=\@tempdima -% \setlength\textheight{\@tempcnta\baselineskip} -% \addtolength\textheight{\topskip} - -% \setlength\@tempdima {\paperwidth} -% \addtolength\@tempdima {-\textwidth} -% \setlength\oddsidemargin {\paperwidth} -% \addtolength\oddsidemargin {0.35in} -% \addtolength\oddsidemargin {-\textwidth} -% \setlength\marginparwidth {0pt} -% \@settopoint\oddsidemargin -% \@settopoint\marginparwidth -% \setlength\evensidemargin {\paperwidth} -% \addtolength\evensidemargin{0.35in} -% \addtolength\evensidemargin{-\textwidth} -% \@settopoint\evensidemargin - -% \setlength\topmargin{\paperheight} -% \addtolength\topmargin{-0.2in} -% \addtolength\topmargin{-\headheight} -% \addtolength\topmargin{-\headsep} -% \addtolength\topmargin{-\textheight} -% \addtolength\topmargin{-\footskip} % this might be wrong! -% \addtolength\topmargin{-.5\topmargin} -% \@settopoint\topmargin -% \@addtoreset{footnote}{page} -%\makeatother \fancypagestyle{plain}{\fancyhf{}\fancyfoot{}} % make sure no page number in page of first chapter -- cgit v1.2.3