# Change fontsize of Chapter [closed]

Hi I can not seem to figure out how to increase the size of font in my chapter heading. My code look like this

\titleformat{\chapter}[display]
{\normalfont\filleft}
{{\chapnamefont\chaptertitlename}%
\makebox[0pt][l]{\hspace{0.4em}%
\resizebox{!}{\beforechapskip}{\chapnumfont\thechapter}%
\hspace{.8em}%
\rule{\midchapskip}{\beforechapskip}%
}%
}%
{15pt}
{\chaptitlefont}

\titlespacing*{\chapter}
{0pt}{40pt}{40pt}


And the current layout looks like this

## closed as unclear what you're asking by user31729, Werner, user13907, Jesse, ZarkoAug 31 '16 at 21:31

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• A complete MWE please, i.e. complete working code that demonstrates the problem that you have. – JPi Aug 15 '16 at 18:29
• Which element of your chapter header should be larger? – user36296 Aug 15 '16 at 18:43
• Where do all those skips come from? – Bernard Aug 15 '16 at 19:26
• @samcarter The text reading DUMMY CHAPTER – J. Doe Aug 15 '16 at 20:04
• @J.Doe My guess would be that you have to change something in the definition of \chaptitlefont, but without having a MWE which shows how this is defined... – user36296 Aug 15 '16 at 22:30