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.

1
vote
1answer
25 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
33 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
20 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
12 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
84 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
47 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
64 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
14 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
6 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
42 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
51 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
28 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
80 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
47 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
39 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
31 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
84 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
31 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
53 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
27 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
19 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
145 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
29 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
62 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
51 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
57 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
63 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
64 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
51 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
114 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
44 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
39 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
81 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 \...
0
votes
0answers
40 views

Formatting error with numbered list when using enumitem and reledmac packages

Update: The formatting issue is caused by a bug with reledmac (see comments). Would it be possible to achieve the same output with an alternative setup? Very happy to receive suggestions. I am having ...
4
votes
1answer
107 views

How to remove space at the start of inline enumitem itemized list?

Here I show the out-of-the-box behaviour of an inline itemized list, and then a workaround that achieves the look I'm after. The desired look is achieved, here, by manually adding a negative space to ...
0
votes
0answers
24 views

Perform a page break within \cvlistitem in moderncv template [duplicate]

I am using following template \cvlistitem{ \begin{itemize} \item 1 \item 2 \item 3 \item 4 \item 5 \item 6 \end{itemize}} Currently, if it is not able to fit in same-page, it take whole ...
0
votes
0answers
25 views

Suppress item numbers specifically in `enumerate` environment as modified by the package `enumitem`

I'm trying to create a list or listlike structure that has the following characteristics: no extra vertical space between items no leading line numbers "looking nice" when surrounded by \begin{...
0
votes
0answers
34 views

TeXstudio wrong indentation after certain environments

I have the impression that Texstudio struggles to indent text following the end of a list (in code, works fine when built of course). Here's what I get with auto-indentation: \documentclass{article} \...
1
vote
0answers
29 views

Set format to custom enumeration [duplicate]

My enumeration should contain four key words: Aggregate Power Proximate Power Offensive Power Offensive Intentions I want to enumerate them and take these four key words as the enumeration label. At ...
3
votes
1answer
41 views

How to get dashed lists in french and bullet lists in english with babel in the same document?

In a bilingual document, using babel, I want to have a dashed list when the main language is French, and a bullet list when the selected language is English. Here is a MWE showing that switching to ...
0
votes
0answers
17 views

How to make the counter start at a given number in tasks environment? [duplicate]

Is there any other method other than this ? I want it to be automatic just \task will do the job for me. \documentclass{article} \usepackage{tasks} \usepackage{amssymb} \usepackage{amsmath} \begin{...
2
votes
1answer
56 views

Can't Find what's causing the error in this code, trying to insert a figure

\documentclass[12pt]{article} \usepackage{cite} \usepackage[UKenglish]{babel} \usepackage{fixltx2e} \usepackage{hyperref} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{chngcntr} \...
3
votes
1answer
52 views

Suppressing blank lines between descriptions in ConTeXt

EDIT I changed the title to make this post easier to find for someone not too familiar with ConTeXt syntax. Previous title was "Is there a joinedup equivalent for \setupdescriptions?" Which option ...
0
votes
0answers
20 views

How to prevent itemize from breaking page margins?

I'm using \begin{itemize} with some very long items, but they seem to ignore the standard page margins and give me bad box warnings. How do I prevent the list items from breaking from the margins of ...
2
votes
2answers
79 views

Special enumerated in mathematical proofs

Many mathematical proofs are something like this Theorem: the following statements are equivalent: (1) a (2) b (3) c Proof. (1)--> (2) argument (2)--> (3) argument (...
2
votes
2answers
174 views

Have “enumerate” continue the numbering of Sections, Subsections, Subsubsections, etc

I'm using MikTex and I'm attempting to create a government statute-type document that has nested levels such as: I. Section A. Subsection 1. Subsubsection etc. Additionally, I would like "...
0
votes
0answers
48 views

Why is \tex_par:D behaving differently from \par?

As illustrated in the MWE, using \tex_par:D rather than \par within a list environment leads to unexpected side-effects. Is this intended behavior? If so, it's likely to break a lot of code. I ran ...
0
votes
0answers
18 views

Remote line gap between items

How to remote the line gap between the items? \documentclass[12pt, a4paper]{article} \usepackage{mdwlist,lipsum} \usepackage{geometry} \geometry{a4paper, left=10mm, top=10mm, right=10mm, bottom=...