What I'm trying to accomplish in LyX is best shown via the following simple example:
- I start using
-
an Enumerate environment
And I'm writing multiple blocks of text, even tables, etc., inside the enumerated item (this part is easy w/ Ctrl+Enter)
- then I switch to Itemize
- to list some things
- I do this using Alt+Shift+Right
- and then selecting "Itemize" environment
Eventually I am done with Itemize, and I write some additional text (or tables, etc.), remaining on the same enumerated item as when I started Itemize
(This bit right here is what I cannot seem to get LyX to do)
- Finally, I move on to another item. When I want to… not right after Itemize ends.
This is something that I can accomplish easily with HTML (or Markdown/CommonMark): just an unordered list inside an ordered list item.
I did find a workaround for this by inserting TeX code \begin{itemize} ... \end{itemize}
while inside the Enumerate item.
But I do this often and it seems like this kind of thing would be a fully-supported in LyX that I'm somehow missing.
Best Answer
I'm not 100% sure what you're asking, but I have a general idea. This might be better as a comment, but I wanted to add some images so I've chucked this together as an answer.
My work flow using enumerate/itemize in LyX
Alt + P E
(press theAlt
andP
keys together, then pressE
) [1, 2, 3, ...]Enter
/Return
keyEnter
(start a new item) then eitherTab
to "indent" the list [a, b, c, ...]Alt + Shift + Right Arrow
(achieves the same result, but less touch type friendly imho)Enter
(start a new item) then either:Shift + Tab
to "unindent" the list to get back to [2, 3, 4, ...]Alt + Shift + Left Arrow
(same opinion, slows me down imho)Indenting content without leaving enumerate either:
Ctrl + Enter
to use line breaks,\\
in sourceLaTeX
, to manually break the list item into multiple lines. Works alright for basic content e.g. text as you've probably noticed.Multiple
Enter
orAlt + Enter
to start a new line that is not enumerate (i.e. standard) then useTab
orAlt + Shift + Right Arrow
to indent it "into" the enumerate environment required.To stay in this indent environment use
Alt + Enter
to start new lines. InLyX
you can see this by the large red braces[
on the left hand side.Example
Note that I always work with code shown and the way to do it is
View > Source Pane
. I just find it helps especially if you've come fromLaTeX
.If I could I would point you to some documentation for this but I learnt
LaTeX
before I learntLyX
and I've mainly learnt these shortcuts from trial and error. Best of luck.