On Wed, 24 Nov 2004 08:41:01 +0100, G. Milde <[EMAIL PROTECTED]> wrote:
> > With the cursor inside the LyX enumerate environment, I want to begin
> > a nested enumerate environment using ERT so that I can pass some
> > parameters to the enumerate environment (not the default enumerate
> > environment, but the one provided by the enumerate package). Okay, I
> > know that I could do everything with a single ERT... but that would
> > correspond to a waste of LyX facilities. Any ideas?
>
> Another possibility would be to use ERT in a nested standard paragraph to
> start and end the sublist. You will not see the indent of the sublist but
> otherwise it should be ok.
 
Thanks, G�nter, I am trying the way above, but I get errors. I am
attaching a file with an example. Any ideas?

Paul
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{enumerate}
\end_preamble
\language portuges
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

this the first item.
\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{enumerate}[{1.}1]
\end_inset 


\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
item
\end_inset 

 this is the first sub-item.
\newline 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{enumerate}
\end_inset 


\the_end

Reply via email to