我正在处理一本书稿,其中有一个主文档,该文档从单独的文档中导入章节。主文档类是回忆录。
使用\frontmatter
和时\mainmatter
,这些命令会生成带有文本“figurechapter tablechapter”的页面。当我删除\frontmatter
和\mainmatter
命令时,这些页面就会消失。
有人知道问题可能是什么吗?
谢谢。
以下是该文档的简化版本:
\documentclass[12pt, openany]{memoir}
\def\setdocauthor#1{\def\docauthor{#1}}
\def\setdoctitle#1{\def\doctitle{#1}}
\setdocauthor{Author}
\setdoctitle{Title}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage{anyfontsize}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage[shortlabels]{enumitem}
\usepackage[shorthands=off, french, german, italian, latin, british]{babel}
\usepackage[strict]{csquotes}
\let\qq\enquote
\usepackage[authordate, backend=biber, bibencoding=utf8, url=false, doi=false, isbn=false, eprint=false, useprefix=true]{biblatex-chicago}
\addbibresource{bibliography.bib}
\usepackage{style}
\usepackage[svgnames]{xcolor}
\usepackage[colorlinks, allcolors=NavyBlue,
linktocpage=true]{hyperref}
\hypersetup{pdfauthor=\docauthor,
pdftitle=\doctitle}
\usepackage[ open, atend ]{bookmark}
\bookmarksetup{color=blue}
\let\counterwithout\relax
\let\counterwithin\relax
\usepackage{refcount}
\listfiles
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows, positioning, quotes, babel, calc, decorations.markings}
\usepackage{graphicx,adjustbox} %for adjusting the size
\usepackage{environ}
\usepackage{caption}
\colorlet{captiongray}{gray!50!black}
\DeclareCaptionFont{capgray}{\color{captiongray}}
\captionsetup{labelfont={capgray,sf,bf}, textfont={capgray,sf}}
\usepackage[labelformat=simple]{subfig}
\renewcommand{\thesubfigure}{\relax}
\usepackage{wrapfig}
\setlength{\intextsep}{0pt}
\usepackage[most]{tcolorbox}
\newtcolorbox[auto counter,number within=section]{diagbox}[1][]
{skin=bicolor, title=Figure~\thetcbcounter,#1,
size=title,colback=white, colbacklower=black!10!white}
\begin{document}
\frontmatter
\include{title/title}
\cleartorecto
\include{acknowledgements/acknowledgements}
\cleartorecto
\tableofcontents*
\mainmatter
\cleartorecto
\include{introduction/introduction}
\cleartorecto
\part{Part I}
\label{label for part I}
\cleartorecto
\include{Chapter1}
...
\printbibliography
\end{document}