Stack Exchange Network

Stack Exchange network consists of 175 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} instead.

14
votes
4answers
692 views

Unary Enumeration

I would like to have an enumerate list, with the numbers expressed in unary. That is, "1" would be represented as •, "3" as •••, and "8" as •••••|•••. I'm able to print the dots already, and that's ...
1
vote
1answer
38 views

To-do documentclass for a document that is just a to-do list?

Is there some LaTeX documentclass, or package, for creating a document that is only a to-do list, including check-boxes where one can mark those items done? I am not asking about how to include a "to-...
0
votes
0answers
15 views

Edit Numbering of customized list with \newlistof

I created a custom list for my appendices which works in general. When I print my list of Appendices, the Appendices are numbered but they also contain the section number currently (e.g. 3.1, 3.2). I ...
0
votes
1answer
21 views

How to make numbered list where the number is not the first part of the title [duplicate]

I would like to make a list of goals like so: Goal 1: Do some stuff. Goal 2: Some other stuff. Goal 3: etc I can use \begin{enumerate} to make a numbered list, however I would like each number ...
0
votes
1answer
22 views

`linguex` numbered list embeddings

I'm using linguex and need a numbered list with four levels of embedding. I want to be able to have a custom number bullet (label) for the fourth level of embedding as well, and to be able to cross-...
0
votes
0answers
16 views

ToC as enumerated list + Separate ToC's for each \include{filename.tex}

I am hoping to accomplish two things here. The first is that I would like to have a Table of Contents that looks exactly like a typical \begin{enumerate} \item \end{enumerate} list, where each \item ...
2
votes
1answer
27 views

Create a list through commands

