How can I create a list with a step size different from 1?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I have to type a lot of questions, but only every 4th (4,8,12,...), so I was wondering if I can get Latex to number the items automatically.
I know I can change each item numbering manually, but I'd like the counter to increase by 4s automatically.



I have no idea where to start, a google search just showed the properties I was already familiar with (arabic, add a label, alph), but nothing referring to a step size. It might be called something different, so I don't know which parameter to set (if any).










share|improve this question

























    up vote
    3
    down vote

    favorite












    I have to type a lot of questions, but only every 4th (4,8,12,...), so I was wondering if I can get Latex to number the items automatically.
    I know I can change each item numbering manually, but I'd like the counter to increase by 4s automatically.



    I have no idea where to start, a google search just showed the properties I was already familiar with (arabic, add a label, alph), but nothing referring to a step size. It might be called something different, so I don't know which parameter to set (if any).










    share|improve this question























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I have to type a lot of questions, but only every 4th (4,8,12,...), so I was wondering if I can get Latex to number the items automatically.
      I know I can change each item numbering manually, but I'd like the counter to increase by 4s automatically.



      I have no idea where to start, a google search just showed the properties I was already familiar with (arabic, add a label, alph), but nothing referring to a step size. It might be called something different, so I don't know which parameter to set (if any).










      share|improve this question













      I have to type a lot of questions, but only every 4th (4,8,12,...), so I was wondering if I can get Latex to number the items automatically.
      I know I can change each item numbering manually, but I'd like the counter to increase by 4s automatically.



      I have no idea where to start, a google search just showed the properties I was already familiar with (arabic, add a label, alph), but nothing referring to a step size. It might be called something different, so I don't know which parameter to set (if any).







      lists enumerate






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      Mahoma

      306111




      306111




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          You can create a new command that does the trick with everything you know about counters ;)



          documentclassarticle

          newcommandmyitemaddtocounterenumi3item

          begindocument
          beginenumerate
          myitem One
          myitem Two
          myitem dots
          endenumerate
          enddocument


          result



          You could create a new command with a step size as argument as well:



          newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxitem


          Or "set a step size" in the beginning:



          documentclassarticle

          letolditemitem
          newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxolditem
          newcommandsetenumstep[1]%
          renewcommanditemmyitem#1


          begindocument
          beginenumerate
          myitem4 One
          myitem4 Two
          myitem4 dots
          endenumerate

          beginenumerate
          setenumstep4
          item One
          item Two
          item dots
          endenumerate
          enddocument


          These enumerations both result in the same as the first one posted.



          Probably you know it already, but might be helpful anyway: If you want to tweak single items, you can do it manually with



          item[4.] One
          item[8.] Two





          share|improve this answer





























            up vote
            2
            down vote













            If you're not concerned about labeling the items, you can use the following setup:



            enter image description here



            documentclassarticle

            usepackageenumitem,etoolbox,xfp

            newlistfourenumerateenumerate4
            setlist[fourenumerate]label = mulfourvalue*.

            newrobustcmdmulfour[1]inteval#1 * 4

            begindocument

            beginenumerate
            item One
            item Two
            item ldots
            endenumerate

            beginfourenumerate
            item One
            item Two
            item ldots
            endfourenumerate

            enddocument





            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%2f451648%2fhow-can-i-create-a-list-with-a-step-size-different-from-1%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              5
              down vote



              accepted










              You can create a new command that does the trick with everything you know about counters ;)



              documentclassarticle

              newcommandmyitemaddtocounterenumi3item

              begindocument
              beginenumerate
              myitem One
              myitem Two
              myitem dots
              endenumerate
              enddocument


              result



              You could create a new command with a step size as argument as well:



              newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxitem


              Or "set a step size" in the beginning:



              documentclassarticle

              letolditemitem
              newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxolditem
              newcommandsetenumstep[1]%
              renewcommanditemmyitem#1


              begindocument
              beginenumerate
              myitem4 One
              myitem4 Two
              myitem4 dots
              endenumerate

              beginenumerate
              setenumstep4
              item One
              item Two
              item dots
              endenumerate
              enddocument


              These enumerations both result in the same as the first one posted.



              Probably you know it already, but might be helpful anyway: If you want to tweak single items, you can do it manually with



              item[4.] One
              item[8.] Two





              share|improve this answer


























                up vote
                5
                down vote



                accepted










                You can create a new command that does the trick with everything you know about counters ;)



                documentclassarticle

                newcommandmyitemaddtocounterenumi3item

                begindocument
                beginenumerate
                myitem One
                myitem Two
                myitem dots
                endenumerate
                enddocument


                result



                You could create a new command with a step size as argument as well:



                newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxitem


                Or "set a step size" in the beginning:



                documentclassarticle

                letolditemitem
                newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxolditem
                newcommandsetenumstep[1]%
                renewcommanditemmyitem#1


                begindocument
                beginenumerate
                myitem4 One
                myitem4 Two
                myitem4 dots
                endenumerate

                beginenumerate
                setenumstep4
                item One
                item Two
                item dots
                endenumerate
                enddocument


                These enumerations both result in the same as the first one posted.



                Probably you know it already, but might be helpful anyway: If you want to tweak single items, you can do it manually with



                item[4.] One
                item[8.] Two





                share|improve this answer
























                  up vote
                  5
                  down vote



                  accepted







                  up vote
                  5
                  down vote



                  accepted






                  You can create a new command that does the trick with everything you know about counters ;)



                  documentclassarticle

                  newcommandmyitemaddtocounterenumi3item

                  begindocument
                  beginenumerate
                  myitem One
                  myitem Two
                  myitem dots
                  endenumerate
                  enddocument


                  result



                  You could create a new command with a step size as argument as well:



                  newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxitem


                  Or "set a step size" in the beginning:



                  documentclassarticle

                  letolditemitem
                  newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxolditem
                  newcommandsetenumstep[1]%
                  renewcommanditemmyitem#1


                  begindocument
                  beginenumerate
                  myitem4 One
                  myitem4 Two
                  myitem4 dots
                  endenumerate

                  beginenumerate
                  setenumstep4
                  item One
                  item Two
                  item dots
                  endenumerate
                  enddocument


                  These enumerations both result in the same as the first one posted.



                  Probably you know it already, but might be helpful anyway: If you want to tweak single items, you can do it manually with



                  item[4.] One
                  item[8.] Two





                  share|improve this answer














                  You can create a new command that does the trick with everything you know about counters ;)



                  documentclassarticle

                  newcommandmyitemaddtocounterenumi3item

                  begindocument
                  beginenumerate
                  myitem One
                  myitem Two
                  myitem dots
                  endenumerate
                  enddocument


                  result



                  You could create a new command with a step size as argument as well:



                  newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxitem


                  Or "set a step size" in the beginning:



                  documentclassarticle

                  letolditemitem
                  newcommandmyitem[1]addtocounterenuminumexpr#1-1relaxolditem
                  newcommandsetenumstep[1]%
                  renewcommanditemmyitem#1


                  begindocument
                  beginenumerate
                  myitem4 One
                  myitem4 Two
                  myitem4 dots
                  endenumerate

                  beginenumerate
                  setenumstep4
                  item One
                  item Two
                  item dots
                  endenumerate
                  enddocument


                  These enumerations both result in the same as the first one posted.



                  Probably you know it already, but might be helpful anyway: If you want to tweak single items, you can do it manually with



                  item[4.] One
                  item[8.] Two






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 43 mins ago

























                  answered 57 mins ago









                  nox

                  3,015418




                  3,015418




















                      up vote
                      2
                      down vote













                      If you're not concerned about labeling the items, you can use the following setup:



                      enter image description here



                      documentclassarticle

                      usepackageenumitem,etoolbox,xfp

                      newlistfourenumerateenumerate4
                      setlist[fourenumerate]label = mulfourvalue*.

                      newrobustcmdmulfour[1]inteval#1 * 4

                      begindocument

                      beginenumerate
                      item One
                      item Two
                      item ldots
                      endenumerate

                      beginfourenumerate
                      item One
                      item Two
                      item ldots
                      endfourenumerate

                      enddocument





                      share|improve this answer
























                        up vote
                        2
                        down vote













                        If you're not concerned about labeling the items, you can use the following setup:



                        enter image description here



                        documentclassarticle

                        usepackageenumitem,etoolbox,xfp

                        newlistfourenumerateenumerate4
                        setlist[fourenumerate]label = mulfourvalue*.

                        newrobustcmdmulfour[1]inteval#1 * 4

                        begindocument

                        beginenumerate
                        item One
                        item Two
                        item ldots
                        endenumerate

                        beginfourenumerate
                        item One
                        item Two
                        item ldots
                        endfourenumerate

                        enddocument





                        share|improve this answer






















                          up vote
                          2
                          down vote










                          up vote
                          2
                          down vote









                          If you're not concerned about labeling the items, you can use the following setup:



                          enter image description here



                          documentclassarticle

                          usepackageenumitem,etoolbox,xfp

                          newlistfourenumerateenumerate4
                          setlist[fourenumerate]label = mulfourvalue*.

                          newrobustcmdmulfour[1]inteval#1 * 4

                          begindocument

                          beginenumerate
                          item One
                          item Two
                          item ldots
                          endenumerate

                          beginfourenumerate
                          item One
                          item Two
                          item ldots
                          endfourenumerate

                          enddocument





                          share|improve this answer












                          If you're not concerned about labeling the items, you can use the following setup:



                          enter image description here



                          documentclassarticle

                          usepackageenumitem,etoolbox,xfp

                          newlistfourenumerateenumerate4
                          setlist[fourenumerate]label = mulfourvalue*.

                          newrobustcmdmulfour[1]inteval#1 * 4

                          begindocument

                          beginenumerate
                          item One
                          item Two
                          item ldots
                          endenumerate

                          beginfourenumerate
                          item One
                          item Two
                          item ldots
                          endfourenumerate

                          enddocument






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 39 mins ago









                          Werner

                          421k589161585




                          421k589161585



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f451648%2fhow-can-i-create-a-list-with-a-step-size-different-from-1%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              What does second last employer means? [closed]

                              Installing NextGIS Connect into QGIS 3?

                              One-line joke