A solution was given to Enumeration across many sections. However, (A) it seems enumeration prevents hang indent from activating. (B) Can I get the numbers to go into the left margin and leave hang indented references flush with the left margin? (C) How can I shift the numbers themselves a bit more to the left while leaving text flush to margin?
NOTE: IF we use the enumeration environment from an answer below (B) is solved, but (A) is still not working:
\documentclass[12pt]{article}
\usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{enumitem}
\setlist[enumerate]{leftmargin=-\itemindent} %% here we change
\begin{document}
\begin{center}
\textbf{class X}
\end{center}
\begin{enumerate}
\item \hangindent=7mm \noindent \textcolor{blue}{
\textbf{sadsdasd sdsdadsd}. \textbf{1902}. sasds sasdasd adsdsasds sadsdsadsa asdasd. \textit{adsdsdadsd asda sdsadsadsda sdasdsdadsds asdasddsdasdsa}. asdasd: asdsads sasdas.}
\item BBBBB
\end{enumerate}
\begin{center}
\textbf{class Y}
\end{center}
\begin{enumerate}[resume]
\item \footnotesize \textcolor{blue}{CCCCC} \normalsize
\end{enumerate}
\end{document}
EDIT: I found a solution that avoid the enumeration environment altogether and is totally customizable.
Best Answer
Is it like this?
Or this:
Changing
\setlist[enumerate]{leftmargin=-\itemindent}
togives