Is there a way I could do something like \createlist{listone} % A description list specifically \additem{listone}{item1}{description1} \additem{listone}{item2}{description2} . . . \makelist{...
0
votes
2answers
23 views

begin penalty and label control with enumerate

Using a begin penalty (Avoid a break between a list and its introductory statement) works with enumerate How to format labels with the enumerate environment was discussed in format labels of ...
0
votes
0answers
19 views

Enumerated list, skipping the numbering of some items

Is it possible create an enumerated list with some of the items in the list not numbered? That is, is there an \item* command that will suppress the numbering of that particular item, and then ...
1
vote
2answers
43 views

List broken by a float

Consider this example: \documentclass{report} \usepackage{lipsum} \usepackage{graphicx} \begin{document} \lipsum[1-4] \lipsum[5][1-10] Consider the following cases: \begin{figure}[htbp] \...
2
votes
1answer
33 views

How to delay and re-order output? Is it possible within a list?

I'd like to make reports using LaTeX, meaning that I would be able to take notes chronologically and that those notes would be organised in groups before being output. I already tried to achieve ...
3
votes
1answer
71 views

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

I have a 40 page long document that works fine for the most part, but starts having heaps of errors on different lines by the end. The document has a total of 42 errors, happening on several lines, ...
3
votes
3answers
54 views

How can I change the text (not the label) for each item in an itemize environment using wrappers?

How can I customize the text (not the label) after each \item in an itemize environment? I don't see any option for that in the enumitem package. Other questions on Tex StackExchange also seem to ...
0
votes
1answer
21 views

How to list portion of subsections

Right now I have a list of questions which I labeled. \documentclass[10pt]{article} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \begin{document} \newpage \section{Project} ...
5
votes
3answers
993 views

Is there a possibility to generate a list dynamically in Latex?

As stated, I wonder if there is any possibility to dynamically add items to a list and print it anywhere in the document, regardless of where the definitions are made. I'm thinking something like ...
1
vote
1answer
30 views

paracol description list wrap title

I am writing a bilingual glossary using paracol, but I have two questions about it. First, when using the "description" list, items with a long name do not wrap onto lines. Second, when I have two ...
1
vote
1answer
35 views

Justifying Text in Enumerate Level II

I am fairly new to LaTEX. I am writing a large document in which I need to number every clause so I am using the Enumerate in LaTEX which works fine. Sometimes I need to Write the Clauses in 2 or more ...
0
votes
0answers
29 views

Bold custom labels for itemize environment?

I have the following list with custom labels: \begin{itemize} \item[3.2] I have to manually label items... \item[3.5] ...like so... \item[3.6] ...and so. \end{itemize} I'm using itemize ...
0
votes
0answers
23 views

List appendices in itemize/enumerate style

I write meeting minutes once in a while, and quite often I have the need to add appendices (in the form of PDFs). I want a way to simply list all the added appendices (and their number of pages) in a ...
1
vote
2answers
90 views

Fix horizontal space before lists in LTR context when text direction change within frame

Consider this example, why space before list is not the same in the two cases and how to fix it when I change text direction within frame. \documentclass{beamer} \usepackage[nil,bidi=basic-r,layout=...
1
vote
1answer
21 views

\foreach iterates through list as one argument? - Help please

My question is very simple. The following lines \documentclass[10pt,german]{article} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{pgffor} %foreach \expandafter\xdef\csname ...
1
vote
1answer
56 views

How to override command on my preamble, after its redefinition by my class with renewcommand?

I use this document class abntex2 from: https://ctan.org/pkg/abntex2?lang=en, but when I generate this: \documentclass[12pt]{abntex2} \renewcommand{\listfigurename}{Lista de Figuras} \begin{...
3
votes
2answers
74 views

Why does indent disappear in lists?

Consider this small document: \documentclass{article} \usepackage{blindtext} \begin{document} \blindtext \blindtext \begin{enumerate} \item% \blindtext \blindtext \end{enumerate} \end{document}...
0
votes
0answers
19 views

List the number corresponding to an item that satisfy a certain classification

I have a numbered question bank; \begin{enumerate} \item Question 1 \item Question 2 \item Question 3 \item Question 4 and so on \end{enumerate} These questions can be ...
0
votes
0answers
7 views

Change reference behaviour of newlist depending on theorem environment

I am using ntheorem and cleveref, and I want to reference enumerate environments inside theorems, like the following: \documentclass{article} \usepackage{ntheorem, cleveref, enumitem} % Define ...
1
vote
1answer
45 views

How to adjust the position of a number in an enumerated list?

So I've been experimenting with Latex as it'll apparently be useful for the next year of my degree, and I've come across the following issue with enumerated lists. \begin{enumerate}[label=(\roman*)] ...
1
vote
1answer
59 views

Description list with enumitem

I would like to use enumitem package to create a description list so that the label has no indent, the item immediately follows the label, and the second line of the item has no indent. Is it this ...
1
vote
3answers
29 views

Insert Space Between Adjacent Tables

At the moment, I effectively have one large table containing what should be multiple smaller tables. That is, my formatting needs improvement. Either way, I currently have one table with 9 columns, 3 ...
1
vote
2answers
96 views

outlines package spacing

The outlines package restarts the numbering of the item following a \0 entry, which is a paragraph type entry. The documentation for the outlines package provides preamble code to avoid the restart. I ...
1
vote
3answers
48 views

modular macro list structure to iterate it

Based on the Wipet's answer, and with the same learning spirit, about the iterate loop "for", it's interesting to find out how the proposed "for loop" could be more modular. I want to pass, as an ...
0
votes
1answer
41 views

\listoftheorems and its alternative with tcbtheorems not displaying,

i tried to to get a list of definitions (theorems) at the end of my document in the appednix. Unfortunality, the list is empty. I tried to use the description here but it does not work (for me). The "...
1
vote
2answers
37 views

How to remove the superfluous empty line before the list environment?

I want to put the section title in the left margin using titlesec. However, it results to a superfluous empty line when using list environment. How should I remove it without using vspace? Minimal ...
2
votes
1answer
86 views

Is it possible to have `\partopsep` added below a list environment that is followed by a new paragraph?

Given the following minimal example \documentclass[parskip=full]{scrreprt} \usepackage[onehalfspacing]{setspace} \usepackage{enumitem} \usepackage{lipsum} \setlist{ parsep=\parsep, itemsep=-.5\...
0
votes
1answer
32 views

Outlines package enumerate new list error

I'm making an outline and realized I needed another enumeration label. So, when I added the 5th one, and did the same \5 command, there was an error saying that it is an "undefined control sequence." ...
1
vote
4answers
54 views

Including categorical colours with \newcommand in PdfLatex

I wish to have a list of predefined HTML colour codes and convert them into a numbered reusable variable which can then be referenced later. This is useful when having a set number of variables or ...
0
votes
1answer
30 views

Text not horizontally aligned with \item

A bit nickpicky, but \item from enumerate and flalign* don't line up correctly, such that there is a small vertical distance between the two. Code surrounding error: \begin{enumerate} %some long ...
1
vote
1answer
22 views

How to change the alignment of the label and the description inside the description environment?

I like a particular description alignment: The label aligned to the right The description aligned to the left In LaTeX I have been doing it manually, so I'd like to configure the description ...
3
votes
2answers
149 views

Sort list of elements created from a custom command

In order to have this result I wrote this command: \newlength{\boldAcrwidth} \setlength{\boldAcrwidth}{2cm} \NewDocumentCommand{\boldAcr}{m >{\SplitList{ }}m}{% \makebox[\boldAcrwidth][l]{\...
1
vote
1answer
30 views

Strange centring problem of side by side equations in an enumerate environment

I'm facing a problem in centring two side by side equations correctly inside an enumerate environment. This problem only occurs to me under certain conditions and I can't get my head around it. ...
2
votes
3answers
63 views

How to display a longish sequence of lists of numbers?

I have to show some long vector transformation such as this one --- see image below. You begin with the vector on the left and a transformation takes it to the vector on the right. (See image below.)...
1
vote
1answer
54 views

What is the indent variable of enumerate?

When using an option for enumerate the indent before the items disappears. I would like to set the indent to the same indent that is naturally used for itemize, enumerate etc., but I don't know how to ...
3
votes
1answer
58 views

How to get a colored packed itemize list in ConTeXt?

Consider the following MWE: \setupitemize[color=green,packed] \starttext \startitemize \item Test one \item Test two \stopitemize \stoptext As you ...
0
votes
1answer
76 views

Vertical spacing between two lines of an item

I encountered a problem regarding the spacing between two lines of an item when wrapping a row of text. Here is a MWE: \documentclass[a4paper, 12pt]{article} \begin{document} \noindent Some text ...
0
votes
0answers
22 views

Making nomenclature span over two columns [duplicate]

I have a long list of variable dimensions which I want to stack in two columns over the page, how can I do this? This is my code: \newpage \mbox{} \nomenclature{$\rho$}{$ML^-3$} \nomenclature{$u$}{$...
2
votes
1answer
65 views

Advanced Theorems List from ntheorem Documentation throws errors

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
1
vote
1answer
52 views

Problem with list theorems and ntheorem. Clash with hyperref?

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
2
votes
1answer
134 views

How to do recursive program with latex

I am trying to make a schedule for two groups of people who will watch the same experimental lectures at the same laboratory in different dates. I need to skip the holidays. I intend to get something ...
1
vote
1answer
66 views

How to set default values for enumitem list parameters

I want to format all my (enumitem-based) lists so that they all look like this: \begin{itemize}[labelindent=\parindent,leftmargin=*] \item (...) \end{itemize} However, I'd like to skip the ...
0
votes
0answers
40 views

Itemize bullets are not shown [duplicate]

I am trying to do a list with itemize but in beamer, the bullets are not shown and I cannot find the reason why. \RequirePackage{flashmovie} \documentclass[12pt]{beamer} \setbeamertemplate{footline} {...
2
votes
1answer
103 views

Filling a table with list data: ! Extra }, or forgotten \endgroup

I'm trying to fill a table by iterating through predefined data and experience errors with both & (next column) and \\ (next row) using code like follows: \begin{document} % \foreach \s in \...