On Tue, Feb 28, 2006 at 10:19:51PM -0600, Mathieu Richaud wrote:
> Hello all,
>
> What I am trying to create is the following enumerated list;
>
> 1. Item 1
> 2. Item 2
> 3. Item 3
> [standard text]
> 4. Item 4
> 5. Item 5
>
> However, Lyx reset to 1 the enumeration after the standard text. How can
> I get around that problem. I looked on the Wiki and the closest I got to
> an answer is from Paul A. Rubin who wrote that \newcounter{myCounter}
> could be used. (http://wiki.lyx.org/Examples/ReferToEnumeratedItem)
>
> However, I got stucked with errors when trying to mimic his ERT code
> from my list.
If you use the package mdwlist, you can do this pretty simply, as the
attached file hopefully shows...
Kenward
--
In a completely rational society, the best of us would aspire to be
_teachers_ and the rest of us would have to settle for something less,
because passing civilization along from one generation to the next
ought to be the highest honor and the highest responsibility anyone
could have. - Lee Iacocca
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language american
\inputencoding default
\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 Standard
Some listed items:
\layout Enumerate
one
\layout Enumerate
two
\begin_deeper
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
suspend{enumerate}
\end_inset
regular text, which can include other paragraph types
\layout Subsection*
a heading
\layout Itemize
itemized things
\layout Standard
tables!
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true"
width="0">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true"
usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true"
rightline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true"
usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true"
rightline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
ho hum
\layout Standard
back to regular itemization stuff
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
resume{enumerate}
\end_inset
\end_deeper
\layout Enumerate
three
\layout Enumerate
four
\layout Standard
The key is to change the depth of the text block you want to keep normal
(
\begin_inset Quotes eld
\end_inset
un--enumerated
\begin_inset Quotes erd
\end_inset
??).
\the_end