引入宏包:\usepackage{titlesec}
\titleformat{章節命令}[形狀]{格式}{標題序號}{序號與標題間距}{標題前命令}[標題後命令]
\titlespacing*{章節命令}{左邊距}{上文距}{下文距}[右邊距]
例如:
\titleformat{\chapter}[block]{\LARGE \bfseries}{Chapter \arabic{chapter}}{1em}{}[]
\titlespacing{\chapter}{0pt}{-2pt}{2pt}