How set same fonts style of chapter in "Glenn" "fncychap"
code :
\renewcommand{\thechapter}{\Roman{chapter}}
\ChTitleVar{\bf\centering}
\setlength{\headsep}{1cm}
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityYou can set the font of the CHAPTER
string with \ChNameVar
which works similar to \ChTitleVar
. If you also want to change the font of the number, there is \ChNumVar
too.
Also there is no point in using \centering
here because fncychap
takes care of aligning the text. \bf
is deprecated and no longer provided by modern document classes, use \bfseries
instead.
Additionally the \Ch...Var
arguments should probably contain some sizing command like \large
, \Large
, Huge
, .... Otherwise the size of the element in undefined. In your example your title has size \Huge
. So you can get this effect with:
\documentclass{report}
\usepackage[Glenn]{fncychap}
\renewcommand{\thechapter}{\Roman{chapter}}
\ChNameVar{\bfseries\Huge\rmfamily}
\ChTitleVar{\bfseries\Huge\rmfamily}
\setlength{\headsep}{1cm}
\begin{document}
\chapter{One}
\chapter{Two}
\end{document}
\textsf{\MakeUppercase{...}}
and the title in\textbf{\MakeUppercase{...}}
.