Im trying to make it so that the numbering in my document is a bit to the left of the margin, while the section titles and main body of text is aligned to the margin. I also want the nested listing to be to the left right next to the margin.
To better explain I have inserted a picture of how I want it to look like.
But the code I've used to achieve this is just a mess.
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{enumitem}
\title{Sample Text}
\date{}
\begin{document}
\maketitle
\section*{4.1 - Sample Text}
\begin{enumerate}[leftmargin=-1cm]
\setcounter{enumi}{4100}{}
\item
\begin{enumerate}[leftmargin=1cm, label=\emph{\alph*})]
\item
Sample Text
Sample Text\\
\item Sample Text\\
\end{enumerate}
\item
\hspace{0.85cm} Sample Text
\hspace{0.85cm} Sample Text
\end{enumerate}
\section*{4.2 - Sample Text}
\begin{enumerate}[leftmargin=-1cm]
\setcounter{enumi}{4200}{}
\item
\begin{enumerate}[leftmargin=1cm, label=\emph{\alph*})]
\item Sample Text
\end{enumerate}
\end{enumerate}
\end{document}
I was wondering if anyone could help me find a more elegant solution to my problem.