定制fncychap头

定制fncychap头

我目前正在格式化我的博士论文以供出版书籍,并使用 fncychap 包中的 Lenny 样式作为章节标题。但是,我在自定义文本页面标题方面遇到了困难。这是一个简短的示例代码:

\documentclass[11pt]{book}
\usepackage{scrpage2}
\usepackage[paperwidth=176mm,paperheight=246mm]{geometry}
\setlength{\textheight}{19.5cm}
\setlength{\footskip}{8mm}
\setlength{\parindent}{0pt}
\setlength{\textwidth}{12.5cm}
\setlength{\evensidemargin}{0cm}
\setlength{\oddsidemargin}{0cm}
\setlength{\headsep}{0.6cm}
\setlength{\headheight}{0.4cm}
\setlength{\topmargin}{-0.9cm}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel} 

\usepackage[Lenny]{fncychap}

\usepackage{lipsum}

\begin{document}
\tableofcontents

\chapter*{Book summary}
\addcontentsline{toc}{chapter}{Book summary}
\chaptermark{Book summary}
\lipsum[1-12]

\chapter{Introduction}
\section{Section 1}
\lipsum[1-6]
\section{Section 2}
\lipsum[1-6]

\end{document}

我想做以下调整:

  • 在序言“书籍摘要”中,我想从文本页的顶部删除“第 0 章”。只留下“书籍摘要”。
  • 在以下章节(例如简介)中,我想从正文页的页眉中删除“章节”,但不从章节标题页中删除。章节首页应该与现在类似,但以下页面的页眉应该是:8(页码)1. 简介

我得删除页眉中的“章节”。但是,它随后也会在章节标题页的页眉中消失。此外,“书籍摘要”中的“0.”仍然存在。

相关内容