logo       

how to use mdwlist multilinelabel?: msg#00324

editors.lyx.general

Subject: how to use mdwlist multilinelabel?

Hi there,

I'm trying to create a new lyx environment that uses the mdwlist package's multilinelabel. I've gone through the mdwlist documentation:

http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/mdwlist.dvi

But, I'm not at all sure what to put in my lyx .layout file to make this work. I've got \usepackage{mdwlist} in the preamble, and added the following to my .layout file:

# %%% Long_Label Environment
Style Long_Label
LatexType Environment
LatexName long_label
Preamble
\newenvironment{long_label}
{


\begin{basedescript}{\desclabelwidth{1in}\desclabelstyle{\multilinelabel}}
\item[]
}
{
\end{basedescript}
}
EndPreamble
End

===================

I can view the dvi file without latex producing any errors, but the text looks very different from the examples in the mdwlist.dvi file. The problem seems to be that the \item[] in my .layout gives me an empty label, and the label plus definition end up where the definition should go.

How can I get the label and definitions in the proper place?

TIA,

Kevin Horton



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise