I sat down tonight to try to define a simple list that looks something like this:
1:23
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
commodo ligula eget dolor. Aenean massa. Cum sociis natoque
penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis,
sem.
Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
imperdiet a, venenatis vitae, justo.
So you can see the requirements are fairly simple. The item label should not be indented at all, but should start precisely at the left margin. It should be followed by a line break. After the line break comes the item body. This shall be indented - the entire paragraph that is - and all following paragraphs by the same amount. However, there should be no paragraph commencing indent, all paragraphs should start on a blank line. In the example, the indentation is two spaces, but I think a quad would do nicely.
As possible complications, my document as a whole follows the above paragraphing style, with a blank line between paragraphs and no initial indentation. Secondly, I would like to format the item label in typewriter text.
So, clearly, I thought, I need a list
environment.
\documentclass[12pt]{article}
\pagestyle{plain}
\usepackage[margin=1.8cm]{geometry}
\geometry{a4paper}
\usepackage[parfill]{parskip}
\begin{document}
\begin{list}{}{}
\item[1:23]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
commodo ligula eget dolor. Aenean massa. Cum sociis natoque
penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis,
sem.
Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
imperdiet a, venenatis vitae, justo.
\end{list}
\end{document}
But I got totally bamboozled trying to work out what to put as the second argument because the actual indentation of the label doesn't seem to be defined itself. Instead the \leftmargin
is defined, with the item label shunted along relative to it by other relevant parameters which I couldn't decipher how to tweak.
Any additional explanation would be much appreciated.
enumitem
package, in my point of view – user31729 Jun 9 '16 at 19:46