乳胶双标题

Double headings in latex

我对乳胶有疑问。我想创建一个带有特殊名称和章节自动编号的标题。

我使用 \chapter{Introduction} 命令创建名为 Introduction 的章节。在内容中,它被列为“1 简介”,这是正确的。在文本中我有两个标题。第一个是 "Chapter 1",然后是 "Introduction"。所以实际上 \chapter 生成两个标题。我能做什么?

这是在 reportbook 中使用 \chapter 时的默认布局。您需要更新 \@makechapterhead 以实现您想要的布局:

\documentclass{report}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makechapterhead}% <cmd>
  {\@chapapp\space\thechapter\par\nobreak\vskip 20\p@}% <search>
  {\Huge\thechapter\space}% <replace>
  {}{}% <success><failure>
\makeatother
\begin{document}
\tableofcontents
\chapter{ChapterName}
\end{document}

您还可以查看 MemoirChapterStyles or fncychap,了解您可以使用的一大堆不同的章节标题样式,而无需手动重新定义 \@makechapterhead