If all you need is less space above the word "Contents", you can change the definition of \DOTIS
. It stands for DO TItle Star form and it will be the first thing in an unnumbered chapter. If you put \vspace*{-50pt}
just before \mghrulefill, that will cancel the 50pt of space added by fncychap
. As an alternative, you could redefine \@makeschapterhead
from fncychap.sty
, removing or altering the \vspace*{50pt}
line.
If you want even numbered chapters to have less top space, you can redefine \DOCH
. This stands for DO Chapter Heading and is the first thing in a numbered chapter. You can start it with \vspace*{-50pt}
for the same reason. An alternative is to redefine \@makechapterhead
and remove or alter the starting \vspace
command.
I would change the \@make...
commands. The following simply remove the \vspace*{50pt}
:
\makeatletter
\def\@makechapterhead#1{%
% \vspace*{50\p@}% commenting out this line
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
\DOCH
\fi
\fi
\interlinepenalty\@M
\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 060424
\DOTI{#1}%
\else%
\DOTIS{#1}%
\fi
}}
\def\@makeschapterhead#1{%
% \vspace*{50\p@}% commenting out this command
{\parindent \z@ \raggedright
\normalfont
\interlinepenalty\@M
\DOTIS{#1}
\vskip 40\p@
}}
\makeatother
Put this in your preamble (before \begin{document}
).
Like this?
\documentclass[openany]{book}
\usepackage[Glenn]{fncychap}
\makeatletter
%\ChNameVar{\Large\rmfamily} %% earlier \Large\rm
%\ChNumVar{\Large} %% earlier \Huge
%\renewcommand{\@chapapp}{Prologue}
\renewcommand{\DOTIS}[1]{%
\setlength{\py}{20pt}
\setlength{\pyy}{\py}
\setlength{\backskip}{\py}
\addtolength{\backskip}{2pt}
\addtolength{\pyy}{\RW}
\setlength{\myhi}{\baselineskip}
\addtolength{\myhi}{\pyy}
\vskip 0.9\pyy
{\Large\sffamily\MakeUppercase{ Prologue}}\space\mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
\vskip -0.8\backskip
\rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 3pt %
\raggedleft\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@}
\makeatother
\begin{document}
\chapter*{Prologue}
\chapter{Redundant Chapter}
\end{document}
Best Answer
Redefining
\DOCH
you can suppress the chapter numbering; the\MyChap
command allows you to redefine\chaptername
whenever needed:A new requirement has been made in a comment: to have the chapter title ragged right instead of ragged left; this can be accomplished with a redefinition of
\DOTI
and\DOTIS