Questions tagged [enumitem]

{enumitem} is a package that provides user control over the layout of the three basic list environments: {itemize}, {enumerate}, and {description}.

Filter by
Sorted by
Tagged with
6
votes
2answers
158 views

What's the difference between the enumerate and enumitem packages?

Is there an advantage to using the enumerate package over the enumitem package or vice versa? I use enumitem and my co-worker uses enumerate, and we're trying to decide which should be used when we ...
3
votes
2answers
85 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. ...
0
votes
0answers
15 views

PDF bookmarks for enumerate items

I'm trying to insert PDF bookmarks for enumerate items: I've defined a custom list type exercises that almost works: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{enumitem} \...
3
votes
0answers
68 views

enumitem, is possible to put “series=<name>” in \setlist?

I define own list, for example mylist. For some reason I like to name it with series, for example as series=ML for resuming purposes: resume=ML. Adding this locally, for example as in the following ...
0
votes
1answer
39 views

Box within list and sublist

Need to create shaded boxes surround list, without affecting list style, boxes may come sublist and subsublist also, is there way to fix like attached images, in my books there are thousands of list ...
0
votes
0answers
27 views

Customize the items in the enumeration environment

How can I beautify the items in personal style? Can you give me an example? I want to do like the "1,2,3,4" subsections below
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, ...
0
votes
0answers
33 views

How can I create a table over several pages with enumeration over several cells?

I just started using latex and it has a pretty steep learning curve i gotta admit. I'm trying to create a table as seen below, where the titles in the blue cells are enumerated. I dont need the color ...
1
vote
1answer
52 views

How to un-indent the item in an “enumerate” that's also inside a minipage

I'm constructing a document aiming towards Wildcard's checklist and have come across an indentation that I can't convince LaTeX to omit. One of the requirements for the checklist is that each (sub)...
3
votes
1answer
18 views

Self defined alph list breaks when enumitem is used

