Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lists]

{lists} is about list environments. If your question deals with a specific list environment, such as {itemize}, {enumerate}, or {description}, add that tag along with this one. {enumitem} is a popular package for customizing lists. For registers like a "List of figures", use {table-of-contents} ...

3
votes
1answer
48 views

How to refer to single item in custom enumerate

I have defined an enumerate environment with custom item names: each item should start with a bullet point and then "Type X case", where the X denotes the item number. Later in the text, I want to ...
5
votes
2answers
32 views

Resuming a customized list

I am using a list that has only even numbered items for the exercises that my students are working on. I have run into a few issues: Commonly, questions begin with instructions for a small set of ...
0
votes
0answers
13 views

Is it possible to create an automatic abbreviation list in TexMaker

Is it somehow possible to tag words in my main text, I want to put in my list of abbreviation, and then Latex create the list for me? I have tried with the glossary packages but it does not work in ...
1
vote
1answer
21 views

Description environment within footnote

Using a description within a footnote puts a line break after the footnote number instead of starting in the same line. MWE \documentclass[a4paper, 11pt, oneside, draft]{Report} \begin{document} ...
0
votes
2answers
33 views

Add list items to a table

I want add a list inside a table. My actual code is the following \documentclass[12pt,a4paper,twoside,openright]{book} \usepackage{booktabs} \usepackage{array} \newcolumntype{L}{>{\centering\...
0
votes
3answers
31 views

Continuing the enumerate numbering from other the enumerate list in the document

I have an enumerate list in my latex document as below: \begin{enumerate} \item 1 \item 2 \end{enumerate} I want pick the numbering of that particular list somewhere else in the document, i.e., ...
2
votes
3answers
36 views

Referring to element in a list macro using index

Here is a minimal example of what I want to accomplish: I have defined a list, such as this: \def\listA{1/a/A, 2/b/B, 3/c/C} I am now able to successfully loop through this list using \foreach ...
11
votes
2answers
340 views

Bulleted list with vertical lines

I want to add different positions within a company in a similar fashion to what LinkedIn uses, i.e. the vertical line connecting the dots of the bullet list. How can this be done? Edit: now with a ...
2
votes
2answers
39 views

Specifying itemize with \addtolength

I am writing an additional page to my cover letter and cv, so I am using moderncv. Therefore the style of the itemize is defined by the package. For my additoinal page I want a new itemize style that ...
1
vote
2answers
21 views

List with various \item styles

I'm trying to design a basic "interview format" consisting on a series of questions and answers, which I want to typeset in different styles like, for instance, boldface for questions with a leading "...
1
vote
1answer
45 views

Use normal spacing within a minipage (same as outside)

I was wondering how to have the contents of a minipage look exactly the same as “normal” text (i. e. with respect to spacing, indents etc.). These minipages can contain arbitrary content such as ...
2
votes
2answers
39 views

Latex macro lists in \foreach

I have the following code, where I define two separate lists. I want "foreach" to pick items of these two separate lists. This question is updated to make it clear that "AA" and "BB" are also needed ...
0
votes
1answer
31 views

How to adjust the labeling environment's spacing?

Is there an easy way to eliminate the spacing between a labeling environment's items as well as around the environment, similar to enumitem's \setlist[itemize]{noitemsep,nolistsep}? The only answer I ...
1
vote
1answer
64 views

Longtable struggle

I had been struggling with this table for two weeks.. I prepared a sort of MWE but I had to leave the great part of my work because is part of the question and because I'm a novice in LaTeX. I'm ...
0
votes
1answer
12 views

»missing \item« despite using enumitem's resume

The following MWE does not work as expected: It throws an error during compilation, despite the result seems to be correct. MWE: \documentclass[11pt]{article} % use larger type; default would be 10pt ...
0
votes
0answers
12 views

Nomenclature groups in different pages

I wish I could have the groups inside nomeclature in differente pages each and their titles centered. So far I tried the following MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{...
2
votes
1answer
26 views

Multicolumn list environment

I want to generate an environment that allows to establish the number of columns. I tried the following environment but I do not know if the \AtBeginEnvironment commands are compatible with \...
6
votes
2answers
415 views

How can I create a list with a step size different from 1?

I have to type a lot of questions, but only every 4th (4,8,12,...), so I was wondering if I can get Latex to number the items automatically. I know I can change each item numbering manually, but I'd ...
2
votes
3answers
60 views

Enumerated list with repeated numbers with an asterisk

I'm trying to obtain: 1. text text text 2. text text text 2*. text text text 3. text text text 4. text text text 4*. text text text I've seen something similar done with: \newcommand{\myitem}{\...
0
votes
0answers
12 views

Can't change a portuguese template to english

I'm trying to use this template (https://www.overleaf.com/19575183fdzfsdppdrwj#/72525914/) for my Master's final work (in this university as well) but there are some details that I can't work around. ...
2
votes
0answers
52 views

Vertical list customization like enumitem's itemjoin?

I like the flexibility in editing afforded by custom inline enumitem lists; for example: \documentclass{article} \usepackage{enumitem} \newlist{inlineitem}{itemize*}{1} \setlist[inlineitem]{ % ...
12
votes
2answers
181 views

How does \renewcommand immediately following a \begin{itemize} prevent missing \item error

The itemize list below works fine. However, if I attempt to move the \renewcommand*{\do}[1]{\item #1.} outside of the itemize, it results in a Something's wrong--perhaps a missing \item ...
1
vote
1answer
32 views

Progressive indentation for inline enumeration

I would like to create inline enumerate lists where each additional line after the first is progressively indented, forming a step-like pattern, as illustrated below. Is there any way to produce this ...
3
votes
1answer
44 views

How can I fix the spacing in enumitem inline lists?

I have some spacing troubles using inline lists from the enumitem package. I know that the way this is used in the example is not elegant typesetting, but it is only to demonstrate the problem. If I ...
1
vote
0answers
27 views

Excluding specific text from \justify

I have the following LaTeX: \bp This is the first bullet point, the content is long and it spills onto the second line. \bp This is the second bullet point. \bp This is the third bullet point. It has ...
0
votes
1answer
53 views

Aligning in an enumeration environment

Is there a better, smoother way to align the comment columns? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{enumerate} \item[{\bf a.}] $\begin{aligned}[t] \dfrac{z^{\...
2
votes
1answer
47 views

Nested boxes around a few items in an itemize environment

this is kind of a follow up of this question, where someone asked how to create a box around a few items in an itemize environment. I'm facing a similar issue, but my case is a little bit more complex,...
5
votes
5answers
84 views

Spacing between groups of two list items

I'm trying to format a homework document, in which I want to write the questions and answers in a list. The question is followed by an answer, after which I want a slightly bigger gap before the next ...
4
votes
0answers
43 views

If I put square brackets directly after \item on an enumerated list, the square brackets don't show up

My code is as follows: \documentclass[]{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=4.\arabic*] \item Foo \begin{enumerate} \item [0,1] ...
1
vote
1answer
50 views

Latex indent with alphabet list

I want to achieve this simple list via overleaf. 1. xxx 2. xxx 3. xxx (a) First line, (b) xxxxx (c) xxxx 4. xxx And below is my code now, I am new in latex. I stuck here and don't know how to ...
1
vote
2answers
316 views

How do I make a list that goes “1.1, 1.2, …”?

I tried, \setcounter{enumi}{1.0}, but it didn't work and just gave me an error. How can I achieve that?
0
votes
1answer
31 views

Interrupting nested lists

How to interrupt the nested lists and resume directly from the inner list? For example: Step 1: Define the below items \begin{enumerate} \item Item Level 1 \begin{enumerate} \item ...
2
votes
0answers
64 views

Generate an iterable list

I need to return an iterable list (that will be used in another steps) from an previous list that includes expandable content (variables and math operations). \def \scale {1} \pgfmathparse{\scale * ...
2
votes
0answers
59 views

Formatting an implication cycle proof

Some theorems/lemmata/propositions start with "If [...] then the following are equivalent:". After this, an enumeration (i), (ii), (iii) follows. The proof is usually done in an "implication cycle":...
0
votes
1answer
30 views

Custom environment with both numbering and named labels

I'd like to add arabic numbers to the custom environment described here: Access optional item label when defining label style with enumitem So to have this \begin{enumerate} \item \emph{(Hello)}...
0
votes
1answer
83 views

How would you typeset the following

\documentclass[12pt]{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{enumerate} \newenvironment*{exercise}{} \newcommand{\R}{\mathbb{R}} \begin{document} \begin{exercise}{1.10.} ...
1
vote
0answers
35 views

How to add this heading to list of equations

I generated a list of equations in a report class with this code in preamble: \DeclareCaptionType{myeqcap}[][List of Equations] \captionsetup[myeqcap]{labelformat=empty} Now, I want to add this ...
2
votes
1answer
30 views

Alternating item background colors in labeling without using a table?

I'd like to take the following code, and make the rows alternate background colors, without using a table, as that breaks twocolumn, and without using multicol, as that breaks floats. Is this possible?...
3
votes
1answer
59 views

How to make a definition list in TeX

I want to make a list similar to the following in HTML, but in LaTeX: <dl><dt>Foo</dt> <dd>Bar</dd> <dd>Baz</dd> <dt>Things I do</dt> <dd>...
2
votes
2answers
40 views

How to get list environment to align at text baseline in a \parbox[t][0pt]{…}

This is a follow up to this question. I'm trying to insert text that takes up no vertical space but aligns the same as if it was inserted normally. The solution provided in the linked question works ...
3
votes
1answer
76 views

How to remove duplicates from a chapter-local list in ConTeXt?

This code, found at How to define items appearing in a list, which appears somewhere else in the document in ConTeXt?, allows users to add items to a list by using the code \definetopic{}: \...
1
vote
0answers
18 views

Refer to item in enumerate list [duplicate]

I tried to refer to first and last item of enumerate list without using \label{} command in text. However, it shows the sublist number as well with the item number. Is there any way to fix this so ...
1
vote
0answers
47 views

Automatically refer to first and last item of enumerate list [duplicate]

I want to refer to item list in text automatically (without using \label command). Following is the code I am using. It could be any number of item and it should list starting and end list number ...
0
votes
1answer
52 views

Multi-level list error

I have created a list that has a lot of levels, and have used resources from both TeX SE and ShareLaTeX to do so, but when I try to compile it, I get the error "Missing number, treated as zero" at ...
0
votes
0answers
51 views

List of exercises with empty or filled dots and ast

How to do something like that?
2
votes
1answer
46 views

enumerate with itemsep newpage and variable page heights

I would like to have a macro that sets each enumi level item from an enumeration list such that: it appears on its own page and the page is cropped to just that text Hence the resulting pdf will ...
2
votes
1answer
125 views

Nested Enumerate

How can I create the following format? i. Header 1 I. Ex 1 to be used later in the text ii. Header 2 II. Ex 2 to be used later in the text iii. Header 3 III. Ex 3 to be used later in the text ...
1
vote
2answers
50 views

How to make special indents for a block of text

This is what I need: Headline First item in list continuation of description of first item if first line gets full second item on list continuation of description of item 2 ...
2
votes
1answer
62 views

\begin{list} … \end{list} without elements

In some generated code I got that the begin and end tag of a list were given but no item i.e. \begin{list}{}{} \end{list} This leads to the message: ! LaTeX Error: Something's wrong--perhaps a ...
2
votes
2answers
37 views

How to create a list in latex with titles in bold

I provide an doctored image (don't have permission to share the content of the paper from which I took the snippet) of what I'm looking for, I have done some research on Google but couldn't seem to ...