我正在写论文,我必须在每个新段落的开头添加缩进?我的段落代码:
\renewcommand{\baselinestretch}{1.5} % set linespacing = 1.5; equivalent to word file = 1.5
\usepackage{indentfirst} % indent first paragraph after each chapter/section
\edef\restoreparindent{\parindent=\the\parindent\relax} % define new function to save indentation
\usepackage{enumitem} % itemize spacing control
\setlist{itemsep = 0pt, parsep = 0pt}
\usepackage[nodayofweek]{datetime} % live date display
\usepackage{parskip} % paragraph spacing in the main body only
\restoreparindent % restore the previous indentation
\setlength{\parskip}{5pt} % paragraph spacing in the body