![在章節頁上隱藏章節標題和編號](https://rvso.com/image/399827/%E5%9C%A8%E7%AB%A0%E7%AF%80%E9%A0%81%E4%B8%8A%E9%9A%B1%E8%97%8F%E7%AB%A0%E7%AF%80%E6%A8%99%E9%A1%8C%E5%92%8C%E7%B7%A8%E8%99%9F.png)
我希望將“章節頁”替換為我選擇的資訊圖表。包含章節標題的頁面將全部位於單獨的頁面上。本章的其餘內容將在後續頁面中繼續(效果很好)。
我打算使用的圖像本質上是透明的。下面是 MWE。
\documentclass[10pt, twoside]{book}
\usepackage{lipsum}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\part{First Part}
\chapter{First Chapter}
\thispagestyle{empty}
\tikz[remember picture,overlay]
\node[opacity=.7,inner sep=0pt] at (current page.center){
\includegraphics[width=\paperwidth,height=\paperheight]
{social-media-infographic}};
\clearpage
\newpage
\section{First Section}
\lipsum
\lipsum
\section{Second Section}
\lipsum
\end{document}
查看範例輸出:
將不透明度增加到 1 只能解決不透明影像的問題。
我的另一個想法是將字體顏色更改為白色,但如果我決定將來在奶油色紙上列印,這將成為一個問題,因為我無法控製列印文字的確切奶油色。
問題:如何屏蔽/隱藏/停用章節標題和編號僅有的在我打算放置圖形的頁面上。
答案1
對於您希望隱藏編號和標題的章節:
...
%\chapter{First Chapter} % the original
\chapter*{{\huge Chapter}} % unnumbered but not in ToC or headers
\refstepcounter{chapter} % increment the chapter number
\chaptermark{First Chapter} % title text for headers
\addcontentsline{toc}{chapter}{\thechapter\hspace{0.5em} First Chapter} % put chapter title in the ToC
...
\chapter{Regular Chapter}
...