2
votes
0answers
78 views

Possible expansion or grouping issue : Question/Answer structure that checks if environment content is empty

Motivation: I am working on a very personalized Exercise/Answer package for my colleagues. The exercise, exsheets, etc. packages don't do what I need. To accomplish this, I create an exercises ...
7
votes
1answer
116 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*.] ...
4
votes
2answers
131 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 ...
6
votes
2answers
118 views

Create \ref for nested enumitem \item without nesting in the output

Sorry the question is a bit awkward. Basically I have nested \begin{enumerate} lists. I'd like something to appear like this: 1 Foo 1.1 Bar Please see additional information in subsection 1 ...
10
votes
2answers
378 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 ...
4
votes
3answers
380 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
330 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
571 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
487 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][*]{% ...
4
votes
1answer
474 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} ...