\usepackage{mfirstuc}
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{\capitalisewords}
如果想要使用全大写,则有
\usepackage{mfirstuc}
\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{1em}{\MakeUppercase}
\usepackage{mfirstuc}
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{\capitalisewords}
如果想要使用全大写,则有
\usepackage{mfirstuc}
\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{1em}{\MakeUppercase}