Le 05/11/2025 à 14:17, [email protected] a écrit :
Indeed.But I can't insert the enumerate environment without any character typed before. At the moment I type an empty ERT and then the insert content for the enumerate environment. Any solution for that?

A possibility could be to define boxed as a flex inset:

InsetLayout Flex:Boxed
...
End

JMarc


On 05.11.2025 02:36 AM, Richard Kimberly Heck wrote:
On 11/4/25 5:29 PM, [email protected] wrote:
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?

Increase depth: Create the enumerate, then do Edit> Increase List Depth.

Riki



--
----------------------------
Richard Kimberly (Riki) Heck
Professor of Philosophy and Professor of Linguistics
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

--
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to