Please see the following MWE. (Written in light of this answer.) \documentclass{article} \usepackage{polyglossia} \usepackage{fontspec} % Bangla \setmainlanguage[numerals=Bengali, ...
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
58 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 ...
0
votes
1answer
58 views

Warning with lualatex, enumitem, a custom list, and very big fonts

I'm using a custom list that presses out vertical space (see the answer to this question). It's been working fine, till I recently tried it with some very big fonts via scrextend. Now I get the ...
2
votes
1answer
79 views

When I run my tex file, some text is missing

\begin{description}[font=$\bullet$~\normalfont\scshape\color{red!50!black}] \item [In Zeile 1 habe ich mir ein Curses Bibliothek geholt.Curses ist der name verschiedener Programmbibliotheken zur ...
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
39 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 ...
2
votes
2answers
45 views

Why enumerate items in a table make spacing around them?

I have trouble with enumerate items in tables. Please take a look below. Although I've used to the enumitem package to eliminate all spaces around enumerate items, they make spacing when in a table. ...
2
votes
2answers
112 views

A pretty typography for an enumeration with the latin fonts into rounded square

I have this MWE \documentclass[12pt]{article} \usepackage{mathtools} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=\alph*\addtocounter{enumi}{0}] \item First item. \item Second item....
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 ...
12
votes
1answer
898 views

How can I stop this useless empty line popping up in the middle of my lists?

My custom enumerateoptional enumitem environment is putting a useless empty line in the middle of my enumeration list. To reproduce this, you need to fill a line 100%. See this example I extracted ...
0
votes
1answer
48 views

How to define commands before loading the `hyperref` package, which is loaded by my document class?

On the question Missing number, treated as zero when renewing enumerate \item and using hyperref I learned I have to define my custom commands from the question How to recognize the enumerate ...
1
vote
0answers
30 views

Missing number, treated as zero when renewing enumerate \item and using hyperref [duplicate]

When I tried to integrate the answer for my question How to recognize the enumerate shortlabels in my custom environment? on my thesis document, latex throwed this error: main.tex:26: Missing number, ...
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
45 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{...
2
votes
1answer
47 views

Illegal parameter number in definition of \enit@before. You meant to type ## instead of #, right?

I am trying to renew the \item command, inside the \setlist command for How to create a enumerate list adding a custom prefix before each item number?, but latex keeps telling me: test1.tex:22: ...
0
votes
1answer
66 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}{...
2
votes
2answers
98 views

Enumitem with hyperref's \nameref, in complex environments

I provide this pre-amble of my main desired output, having been told that my below approach is inherently misguided (due to \nameref not being designed or able to obtain only a numeral, instead of a ...
0
votes
2answers
50 views

In the enumitem package, how can I independently adjust the vertical spacing between the final item in a list, and a brand new paragraph?

I'm typesetting a document for which I face certain constraints: The .tex file contains unicode characters, therefore I need to use a unicode-capable engine such as XeLaTeX to compile it. The ...
3
votes
2answers
50 views

Align enumeration list containing math items with tabular

I'm trying to have the following horizontal alignment of (enumerated) questions, but for some reason there is a misalignment in all the columns except for the first. Or maybe it is the first that is ...
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
2answers
63 views

Enumitem package: how to create a fancy or awesome list adapt for a university book

Into my previous old questions (for example), Vertical tennis ball into fancy new enumerate, Pretty enumerate: fontawesome, or other my questions, I have asked a nice style as create a beautiful ...
1
vote
1answer
31 views

Proper answer numbering for sub problems in book class file

I'm trying to create a latex file to present both the problems and their solutions at the end of the document. Everything looks good except one thing, i.e., the answer numbering for multiple problems ...
0
votes
1answer
36 views

If I need different answer choices based on question number, can that be automated

I asked a question relating to this but I did not have a working example. Here is the original post is-there-a-way-to-alternate-answer-choices-based-on-the-question-number-act-st . To summarize I ...
2
votes
1answer
18 views

Predetermine the number of nested levels before assigning label types (followup)

In this thread, @schtandard taught me how to predetermine whether I had 4 enumerate levels or 3, and condition on this how I supecified my labels. His/her code worked beautifully so I tried to extend ...
2
votes
1answer
54 views

backslash and dot in enumeration

I try to modify my enumeration list by using the enumitem package. The desired out put is a list of 1\. item, 2\. item, and so on. I tried the following mwe1: \documentclass{article} \usepackage{...
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[...
2
votes
1answer
46 views

enumitem list font and size

How to apply point size, sffamily font and color for list text, already have option for List label, is there any way proper way for applying list text using enumitem package? Please find my MWE file: ...
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 ...
0
votes
1answer
30 views

Clash between glossaries-extra and enumitem package package?

I am currently using glossaries-extra package for producing an acronyms list in the IEEEtran class. However, when loading the enumitem package, the acronym entries suddenly turn Bold. Here's the ...
1
vote
1answer
35 views

Predetermine the number of nested levels before assigning label types

I use the enumitem package to set counter types, for example most of the time I don't need more than 3 levels, and this is my preferred setup: \setlist[enumerate,1]{label={\arabic*)},ref={\arabic*)}} ...
2
votes
2answers
82 views

How to set this label using enumitem?

I want to make a label for enumerate that looks like this : \documentclass{report} \usepackage{enumitem} \usepackage{graphicx} \newlength{\exnormal} \settoheight{\exnormal}{\scshape x} \begin{...
1
vote
1answer
38 views

Format list in multiple columns transposed

Hopefully this is simple: I have a relatively long list where each list item contains very little text. For example: * a * b * c * d * e * f I wish to format it like so: * a * b * c * d ...
1
vote
1answer
52 views

Building macro with csname

How to expand csname properly? In the following MWE, I am trying to make a macro that "binds" together \prefixator and \afterator. I want \giveme{im} to be equivalent to \givemeim. \documentclass{...
1
vote
2answers
101 views

Space appearing between equation and itemize (with enumitem) when adding a onslide command in beamer

I am running into this behavior that there is a space that gets added after the equation when i use the enumitem package and that i have a onslide command ending just before the itemize. Any idea how ...
0
votes
1answer
27 views

Numbered list of non-contiguous items

I would like to generate a text that includes the following elements, in this order: COMMENT 1: (some text) (some more text, unrelated to COMMENT 1; this further piece of text may include lists, ...
4
votes
1answer
50 views

Different alignment with enumitem in relation to the font used?

If we use this MWE \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{fontawesome5} \usepackage{enumitem} \usepackage{xcolor} \begin{document} \begin{enumerate}[label=\sffamily\textbf{[\...
0
votes
1answer
36 views

Package Enumitem: Yields Error:?

I want to make a list in LaTeX. Here is a minimal working example of the problem: \documentclass[notitlepage]{report} \usepackage[left=1in, right=1in, `top=1in, bottom=1in]{geometry} \usepackage{...
0
votes
1answer
32 views

cleveref: How reference several items in an unnumbered theorem-like environment?

I want the output from the command \cref{prob:third-problem,prob:fourth-problem} on the first line of the content of the first chapter — the one whose output (with two ??s) is marked in the ...