How to refer to single item in custom enumerate

The name of the pictureThe name of the pictureThe name of the pictureClash 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?










share|improve this question







New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • 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














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?










share|improve this question







New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • 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












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?










share|improve this question







New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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






share|improve this question







New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 51 mins ago









GioMott

111




111




New contributor




GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






GioMott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • 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















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










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


We now refer to case case 1:...






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    GioMott is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    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






























    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


    We now refer to case case 1:...






    share|improve this answer
























      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


      We now refer to case case 1:...






      share|improve this answer






















        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


        We now refer to case case 1:...






        share|improve this answer












        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


        We now refer to case case 1:...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 48 mins ago









        moewe

        79.3k798301




        79.3k798301




















            GioMott is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            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.













             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?