Herbert Voss wrote:

> Angus Leeming wrote:
> 
>> Tune the appearence on the lyx screen to suit. If you don't care about
>> that, then you may even be able to whittle it down to:
>> 
>> Try adding an "Itemize*" environment to layouts/stdlists.inc. Eg
>> (untested):
>> 
>> # Itemize style definition
>> Style Itemize*
>>   CopyStyle             Itemize
>    LatexName               LyXitemize*
>    Preamble
>      \usepackage{mdwlist}
>      \newenvironment{LyXitemize}{%
>        [EMAIL PROTECTED]
>        \begin{itemize*}%
>      }{\end{itemize*}}
>    EndPreamble
> End
> 
> 
> There seems to be a bug in LyX that i cannot insert a
> unser defined length after a paragraph like
> -\normalbaselineskip. It is set to 0, which is wrong
> as value and wrong in a way that my input isn't used.
> 
> LyX 1.3.4 qt
> 
> So there is a need for ERT ... very bad!
> See example, works only with the above layout.

Hmmm. Your file doesn't compile, Herbert. Let's fix that first. 

I find that changing "\newenvironment{LyXitemize}{%", above to
"\newenvironment{LyXitemize*}{%" makes latex happy. Is that what you mean?

Angus

\documentclass[10pt,twoside,ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\usepackage{array}

\makeatletter

\providecommand{\tabularnewline}{\\}

 \usepackage{mdwlist}
   \newenvironment{LyXitemize*}{%
     [EMAIL PROTECTED]
     \begin{itemize*}%
   }{\end{itemize*}}

\usepackage{babel}
\makeatother
\begin{document}
\begin{tabular}{|p{3cm}|p{4cm}|}
\hline
\begin{LyXitemize*}
\item one
\item two
\item three
\end{LyXitemize*}
&
\begin{LyXitemize*}
\item four and six
\item seven and eight
\item nine and teen
\end{LyXitemize*}
\tabularnewline
\hline
\end{tabular}
\end{document}



Reply via email to