1

私はラテックスを使用しています。ドキュメントクラスは本です。各章の後に、ページの頭と足があり、その上に奇妙な記号が付いたページがあり、残りは空白です。次に、このページの後に、通常の空白ページが生成されます。誰かがそのような問題に遭遇したことがありますか?この「空白でない」空白のページを削除するにはどうすればよいですか。どうもありがとうございました!

4

2 に答える 2

0

章ファイルが Unicode ではなく ANSI でエンコードされていることを確認してください。私は最近、Unicode ファイルを ANSI に変換すると消える奇妙なシンボルを生成するという個人的な経験があります。

于 2010-11-09T13:42:20.437 に答える
0

私は同様の問題を抱えていましたが、それは私が持っていたパッケージの組み合わせと、初期化コマンドが作成された順序に依存していることがわかりました。通常のヘッダーを同封します。唯一の非標準部分は、chappg が章に対して行うことを章に対して行う partpg です。

\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 に答える