Mọi người cho em hỏi chút ạ. Em đang dùng lớp book để viết sách. Trên phần khai báo có ghi
\titleformat{\chapter}[frame]{\Large}{\filright\Large\enspace \bf Chương\ \thechapter\enspace}{16pt}{\Huge\bfseries\filcenter \textcolor{red}} \titleformat{\section}{\normalfont\Large\bfseries }{\thesection}{1em}{\textcolor{blue}}{} \titleformat{\subsection}{\normalfont\large\bfseries}{\thesubsection}{1em}{} \titleformat{\subsubsection}{\normalfont\large\bfseries}{\thesubsubsection}{1em}{} \titleformat{\paragraph}[runin]{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{} \titleformat{\subparagraph}[runin]{\normalfont\normalsize\bfseries}{\thesubparagraph}{1em}{}
Phần tô màu chương như cái thứ nhất thì em không có gì thắc mắc. Cái em muốn hỏi là câu lệnh thứ 2 ạ
\titleformat{\section}{\normalfont\Large\bfseries }{\thesection}{1em}{\textcolor{blue}}{}
Khi em biên dịch thì tiêu đề của mục section hiện màu xanh giống như phần khai báo, nhưng cái số thứ tự của tiêu đề (1.1, 1.2 .......) lại hiện màu đen. Làm cách nào để cái số này hiện màu xanh giống như chữ được ạ? Mọi người giúp em.