How to get three nested enumerations in LaTeX?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
This is my current code. I've managed to get one next enumeration but I want a third nesting to replace me having to write 1.1.1, 1.1.2 etc.
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
This gives me
1 Top Level
1.1 Second Level
i Third Level
My desired output is
1 Top Level
1.1 Second Level
1.1.1 Third Level
How do I achieve this?
Also, how do I remove the indentation on the third level so it is inline with the second level?
lists enumerate itemize enumitem sharelatex
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
1
down vote
favorite
This is my current code. I've managed to get one next enumeration but I want a third nesting to replace me having to write 1.1.1, 1.1.2 etc.
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
This gives me
1 Top Level
1.1 Second Level
i Third Level
My desired output is
1 Top Level
1.1 Second Level
1.1.1 Third Level
How do I achieve this?
Also, how do I remove the indentation on the third level so it is inline with the second level?
lists enumerate itemize enumitem sharelatex
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Welcome to TeX.SX! Ehen you post a question it's better to give a complete minimal working example. This should be as small as possible to demonstrate your problem and compile. This both clarifies your question and makes it easier to help you!
– Andrew
47 mins ago
1
Welcome to TeX.SE. Please tell us if your document loads any packages that influence the appearance of numbers used in enumerations. For sure, the LaTeX default for second-level enumerated items is(a)
,(b)
, etc., not1.1
,1.2
, etc. Please also advise whether or not second-level enumerated items should be left-indented with respect to first-level enumerated items.
– Mico
47 mins ago
What should be inline with the second level? The label or the texts that follow the labels?
– Bernard
28 mins ago
@Bernard the answer given is what I was looking for. However, if you know how to get both the labels in line with each other and the text in line with each other also that'd be great.
– Maria Robson
1 min ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
This is my current code. I've managed to get one next enumeration but I want a third nesting to replace me having to write 1.1.1, 1.1.2 etc.
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
This gives me
1 Top Level
1.1 Second Level
i Third Level
My desired output is
1 Top Level
1.1 Second Level
1.1.1 Third Level
How do I achieve this?
Also, how do I remove the indentation on the third level so it is inline with the second level?
lists enumerate itemize enumitem sharelatex
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
This is my current code. I've managed to get one next enumeration but I want a third nesting to replace me having to write 1.1.1, 1.1.2 etc.
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
This gives me
1 Top Level
1.1 Second Level
i Third Level
My desired output is
1 Top Level
1.1 Second Level
1.1.1 Third Level
How do I achieve this?
Also, how do I remove the indentation on the third level so it is inline with the second level?
lists enumerate itemize enumitem sharelatex
lists enumerate itemize enumitem sharelatex
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 58 mins ago
Maria Robson
82
82
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Maria Robson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Welcome to TeX.SX! Ehen you post a question it's better to give a complete minimal working example. This should be as small as possible to demonstrate your problem and compile. This both clarifies your question and makes it easier to help you!
– Andrew
47 mins ago
1
Welcome to TeX.SE. Please tell us if your document loads any packages that influence the appearance of numbers used in enumerations. For sure, the LaTeX default for second-level enumerated items is(a)
,(b)
, etc., not1.1
,1.2
, etc. Please also advise whether or not second-level enumerated items should be left-indented with respect to first-level enumerated items.
– Mico
47 mins ago
What should be inline with the second level? The label or the texts that follow the labels?
– Bernard
28 mins ago
@Bernard the answer given is what I was looking for. However, if you know how to get both the labels in line with each other and the text in line with each other also that'd be great.
– Maria Robson
1 min ago
add a comment |Â
Welcome to TeX.SX! Ehen you post a question it's better to give a complete minimal working example. This should be as small as possible to demonstrate your problem and compile. This both clarifies your question and makes it easier to help you!
– Andrew
47 mins ago
1
Welcome to TeX.SE. Please tell us if your document loads any packages that influence the appearance of numbers used in enumerations. For sure, the LaTeX default for second-level enumerated items is(a)
,(b)
, etc., not1.1
,1.2
, etc. Please also advise whether or not second-level enumerated items should be left-indented with respect to first-level enumerated items.
– Mico
47 mins ago
What should be inline with the second level? The label or the texts that follow the labels?
– Bernard
28 mins ago
@Bernard the answer given is what I was looking for. However, if you know how to get both the labels in line with each other and the text in line with each other also that'd be great.
– Maria Robson
1 min ago
Welcome to TeX.SX! Ehen you post a question it's better to give a complete minimal working example. This should be as small as possible to demonstrate your problem and compile. This both clarifies your question and makes it easier to help you!
– Andrew
47 mins ago
Welcome to TeX.SX! Ehen you post a question it's better to give a complete minimal working example. This should be as small as possible to demonstrate your problem and compile. This both clarifies your question and makes it easier to help you!
– Andrew
47 mins ago
1
1
Welcome to TeX.SE. Please tell us if your document loads any packages that influence the appearance of numbers used in enumerations. For sure, the LaTeX default for second-level enumerated items is
(a)
, (b)
, etc., not 1.1
, 1.2
, etc. Please also advise whether or not second-level enumerated items should be left-indented with respect to first-level enumerated items.– Mico
47 mins ago
Welcome to TeX.SE. Please tell us if your document loads any packages that influence the appearance of numbers used in enumerations. For sure, the LaTeX default for second-level enumerated items is
(a)
, (b)
, etc., not 1.1
, 1.2
, etc. Please also advise whether or not second-level enumerated items should be left-indented with respect to first-level enumerated items.– Mico
47 mins ago
What should be inline with the second level? The label or the texts that follow the labels?
– Bernard
28 mins ago
What should be inline with the second level? The label or the texts that follow the labels?
– Bernard
28 mins ago
@Bernard the answer given is what I was looking for. However, if you know how to get both the labels in line with each other and the text in line with each other also that'd be great.
– Maria Robson
1 min ago
@Bernard the answer given is what I was looking for. However, if you know how to get both the labels in line with each other and the text in line with each other also that'd be great.
– Maria Robson
1 min ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
You can use the enumitem package to produce:
Here's the code:
documentclassarticle
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
The important bits are the lines
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
These specify what you want the labels to look like. I highly recommend reading the package manual if you need to tweak further. It's very to easy to read.
Edit TO get the indentation in the OP you can use:
documentclassarticle
usepackageenumitem
setlist[enumerate]
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Level
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
to give:
EDIT II As Mico says in the comments, for the required indentation it is easier to use setlist[enumerate] wide=0pt
.
2
Why not usesetlist[enumerate]label*=arabic*.
instead?
– leandriis
44 mins ago
2
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
1
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
1
Simpler thanleftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
iswide=0pt
.
– Mico
25 mins ago
 |Â
