Skip to content

Commit

Permalink
template cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghuix committed Oct 5, 2016
1 parent a39e5c7 commit be0988c
Showing 1 changed file with 5 additions and 40 deletions.
45 changes: 5 additions & 40 deletions pdf/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@
\settowidth{\parindent}{文字}
\setcounter{footnote}{1}

\title{{自由软件,自由社会(第三版)}}
\title{\huge{\textbf{自由软件,自由社会}}\\
(第三版)}

\makeatletter
\let\savedauthor=\@author
Expand All @@ -241,52 +242,16 @@
\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

Expand Down

0 comments on commit be0988c

Please sign in to comment.