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.
Best Answer
Which document class do you use? Here is an example with
scrartlc
By using a standard class you can use the package
titlesec
The result:
In relation to your comment:
The package indentfirst is a possibility if every indent should be 1inch. I think 1inch is to big.