4

I tried to create the following in LyX. But it does not give what I want.

1 (a) text
      OR
  (b) text

2 (a) (i) text
      (ii) text
     OR
  (b) text

LyX does allow only to produce as shown below

1 Text
  (a) text

enter image description here

The working code in LaTeX:

\documentclass[12pt]{article}
\begin{document}
\begin{enumerate}
\item 
\begin{enumerate}
\item Text
\end{enumerate}
\end{enumerate}
\end{document} 
7
  • Could you show a minimal (non)working example?
    – Bernard
    Jul 19, 2014 at 10:18
  • @bernard I have added the image from LyX
    – sandu
    Jul 19, 2014 at 12:26
  • I meant the LaTeX code (a minimal example).
    – Bernard
    Jul 19, 2014 at 12:33
  • @Bernard I have added the working latex code. It does not come in LyX.
    – sandu
    Jul 19, 2014 at 13:10
  • But the image does not correspond to you code: in your code there's no Text right after the first item. Another question isn't clear to me: what is the status of the OR conjunction in your specifications? I mean, e.g. should the first OR be at the first level enumeration or at the second level?
    – Bernard
    Jul 19, 2014 at 13:27

2 Answers 2

7

I think you need to trick LyX a bit to do this, as it doesn't appear to allow you to add a new list item if the previous one is empty. A workaround is to add an empty ERT box in the first list item, then outside the ERT hit enter followed by tab to create the sublist.

Here is how it appears in LyX and PDF with the default document settings. Those empty boxes are ERTs added with Ctrl + L.

enter image description here

0

If you stumble across this thread and don't know how to make a nested enumerated list at all. You have to click on this symbol, which is about in the middle of Lyx's toolbar. enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .