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
0 votes
2 answers
38 views

enumitem - understanding horizontal spacing

I am baffling with horizontal spacing for description list given by enumitem package. I would like to have dots lined up under each other. I expect that \labelident is the right parameter, but I am ...
JardaFait's user avatar
  • 3,838
1 vote
1 answer
40 views

fontspec's \addfontfeatures messes with calc's \widthof

In addition to Werner's answer, I would also like my list labels to use tabular numbers. I would have thought that the first approach below would work, but the list labels are slightly in the left ...
Fredrik P's user avatar
  • 1,154
1 vote
1 answer
33 views

First tag of nested description environment with newline style wont appear on new line

I have the next document: \documentclass[12pt]{article} \usepackage[english, ukrainian]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{enumitem} \setdescription{style=...
Vladyslav Rehan's user avatar
0 votes
2 answers
27 views

Horizontal spacing in inline lists

I'm using the enumitem package and want to have very compact list: left aligned without margin minimal vertical and horizontal spacing In the code below, this is what I try to achieve with \setlist{...
mixotrov's user avatar
  • 139
2 votes
1 answer
82 views

How do I change the name for a clone of enumerate using enumitem and cleveref?

I want to construct a numbered list of items for which reference have issue rather than item. I'm using cleveref and enumitem, defining issue as an alias of enumerate with \newlist, and defining the ...
shmuel's user avatar
  • 1,367
1 vote
1 answer
27 views

Message ! Argument of \enit@refstar@i has an extra }. with enumitem

I am using the enumerate environment with the enumitem package. The command \begin{enumerate}[ref=\arabic] gives me the error message ! Argument of \enit@refstar@i has an extra }. <inserted text&...
shmuel's user avatar
  • 1,367
1 vote
0 answers
33 views

How do you right align in itemize without adding space?

How do I make my text after the linebreak right aligned while making it's top and bottom margin the same as topsep Example of code: Các nội dung nêu trên nhằm nổi bật một quan điểm tổng quát: từ ngữ ...
Adrik Ivanov's user avatar
1 vote
0 answers
23 views

Aligning function statements on separate lines within 1 enumerated problem (how to)

Using these packages to create a 2 column, enumerated math worksheet: amsmath, multicol and item. Within problems #9 and #10, I need to left align 3 items on separate lines as shown below: I tried ...
Siuslaw Math's user avatar
1 vote
1 answer
35 views

enumitem: setting labelsep for description affect the list of other type inside it

When I use a oversize tcolorbox as the description label, the default labelsep is not big enough, as a result the label and the text may stick together when the label is long. As an attempt to fix ...
Jinwen's user avatar
  • 7,826
0 votes
0 answers
36 views

Lamport proof style,enhance nesting level but (still) hide parts of it

yesterday user mbert Lamport proof style, enumitem, enhance nesting level provided a nice enhancement, for Lamport style proofs, enhancing the enumerate depth. His solution is: \documentclass{article} ...
Uwe Brauer's user avatar
0 votes
1 answer
39 views

Starting new enumitem list at level 3 (enumiii)

