Allow enumerate environment to be inserted inside an environment I define

ehud.behar at posteo.net ehud.behar at posteo.net
Tue Nov 4 22:29:33 UTC 2025


I created this Boxed environment in my LyX document:

```
Style Boxed
LatexName Boxed
LatexType Environment
#KeepEmpty 0
ParSep 1.4
RightDelim <br/>
ParbreakIsNewline 1
PassThru 0

Preamble
%Define the Boxed environment
EndPreamble
End
```

I now want to insert enumerated items within it, so to get the LaTeX 
code
```
\begin{Boxed}
\begin{enumerate}
\item my first item%

\item the second item%

\end{enumerate}
\end{Boxed}
```

  But LyX doesn't allow that. Any help?


More information about the lyx-users mailing list