📄 00000004.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: energy (长白山), 信区: Linux <BR>标 题: scrbook.cls也改得差不多了 <BR>发信站: BBS 水木清华站 (Wed Dec 1 03:24:12 1999) <BR> <BR>干了两个多小时, 把scrbook的模板改了改. 好麻烦. <BR>虽然已经象个样子了, 不过一些细微之处, 如各处的间隔等等, 还不规范. <BR>不过总算可以用CJK+TeX写论文了. 下面是些记录, 哪位大虾能帮忙继续? <BR> <BR>1. 章标题中间对齐 <BR>scrbook.cls <BR>\def\@makechapterhead#1{\chapterheadstartvskip% <BR> {\size@chapter{\sectfont <BR> \@hangfrom{\ifnum \c@secnumdepth >\m@ne% <BR> \if@mainmatter \chapterformat\fi\fi}% <BR> {\raggedsection \interlinepenalty \@M #1\par}} <BR> \nobreak\chapterheadendvskip <BR> }} <BR>==> <BR>\def\@makechapterhead#1{\chapterheadstartvskip% <BR> {\size@chapter{\sectfont\centering <BR> \@hangfrom{\ifnum \c@secnumdepth >\m@ne% <BR> \if@mainmatter \chapterformat\fi\fi}% <BR> {\interlinepenalty \@M #1\par}} <BR> \nobreak\chapterheadendvskip <BR> }} <BR> <BR>2. section加\S <BR>scrbook.cls <BR>\renewcommand*\thesection {\thechapter.\@arabic\c@section} <BR>==> <BR>\renewcommand*\thesection {\S\thechapter.\@arabic\c@section} <BR> <BR>3. 目录居中 <BR>scrbook.cls <BR> \chapter*{\contentsname <BR> \@mkboth{\contentsname}{\contentsname}}% <BR>==> <BR> \chapter*{\centering \contentsname <BR> \@mkboth{\contentsname}{\contentsname}}% <BR> <BR>4. 节居中 <BR> {\raggedsection\normalfont\size@section\sectfont}} <BR>==> <BR> {\centering\normalfont\size@section\sectfont}} <BR> <BR>5. 正文章标题格式 <BR>gb.cap <BR>\newcommand\prechaptername{第} <BR>\newcommand\postchaptername{章} <BR>\renewcommand\chapterformat{\prechaptername\CJKnumber{\value{chapter}}\postchaptername\quad} <BR> <BR>6. 首行缩进 <BR>gb.cap <BR>\def\@afterheading{% <BR> \@nobreaktrue <BR> \everypar{% <BR> \if@nobreak <BR> \@nobreakfalse <BR> \clubpenalty \@M <BR>%org \if@afterindent \else <BR>%org {\setbox\z@\lastbox}% <BR>%org \fi <BR> \else <BR> \clubpenalty \@clubpenalty <BR> \everypar{}% <BR> \fi}} <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.192.242.206] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -