Search found 2 matches

by dee
Thu Jun 23, 2016 8:08 am
Forum: LyX
Topic: optional items in a list
Replies: 1
Views: 1465

optional items in a list

If I had C preprocessor, I would do

Code: Select all

#if optional
\begin_layout Enumerate
optional item
\end_layout
#endif
Can LyX do something similar with branches? Or do I need ERT?
by dee
Wed Jun 22, 2016 8:58 pm
Forum: LyX
Topic: optional items in a list
Replies: 1
Views: 1465

optional items in a list

Hello,

can I have document with two versions, one of them with some extra items in a list?

I started with

\begin_layout Enumerate
optional item
\end_layout

\begin_layout Enumerate
item
\end_layout

and tried to put first item in a branch, but all attempts I made have some problem. For example ...