![如何删除图表、表格和参考书目列表中的标题(书籍类)](https://linux22.com/image/478471/%E5%A6%82%E4%BD%95%E5%88%A0%E9%99%A4%E5%9B%BE%E8%A1%A8%E3%80%81%E8%A1%A8%E6%A0%BC%E5%92%8C%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE%E5%88%97%E8%A1%A8%E4%B8%AD%E7%9A%84%E6%A0%87%E9%A2%98%EF%BC%88%E4%B9%A6%E7%B1%8D%E7%B1%BB%EF%BC%89.png)
我重新定义了chapter*
环境在book
课堂上的出现方式,如下所示:
% CHAPTER* HEADER
\renewcommand{\@makeschapterhead}[1]{%
{%
\vspace*{\@spacebeforechapterhead}%
\parindent 0pt \Large%\bfseries
%\phantom{\@chapapp}%
\interlinepenalty\@M
\vspace*{\@spaceinchapterhead}%
\rule{0.666\textwidth}{0.5pt}
\par
\vspace*{\@spaceinchapterhead}%
\vspace*{\@spaceinchapterhead}%
{\spacedlowsmallcaps{#1}\hfill}%
\mbox{}\par
\mbox{}\par
\mbox{}\par
\pdfbookmark[0]{#1}{#1}
\markright{}%remove header
}%
}
图表列表、表格列表和参考书目均chapter*
在内部使用,但由于某种原因,它们保留了标题,如下所示。
我怎样才能删除上述三种环境中的标题?
答案1
我会不是修改 的定义\chapter*
。相反,只需更改
\tableofcontents
\listoffigures
\listoftables
到
\begingroup
\pagestyle{plain}
\tableofcontents
\listoffigures
\listoftables
\endgroup
这可确保plain
页面样式(将页码排版在页脚行中间)对 、 和 的输出有效\tableofcontents
。\listoffigures
和\listoftables
语句\begingroup
用于\endgroup
“本地化”\pagestyle{plain}
指令的范围。
附录:对于参考书目,我建议您采用以下编码眼光:
\cleardoublepage
\begingroup
\pagestyle{plain}
\markboth{}{}
\addcontentsline{toc}{chapter}{Bibliography} % optional
\bibliography{mylib} % if entries are in file 'mylib.bib'
\endgroup
这假设您\bibliographystyle
在文档的其他地方有合适的指令以及所有必需的\cite
说明。