Questions tagged [enumerate]
{enumerate} is about the enumerate list environment. If you use this tag, add the more general {lists} tag.
2,338
questions
1
vote
1
answer
26
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&...
0
votes
0
answers
27
views
align equations in enumerate [duplicate]
I would like to align equations within an enumerate-environment.
\documentclass{article}
\usepackage{amsmath,enumitem}
\begin{document}
\begin{enumerate}
\item $3x+5=18$
\item $x=27-39x$
\end{...
1
vote
1
answer
46
views
How to set the Question width in nested enumerate
Based on the answer here, i want align XXX and YY in nested enumerate
\documentclass[a4paper,12pt]{article}
\usepackage{tabto}
\usepackage{newtxtext}
\usepackage{enumitem}
% Margins
\usepackage[
top=...
0
votes
1
answer
29
views
How to set the Question width
I want to bring XXX and YY in the first line in question number 2. I do not know how to do it
\documentclass[a4paper,12pt]{article}
\usepackage{tabto}
\usepackage{newtxtext}
% Margins
\usepackage[
...
0
votes
1
answer
64
views
Lamport proof style, enumitem, enhance nesting level
Two years ago user egreg posted a nice solution,
enumitem: turn on and off label setting locally using a variable?
which looks like this
\usepackage{enumitem}
\makeatletter
\newenvironment{lamport}{%
...
1
vote
1
answer
24
views
Extra vertical space in enumerate and itemize when item ends with an equation followed by \label
When using labels in the enumerate and itemize environments, I sometimes get extra vertical space after an item. I've determined that the extra space occurs when the content in the item ends with a ...
0
votes
0
answers
46
views
Tikz picture next to text in document
I'm using the minipage enviroment to try to put the eight 8th-roots of a complex numbers nexxt to a tikz figure that represents those roots like a regular octagon.
My code is:
\begin{minipage}{0.5\...
0
votes
1
answer
38
views
Formatting Chemical Equations with mhchem in a list with Labels and Aligned Arrows in KaTeX
I'm looking for assistance in formatting chemical equations to create a list that includes labels and aligns the equations by their arrows. Currently, I'm using the mhchem package for chemical ...
0
votes
1
answer
29
views
creating a custom enumerate
I would like to make a variant of enumerate called steps where if I do something like
\begin{steps}
\item This is step 1
\item This is step 2
\end{steps}
The output would be like
Step 1. This is ...
0
votes
1
answer
44
views
Latex enumerate overwrites the first item label over the second, so that the a and b are on top of each other
\begin{mdframed}[innertopmargin=6bp, innerbottommargin=4b, innerleftmargin=8bp, backgroundcolor=yellow!10, nobreak= true]
\begin{thm}
\label{thm:them2}
{Assuming that the sizes of the ...
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
\...
0
votes
1
answer
32
views
Spacing issue within the item in enumerate environment [closed]
\begin{enumerate}
\item This is the first sentence and it doesn't mean anything. This is the first sentence and it doesn't mean anything. This is the first sentence and it doesn't mean anything. This ...
1
vote
1
answer
57
views
How to add a new line in item list
If an \item (in \begin{enumerate) contains a long line, I need to add a linebreak so the rest goes to another line (but with the same enumeration number). In the following code, I add \allowbreak in ...
0
votes
1
answer
60
views
enumerate with circled label
Can anyone help me to create a list in which the label is inside the circle?
Above is my text. I create that using tabular environment. Now I want to create a new list where the label A, B, C, D is ...
0
votes
1
answer
32
views
Issues with spacing writing answer boxes/lines for an exam between items in enumerate
I am writing an exam and I'm having some spacing issues with creating answer lines/rules between items in enumerate. If I use \vfill\hfill in between the items, sometimes it does not print the answer ...
2
votes
1
answer
70
views
How to connect lists with vertical lines?
So I want to write my notes where there are lists connected with vertical lines. I want the exact format displayed as in the below photo where in the nested lists the "main" line is ...
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
...
3
votes
1
answer
45
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 ...
0
votes
0
answers
34
views
tcolorbox vertical alignment in enumerate [duplicate]
I'm using a tcolorbox in an enumerate. I would like the first line to be on the same baseline as the enumerate label. (In the example below, I would like the baseline of 1. and Hello to be the same.) ...
2
votes
1
answer
94
views
SAT like question format
How do I create question like those in SAT (with black and gray color) by my own enumerate design so like every time I write \begin{myenumerate} it will generate like those in SAT exams. Thank you!
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}
\...
2
votes
1
answer
51
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:
\...
0
votes
1
answer
21
views
Trouble with multicolumns
I am trying to adjust my columns. Two verses have to be in the left column, one in the right column. What is the solution?
Thank you in advance.
\documentclass{article}
\usepackage[a4paper]{geometry}
\...
0
votes
1
answer
42
views
Grap the label of each item of an enumerate list
I have a macro called « \addsol » that appends solutions for given exercises to a fixed \solutions macro, in order to list the solution of the exercises at the end of the document.
I wish to add to it ...
0
votes
2
answers
67
views
Problem renewing command inside an enumerate list
I’ve got a problem renewing a command inside an enumerate environment.
I wish to make some exercises and to append the solution of each exercise to a predefined macro called “solutions”.
Adding ...
0
votes
0
answers
29
views
hyperref makes `\ref{x}` point to last page for`\label{x}` when that is followed by `\begin{enumerate}` (with enumerate package)
The following document shows the problem:
\documentclass{scrreprt}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{enumerate}
\usepackage{hyperref}
\newtheorem{thm}{Theorem}[chapter]
\begin{...
2
votes
1
answer
66
views
Indented vertical lines in list, (as seen in 99 Variations on a Proof by P. Ording)
I'd like to replicate this:
I'm having trouble with the indented vertical line, everything else is just a list, I think. I tried a couple of leftbar and lists environments; but leftbar is not ...
1
vote
1
answer
67
views
How can I get the number of the last item of a list appearing on a page?
I have a long list in an enumerate environment.
I would like to put as header to the page (or in any case to save in a variable to use elsewhere) the number of the last item appearing on it.
A minimal ...
0
votes
1
answer
42
views
Nested enumeration spacing
I am trying to make a nested enumerate list like this one:
I would like to reduce the spacing between Outer item 1 and Inner item 1.1, but keep all other spacings. How?
Current code:
\documentclass[...
2
votes
1
answer
43
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 ...
2
votes
1
answer
68
views
Complex list (double numbering) in LaTeX
I'm working on a text that has a long list of numbered items (some with sub-numbers). Under normal circumstances, there wouldn't be an issue, but someone (not me) wanted to have cross-references to ...
0
votes
0
answers
51
views
Get randomized lists with optionnal seed
I want to random some items in an exercise and be able to display the corresponding solutions in the same order.
With xsim package such lists are in two different places so I thought about a first ...
3
votes
1
answer
63
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, ...
1
vote
1
answer
44
views
Extend vline slightly beyond surrounding box?
Is there a way to extend a \vline slightly beyond the boundary of the surrounding box? In the case I have in mind, I'm attempting to have a continuous vertical line between several items in an ...
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
\...
1
vote
1
answer
42
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 ...
2
votes
1
answer
58
views
Citing different enumerate points, with a global numbering
I want to have all my theorems, equations and assumptions with the same global numbering, depending on sections and subsections. I also want to reference individual bullet points in an enumerate ...
0
votes
0
answers
29
views
Replicating a tabular environment with an enumerate environment
I would like to replicate a display obtained from a tabular environment with an enumerate environment. Here is the code for the tabular environment.
\documentclass{amsart}
\usepackage{makecell}
\...
1
vote
1
answer
37
views
Cross Referencing an Item within an Enumerate Display
Consider the code:
\documentclass[12pt]{book}
\begin{document}
\thispagestyle{empty}
\begin{enumerate}
\itemsep3.0em
\item Item 1
\item Item 2
\item Item 3
See also item [referenced \#, in this case \...
0
votes
1
answer
50
views
Align a text at the left and an equation at the center on the same line within math environment
In the following example, I have some equations within a list. I was wondering how to place each of the equations in items (ii) and (iv) on the same line with their corresponding item number, while ...
3
votes
1
answer
205
views
How to start enumerate counting at 2 instead of 1?
I want to start my enumitem counter at 2 instead of 1, but I do not know how. Could you please tell me how to do this?
Here is a minimum example:
\documentclass[a4paper, 11pt]{article}
\usepackage[...
0
votes
0
answers
32
views
Add a bubble in the enumeration environment
How can I add a bubble in the enum environment as well as shown in the image?
11
votes
3
answers
932
views
How do we create a "continuous" list enumeration in LaTeX?
How can I create enumerated lists, but without breaking flow if we split it by another article/section/chapter?
Example output I want to achieve:
# Article I
## Section 1 - something
1. something
2. ...
2
votes
1
answer
121
views
Making a solution key at the end of a LaTeX document
I have a bunch of exercises written up as seen in the image below. I'd like to write solutions for each exercise directly below where they are written in the .tex document. Then, I want those ...
0
votes
1
answer
36
views
Simplifying the Creation of Commented Ordered and Unordered Lists in LaTeX
I am currently trying to simplify the process of creating commented ordered and unordered lists in LaTeX. I have a method that achieves the desired visual result, but the syntax seems overly complex. ...
5
votes
1
answer
89
views
How to list items as 1. i. ii., iii., 2. i., ii., ...?
How to prepare a list of the items in the following manner:
i. Question
ii. List item
iii. Next item
i. New list
ii. Next question
Below is the MWE of my attempt. The second item prints as '1....
1
vote
2
answers
53
views
indentation problem in self defined environment
I have defined an environment called exercise as follows:
\newcounter{exercise}
\NewDocumentEnvironment{exercise}{o +b}%
{%
\IfNoValueTF{#1}
{\stepcounter{exercise}}
...
0
votes
0
answers
20
views
How put subtags autonumbering?
I created more tag for enumerate separately equations, propositions, lemmas etc. However, I would like that if an equation is put into a proposition then it is tagged as an equation of that ...
0
votes
1
answer
48
views
How tag automatically only some particular objects?
Sometime ago I just started writing into doc format some Abstract Algebra notes but unfortunately I have needed frequently to put a lemma, a proposition or a theorem in the middle of document so that ...
0
votes
0
answers
28
views
Prevent page break within \item of an enumerate in LyX without redefining \item
(For background and current purpose of this question, please see here: Prevent page break within \item of an enumerate).
I have an enumerate of questions. Each of those questions has some opening text ...