From 4e84391826bb9689f07ca811541615189b3ea324 Mon Sep 17 00:00:00 2001 From: Felix Lee Date: Tue, 19 Sep 2023 20:43:31 +0800 Subject: [PATCH] remove watermark and re-design chapter* layout --- lkmpg_cn.tex | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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@%¶ } -- 2.39.5