Nabil Hathout wrote:
>
> gb4e is a set of macros for typesetting linguistic examples. I thing the
> solution you suggests will change all \item commands in \ex, including the ones
> in the itemize, enumerate... In fact, I would like that to replace \item
> commands by \ex only inside exe environment (exe eing in fact a list
> environment). It is used as follows :
>
> \begin{exe}
>
> \ex[*] example1
> \ex[??] example2
> \ex[] example3
>
> \end{exe}
okay, that might be easy .. ;-)
copy the following lyx-style as myLists.inc
in ~/.lyx/layouts and insert in ~/.lyx/layouts/stdlists.inc
Input myLists.inc
restart LyX and the paragraph-layout exe schould be seen.
you don't need the command \usepackage{gb4e} anymore,
it's dome by lyx ... :-)
Herbert
#------ a lst-style for gb4e
Style exe
Margin First_Dynamic
LatexType List_Environment
LatexName exe
NextNoIndent 1
LeftMargin MM
RightMargin MM
LabelSep xx
ParSkip 0.4
ItemSep 0.1
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block,Left,Right,Center
LabelType Manual
LabelString MM
LabelFont
Shape italic
EndFont
#
#define the latex environment myListI
#
Preamble
\usepackage{gb4e}
EndPreamble
End
#------end
and insert in
Herbert
--
http:[EMAIL PROTECTED]