{
\titleformat{\subsection}[runin]{\large\bfseries}{\thesubsection}{1em}{}
\subsection{} XXXX
\subsection{} XXXX
\subsection{} XXXX
}
\titleformat{\subsection}[runin]{\large\bfseries}{\thesubsection}{1em}{}在需要的地方使用花括号{ } ,限定格式的范围是必要的
1、对 \subsection 这个命令进行格式限定;
2、格式是runin,标题与文字在一行,如果\subsection{}命令花括号里没有内容,则仅显示编号;
3、编号与标题的格式,包换字号及粗细等;
4、\subsection对应的标签名 \thesubsection;
5、编号与标题之前的距离
