Tagged Questions
5
votes
1answer
67 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
83 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: ...
1
vote
1answer
73 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
89 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
181 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 ...
13
votes
1answer
384 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
204 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
200 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
326 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
233 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
406 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
171 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
274 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}
...
1
vote
0answers
914 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 ...
8
votes
2answers
7k 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
...
4
votes
3answers
982 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
144 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 ...
2
votes
2answers
1k 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
1k 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
782 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 ...