> Hello.
> How can I have an enumeration list and then use the mdwlist package to
> suspend enumeration, insert some  lyx code  (yes, new enivornment), and
> then resume the enumeration? It seems like that the enumeration is ended,
> and then the resume command is operating outside of any
> \begin�enumerate]...\end{enumerate}
> 
> Is that possible?
> Please send LyX file to show me, because I can't get it to work.
> Is there any other way to get enumeration (without using the
> \setcounter{enumi}{3}, I want automatical enumeration ) like this
> 
The simplest way I found to incorporate mdwlists was to make a new layout
file. Since LyX automatically inserts \begin{enumerate} ... \end{enumerate}
it is not easy (or even possible?) to change to \begin{enumerate*} ...
\end{enumerate*}. 

The attached layout file duplicates the article class with mdwlists added as
additional environments. Should be easy to adapt for other classes. Put the
file in ~/.lyx/layouts/ and run reconfigure. The you should have a new class
in Layout..Document and the new environments in the pull-down menu. Of
course you need mdwlist.sty in your Latex tree.

Steve

Attachment: mdw.layout
Description: Binary data

Reply via email to