From: Felix Lee Date: Tue, 19 Sep 2023 12:43:31 +0000 (+0800) Subject: remove watermark and re-design chapter* layout X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=4e84391826bb9689f07ca811541615189b3ea324;p=lkmpgcn remove watermark and re-design chapter* layout --- diff --git a/lkmpg_cn.tex b/lkmpg_cn.tex index 163cb25..b07d877 100644 --- a/lkmpg_cn.tex +++ b/lkmpg_cn.tex @@ -50,7 +50,7 @@ Jim Huang, Felix Lee} \date{2023年9月14日} \title{Linux内核模块编程指南} %% -\renewcommand{\contentsname}{\begin{center}目 录\end{center}} +\renewcommand{\contentsname}{目 录} \renewcommand{\chaptername}{章} \renewcommand{\figurename}{图} \linespread{1.2} @@ -78,16 +78,17 @@ Jim Huang, Felix Lee} \nointerlineskip\raggedright%¶ \fboxsep=\myhi% \vskip-1ex% - \colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%¶ + \colorbox[gray]{.90}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%¶ \vskip 40\p@%¶ } \renewcommand{\DOTIS}[1]{%¶ \fboxsep=0pt - \colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\% + %\colorbox[gray]{.90}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\% \nointerlineskip\raggedright% \fboxsep=\myhi% - \colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak% + \colorbox[gray]{.90}{\parbox[t]{\mylen}{\CTV\FmTi{\begin{center}#1\end{center}}}}\par\nobreak% + %%% \colorbox[gray]{.90}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak% \vskip 40\p@%¶ }