abdelkader belahcene wrote:
> I want to add an extra space in enumerate environemnt, I can't find where
> the enumerate env  is declared ?

In the LaTeX kernel (file latex.ltx):

\def\enumerate{%
  \ifnum \...@enumdepth >\thr@@\...@toodeep\else
    \advan...@enumdepth\@ne
    \ed...@enumctr{enum\romannumeral\the\@enumdepth}%
      \expandafter
      \list
        \csname lab...@enumctr\endcsname
        {\usecount...@enumctr\def\makelabel##1{\hss\llap{##1}}}%
  \fi}
\let\endenumerate =\endlist

> for example I modified the lyxcode ( the size : I
> used  \footntesize)   with the following,
> 
>  renewenvironment{lyxcode}
> 
> {\begin{list}{}{
> 
> \setlength{\rightmargin}{\leftmargin}
> 
> \setlength{\listparindent}{0pt}% needed for AMS classes
> 
> \raggedright
> 
> \setlength{\itemsep}{0pt}
> 
> \setlength{\parsep}{0pt}
> 
> \footnotesize\ttfamily}%
> 
> \item[]}
> 
> {\end{list}}

easier solution:

\let\oldlyxcode\lyxcode
\renewcommand\lyxcode{\oldlyxcode\footnotesize}

you can try something along this line with enumerate (or use the enumitem 
package to customize enumeration)

Jürgen

Reply via email to