How to write below dots in latex

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











up vote
2
down vote

favorite













How to write the following in latex:
(q-p,-1,-1(q-1)...... times ,-1,1,1,......(p-1) times 1)




I have a vector which consists of the first term to be q-p.
Then we have -1 as the corresponding terms and it goes upto q-1 times and then we have 1 as the corresponding terms which goes upto p-1 times.



How to write the above vector by writing q-1 below the dots for -1 and p-1 below the dots for 1?



Any help will be enough.







share|improve this question


























    up vote
    2
    down vote

    favorite













    How to write the following in latex:
    (q-p,-1,-1(q-1)...... times ,-1,1,1,......(p-1) times 1)




    I have a vector which consists of the first term to be q-p.
    Then we have -1 as the corresponding terms and it goes upto q-1 times and then we have 1 as the corresponding terms which goes upto p-1 times.



    How to write the above vector by writing q-1 below the dots for -1 and p-1 below the dots for 1?



    Any help will be enough.







    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite












      How to write the following in latex:
      (q-p,-1,-1(q-1)...... times ,-1,1,1,......(p-1) times 1)




      I have a vector which consists of the first term to be q-p.
      Then we have -1 as the corresponding terms and it goes upto q-1 times and then we have 1 as the corresponding terms which goes upto p-1 times.



      How to write the above vector by writing q-1 below the dots for -1 and p-1 below the dots for 1?



      Any help will be enough.







      share|improve this question















      How to write the following in latex:
      (q-p,-1,-1(q-1)...... times ,-1,1,1,......(p-1) times 1)




      I have a vector which consists of the first term to be q-p.
      Then we have -1 as the corresponding terms and it goes upto q-1 times and then we have 1 as the corresponding terms which goes upto p-1 times.



      How to write the above vector by writing q-1 below the dots for -1 and p-1 below the dots for 1?



      Any help will be enough.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 31 at 11:08









      Marian G.

      35518




      35518










      asked Aug 31 at 10:39









      PureMathematics

      213




      213




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          Something like this?



          documentclassarticle
          usepackageamsmath

          begindocument

          beginequation
          ( q-p,underbrace -1, dotsc, -1 _q-1 text times,underbrace1 , dotsc , 1 _p-1text times )
          endequation

          enddocument


          enter image description here






          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%2f448661%2fhow-to-write-below-dots-in-latex%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



            accepted










            Something like this?



            documentclassarticle
            usepackageamsmath

            begindocument

            beginequation
            ( q-p,underbrace -1, dotsc, -1 _q-1 text times,underbrace1 , dotsc , 1 _p-1text times )
            endequation

            enddocument


            enter image description here






            share|improve this answer


























              up vote
              3
              down vote



              accepted










              Something like this?



              documentclassarticle
              usepackageamsmath

              begindocument

              beginequation
              ( q-p,underbrace -1, dotsc, -1 _q-1 text times,underbrace1 , dotsc , 1 _p-1text times )
              endequation

              enddocument


              enter image description here






              share|improve this answer
























                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                Something like this?



                documentclassarticle
                usepackageamsmath

                begindocument

                beginequation
                ( q-p,underbrace -1, dotsc, -1 _q-1 text times,underbrace1 , dotsc , 1 _p-1text times )
                endequation

                enddocument


                enter image description here






                share|improve this answer














                Something like this?



                documentclassarticle
                usepackageamsmath

                begindocument

                beginequation
                ( q-p,underbrace -1, dotsc, -1 _q-1 text times,underbrace1 , dotsc , 1 _p-1text times )
                endequation

                enddocument


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 31 at 11:17









                egreg

                681k8318083057




                681k8318083057










                answered Aug 31 at 11:05









                Simon

                18017




                18017



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f448661%2fhow-to-write-below-dots-in-latex%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery