Joe.W
Joe.W
发布于 2021-04-05 / 56 阅读
0
0

如何实际某段\subsection不新分段格式

{
\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、编号与标题之前的距离


评论