在封面之后、标题页和书本之前添加未编号的空白页

在封面之后、标题页和书本之前添加未编号的空白页

封面之后[临时图像 A],我想得到一个空白页(不会编号,也不会计入总页数),然后是书的标题页[临时图像 B](应编号为“i”),紧接着是目录(二)很多(三)等等。

请记住,我把这本书变成了单面的。我尝试过将双面论证局部化,以在封面之后得到空白页,但失败了。

感谢您的帮助。

% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[oneside,centered,twocolumn]{book}
%\usepackage[T1]{fontenc}
\special{papersize=215.9mm,279.4mm}
\usepackage[english]{babel}

\usepackage[sc]{mathpazo}
\linespread{1.05} % Palladio needs more leading (space between lines)

\usepackage{tocloft} % Customization of TOC LOF LOT

\makeatletter\@addtoreset{chapter}{part}\makeatother%

\usepackage{eso-pic}
\usepackage{blindtext}

%\usepackage{epigraph}
%\usepackage{caption} % To change the way captions are labelled
\usepackage{pdfpages}
\usepackage{ltablex}
\usepackage{nicefrac} % to write fractions
\usepackage{attrib} % For source of quotations
\usepackage{lettrine} % For NewThought formatting
\usepackage{array} % To define width of columns in long table
\usepackage{booktabs} % Nicer spacing in columns
\usepackage{siunitx} % To write Celsius, etc.
\usepackage{enumitem} % To create item lists
\usepackage[rightmargin=0pt]{quoting}
\usepackage{threeparttablex}
\appto\TPTnoteSettings{\footnotesize}
\usepackage{textcomp} % For Numero symbol
\usepackage{titlesec}

\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{titling}
\usepackage{fancyhdr}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella} % Palatino clone

\usepackage[
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=teal,
urlcolor=teal
]{hyperref} % Hyperlinks

\newlength{\drop}

\begin{document}

    \onecolumn
    \includepdf{example-image-a}

    \begin{titlepage}
        \drop=0.1\textheight
        \centering
        \includegraphics[width=0.7\linewidth]{example-image-b}\\[8ex]
            \LARGE{TITLE PAGE OF THE BOOK}
    \end{titlepage}
    \twocolumn

    \cleardoublepage

    \frontmatter
    {
        \hypersetup{linkcolor=teal}\textbf{}
        \renewcommand{\cftdot}{} % Removes dots for Sections and under
        \tableofcontents
    }
    \clearpage

    \addcontentsline{toc}{section}{\listtablename}
    \listoftables
    \clearpage

\onecolumn
\thispagestyle{plain} % To not have "List of Tables appear" at the top of the "Preface" page
\section{Preface}
\Blindtext
\clearpage

\thispagestyle{plain} % To not have "List of Tables appear" at the top of the "Preface" page
\section{Introduction}
\Blindtext
\twocolumn

\clearpage

\begin{table}[h!]
    \begin{center}
        \caption{Table.}
        \label{tab:table1}
        \begin{tabular}{l|c|r} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between
            \textbf{Value 1} & \textbf{Value 3}\\
            A & B \\
            \hline
            1 & 2 \\
        \end{tabular}
    \end{center}
\end{table}

\Blinddocument

\end{document}

答案1

好吧,你的代码中存在一些问题,例如,你加载fonspec但也使用了\usepackage[sc]{mathpazo}。为什么使用\special{papersize=215.9mm,279.4mm}而不是打包geometry?你真的需要所有那些所谓的包吗?只使用那些你确切知道它们在做什么的包...

对于您的问题,只需添加以下代码片段:

\clearpage
~
\thispagestyle{empty}
\clearpage

\clearpage开始新的一页并\thispagestyle{empty}确保没有打印页眉和页脚。

要删除标题页后的空白页,请注释掉这两个命令\twocolumn,然后在...\clearpage 之后。\end{titlepage}

请参阅以下缩短的 LaTeX 代码:

\documentclass[oneside,centered,twocolumn]{book}

%\usepackage[T1]{fontenc}
\special{papersize=215.9mm,279.4mm}
\usepackage[english]{babel}

%\usepackage[sc]{mathpazo}
\linespread{1.05} % Palladio needs more leading (space between lines)

\usepackage{tocloft} % Customization of TOC LOF LOT

\makeatletter\@addtoreset{chapter}{part}\makeatother%

\usepackage{blindtext}

\usepackage{pdfpages}
\usepackage{titlesec}
\usepackage{titling}
\usepackage{fancyhdr}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella} % Palatino clone

\usepackage[
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=teal,
urlcolor=teal
]{hyperref} % Hyperlinks

\newlength{\drop}

\begin{document}

\onecolumn
\includepdf{example-image-a}
\clearpage % <==========================================================
~
\thispagestyle{empty}
\clearpage % <==========================================================
    \begin{titlepage}
        \drop=0.1\textheight
        \centering
        \includegraphics[width=0.7\linewidth]{example-image-b}\\[8ex]
            \LARGE{TITLE PAGE OF THE BOOK}
    \end{titlepage}
    %\twocolumn % <===============================================

    %\cleardoublepage % <=========================================

    \frontmatter
    {
        \hypersetup{linkcolor=teal}\textbf{}
        \renewcommand{\cftdot}{} % Removes dots for Sections and under
        \tableofcontents
    }
    \clearpage

    \addcontentsline{toc}{section}{\listtablename}
    \listoftables
    \clearpage

\onecolumn
\thispagestyle{plain} % To not have "List of Tables appear" at the top of the "Preface" page
\section{Preface}
\Blindtext
\clearpage

\thispagestyle{plain} % To not have "List of Tables appear" at the top of the "Preface" page
\section{Introduction}
\Blindtext
\twocolumn

\clearpage

\begin{table}[h!]
    \begin{center}
        \caption{Table.}
        \label{tab:table1}
        \begin{tabular}{l|c|r} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between
            \textbf{Value 1} & \textbf{Value 3}\\
            A & B \\
            \hline
            1 & 2 \\
        \end{tabular}
    \end{center}
\end{table}

\Blinddocument

\end{document}

并查看其结果:

生成的 pdf

第 3 页和第 4 页:

在此处输入图片描述

相关内容