I would like to define a new environment which basically works very similarly to enumerate. I want to create sort of sections with the following features:
- the numbering should go in the left margin (aligned to the first line of the section).
- the distance above the first section is the same as the distance above in the environment enumerate. Same for the distance below the last section.
- the distance between 2 consecutive sections equal to the distance between two items.
- first paragraph of each section not indented, following paragraphs indented as in the main text.
As you can see, I want something in between proper sections and proper lists.
The closer I got to the solution is obtained by using
{\setlength{\leftmargini}{0pt}
\begin{enumerate}
\item This is the first paragraph
this is the second one
\item this is a new section
\end{enumerate}
}
However, I couldn't fix the paragraphs' issue (they are spaced as in enumerate, while I want them to behave like in the text).
I am looking for a "clean" and flexible solution. I'd like for example to create an environment (which I could not do using the method above). Or, if you have other solutions, they are welcome of course. I am hardly trying not to use packages. Any help would be much appreciated!