[Tex/LaTex] Font size in toc

fontsizetable of contentstocloft

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:

enter image description here

How to set the font size of the chapter to normalsize?

Best Answer

It looks like you're using the tocloft package, right? If so, have you tried the instruction

\renewcommand{\cftchapfont}{\normalsize\bfseries}

which should set the font size of chapter-level entries in the TOC