How do I make a list that goes “1.1, 1.2, …�
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I tried, setcounterenumi1.0
, but it didn't work and just gave me an error. How can I achieve that?
lists enumerate
add a comment |Â
up vote
1
down vote
favorite
I tried, setcounterenumi1.0
, but it didn't work and just gave me an error. How can I achieve that?
lists enumerate
3
Where does the leading 1. come from? Is it part of a larger list? Or an outline? Are you going to want a 2. for some other reason? Could you give an example of why you want this? There are several valid reasons, but I think they would lead to slightly different answers.
– Teepeemm
Sep 9 at 19:22
So I am using latex to do homework problems. This is from chapter 4 of the book so the assigned problems were 4.1, 4.2, 4.3, 4.4, 4.10, 4.11, and some others. Some of the problems have additional parts (i.e, 4.1 a, 4.1 b, etc.) so I figured beginenumerate would be the way to go.
– Mohammed Shahid
Sep 9 at 19:27
@MohammedShahid: Then you can usebeginenumerate[thechapter.1] item foo item bar endenumerate
– current_user
Sep 9 at 20:09
1
@current_user no he can't as he is doing homework and not writing that book. It is unlikely thatthechapter
would yield the correct result.
– Skillmon
2 days ago
@Skillmon: Oh, sorry, my fault, I mean something likenewcommandNAMEthesection
and then the same usage which is shown in my answer …
– current_user
2 days ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I tried, setcounterenumi1.0
, but it didn't work and just gave me an error. How can I achieve that?
lists enumerate
I tried, setcounterenumi1.0
, but it didn't work and just gave me an error. How can I achieve that?
lists enumerate
lists enumerate
edited Sep 9 at 18:45


current_user
2,5741428
2,5741428
asked Sep 9 at 18:40


Mohammed Shahid
518
518
3
Where does the leading 1. come from? Is it part of a larger list? Or an outline? Are you going to want a 2. for some other reason? Could you give an example of why you want this? There are several valid reasons, but I think they would lead to slightly different answers.
– Teepeemm
Sep 9 at 19:22
So I am using latex to do homework problems. This is from chapter 4 of the book so the assigned problems were 4.1, 4.2, 4.3, 4.4, 4.10, 4.11, and some others. Some of the problems have additional parts (i.e, 4.1 a, 4.1 b, etc.) so I figured beginenumerate would be the way to go.
– Mohammed Shahid
Sep 9 at 19:27
@MohammedShahid: Then you can usebeginenumerate[thechapter.1] item foo item bar endenumerate
– current_user
Sep 9 at 20:09
1
@current_user no he can't as he is doing homework and not writing that book. It is unlikely thatthechapter
would yield the correct result.
– Skillmon
2 days ago
@Skillmon: Oh, sorry, my fault, I mean something likenewcommandNAMEthesection
and then the same usage which is shown in my answer …
– current_user
2 days ago
add a comment |Â
3
Where does the leading 1. come from? Is it part of a larger list? Or an outline? Are you going to want a 2. for some other reason? Could you give an example of why you want this? There are several valid reasons, but I think they would lead to slightly different answers.
– Teepeemm
Sep 9 at 19:22
So I am using latex to do homework problems. This is from chapter 4 of the book so the assigned problems were 4.1, 4.2, 4.3, 4.4, 4.10, 4.11, and some others. Some of the problems have additional parts (i.e, 4.1 a, 4.1 b, etc.) so I figured beginenumerate would be the way to go.
– Mohammed Shahid
Sep 9 at 19:27
@MohammedShahid: Then you can usebeginenumerate[thechapter.1] item foo item bar endenumerate
– current_user
Sep 9 at 20:09
1
@current_user no he can't as he is doing homework and not writing that book. It is unlikely thatthechapter
would yield the correct result.
– Skillmon
2 days ago
@Skillmon: Oh, sorry, my fault, I mean something likenewcommandNAMEthesection
and then the same usage which is shown in my answer …
– current_user
2 days ago
3
3
Where does the leading 1. come from? Is it part of a larger list? Or an outline? Are you going to want a 2. for some other reason? Could you give an example of why you want this? There are several valid reasons, but I think they would lead to slightly different answers.
– Teepeemm
Sep 9 at 19:22
Where does the leading 1. come from? Is it part of a larger list? Or an outline? Are you going to want a 2. for some other reason? Could you give an example of why you want this? There are several valid reasons, but I think they would lead to slightly different answers.
– Teepeemm
Sep 9 at 19:22
So I am using latex to do homework problems. This is from chapter 4 of the book so the assigned problems were 4.1, 4.2, 4.3, 4.4, 4.10, 4.11, and some others. Some of the problems have additional parts (i.e, 4.1 a, 4.1 b, etc.) so I figured beginenumerate would be the way to go.
– Mohammed Shahid
Sep 9 at 19:27
So I am using latex to do homework problems. This is from chapter 4 of the book so the assigned problems were 4.1, 4.2, 4.3, 4.4, 4.10, 4.11, and some others. Some of the problems have additional parts (i.e, 4.1 a, 4.1 b, etc.) so I figured beginenumerate would be the way to go.
– Mohammed Shahid
Sep 9 at 19:27
@MohammedShahid: Then you can use
beginenumerate[thechapter.1] item foo item bar endenumerate
– current_user
Sep 9 at 20:09
@MohammedShahid: Then you can use
beginenumerate[thechapter.1] item foo item bar endenumerate
– current_user
Sep 9 at 20:09
1
1
@current_user no he can't as he is doing homework and not writing that book. It is unlikely that
thechapter
would yield the correct result.– Skillmon
2 days ago
@current_user no he can't as he is doing homework and not writing that book. It is unlikely that
thechapter
would yield the correct result.– Skillmon
2 days ago
@Skillmon: Oh, sorry, my fault, I mean something like
newcommandNAMEthesection
and then the same usage which is shown in my answer …– current_user
2 days ago
@Skillmon: Oh, sorry, my fault, I mean something like
newcommandNAMEthesection
and then the same usage which is shown in my answer …– current_user
2 days ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
With enumitem
:
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=1.arabic*]
item foo
item bar
endenumerate
enddocument
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
1
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
1
@MohammedShahid sure, you can usebeginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
 |Â
