When I am writing in LaTeX, my coding style is as follows:

\begin{document}    \section{Some section title}        Some text        \subsection{Some subsection}            Other text        \subsection{Another subsection}            More text\end{document}

After every section, subsection and subsubsection (as well as paragraph and all its variants) I like to indent all the text which falls under that specific section.  I was wondering if there was a way to make IntelliJ do this automatically, rather than having me just hit tab every time.  It does get rather tedious.

By default, IntelliJ does not automatically intent the way I would like it to.