parskip package, keep the indents
Package parskip
sets \parindent
to zero. The following example saves the old value, loads parskip
and restores \parindent
:
\documentclass{article}
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\restoreparindent
\begin{document}
\tableofcontents
\section{Section 1}
\subsection{Sub 1}
Paragraph 1
Paragraph 2
\end{document}