How to make a enumerate list with numbers and given letter

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







share|improve this question
























    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.







    share|improve this question






















      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.







      share|improve this question












      I would like to create a enumerate as following:



      C1
      C1.1
      C1.2
      C2
      C3


      Basically, all numbers have a given letter.



      Thanks.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 14 at 11:58









      ender.an27

      1084




      1084




















          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.




          enter image description here




          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.






          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
            );



            );








             

            draft saved


            draft discarded


















            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






























            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.




            enter image description here




            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.






            share|improve this answer


























              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.




              enter image description here




              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.






              share|improve this answer
























                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.




                enter image description here




                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.






                share|improve this answer














                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.




                enter image description here




                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.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 14 at 12:07

























                answered Aug 14 at 12:01









                Phelype Oleinik

                15.1k33363




                15.1k33363






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    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













































































                    這個網誌中的熱門文章

                    How to combine Bézier curves to a surface?

                    Carbon dioxide

                    Why am i infinitely getting the same tweet with the Twitter Search API?