t********4 发帖数: 14 | 1 roman的部分,一页有显示,下一月就没了,然后重复这样,
到了chapter,页码有counting,因为在contents里可以看见,但是在footer里,只有
每个chapter的第一页有显示,这是什么问题嘞,谢谢啦先 | T*******n 发帖数: 493 | 2 Do all the pages that show page numbers begin a new chapter-level
part of the document, i.e., the first page of "Abstract", "TOC", "LOF",
etc. have page numbers, but the second and subsequent pages don't
have page numbers?
Or do you mean that all the odd pages show page numbers, and the
even pages don't?
You also need to say what documentclass you are using, and whether
you are using some package that changes the page numbering
behavior.
I have an idea what could be wrong, but prefer not to have
【在 t********4 的大作中提到】 : roman的部分,一页有显示,下一月就没了,然后重复这样, : 到了chapter,页码有counting,因为在contents里可以看见,但是在footer里,只有 : 每个chapter的第一页有显示,这是什么问题嘞,谢谢啦先
| t********4 发帖数: 14 | 3 前面roman的很不规则,abstract有ii,TOC就没有,acknowledge又有了 ,LOF又没了
,然后下面的chapter,chaper1,2,4,5,6,7,reference,appendix的首页都有,
然后其他的页面就没了,至于哪些package可以影响到,我就不知道了,template的sty
我没碰,我所加的package就是\usepackage{array},
\usepackage{graphicx},\usepackage{amsmath},\usepackage{subfigure},\
usepackage{verbatim,
\documentclass[setspace,oneside,a4paper]{StyleFiles/jthesis-v1},基本就这样
恩,也没google到任何类似的问题,奇怪 | T*******n 发帖数: 493 | 4 Do you use the command \pagestyle{...} anywhere in your file, or does
\pagestyle{...} appear anywhere in the jthesis-v1.cls file?
My guess: There is a \pagestyle{empty} somewhere in the input files
that is setting the default page formatting to be without page numbers.
However, hidden inside the \chapter and \chapter* commands are calls
to \thispagestyle{plain}. So by default, most of your pages have no
page number (the "empty" page style), and the pages where \chapter
and \chapter* are execut
【在 t********4 的大作中提到】 : 前面roman的很不规则,abstract有ii,TOC就没有,acknowledge又有了 ,LOF又没了 : ,然后下面的chapter,chaper1,2,4,5,6,7,reference,appendix的首页都有, : 然后其他的页面就没了,至于哪些package可以影响到,我就不知道了,template的sty : 我没碰,我所加的package就是\usepackage{array}, : \usepackage{graphicx},\usepackage{amsmath},\usepackage{subfigure},\ : usepackage{verbatim, : \documentclass[setspace,oneside,a4paper]{StyleFiles/jthesis-v1},基本就这样 : 恩,也没google到任何类似的问题,奇怪
| t********4 发帖数: 14 | 5 % abstract
\renewcommand{\abstract}[1]{
\setboolean{chapteronrhs}{false}
\chapter*{\abstractname}
\setboolean{chapteronrhs}{true}
\thispagestyle{empty}
#1
}
这个是对地
然后
% roman numbering until \startchapters issued
\pagenumbering{roman}
% user defined headings
\pagestyle{fancy}
这个是chapter之前的
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
% command to ensure on a right hand page but use blank left page
% rather than one with he |
|