show 2 more comments
up vote
3
down vote
documentclassarticle
usepackageenumerate
newcommandone1
begindocument
beginenumerate[one.1]
item Hallo
item Hallo
endenumerate
enddocument
Here is the output:
1
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
With enumitem
:
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=1.arabic*]
item foo
item bar
endenumerate
enddocument
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
1
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
1
@MohammedShahid sure, you can usebeginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
 |Â
show 2 more comments
up vote
4
down vote
accepted
With enumitem
:
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=1.arabic*]
item foo
item bar
endenumerate
enddocument
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
1
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
1
@MohammedShahid sure, you can usebeginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
 |Â
show 2 more comments
up vote
4
down vote
accepted
up vote
4
down vote
accepted
With enumitem
:
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=1.arabic*]
item foo
item bar
endenumerate
enddocument
With enumitem
:
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=1.arabic*]
item foo
item bar
endenumerate
enddocument
answered Sep 9 at 18:45


Skillmon
17.5k11535
17.5k11535
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
1
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
1
@MohammedShahid sure, you can usebeginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
 |Â
show 2 more comments
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
1
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
1
@MohammedShahid sure, you can usebeginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
When I do: beginenumerate[label=1. arabic*] The asterisks appears with the arabic and appears red. Which leads to me getting a dozen errors.
– Mohammed Shahid
Sep 9 at 18:56
1
1
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
@MohammedShahid then post an MWE which shows which document class you're using and produces the error you're facing with my code, the MWE in my answer does work. And please answer the questions asked in Teepeemm's comment below your question (that might enhance our ability to answer your question a lot).
– Skillmon
Sep 9 at 19:27
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
the only thing I have after begindocument is the code you put. And it is giving me a lot of errors. Could one of the commands I have in the preamble before then mess with this? I did use the enumitem package.The error messages are as follows: ! Missing number, treated as zero.<to be read again>c@ beginenumerate[label=1.arabic]. The second one is: ! Missing number, treated as zero.<to be read again>c@ item f The third is: ! Undefined control sequence.enit@endenumerate ->enit@afterendlist ifx enit@series relax else if... endenumerate
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
I figured it out. I removed usepackageenumerate and then it worked. Do these packages not work with each other?
– Mohammed Shahid
2 days ago
1
1
@MohammedShahid sure, you can use
beginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
@MohammedShahid sure, you can use
beginenumerate[label=1.arabic*,start=2]
– Skillmon
2 days ago
 |Â
show 2 more comments
up vote
3
down vote
documentclassarticle
usepackageenumerate
newcommandone1
begindocument
beginenumerate[one.1]
item Hallo
item Hallo
endenumerate
enddocument
Here is the output:
1
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
add a comment |Â
up vote
3
down vote
documentclassarticle
usepackageenumerate
newcommandone1
begindocument
beginenumerate[one.1]
item Hallo
item Hallo
endenumerate
enddocument
Here is the output:
1
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
add a comment |Â
up vote
3
down vote
up vote
3
down vote
documentclassarticle
usepackageenumerate
newcommandone1
begindocument
beginenumerate[one.1]
item Hallo
item Hallo
endenumerate
enddocument
Here is the output:
documentclassarticle
usepackageenumerate
newcommandone1
begindocument
beginenumerate[one.1]
item Hallo
item Hallo
endenumerate
enddocument
Here is the output:
answered Sep 9 at 18:43


current_user
2,5741428
2,5741428
1
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
add a comment |Â
1
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
1
1
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
I would have to make this command: newcommandone1 for every number, right?
– Mohammed Shahid
Sep 9 at 18:50
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
@MohammedShahid: Yeah, you're right … But Skillmon's answer is better than mine, so use his.
– current_user
Sep 9 at 18:51
add a comment |Â
Â
draft saved
draft discarded
Â
draft saved
draft discarded
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%2f450148%2fhow-do-i-make-a-list-that-goes-1-1-1-2%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
3
Where does the leading 1. come from? Is it part of a larger list? Or an outline? Are you going to want a 2. for some other reason? Could you give an example of why you want this? There are several valid reasons, but I think they would lead to slightly different answers.
– Teepeemm
Sep 9 at 19:22
So I am using latex to do homework problems. This is from chapter 4 of the book so the assigned problems were 4.1, 4.2, 4.3, 4.4, 4.10, 4.11, and some others. Some of the problems have additional parts (i.e, 4.1 a, 4.1 b, etc.) so I figured beginenumerate would be the way to go.
– Mohammed Shahid
Sep 9 at 19:27
@MohammedShahid: Then you can use
beginenumerate[thechapter.1] item foo item bar endenumerate
– current_user
Sep 9 at 20:09
1
@current_user no he can't as he is doing homework and not writing that book. It is unlikely that
thechapter
would yield the correct result.– Skillmon
2 days ago
@Skillmon: Oh, sorry, my fault, I mean something like
newcommandNAMEthesection
and then the same usage which is shown in my answer …– current_user
2 days ago