开发者

Do not count \part{} page in latex

i do'nt want to count the page number when i use \part{},开发者_开发技巧 for example

...........
.         .
.         .
.         .
.    4    .
...........
...........
.         .
. Part I  .
.         .
.         .
...........

...........
.         .
.         .
.         .
.   5     .
...........

How can i get it?


This will decrease the page number by one:

\addtocounter{page}{-1}

This will suppress the page number on the current page: (which you can leave out if the page number currently doesn't show up)

\thispagestyle{empty}

So, you can put together your own macro (I'm calling it \mypart but name it what you like) to do all three things at once:

\newcommand{\mypart}[1]{\part{#1}\addtocounter{page}{-1}\thispagestyle{empty}}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