I get a problem when creating toc with my style, I want all font size is normalsize, but it doesn't work for the chapter. here my code :
\titleformat{\chapter}[display]{\large\bfseries\fillast }{BAB \thechapter}{0pt}{}
\titlespacing{\chapter}{0pt}{-0.275in}{20pt}
\chapterfont{\normalfont\centering}
\chaptertitlefont{\centering\normalfont}
\renewcommand{\cfttoctitlefont}{\hfill\normalfont\bfseries\MakeUppercase}
\renewcommand{\cftchapfont}{\normalfont}
\renewcommand{\cftchappagefont}{\normalfont}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftchapdotsep}}
and the result:
How to set the font size of the chapter to normalsize?