用 \cleardoublepage 编辑罗马数字的前言会导致出现额外的阿拉伯数字

用 \cleardoublepage 编辑罗马数字的前言会导致出现额外的阿拉伯数字

编辑

我正在用 写论文\documentclass[11pt, twoside, a4paper]{report},我希望前言部分用罗马数字。我之所以添加是\cleardoublepage因为人们说我必须这样做。这会创建一个(几乎)空白的页面。但是,此页面仍然有一个标题行和一个阿拉伯数字 2。我怎样才能将其变成完全空白的页面?我的代码是:

\documentclass[11pt, twoside, a4paper]{report}
\usepackage[inner = 30mm, outer = 20mm,  top = 30mm, bottom = 20mm]{geometry}
\usepackage[toc,page]{appendix}
\usepackage{tikz}
\usepackage{hyperref}
\usepackage{apacite}
\hypersetup{colorlinks=true, linktoc=all, allcolors=red,}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{wrapfig}
\graphicspath{ {./Figures/} }
\usepackage{gensymb}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11,
    /pgfplots/ybar legend/.style={
        /pgfplots/legend image code/.code={%
            \draw[##1,/tikz/.cd,yshift=-0.25em]
            (0cm,0cm) rectangle (3pt,0.8em);},},}
\usepackage{pgf-pie}
\usetikzlibrary{shadows}
\usetikzlibrary{arrows}
\usepackage{tcolorbox}
\usepackage{fancyhdr}
\usepackage{layouts}
%\usepackage{showframe}
\fancyfoot{}
\fancyhead{}
\fancyfoot[LE]{\thepage}
\fancyfoot[RO]{\thepage}
\fancyhead[LE]{\nouppercase{\leftmark}}
\fancyhead[RO]{\nouppercase{\rightmark}}
\pagestyle{fancy}

% Redefine the plain page style so chapter pages match my footer preference
\fancypagestyle{plain}{%
    \fancyhf{}%
    \fancyfoot[LE]{\thepage}
    \fancyfoot[RO]{\thepage}
    \renewcommand{\headrulewidth}{0pt}% Line at the header invisible
    \renewcommand{\footrulewidth}{0pt}% Line at the footer visible
    }

\begin{document}

\begin{titlepage}
\end{titlepage}
\cleardoublepage
\pagenumbering{roman}

\chapter*{Abstract}\label{ch:Abstract}
\addcontentsline{toc}{chapter}{Abstract} 

\chapter*{Acknowledgements}\label{ch:Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements} 

\chapter*{List of abbreviations}\label{ch:list of abbrev}
\addcontentsline{toc}{chapter}{List of abbreviations} 

\tableofcontents
\cleardoublepage

\chapter{Introduction}
\pagenumbering{arabic}

这些是我希望完全空白的页面: 在此处输入图片描述

在此处输入图片描述

答案1

加载emptypage

我稍微修改了你的序言,主要是注释掉无用或不可用的包(pgf-pie)并添加了设置headheight

\documentclass[11pt, twoside, a4paper]{report}
\usepackage[
  inner = 30mm,
  outer = 20mm,
  top = 30mm,
  bottom = 20mm,
  headheight = 13.6pt,
]{geometry}
\usepackage{emptypage}
\usepackage[toc,page]{appendix}
\usepackage{tikz}
\usepackage{apacite}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{wrapfig}
\graphicspath{ {./Figures/} }
%\usepackage{gensymb} % what for?
\usepackage{pgfplots}
%\usepackage{pgf-pie}
\usetikzlibrary{shadows}
\usetikzlibrary{arrows}
\usepackage{tcolorbox}
\usepackage{fancyhdr}
\usepackage{layouts} % what for?
\usepackage{hyperref}
%\usepackage{showframe}

\pgfplotsset{compat=1.11,
    /pgfplots/ybar legend/.style={
        /pgfplots/legend image code/.code={%
            \draw[##1,/tikz/.cd,yshift=-0.25em]
            (0cm,0cm) rectangle (3pt,0.8em);},},}

\hypersetup{colorlinks=true, linktoc=all, allcolors=red,}

\fancyfoot{}
\fancyhead{}
\fancyfoot[LE]{\thepage}
\fancyfoot[RO]{\thepage}
\fancyhead[LE]{\nouppercase{\leftmark}}
\fancyhead[RO]{\nouppercase{\rightmark}}
\pagestyle{fancy}

% Redefine the plain page style so chapter pages match my footer preference
\fancypagestyle{plain}{%
    \fancyhf{}%
    \fancyfoot[LE]{\thepage}
    \fancyfoot[RO]{\thepage}
    \renewcommand{\headrulewidth}{0pt}% Line at the header invisible
    \renewcommand{\footrulewidth}{0pt}% Line at the footer visible
    }

\begin{document}
\pagenumbering{Alph} % or roman
\begin{titlepage}
something
\end{titlepage}

\cleardoublepage
\pagenumbering{roman}

\chapter{Abstract}\label{ch:Abstract}
\addcontentsline{toc}{chapter}{Abstract}

Something

\chapter*{Acknowledgements}\label{ch:Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements} 

Something

\chapter*{List of abbreviations}\label{ch:list of abbrev}
\addcontentsline{toc}{chapter}{List of abbreviations} 

Something

\tableofcontents

\cleardoublepage
\pagenumbering{arabic}

\chapter{Introduction}

\end{document}

如果希望标题页为“i”,摘要为“iii”,只需更改Alphroman并删除下一\pagenumbering{roman}条指令即可。

相关内容