show 3 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
You can use the enumitem package to produce:
Here's the code:
documentclassarticle
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
The important bits are the lines
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
These specify what you want the labels to look like. I highly recommend reading the package manual if you need to tweak further. It's very to easy to read.
Edit TO get the indentation in the OP you can use:
documentclassarticle
usepackageenumitem
setlist[enumerate]
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Level
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
to give:
EDIT II As Mico says in the comments, for the required indentation it is easier to use setlist[enumerate] wide=0pt
.
2
Why not usesetlist[enumerate]label*=arabic*.
instead?
– leandriis
44 mins ago
2
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
1
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
1
Simpler thanleftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
iswide=0pt
.
– Mico
25 mins ago
 |Â
show 3 more comments
up vote
3
down vote
accepted
You can use the enumitem package to produce:
Here's the code:
documentclassarticle
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
The important bits are the lines
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
These specify what you want the labels to look like. I highly recommend reading the package manual if you need to tweak further. It's very to easy to read.
Edit TO get the indentation in the OP you can use:
documentclassarticle
usepackageenumitem
setlist[enumerate]
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Level
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
to give:
EDIT II As Mico says in the comments, for the required indentation it is easier to use setlist[enumerate] wide=0pt
.
2
Why not usesetlist[enumerate]label*=arabic*.
instead?
– leandriis
44 mins ago
2
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
1
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
1
Simpler thanleftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
iswide=0pt
.
– Mico
25 mins ago
 |Â
