24
votes
Accepted
How do we create a "continuous" list enumeration in LaTeX?
I suggest defining your own environment, so you can tailor it to your needs. Adding the resume option is the key.
\documentclass{article}
\usepackage{enumitem}
\newlist{points}{enumerate}{1}
\setlist[...
12
votes
How do we create a "continuous" list enumeration in LaTeX?
I suggest you (a) load the enumitem package in preamble and (b) change all but the first instance of \begin{enumerate} to \begin{enumerate}[resume].
\documentclass{article}
\usepackage{enumitem}
\...
8
votes
How can I modify the alignment of the Roman numerals in a list?
I suggest you (a) load the enumitem package and (b) start the enumerate environment with the options label=\Roman*. (to obtain enumeration with uppercase-Roman numerals) and align=left (I trust you ...
8
votes
Inconsistent interline spacing in enumitem
\documentclass{article}
\usepackage{tikz}
\usepackage{lipsum}
\newcommand*\circled[1]{\smash{\tikz[baseline=(char.base)]{%
\node[shape=circle,fill=blue!20,draw,inner sep=8pt] (char) {#1};}...
7
votes
Accepted
How to make an enumerated list's numbering alphabetic per the Hebrew alphabet, in a Hebrew beamer presentation?
You can not use enumitem with beamer: As you saw it overwrites various beamer commands and so destroys the look and also overlay specification.
beamer loads the enumerate package which allows to ...
6
votes
Accepted
How to prevent newlines from appearing after enumerations in ConTeXt?
You need a different approach to have the itemize counter for each table row, the easiest is to use the \itemtag commands which prints the current item value.
In addition to the command you need a new ...
6
votes
Accepted
Add a space after itemize only if no text follows
Would this do?
\documentclass{article}
\usepackage{enumitem}
\setlength{\parskip}{10ex}
\setlength{\parindent}{0pt}
\newenvironment{enumerateD}{\begin{enumerate}[topsep=-\parskip]}
{\end{enumerate}\...
6
votes
Accepted
Two crefname for the same item
I believe you need to issue two \label commands, with slightly different cross-reference.
\documentclass{article}
\usepackage{amsthm}
\usepackage{enumitem}
\usepackage[
colorlinks,
citecolor=...
5
votes
Accepted
Nested enumerate with `\fbox{enumi}` stops incrementing
enumi is the counter of the top level enumeration. For the nested enumeration, you would have to use enumii, enumiii etc. instead.
However you can use the special enumitem syntax \arabic*, this will ...
5
votes
Custom Environment optional argument ignored
Here is an alternative to Sebastianos answer, use enumitems build in features to make new lists and then add resume as a property of that list
\documentclass{article}
\usepackage{enumitem}
\newlist{...
5
votes
Two crefname for the same item
I think this is one type of problem where the flexibility of zref may be useful. With it, we can just set a new property to store with the label, to refer to it later on. One big advantage of this is ...
5
votes
Accepted
enumeration depending on section
Here you go I hope this helps :
\documentclass[12pt, a4paper]{article}
\usepackage[margin=2cm]{geometry}
\usepackage{enumitem}
\begin{document}
\section{Introduction :}
Here's a list :
\begin{...
5
votes
itemize and enumerate with package enumitem
Adaptations
I reduced your code to a minimal working example (MWE)
You have to set some label, e.g. label=\arabic*.
This is also told by the error message: ! Package enumitem Error: Undefined label.
...
5
votes
Accepted
How to list items as 1. i. ii., iii., 2. i., ii., ...?
This is the default behaviour if you don't add anything for the first level of enumeration. That is, the second level enumeration is set next to the first.
\documentclass{article}
\usepackage{...
5
votes
Accepted
How to start enumerate counting at 2 instead of 1?
Maybe I've misunderstood what you want, but you just need to set your mycount counter to 1 in your preamble. And you don't need to use \AtBeginEnvironment since enumitem has a before key for injecting ...
5
votes
Accepted
Complex list (double numbering) in LaTeX
It's difficult to do it really generally with \item.
\documentclass{article}
\usepackage{enumitem}
\newlist{bienumerate}{enumerate}{1}
\setlist[bienumerate]{%
label=\arabic*\additionallabel.,
...
4
votes
How to remove the whitespace BEFORE itemize/enumerate?
Between an itemize environment and its preceding text, a length, \parskip, also adds to that space. Enumitem package does not control it. To completely eliminate that space without changing \parskip,...
4
votes
Accepted
NewDocumentCommand enumerate macro not working with linebreak while \newcommand does work
By default \newcommand creates a macro that is defined long, i.e. accepting paragraph parameters, i.e. an empty line. (A short macro uses \newcommand*.)
With \NewDocumentCommand all paramaters are by ...
4
votes
Accepted
How to Horizontally Center an Enumeration Display
In my actual document, the enumeration item are quite brief---so there is no risk of running off the page.
Here's an answer that implements the suggestion that @Werner provided in a comment.
\...
4
votes
Accepted
Two Types of Enumerate Items
In adaption of @Vincent's answer, you could define \itemb as:
\newcommand*{\itemb}[1]{%
\begin{enumerate}\item #1\end{enumerate}
}
But with this, you would need to use a regular argument for \itemb:...
4
votes
Accepted
LyX: How can I input a second paragraph in an enumerate item?
You need to "nest" a "Standard" paragraph inside the item. Here are the steps:
Start an itemize.
Write "Some text here.".
Press Return. (This will create a new item, but ...
4
votes
Accepted
Nested lists but only one label
You can define your own nestedlist and step an outer list counter as needed:
\documentclass{article}
\usepackage{enumitem}
\newlist{nestedlist}{enumerate}{1}% This defines the counter nestedlisti
\...
4
votes
Nested lists but only one label
You can mark up as nested lists, you may want to adjust the white space using standard enumitem keys but:
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label=]
\...
4
votes
\endlist \ifx \enit@series \relax \else \if
A more reasonable example would be
\documentclass{article}
\usepackage{enumitem}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
\item x
\end{enumerate}
\end{document}
Which produces
! ...
4
votes
Problem with indentation in enumerate environment
Something like this?
You can use global settings with \setlist[enumerate]{...} in a preamble to setup the list, and then use additional setting per level with \setlist[enumerate,n]{...}. Also, page 3 ...
4
votes
Accepted
Custom Environment optional argument ignored
I have changed your code
\newenvironment{questionlist}
{
\begin{enumerate}[{resume}]} % should lead to a resuming list
{\end{enumerate}
}
to
\newenvironment{questionlist}
{
\...
4
votes
Inconsistent interline spacing in enumitem
You want to smash the bottom of the picture, but also add empty lines depending on how many lines the item occupies.
Here I add one empty line if the item has just one line.
\documentclass{article}
\...
4
votes
Enumerate bibliography with biblatex
You can use the functionality of enumitem to update the label display for your bibliography enumeration. Add
\usepacakge{enumitem}
to your preamble and then define the new bibliography environment ...
4
votes
Accepted
itemize and enumerate with package enumitem
Welcome to TeX:SE!
For myenumerate you forgot to define labels. This should work:
\documentclass[pagesize,parskip=half,DIV=11]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{...
4
votes
Accepted
Moving `tcolorbox` inside `enumerate`
To me it seems that you want to interrupt the enumerate environment by the box, so you could stop the enumeration, typeset the box, and then resume the enumeration.
\documentclass{article}
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
enumerate × 2339lists × 740
enumitem × 405
itemize × 247
beamer × 145
cross-referencing × 143
spacing × 117
horizontal-alignment × 115
numbering × 114
indentation × 113
tables × 103
align × 77
environments × 73
vertical-alignment × 68
multicol × 60
equations × 58
labels × 56
formatting × 53
counters × 47
theorems × 46
hyperref × 44
macros × 42
tikz-pgf × 40
math-mode × 33
margins × 32