I couldn't find a way to do it using enumitem either, but googling about it
I found this:
http://texblog.net/latex-beginners-guide/examples/chapter-4

The last image that shows how lists work gave me this silly idea of
inserting an horizontal space after the label, and apparently it worked.
I knew to Latex and Lyx, so I don't know if using horizontal spaces this
way is a bad idea, but I got exactly what I wanted.
I wish I could make Lyx display it the same way, but it is good enough for
me right now.

The shortcut for my list:
\bind "C-S-k C-S-l" "layout FieldList"

And the file fieldlist.inc:

# "FieldList"

Format 35

Style FieldList
Category              List
Margin                Manual
LatexType             List_Environment
LatexName             fieldlist
NextNoindent          1
LabelSep              x
ParSkip               0.4
TopSep                0.7
BottomSep             0.7
ParSep                0.5
Align                 Block
AlignPossible         Block, Left
LabelType             Manual
LabelFont
  Family              Typewriter
EndFont
LabelString           "0"

#define the environment fieldlist
Preamble
\newenvironment{fieldlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
 \setlength{\leftmargin}{\labelwidth}
 \addtolength{\leftmargin}{\labelsep}
 \renewcommand{\makelabel}[1]{\texttt{##1}\hspace{1\columnwidth}}}}
{\end{list}}
EndPreamble
End


Cheers,

Fabio.

On Fri, Jun 22, 2012 at 1:23 PM, Guenter Milde <mi...@users.sf.net> wrote:

> On 2012-06-22, Fabio Sobral wrote:
>
> > [-- Type: text/plain, Encoding:  --]
>
> > Hello,
>
> > I'm made a new list layout based on the lyxlist layout, but I'd like to
> > insert a line break after the item label to move the text to the next
> line.
> > Something like this:
>
> > ItemLabel
>
> > Text goes here after indent.
>
> > I checked several layouts but couldn't figure out how to do it.
>
> You may try the enumitem module. There is no ready-made layout but the
> enumitem LaTeX package offers tools to configure lists and to write new
> ones.
> Read the enumitem documentation (command `texdoc enumitem` on a modern TeX
> installation) for details.
>
> Günter
>
>

Reply via email to