I would like to be able to \renewcommand\section
and get LaTeX to format the section and subsection headings so that their numbers are left-justified, and the headings are exactly above the paragraph indentation:
1 Section title 1.1 Subsection title Start of paragraph
I found advice to change the indentation of the Section title like so:
\renewcommand\section{%
\def\@seccntformat##1{\csname the##1\endcsname\hspace{_____}}
\@startsection{your}{parameters}{here}...
}
If I insert 1in
in the \hspace
command, I get exactly one inch from the end of the section number. I want 1 inch from the left margin, so something like \hspace{1in \@minus \width\csname}
, or something like that. That command doesn't work, but at least shows my intention.