1

我使用乳胶,文档类是书。每一章之后,都有一个页首页脚,上面还有一个奇怪的符号,其余的都是空白的。然后在这个页面之后生成一个正常的空白页面。有没有人遇到过这样的问题?我怎样才能摆脱这个“非空白”的空白页?非常感谢您和最良好的祝愿!

4

2 回答 2

0

确保您的章节文件是 ANSI 编码而不是 Unicode。我最近有 Unicode 文件生成奇怪符号的个人经验,这些符号在我将它们转换为 ANSI 后就会消失。

于 2010-11-09T13:42:20.437 回答
0

我遇到了类似的问题,发现它取决于我拥有的包的组合,以及初始化命令的顺序。我附上了我的正常标题。唯一的非标准部分是 partpg,它对章节的作用与 chappg 对章节的作用相同。

\documentclass[10pt,notitlepage]{book}%
\usepackage[a4paper,twoside,bindingoffset=0in,left=1.25in,right=1.25in,top=1in,
            b   ottom=1.5in,includemp,marginparwidth=1.25in,heightrounded,verbose]{geometry} 
\usepackage{sectsty} % Fancy section Headers.
\usepackage{fancyhdr} % Headers and footers.
\usepackage{parskip} % Paragraph layout - no indent, line space between.
\usepackage{tocbibind} % Include index, toc, and biblio in toc.
\usepackage[auto]{partpg} % Modified version of chappg to provide part-pageno type page numbering.
\usepackage{appendix} % Multiple appendix sections in multi part document.
\usepackage[style=altlist,toc=true]{glossary} % Enhanced glossary commands.
\usepackage{calc} % Provide inline calculation of variable setting.
\usepackage{color} % Colour support.
\usepackage{xifthen} % Programming commands.
\usepackage{longtable}
\input{dataTypeDef}
%----------------------------------------------------------
\fontsize{10}{12}
\partfont{\raggedright}
\settocname{Table of Contents}
\makeglossary
% There is a conflict between partpg and makeglos.
% To generate the glossary, run makeglos AFTER removing the next line.
\renewcommand{\partpgsep}{.}
\renewcommand{\glossaryname}{Glossary}
\setlength{\headheight}{13.6pt}
\pagestyle{fancy}%
{% Ensure appendices in different parts restart numbering at A each time 
\renewcommand{\restoreapp}{} 

\fancypagestyle{plain}{% Redefine style to use the relevant elements on the part pages
\fancyhfoffset[LE,RO]{\marginparsep+\marginparwidth}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0.1pt}
\fancyhead[LE,RO]{\leftmark}
\fancyfoot[LE,RO]{\thepage}}%

\makeatletter% Redefine cleardoublepage so blank pages at the end of chapters have desired header.
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
  \hbox{}
  \vspace*{\fill}
  \pagestyle{plain}
  \newpage
  \if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother

\fancyhead{}
\fancyfoot{}
于 2010-11-05T18:56:59.890 回答