0

How set same fonts style of chapter in "Glenn" "fncychap" enter image description here

code :

\renewcommand{\thechapter}{\Roman{chapter}}
\ChTitleVar{\bf\centering}
\setlength{\headsep}{1cm}
1
  • The chapter is set in \textsf{\MakeUppercase{...}} and the title in \textbf{\MakeUppercase{...}}. Apr 28, 2018 at 10:53

1 Answer 1

1

You 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}

enter image description here

2
  • is it possible to make chapter word with same font size of "ONE" word Apr 28, 2018 at 18:55
  • I added some sizing and family selection, but you might want to use a bigger size for the number to keep the original appearance. Apr 28, 2018 at 19:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .