How can I specify explicitly both the indentation of the label and the actual item's text from the left margin in a list environment. I would like to achieve the following:

|
How can I specify explicitly both the indentation of the label and the actual item's text from the left margin in a list environment. I would like to achieve the following:
|
|||||||
|
|
Your specifications are not very clear; the following could be what you need:
(As always, lipsum is used only to provide dummy text.) If you want to be able to set the dimensions at usage time, you can define a personal environment, such as
to be called as
where the first argument is, in your notation, sep1 and the second argument is sep2. |
|||||||||||||||||
|
|
If I might throw in a ConTeXt solution again:
\definedescription [list]
[
location=serried,
headstyle=\hskip1cm\bold, % sep1
distance=2cm, % sep2
width=0cm,
]
\starttext
% only for illustration
\blackrule [height=1ex, width=2cm]
\blackrule [height=1ex, width=1cm]
\startlist{First}
\input knuth
\stoplist
\startlist{Second}
\input tufte
\stoplist
\stoptext
The result looks like this:
In my example I misused the headstyle to insert the first space. Your contraint |
||||
|
|