z*****n 发帖数: 7639 | 1 根据要求,我得用book格式写个report。但是章节开始页
要用这个格式:
1. (my chapter title)
1.1 (my section title)
在book.sty里面的default设置是这样的:
Chapter 1
(my chapter title)
在book.cls里面,it is writen so
\def\@makechapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\huge\bfseries \@chapapp\space \thechapter
\par\nobreak
\vskip 20\p@
\fi
\fi
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 40\p@
| h***n 发帖数: 36 | 2 what you need is to change the format of chapter counter, search "latex
counter" with google, or check the topic if you have a latex reference handy.
I don't remember the exact stuff.
【在 z*****n 的大作中提到】 : 根据要求,我得用book格式写个report。但是章节开始页 : 要用这个格式: : 1. (my chapter title) : 1.1 (my section title) : 在book.sty里面的default设置是这样的: : Chapter 1 : (my chapter title) : 在book.cls里面,it is writen so : \def\@makechapterhead#1{% : \vspace*{50\p@}%
| T*******n 发帖数: 493 | 3 I'm travelling right now so I don't have access to reference books,
but take a look at book.cls or report.cls to find the definitions
for \section, \subsection, \subsubsection, \paragraph, and
\subparagraph. If I remember correctly, these all use the
\@startsection command, which is explained in The LaTeX Companion
book by the LaTeX developers. You can try doing the following:
\renewcommand{\chapter}{%
\clearpage
\@startsection{...}...%
}
The level number for chapter should be 0 (1 for sec
【在 z*****n 的大作中提到】 : 根据要求,我得用book格式写个report。但是章节开始页 : 要用这个格式: : 1. (my chapter title) : 1.1 (my section title) : 在book.sty里面的default设置是这样的: : Chapter 1 : (my chapter title) : 在book.cls里面,it is writen so : \def\@makechapterhead#1{% : \vspace*{50\p@}%
|
|