\documentclass{book}
\usepackage{ctex}
\ctexset{section/format+=\sffamily}
\begin{document}
\chapter{AAAAA}
This is some text.
\section{BBBBB}
This is some text.
\subsection{CCCCC}
This is some text.
\end{document}
报错:
! LaTeX3 Error: The key 'ctex/section/format+' is unknown and is being (LaTeX3) ignored.
请问是什么原因?
发行版:texlive2021 MWE
报错:
! LaTeX3 Error: The key 'ctex/section/format+' is unknown and is being (LaTeX3) ignored.
请问是什么原因?