6
votes
2answers
81 views

Nested indentation with xparse

this is my first question, so any help is appreciated. I want to achieve an indentation effect as shown in the image: Which can be obtained as follows: \begin{itemize} \item $a$ ...
2
votes
1answer
49 views

Interrupting Nested Lists in LaTeX

How do I interrupt and resume nested lists at any level in LaTeX? Something like I. Item Level 1 A. Item Level 2 1. Item Level 3 comment at level 1 2. Item Level 3 B. Item ...
3
votes
1answer
54 views

Draft mode breaking with listings in sublists

%sublisting.tex \documentclass[draft]{beamer} \usepackage{listings} \begin{document} \begin{frame}[allowframebreaks] \begin{itemize} \item Here follows the source code of this document. ...
4
votes
3answers
89 views

When using nested enumerates, how do I have longer labels start at the same place, after the label of the first environment?

I would like to be able to use long labels in a nested enumerate environments without having them overlap with the previous level. I don't really know how to properly explain this, so here is a MWE ...
5
votes
3answers
99 views

How do I remove the added space with default labels on nested enumerate environments

I would like to remove the added space before nested enumerate environments, when using the default labelling system. Note that I would like to make this change globally, rather than having to do it ...
3
votes
1answer
204 views

LaTeX Sublist Numbering

Here is what I want to do - 1. List 1 1.1 sub list 1 2.2 sub list 2 2. List 2 2.1 sub list 1 I tried doing this, \begin{enumerate} \item List 1 \begin{enumerate} \item sub list 1 ...
7
votes
1answer
96 views

nested lists - typeset only top n levels

I am writing an outline and have a lot of nested enumitem lists. Is there a way to automatically suppress output for higher list levels? e.g. In the following: \begin{enumerate}[label=\Roman*.] ...
3
votes
2answers
114 views

Enumerating nested item with skips

I need to do some nested numbering of items, but with skips. I can skip outer numbering, but similar method is not working with inner numbering. I have the code below, where the numbering starts from ...
1
vote
1answer
442 views

Nested itemize environment affects vertical spacing of parent itemize environment

I have two itemize environments, one is nested in the other. Somehow the nested itemize environment affects the vertical spacing of the adjacent item of the parent itemize environment. As you can see ...
6
votes
1answer
110 views

A follow-up question to: A five level deep list

The solution to A five level deep list implemented an enumerated list that extended to 9 levels of nesting. However, references to nested labels do not list the extended nesting position. I have ...
7
votes
1answer
112 views

Find out actual width of text in nested lists

I am trying to solve the following problem: In regular text, I can place two paragraphs of unequal width side by side using minipages, like so: \documentclass{article} \begin{document} Some text ...
5
votes
1answer
122 views

Curious behaviour of nested list environments

Could someone explain what is happening in the example below? It looks like a bug in the exam document class to me. \documentclass{exam} \begin{document} \begin{questions} \question This is a ...
5
votes
1answer
118 views

Automatic numbering of nested environments / items

I would like to have an environment, let's call it nested, which produces output like Case 1: top level item 1 Case 2: top level item 2 Case 2.1: nested item 1 Case 2.2: nested item 2 Case 2.2.1: ...
2
votes
1answer
215 views

Minimal syntax alternative to enumerate environment [duplicate]

Is there an alternative to the enumerate environment in LaTeX where I can define a nested list with a minimal syntax like that of Markdown or something similar, e.g.: \begin{minimallist} - Fruit ...
8
votes
1answer
129 views

nested multicols with itemised list

Is there any way to reduce the column separation in \begin{itemize}...\end{itemize} in the following MWE to be the same as \setlength{\columnsep}{1cm}. Also how can I remove the column separation rule ...
9
votes
2answers
321 views

Nested enumerate labels with parent label appended plus a single set of enclosing parentheses

I want to have a list like (1) foo (1.1) foo (1.2) foo (2) foo I am using the package enumitem and \begin{enumerate}[label=(\arabic*)] \item foo \end{enumerate} I know that i can append ...
14
votes
1answer
2k views

Nested enumeration numbering

I write homework assignments in LaTex and the assignments are always divided into subparts (i.e. Problem 1 is divided into 1.1, 1.2, 1.3, ...). Currently what I do is I have nested enumerations, but ...
4
votes
3answers
341 views

Question about enumitem, suspend/resume enumeration, last item of list, nested list

How do I suspend / resume an item of a list, multiple levels, if it is the last item of the list? \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item first ...
1
vote
1answer
306 views

How to suppress vertical space between proof environment heads and itemize environments?

The user 'egreg' recently helped me to suppress vertical space between theorem heads and enumitem environments (such as itemize; see the link below). I now have a similar problem: When a proof ...
6
votes
1answer
531 views

Nested enumerate (enumitem) interferes with suppressing vertical space after theorem heads.

In the post How to suppress vertical space between theorem heads and enumitem environments? David Carlisle suggested a piece of code that helps suppressing vertical space between theorem heads and an ...
2
votes
2answers
429 views

enumitem nextline style: nested item shouldn't start on description label's line

I use enumitem description style nextline to emulate a sort of TOC entry with the following code: \documentclass{article} \usepackage{enumitem} \newenvironment{DLdescription}[1][*]{% ...
5
votes
1answer
571 views

Nested enumerate list, Page breaks

I am currently writing a multiple choice exam: There is a enumerated list for the question number and then a nested list for the choices within each multiple choice question: 1. Question 1 a) ...
4
votes
3answers
207 views

Environments nested in Lists

I have a list with several items consisting solely of an align environment: \begin{enumerate} \item \begin{align} e^{\pi i} + 1 &= 0\\ 1 + 1 &= 2 \end{align} \end{enumerate} By default, ...
4
votes
1answer
427 views

Proper margins in custom enumeration/itemize environements

I am using two custom list environments (itemize-compact and descriptionhang), which work fine on their own, but not when I nest them. Please consider this MWE: \documentclass[a4paper]{article} ...
2
votes
0answers
1k views

Too deeply nested (itemize) [closed]

So I'm writing this summary for a lecture and I am using itemize a lot. The problem I get now is the two times the error (NB: \bi is my alias for \begin{itemize}) ! LaTeX Error: Too deeply ...
15
votes
2answers
14k views

How to change the nested itemize bullet characters?

When creating a nested itemize environment in LaTeX as follows: \begin{itemize} \item one \dots{} \begin{itemize} \item Language Models \item Vector Space Models ...
5
votes
3answers
2k views

nested enumeration, skipping items

How can I do a nested enumeration with item being skipped, like this: 1) Level 1 A) sublevel A i) sublevel i a) sublevel a 2) Level 1 [here are the skipped \item] a) sublevel a b) ...
0
votes
1answer
176 views

Control start point of nested list

After stretching the list horizontally according to Horizontal space in lists, I've encountered a problem where the nested list items start too deep inside. How can I pull it back to the left where ...
3
votes
2answers
2k views

In LyX, how to have itemize inside a proof?

LyX is great. I use it to write everyday documents. But it seems that its environment can only have one type; different types of environments can't be mixed. For example, you can't have itemize inside ...
5
votes
1answer
2k views

How to have nested list overlays without wobble

I'm trying to use overlays to reveal successive bullet points in an itemize environment. Each item contains its own second-level itemize environment, which will also be revealed one item at a time. ...
11
votes
1answer
877 views

Infinite-depth list

I want to create a command set that allows me to do something like \nestedlist{ \listitem An item \sublist{ \listitem A sub item \listitem Another sub item } } and get An item 1.1 A ...