How to make a enumerate list with numbers and given letter
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I would like to create a enumerate as following:
C1
C1.1
C1.2
C2
C3
Basically, all numbers have a given letter.
Thanks.
enumerate
add a comment |Â
up vote
1
down vote
favorite
I would like to create a enumerate as following:
C1
C1.1
C1.2
C2
C3
Basically, all numbers have a given letter.
Thanks.
enumerate
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I would like to create a enumerate as following:
C1
C1.1
C1.2
C2
C3
Basically, all numbers have a given letter.
Thanks.
enumerate
I would like to create a enumerate as following:
C1
C1.1
C1.2
C2
C3
Basically, all numbers have a given letter.
Thanks.
enumerate
asked Aug 14 at 11:58
ender.an27
1084
1084
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Using enumitem
you can define the first level list to have label=Carabic*
, which will prepend the C
to the counter. for the following lists you can use label*=.arabic*
, which will append .<counter>
to the parent list counter.
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=Carabic*]
item item
beginenumerate[label*=.arabic*]
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
If you want this to be the global setting of your document, instead of using beginenumerate[label...
every time (which can be quite tedious and error-prone), you can use setlist
:
documentclassarticle
usepackageenumitem
setlist[1]label=Carabic*
setlistlabel*=.arabic*
begindocument
beginenumerate
item item
beginenumerate
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
The first setlist
will make C<counter>
for first level lists, and the second will append .<counter>
to the other levels.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Using enumitem
you can define the first level list to have label=Carabic*
, which will prepend the C
to the counter. for the following lists you can use label*=.arabic*
, which will append .<counter>
to the parent list counter.
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=Carabic*]
item item
beginenumerate[label*=.arabic*]
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
If you want this to be the global setting of your document, instead of using beginenumerate[label...
every time (which can be quite tedious and error-prone), you can use setlist
:
documentclassarticle
usepackageenumitem
setlist[1]label=Carabic*
setlistlabel*=.arabic*
begindocument
beginenumerate
item item
beginenumerate
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
The first setlist
will make C<counter>
for first level lists, and the second will append .<counter>
to the other levels.
add a comment |Â
up vote
4
down vote
accepted
Using enumitem
you can define the first level list to have label=Carabic*
, which will prepend the C
to the counter. for the following lists you can use label*=.arabic*
, which will append .<counter>
to the parent list counter.
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=Carabic*]
item item
beginenumerate[label*=.arabic*]
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
If you want this to be the global setting of your document, instead of using beginenumerate[label...
every time (which can be quite tedious and error-prone), you can use setlist
:
documentclassarticle
usepackageenumitem
setlist[1]label=Carabic*
setlistlabel*=.arabic*
begindocument
beginenumerate
item item
beginenumerate
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
The first setlist
will make C<counter>
for first level lists, and the second will append .<counter>
to the other levels.
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Using enumitem
you can define the first level list to have label=Carabic*
, which will prepend the C
to the counter. for the following lists you can use label*=.arabic*
, which will append .<counter>
to the parent list counter.
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=Carabic*]
item item
beginenumerate[label*=.arabic*]
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
If you want this to be the global setting of your document, instead of using beginenumerate[label...
every time (which can be quite tedious and error-prone), you can use setlist
:
documentclassarticle
usepackageenumitem
setlist[1]label=Carabic*
setlistlabel*=.arabic*
begindocument
beginenumerate
item item
beginenumerate
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
The first setlist
will make C<counter>
for first level lists, and the second will append .<counter>
to the other levels.
Using enumitem
you can define the first level list to have label=Carabic*
, which will prepend the C
to the counter. for the following lists you can use label*=.arabic*
, which will append .<counter>
to the parent list counter.
documentclassarticle
usepackageenumitem
begindocument
beginenumerate[label=Carabic*]
item item
beginenumerate[label*=.arabic*]
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
If you want this to be the global setting of your document, instead of using beginenumerate[label...
every time (which can be quite tedious and error-prone), you can use setlist
:
documentclassarticle
usepackageenumitem
setlist[1]label=Carabic*
setlistlabel*=.arabic*
begindocument
beginenumerate
item item
beginenumerate
item sub item
item another sub item
endenumerate
item another item
item one more item
endenumerate
enddocument
The first setlist
will make C<counter>
for first level lists, and the second will append .<counter>
to the other levels.
edited Aug 14 at 12:07
answered Aug 14 at 12:01
Phelype Oleinik
15.1k33363
15.1k33363
add a comment |Â
add a comment |Â
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%2f446001%2fhow-to-make-a-enumerate-list-with-numbers-and-given-letter%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