My university requires an indent for sections and subsections headings like on the picture.

How can I do it?
My university requires an indent for sections and subsections headings like on the picture.

How can I do it?
Please try with the below code:
\newcommand\section{\@startsection {section}{1}{12\p@}%
{-12\p@}%
{6\p@}
{\normalsize\raggedright}}
\startsection macro you may have a look at this link: https://tex.stackexchange.com/questions/31780/where-can-i-find-help-files-or-documentation-for-commands-like-startsection-fo
– Jürgen
Jun 07 '17 at 10:56
\asecdimen and \bsecdimen.
– Jürgen
Jun 07 '17 at 11:51
You have all my sympathy: university requirements are so silly, sometimes!
If your sections and subsections are always numbered, you can do
\documentclass{article}
\usepackage{indentfirst}
\makeatletter
\renewcommand\@seccntformat[1]{\hspace*{\parindent}\csname the#1\endcsname\quad}
\makeatother
\begin{document}
Some text to show the indentation in the first line
Some text to show the indentation in the first line
Some text to show the indentation in the first line
\section{Test}
\subsection{Test}
Some text to show the indentation in the first line
Some text to show the indentation in the first line
Some text to show the indentation in the first line
\end{document}