I am using the enumitem package. I entered the following in the preamble: \renewlist{enumerate}{enumerate}{5} \setlist[enumerate,1]{label={\textbf{(\alph*)}},ref=\alph*} \setlist[enumerate,2]{label={\...
Gerard's user avatar
  • 71
3 votes
1 answer
44 views

Accessing indent length with enumitem

For a package I'm writing, I need to access the actual amount a list item is indented. Here's a minimal example showing what lengths are available to me, but they don't seem to give me what I need. ...
Alan Munn's user avatar
  • 214k
2 votes
0 answers
23 views

Unwanted horizontal space with \hypertarget and the enumerate environment

The environment enumerate and its starred counterpart enumerate* behave slightly differently with \hypertarget. The latter, enumerate*, adds unwanted horizontal spacing. The following descriptive MWE \...
Linear Christmas's user avatar
0 votes
1 answer
92 views

How can I styilize a descriptive list with a line between the label and the description?

I want my descriptive lists to look like... The source for that is (source)... \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{skins,hooks} \newcommand\fancybox[3]{% \tcbset{ mybox/...
user41177's user avatar
  • 167
0 votes
0 answers
40 views

Using tikzpicture to customize labels in enumerate shifts item text below label level

Here is my MWE \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} \usepackage{tikz} \usepackage{enumitem} \usepackage{tcolorbox} \usepackage{...
KANYARWANDA Cyprien's user avatar
0 votes
1 answer
39 views

Why doe \setlist{nosep} not work in the acronym package?

Since the acronym package is built with the description environment, and the description environment works with Enumitem \setlist{nosep}, why is the Acronym package not affected by this command? I ...
Lucas Martins Soares's user avatar
2 votes
0 answers
29 views

enumerate environment starting on last item number and step down up to the first [duplicate]

I would like to produce an enumerated list of items that starts on the last number and stepping down until the counter is 1: \documentclass{article} \begin{document} \begin{enumerate} \item 1st item ...
Emilio Lazo's user avatar
3 votes
1 answer
46 views

Text left to enumeration labels

If I enumerate like this \textbf{Problem 1} \begin{enumerate}[label=(\textit{\alph*})] \item Random Text \item Random Text \item Random Text \end{enumerate} then how can I accomplish to write ...
calculatormathematical's user avatar
3 votes
2 answers
88 views

Place item number inside math mode

In the following excerpt of a write-up, I would like to have the item number (i) at the same line as the first equation that follows it, to avoid the empty first line. I cannot find any way to ...
AEW's user avatar
  • 797
1 vote
1 answer
36 views

Text after nested bullets not aligned

As shown in the picture, the text after the (a), (b), (c) column are all not aligned on their left. The code used is: \documentclass{article} \usepackage[a4paper, portrait, margin=0.5in]{geometry} \...
EnergeticElectrification's user avatar
4 votes
1 answer
79 views

Force enumitem to be on two digits

Let us consider the following MWE: \documentclass{article} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{% \node[shape=circle,fill=blue!20,draw,inner sep=2pt] (...
Vincent ISOZ's user avatar
2 votes
1 answer
52 views

How to number enumerate as 1.01, 1.02.. 1.10

Is there a way I can change enumerate to create a list as follows? 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 ... I've been using enumitem as follows, but it's not the right approach: \...
cmp's user avatar
  • 57
3 votes
1 answer
28 views

Resume numbering of custom list across tables without repeating "[resume*]" at each occurence

I'm using a special list type to automatically number items across the whole document using the enumitem package with the 'resume' option. This works fine for custom list environments all over the ...
Mischa Obrecht's user avatar
4 votes
1 answer
107 views

Custom list environment

Consider the following MWE: \documentclass[letterpaper]{article} \usepackage[letterpaper,top=2.5cm,bottom=2.5cm,lmargin=2.5cm,rmargin=2.5cm]{geometry} \usepackage{array,booktabs,tabularx} \usepackage{...
azetina's user avatar
  • 28.6k
1 vote
0 answers
34 views

Compact enumerations with dynamical label widths

I changed the enumerate environment to be a bit more compact, but now the indentation of the item changes depending on the width of the label: \documentclass{article} \usepackage{enumitem} \setlist{...
mixotrov's user avatar
  • 139
2 votes
0 answers
27 views

Removing top margin of enumerate environment inside tabular cell [duplicate]

I'm trying to set a itemized list inside a tabular cell without any margins. I succeeded at removing (or resetting, respectively) the left margin but I can't seem to get rid of the top one (between &...
Mischa Obrecht's user avatar
2 votes
1 answer
93 views

different enumerate labels depending on surrounding environment

I want to use roman enumerate labels in theorems, and alphabetic labels in lists of examples: \documentclass{article} \usepackage{ntheorem} \usepackage{enumitem} \newtheorem{theorem}{Theorem} \...
user313032's user avatar
2 votes
1 answer
44 views

Trouble formatting circuitikz with wrapfig and enumerate

I'm trying to format a basic circuit question, where a circuit diagram is placed to the right of the choices in a multiple choice question. Currently, it looks like I'm after something that looks ...
nullgeodesic's user avatar
3 votes
1 answer
41 views

Nested enumerate list ending with a character

I am trying to have a nested enumerate item ending with a special character; in my case ")" character. According to some answers, people were suggesting making something like: \documentclass[...
R. W. Prado's user avatar
3 votes
1 answer
65 views

Enumerate items with respect to chapters

I'm working on a document with several chapters. In the end of each chapter I have tasks which I want to enumerate as 101, 102, ... ,112 (chapter 1), 201, 202, ... 212 (chapter 2) and so on. For now, ...
magistern's user avatar
2 votes
1 answer
40 views

Tasks environment: How to set counter to begin at number other than #1

In the mwe below, I want the question number counter to start at #44 instead of #1 because this doc is part 2 of a larger problem set: I tried inserting \task\SetTaskNumber{44} but that produced an ...
Siuslaw Math's user avatar
0 votes
0 answers
16 views

Margins around itemize in xltabular

I am using xltabular for a table spanning multiple pages, and want to have bullet lists in some of the cells. As far as I understand, margins around itemize should be removed by using nosep, but this ...
tobiashellbusch's user avatar
0 votes
1 answer
33 views

newline before enumitem environment

I want to create an environment that displays "Solution" as a title. After this title I want the text to start after a new line, so the following code should work \newenvironment{sol}{$\...
Flowt's user avatar
  • 181
0 votes
0 answers
35 views

What Caused the Cabin Font to be Dropped in This Enumeration?

Consider the code \documentclass[10pt,openany]{book} \usepackage{enumitem,xcolor} \usepackage[showframe,margin=.5in,paperwidth=4in,paperheight=6in]{geometry} \textheight=4.95in \textwidth 3.00in \...
mlchristians's user avatar
  • 7,756
1 vote
1 answer
44 views

How to define all text in the itemize level 2 be typeset in small size?

Is it possible to define the text of the second levels in lists of itemize- and/or enumerate-environments to be set with \small without having to write that command for each instance? And it is ...
henry's user avatar
  • 6,504
3 votes
2 answers
255 views

Invocation of Polski Package Sometimes Produces Strange Hyphenation

Consider the code: \documentclass[12pt]{book} \usepackage{enumitem,xcolor} \usepackage[T1]{polski} \usepackage[tracking=true]{microtype} %This line must be commented out when using Xelatex to ...
mlchristians's user avatar
  • 7,756
0 votes
2 answers
36 views

Enumitem custom list does not work with polyglossia

I want to create a custom list while using enumitem and polyglossia. Running latexmk main on this main.tex: \documentclass[12pt, a4paper]{report} \usepackage{polyglossia} \setmainlanguage{czech} \...
Sorashi's user avatar
  • 163
0 votes
1 answer
30 views

Enumitem inline span to \textwidth

I am using enumitem for horizontal lists. However, I would like to spread the items over the entire row. I've tried with wide parameter, but it puts the space between the label and text. I can adjust ...
GP.'s user avatar
  • 103
0 votes
1 answer
43 views

Custom tasks environment with a task counter

I use the tasks package extensively and it's become necessary for me to obtain the current task number/letter at any point. There doesn't seem to be a built in \theenumi like in the enumitem package, ...
Dan P.'s user avatar
  • 311
1 vote
1 answer
42 views

tex4ebook: How to get colored text in enumerations

I need a colored text in an enumeration list. While the colors work fine outside enumerations, they disappear within enumerations (when compiling a pdf instead of an epub, the colors are there). Is ...
Jack's user avatar
  • 314
3 votes
1 answer
80 views

eliminating gaps in inline list

Here's an anonymized list I'm using. Is there a way to eliminate the gaps within? \documentclass{article} \usepackage[showframe]{geometry} \usepackage[inline]{enumitem} \newlist{mylist}{description*}{...
Erwann's user avatar
  • 2,070
4 votes
2 answers
145 views

Command to add asterisk before some items in nested lists, independent of the level

I am using enumitem package to deal with lists, in some cases nested ones. I would like to define a command \staritem to add an asterisk before an item not depending of knowing the level of the nested ...
rla's user avatar
  • 143
4 votes
1 answer
86 views

Resume an inner enumerate environment without showing the label of the outer enumerate environment?

I am using the enumitem package with the following custom list: \newlist{answers}{enumerate}{2} \setlist[answers,1]{label=(\alph*), ref=(\alph*)} \setlist[answers,2]{label=(\roman*), ref=(\alph{...
TimeTravelPenguin's user avatar
0 votes
1 answer
37 views

Exam class: Need help formatting simple header for math quiz

I'm trying to format the top of the page with a header that looks like this (with perhaps a bit more vertical space between Name: and Period:) But the code is rendering this: Clearly \hrule and \...
Siuslaw Math's user avatar
2 votes
1 answer
39 views

multicols & \enumitem: How to change from 4 columns to 3 cols

In the project below, I want to shift from 4 cols to 3 cols: For probs #1-4, I want 4 columns. That command is working: [style=enumerate](4) Beginning with problem #5, I need to switch to 3 cols to ...
Siuslaw Math's user avatar
2 votes
1 answer
41 views

Enumerate Environment with Item Numbers in Left Margin and Item Textwidth = Page Textwidth

MWE--- \documentclass[12pt]{book} \usepackage{enumitem,lipsum} \begin{document} \thispagestyle{empty} \lipsum[3] \begin{enumerate}[wide,labelwidth=6pt,labelindent=-15pt] \item \lipsum[13] \item \...
jean-marie's user avatar
  • 1,014
0 votes
1 answer
31 views

Add symbol after the lable of every description item

I often use the description environment and I want to separate the label from the text not only by whitespace, but also by a small circle. I'm using the enumitem package to customize the description ...
Luke's user avatar
  • 159
0 votes
1 answer
50 views

Multicols & Enumitem: Can't force new page where needed

The code below compiles properly with one issue: The text instruction "Simplify" should be forced to the following page. I have tried \pagebreak, \clearpage, \newpage and \switchcolumn*[\...
Siuslaw Math's user avatar
0 votes
0 answers
25 views

amsmath\enumitem\solutionbox: How to decrease vertical spacing within solution box

Within the solution box, I'm using \bigskip to create horizontal space between each line of the step-by-step solution as a means of facilitating readability. But the spacing seems a bit excessive: ...
Siuslaw Math's user avatar
0 votes
1 answer
29 views

Exam class: amsmath & multicol environment: unexpected \par warning

Within the exam class, I'm using: amsmath multicol enumitem solution box The code in the mwe compiles as expected, but kicks out the error shown below: I'm stumped because I can't figure out which ...
Siuslaw Math's user avatar

1
2 3 4 5
24