我知道可以使用 titlesec 包更改节前和节后的间距。太好了。我更改了它,但我想稍后在文档中将其重置为默认值。我该怎么做?MWE:
\documentclass{article}
\usepackage{titlesec}
\titlespacing*{\subsection}
{0pt}{1.5ex plus 1ex minus .2ex}{0.1ex plus .2ex}
\begin{document}
\section{This is great}
\subsection{This is great too}
Now I want to restore section and subsection spacing
%% need some reset command here
\subsection{Not so great}
How to reset the spacing for this one to whatever the defaults were?
\end{document}