Re: Allow enumerate environment to be inserted inside an environment I define

[email protected]
Newsgroups gmane.editors.lyx.general
Message-ID <[email protected]>
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?

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.