How can i change the following code to make the chapter title font size bigger?
\titleformat{\chapter}[block]
{\normalfont\sffamily}{}{0pt}
{\parbox[b]{\chapnumb}{%
\fontsize{120}{110}\selectfont\thechapter}%
\parbox[b]{\dimexpr\textwidth-\chapnumb\relax}{%
\raggedleft%
\hfill{\LARGE#1}\\
\rule{\dimexpr\textwidth-\chapnumb\relax}{0.4pt}}}
The above code reproduce this:
and i would like to be like this:
Code is taken from the following post:
Chapter style like this without memoir?
thanks in advance
Best Answer
The use of the
[explicit]
option totitlesec
forces the user to input#1
for the title format. You'll note a reference to\LARGE#1
within the definition of\titleformat
for\chapter
(both). Adjust this to suit your needs.Below I've updated the font reference so you can (re)define
\chaptertitlefont
:The above changes the font to
\Huge
. If you want larger font sizes, see Fonts larger than\Huge
?