How to refer to single item in custom enumerate
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have defined an enumerate
environment with custom item names: each item should start with a bullet point and then "Type X case", where the X denotes the item number.
Later in the text, I want to refer to an item in the list, but only by its number: for instance, I want to write "we now refer to case X" (where X should include a hyperlink to the relevant list item).
MWE:
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
The final result (in the last phrase) is something like "We now refer to case ⢠Type 1 case:..." but I want to have instead "We now refer to case 1:..."
How to do this using enumitem package and (possibly) without having to load other packages?
hyperref lists enumitem
New contributor
add a comment |Â
up vote
2
down vote
favorite
I have defined an enumerate
environment with custom item names: each item should start with a bullet point and then "Type X case", where the X denotes the item number.
Later in the text, I want to refer to an item in the list, but only by its number: for instance, I want to write "we now refer to case X" (where X should include a hyperlink to the relevant list item).
MWE:
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
The final result (in the last phrase) is something like "We now refer to case ⢠Type 1 case:..." but I want to have instead "We now refer to case 1:..."
How to do this using enumitem package and (possibly) without having to load other packages?
hyperref lists enumitem
New contributor
In essence, you want to have a differentref
to what is printed in thelabel
. Possible duplicate: Unbold referenced label
â Werner
33 mins ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have defined an enumerate
environment with custom item names: each item should start with a bullet point and then "Type X case", where the X denotes the item number.
Later in the text, I want to refer to an item in the list, but only by its number: for instance, I want to write "we now refer to case X" (where X should include a hyperlink to the relevant list item).
MWE:
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
The final result (in the last phrase) is something like "We now refer to case ⢠Type 1 case:..." but I want to have instead "We now refer to case 1:..."
How to do this using enumitem package and (possibly) without having to load other packages?
hyperref lists enumitem
New contributor
I have defined an enumerate
environment with custom item names: each item should start with a bullet point and then "Type X case", where the X denotes the item number.
Later in the text, I want to refer to an item in the list, but only by its number: for instance, I want to write "we now refer to case X" (where X should include a hyperlink to the relevant list item).
MWE:
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
The final result (in the last phrase) is something like "We now refer to case ⢠Type 1 case:..." but I want to have instead "We now refer to case 1:..."
How to do this using enumitem package and (possibly) without having to load other packages?
hyperref lists enumitem
hyperref lists enumitem
New contributor
New contributor
New contributor
asked 51 mins ago
GioMott
111
111
New contributor
New contributor
In essence, you want to have a differentref
to what is printed in thelabel
. Possible duplicate: Unbold referenced label
â Werner
33 mins ago
add a comment |Â
In essence, you want to have a differentref
to what is printed in thelabel
. Possible duplicate: Unbold referenced label
â Werner
33 mins ago
In essence, you want to have a different
ref
to what is printed in the label
. Possible duplicate: Unbold referenced labelâ Werner
33 mins ago
In essence, you want to have a different
ref
to what is printed in the label
. Possible duplicate: Unbold referenced labelâ Werner
33 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
enumitem
knows the ref
option to customise the appearance of labels
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:,ref=case arabic*:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
enumitem
knows the ref
option to customise the appearance of labels
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:,ref=case arabic*:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
add a comment |Â
up vote
3
down vote
enumitem
knows the ref
option to customise the appearance of labels
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:,ref=case arabic*:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
add a comment |Â
up vote
3
down vote
up vote
3
down vote
enumitem
knows the ref
option to customise the appearance of labels
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:,ref=case arabic*:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
enumitem
knows the ref
option to customise the appearance of labels
documentclassreport
usepackage[shortlabels]enumitem
usepackagehyperref
begindocument
beginenumerate[label=$bullet;$textitType arabic* case:,ref=case arabic*:]
item labelitem:type1case If blah blah
item labelitem:type2case If instead blah
item labelitem:type3case this blah
endenumerate
We now refer to case ref*item:type1case...
enddocument
answered 48 mins ago
moewe
79.3k798301
79.3k798301
add a comment |Â
add a comment |Â
GioMott is a new contributor. Be nice, and check out our Code of Conduct.
GioMott is a new contributor. Be nice, and check out our Code of Conduct.
GioMott is a new contributor. Be nice, and check out our Code of Conduct.
GioMott 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%2f455897%2fhow-to-refer-to-single-item-in-custom-enumerate%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
In essence, you want to have a different
ref
to what is printed in thelabel
. Possible duplicate: Unbold referenced labelâ Werner
33 mins ago