show 3 more comments
up vote
3
down vote
accepted
up vote
3
down vote
accepted
You can use the enumitem package to produce:
Here's the code:
documentclassarticle
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
The important bits are the lines
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
These specify what you want the labels to look like. I highly recommend reading the package manual if you need to tweak further. It's very to easy to read.
Edit TO get the indentation in the OP you can use:
documentclassarticle
usepackageenumitem
setlist[enumerate]
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Level
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
to give:
EDIT II As Mico says in the comments, for the required indentation it is easier to use setlist[enumerate] wide=0pt
.
You can use the enumitem package to produce:
Here's the code:
documentclassarticle
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Levek
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
The important bits are the lines
usepackageenumitem
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
These specify what you want the labels to look like. I highly recommend reading the package manual if you need to tweak further. It's very to easy to read.
Edit TO get the indentation in the OP you can use:
documentclassarticle
usepackageenumitem
setlist[enumerate]
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
setlist[enumerate,1]label=arabic*
setlist[enumerate,2]label=theenumi.arabic*
setlist[enumerate,3]label=theenumii.arabic*
begindocument
beginenumerate
item Top Level
beginenumerate
item Second Level
beginenumerate
item Third Level
endenumerate
endenumerate
endenumerate
enddocument
to give:
EDIT II As Mico says in the comments, for the required indentation it is easier to use setlist[enumerate] wide=0pt
.
edited 20 mins ago
answered 46 mins ago


Andrew
28.4k34075
28.4k34075
2
Why not usesetlist[enumerate]label*=arabic*.
instead?
– leandriis
44 mins ago
2
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
1
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
1
Simpler thanleftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
iswide=0pt
.
– Mico
25 mins ago
 |Â
show 3 more comments
2
Why not usesetlist[enumerate]label*=arabic*.
instead?
– leandriis
44 mins ago
2
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
1
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
1
Simpler thanleftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
iswide=0pt
.
– Mico
25 mins ago
2
2
Why not use
setlist[enumerate]label*=arabic*.
instead?– leandriis
44 mins ago
Why not use
setlist[enumerate]label*=arabic*.
instead?– leandriis
44 mins ago
2
2
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
This solution doesn't address the OP's objective to "remove the indentation on the third level so it is inline with the second level".
– Mico
34 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
@leandriis - The OP has stated that he/she does not want a period (aka "full stop") at the end of the numeric labels.
– Mico
32 mins ago
1
1
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
@Mico Thanks. I think this might do it.
– Andrew
28 mins ago
1
1
Simpler than
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
is wide=0pt
.– Mico
25 mins ago
Simpler than
leftmargin=0pt, labelindent*=0pt, labelwidth=0pt,align=left
is wide=0pt
.– Mico
25 mins ago
 |Â
show 3 more comments
Maria Robson is a new contributor. Be nice, and check out our Code of Conduct.
Maria Robson is a new contributor. Be nice, and check out our Code of Conduct.
Maria Robson is a new contributor. Be nice, and check out our Code of Conduct.
Maria Robson is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457314%2fhow-to-get-three-nested-enumerations-in-latex%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Welcome to TeX.SX! Ehen you post a question it's better to give a complete minimal working example. This should be as small as possible to demonstrate your problem and compile. This both clarifies your question and makes it easier to help you!
– Andrew
47 mins ago
1
Welcome to TeX.SE. Please tell us if your document loads any packages that influence the appearance of numbers used in enumerations. For sure, the LaTeX default for second-level enumerated items is
(a)
,(b)
, etc., not1.1
,1.2
, etc. Please also advise whether or not second-level enumerated items should be left-indented with respect to first-level enumerated items.– Mico
47 mins ago
What should be inline with the second level? The label or the texts that follow the labels?
– Bernard
28 mins ago
@Bernard the answer given is what I was looking for. However, if you know how to get both the labels in line with each other and the text in line with each other also that'd be great.
– Maria Robson
1 min ago