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.

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

Beamer bullets without itemize

I've been using Beamer for years. On almost every slide I have a \begin{itemize} and an \end{itemize} and all the \item Blah points in between. If there is nesting I need to carefully utilise the same ...
1
vote
0answers
20 views

\xRightarrow in \item[…] [duplicate]

I would like to put a \xRightarrow into a list instead of a bullet, unfortunately I get ! Argument of \\xRightarrow has an extra }. <inserted text> \par l.8 \item[$\...
3
votes
2answers
82 views

Different enumerate in the same list

I want to make a unique list in which I have two different enumerations, one enumeration for every Demonstration and the other one for the Definitions. Something like: 1) Def. of Pippo 2) Def. ...
2
votes
0answers
32 views

Single-character lists - Doing more with less typing

One of my favorite things in Org mode in Emacs or Markdown is that I can quickly build lists by just doing: - Something - Foo - Bar and it would automatically recognize that as an actual list. In ...
2
votes
1answer
30 views

List Environment with Items On Blank lines

How would one go about defining an environment that automatically places an itemize in front of whatever appears after each line break. So \begin{quicklist} foo bar quaz quiz zoom \end{...
1
vote
1answer
29 views

Command for switching exercise styles

I am trying to create a command that allows me (or the user) to switch between two different styles for typesetting problems. One is the runin in the margin, while the other one is defined by ...
2
votes
1answer
23 views

Left-align equations in the alignat environment, like in flalign

I would like to left-align a few equations inside the alignat* environment, but I am not sure how to achieve this. Essentially, what I want is something that behaves like flalignbut lets me align the ...
0
votes
1answer
40 views

Vertically Align Multiple Horizontal Lists

I'm trying to achieve the following: So I'd like to have in-line lists, that our flush with the left margin and vertically aligned with each letter. I achieved the result above by manually spacing, ...
3
votes
1answer
40 views

List item with math environment?

I am currently working on a very math-heavy document with a lot of lists. Is it possible to define an \item that automatically puts its content in math mode to avoid having to write \item $ $ all the ...
0
votes
1answer
52 views

How to stop \newsavebox giving me bad boxes warnings or how to use better names with \setbox?

The original answer from list of figures and tables when there are no figures or tables?, does not give me any bad box warnings: \def\wheninteresting#1{% \setbox0\vbox{#1}% \ifdim\ht0>35pt \...
0
votes
1answer
41 views

How memoir prints the titles of the content pages?

On the question How to dynamically calculate the height of an empty list of things?, I learned I am required to now how my class calculates its contents page title in order to make the answer to works....
1
vote
1answer
30 views

Rectangle drawing in itemize

Can you help me to get the rectangle at the end ?: \documentclass{article} \usepackage[showframe=true]{geometry} \usepackage{enumitem} \begin{itemize}[label=$\bullet$] \item Set a rank threshold K ...
0
votes
1answer
26 views

Formatting the vertical spacing in a list and placement of the date

This a follow up question. When I change the font of my document, the positioning of the date changes a few mm left or right -- how to amend the code so that this does not happen-- I think a \...
0
votes
0answers
23 views

Why \pdfbookmark keeps adding to the PDF bookmarks while \addcontentsline{toc} does not add the table of contents?

Following the answer of David Carlisle on list of figures and tables when there are no figures or tables? \documentclass[10pt,twocolumn]{article} \usepackage{lipsum} \def\wheninteresting#1{% \...
1
vote
1answer
38 views

How to dynamically calculate the height of an empty list of things?

Following the answer of David Carlisle on list of figures and tables when there are no figures or tables? \documentclass[10pt,twocolumn]{article} \usepackage{lipsum} \def\wheninteresting#1{% \...
0
votes
1answer
36 views

Suppress parindent after list environments

I learned that the reason for parindents is to provide visual clues for paragraph ends. According to some people, is an error to use both \parindent and \parskip. Thinking about this, the logical ...
0
votes
1answer
32 views

Label and indentation format for list [duplicate]

I am building a list with the following requirements: Indent the description according to the longest label (ideally automatically). Enumerated list. Normal font for numbers. Bold font for "An item:",...
0
votes
1answer
22 views

Nested enumerated lists with specific numeration

I'm trying to define functional requirements for software in LaTeX. Each requirement needs an ID, so I decided to use enumitem to define a list with special labels. It's all fine when it's non-nested, ...
3
votes
1answer
57 views

Consistency of hyphenation of hyphenated words

This is not something I have encountered before and not sure which is the recommended way to hyphenate words with hyphens in them. The MWE below yields two different results based on how the text ...
0
votes
2answers
23 views

Illegal parameter number in definition of \enit@c after using \setlist*[enumerateoptional]{nosep}

On this question accepted answer How can I stop this useless empty line popping up in the middle of my lists?, it is defined a new enumitem list environment called enumitemoptional. I have been using ...
1
vote
1answer
32 views

Using \href with with argument from a list

I would like to define a command that takes an input, passes through a list to generate another variable and then is fed to \href to give a link. As in the following example: \documentclass[11pt, ...
0
votes
1answer
38 views

How do I correctly align normal enumerate and enumitem items?

I have a mixed list of normal and enumitem numbered items. It is working perfectly apart from my inability to create the correct left hand margin and hanging indent for the enumitem. I've tried ...
0
votes
3answers
31 views

How do i change the format of the black dots in the itemize environment using enumitem?

I´m new to the "enumitem" package and would like to make an itemize with blue triangles, instead of the regular black dots. How do i do this? either as a global setting in my preamble or as a local ...
1
vote
3answers
44 views

enumerate* - indent issue with next line item

I am trying to create a list that would look like: Awards: 1. Award A 2. Award B I have used the \usepackage[inline]{enumitem} but the result I am getting is the following: Awards: 1. Award ...
3
votes
2answers
44 views

Reference a list with letters

I defined parlist using lower case letters for the items (I know that there are other ways to use letters for the items but I wanted to customize the list style anyway). Unfortunately, if I refer to ...
4
votes
3answers
134 views

How to make the following format

How to make this format??? I use the multicols in overleaf, code is below. \begin{multicols}{2} \footnotesize \begin{itemize} \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \setlength{\parskip}{...
0
votes
1answer
40 views

How to recognize the enumerate shortlabels in my custom environment?

On How to create a enumerate list adding a custom prefix before each item number? I learned how to create a custom environment to create labels. But now, it is missing the enumitem shortlabels feature:...
1
vote
1answer
44 views

Text between items of enumerate without using enumitem

Hello I want to do an explanation between the items of a enumerate environment, I found this: \newcounter{saveenumerate} \makeatletter \newcommand{\enumeratext}[1]{% \setcounter{saveenumerate}{\value{...
0
votes
0answers
23 views

What is the difference between using \NewDocumentEnvironment and \newlist when creating a new enumitem list?

On the question How to create a enumerate list adding a custom prefix before each item number? I managed to the a new list type using \NewDocumentEnvironment \documentclass{scrbook} \usepackage{...
0
votes
1answer
64 views

How to create a enumerate list adding a custom prefix before each item number?

I found this question Adding some common text to enumerated description lists to be the closest: \documentclass{scrbook} \usepackage{enumitem} \newcounter{descriptcount} \newlist{enumdescript}{...
1
vote
2answers
47 views

How can I place an indented list on same line after a word or phrase?

I need to approximate a document with the following format where a list starts after a word or phrase on the same line: word or phrase source language 1) First translated definition ...
3
votes
2answers
36 views

Missing periods in second level list

I'm working with some multi-level lists, and I've changed the default second level numbering to arabic. Here's the relevant code: \documentclass{article} \usepackage{amsmath, amssymb} \usepackage[...
3
votes
3answers
83 views

Generate a List of Appendices page for report class

So it seems like this question has been asked many times over, however, I have found none of the existing solutions are particularly satisfactory for my situation, as they either force other unneeded ...
1
vote
1answer
52 views

How to label lists?

How do I implement what is shown below? If I just use "enumerate" each time, it doesn't get labeled (only the items get labeled).
1
vote
2answers
39 views

Wrap text around table in nested enumerate environments

As a follow-up question to Wrap text around table in itemize environment, I'd like to contain an enumerate environment and a table inside another enumerate environment. Right now, the table appears ...
1
vote
1answer
36 views

How can I change the bullet symbol on an unordered list?

I'm in a class where homework has to be submited using LaTeX, for the first homework they are teaching LaTeX by making us transcribe a PDF document. I'm pretty much all-set but I cannot find an answer ...
3
votes
4answers
375 views

How do I automatically add linebreaks “\\” to the end of each row of a tabular environment?

\begin{center} \begin{tabular}{ |c|c|c| } \hline \multicolumn{3}{|c|}{\textbf{Cycle Number and Phase}} \\ \hline t & $ \phi $ & I \\ \hline ...
3
votes
2answers
62 views

Global Definition of a List

I found some sort of a list online and got it to work as intended The command "addtoaliste" is adding a parameter to the list "aliste". It's defined by newcommands, so I have problems getting it to ...
0
votes
1answer
25 views

Description Item Spacing

I've following latex code: \documentclass{article} \begin{document} \begin{description} \item[days] {\footnotesize sunday, monday} \item[months] {\footnotesize january, february} \end{description}...
0
votes
0answers
62 views

Unnecessary space in sentences

There is unnecessary space coming in sentences,why this is happening .I have no idea about writting latex but Thanks to MathStack exchange because of downvotes i teach my self latex. But i have no ...
0
votes
1answer
45 views

Additional levels for itemize {Too deeply nested}

For the shown MWE, I added levels till level 9 for itemize in the preamble, yet I do still get the error too deeply nested. \documentclass[a4paper,12pt,twoside]{book} \usepackage[a4paper,top=2.5cm,...
0
votes
1answer
54 views

How to display a numbering inside parentheses

I'd like to display the following numbering in LaTex: (n-m) (a)... (b)... where n represents any section number and m the sequential number in this section. It can not be equation numbering ...
0
votes
0answers
20 views

Indentation of unordered lists

When I'm forming an unordered list, if one of the list items involves a long line of text, the corresponding bullet is not indendented in line with the other items. Here's my example: \begin{itemize}...
3
votes
3answers
42 views

bulletpoints - setting distance between the first word and the rest of sentence

I have a text which I wrote in word and now I want to transfer it to Latex. In the bulletpoints I have two problems. 1- I cannot set a constant spacing between the symbols and the explanations (See ...
17
votes
1answer
268 views

Indication that a list continues to next page

The longtable environment can create a note at the bottom of the part of a table that notifies the reader that the rows are “continued on the next page” Is there a way to do that with a list ...
3
votes
2answers
124 views

Creating environment that includes itemize and tcolorbox

Consider the following MWE \documentclass{article} \usepackage{tikz,lipsum,lmodern} \usepackage[most]{tcolorbox} \usepackage{blindtext} % https://tex.stackexchange.com/questions/350316/create-manual-...
1
vote
1answer
50 views

Vertical Space in lists - different spaces before and after list

Here at Stackexchange there are some questions related to vertical space in lists. For example: \topsep, \itemsep, \partopsep and \parsep - what does each of them mean (and what about the bottom)? How ...
6
votes
2answers
185 views

Automatically end list item with proper punctuation (semicolon, period)

If I have a list using itemize, I want to automatically end each \item with a semicolon (for all but the last item) or a period (for the last item). For example: \begin{itemize} \item One \item ...
1
vote
1answer
32 views

Spacing and Margins of Enumeration with Custom Label

I am currently struggling to build an enumeration with custom labels and some adjusted spacings. Afterwords you can find my mwe. \documentclass[a4paper, twoside, openright]{scrreprt} \usepackage[...
0
votes
2answers
34 views

Horizontal alignment issues with enumerate/description and sub-levels

I am struggling to obtain a proper horizontal alignment with either enumerate or description. I have simple bold arabic numbers followed by a dot as labels. These are references to exercises, and so ...