How to write the block matrix in LaTex? The Next CEO of Stack OverflowAligning equations with text with alignatMatrix environments not workingnewcommand for bmatrix of features using pgffor throws missing endgroup errorLeft align text in equation environment (no use of align environment)How to align cases block to the leftObtaining a properly aligned complex matrixXparse k argument to parse options at end of environmentHow to represent the following border matrix in latex?How to write the following mathematical expression in LaTeX?“Missing '' inserted” and “Missing inserted” with aligned environment

Overlapping nodes in a decision tree

Return of the Riley Riddles in Reverse

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Is HostGator storing my password in plaintext?

Opposite of a diet

Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?

Implement the Thanos sorting algorithm

Why here is plural "We went to the movies last night."

Increase performance creating Mandelbrot set in python

How to write papers efficiently when English isn't my first language?

What does this shorthand mean?

Return the Closest Prime Number

Inappropriate reference requests from Journal reviewers

Apart from "berlinern", do any other German dialects have a corresponding verb?

Bulk API v2 Get Job Status Failing - InvalidBatch : Field name not found

If the heap is initialized for security, then why is the stack uninitialized?

The King's new dress

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

suction cup thing with 1/4 TRS cable?

Why does GHC infer a monomorphic type here, even with MonomorphismRestriction disabled?

Explicit solution of a Hamiltonian system

Can a single photon have an energy density?

MAZDA 3 2006 (UK) - poor acceleration then takes off at 3250 revs

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?



How to write the block matrix in LaTex?



The Next CEO of Stack OverflowAligning equations with text with alignatMatrix environments not workingnewcommand for bmatrix of features using pgffor throws missing endgroup errorLeft align text in equation environment (no use of align environment)How to align cases block to the leftObtaining a properly aligned complex matrixXparse k argument to parse options at end of environmentHow to represent the following border matrix in latex?How to write the following mathematical expression in LaTeX?“Missing '' inserted” and “Missing inserted” with aligned environment










3















I wish to write the following block matrix in LaTex.



enter image description here



I have been trying a bunch of stuff, but none of it seems to work. In particular, I tried the following:



beginbmatrix
0 & -1& & & & & 0 & & & &\
1 & 0 & & & & & & & & &\
& & cdot & & & & & & & &\
& & & cdot & & & & & & &\
& & & & cdot & & & & & &\
& & & & & 0 & 1 & & & &\
& & & & &-1 & 0 & & & &\
& & & & & & & cdot & & &\
& & & & & & & & cdot & & \
& & & & & & & & & cdot & \
0 & & & & & & & & & & 0\
endbmatrix



But this is pretty ugly and so any suggestions will be much appreciated.










share|improve this question




























    3















    I wish to write the following block matrix in LaTex.



    enter image description here



    I have been trying a bunch of stuff, but none of it seems to work. In particular, I tried the following:



    beginbmatrix
    0 & -1& & & & & 0 & & & &\
    1 & 0 & & & & & & & & &\
    & & cdot & & & & & & & &\
    & & & cdot & & & & & & &\
    & & & & cdot & & & & & &\
    & & & & & 0 & 1 & & & &\
    & & & & &-1 & 0 & & & &\
    & & & & & & & cdot & & &\
    & & & & & & & & cdot & & \
    & & & & & & & & & cdot & \
    0 & & & & & & & & & & 0\
    endbmatrix



    But this is pretty ugly and so any suggestions will be much appreciated.










    share|improve this question


























      3












      3








      3








      I wish to write the following block matrix in LaTex.



      enter image description here



      I have been trying a bunch of stuff, but none of it seems to work. In particular, I tried the following:



      beginbmatrix
      0 & -1& & & & & 0 & & & &\
      1 & 0 & & & & & & & & &\
      & & cdot & & & & & & & &\
      & & & cdot & & & & & & &\
      & & & & cdot & & & & & &\
      & & & & & 0 & 1 & & & &\
      & & & & &-1 & 0 & & & &\
      & & & & & & & cdot & & &\
      & & & & & & & & cdot & & \
      & & & & & & & & & cdot & \
      0 & & & & & & & & & & 0\
      endbmatrix



      But this is pretty ugly and so any suggestions will be much appreciated.










      share|improve this question
















      I wish to write the following block matrix in LaTex.



      enter image description here



      I have been trying a bunch of stuff, but none of it seems to work. In particular, I tried the following:



      beginbmatrix
      0 & -1& & & & & 0 & & & &\
      1 & 0 & & & & & & & & &\
      & & cdot & & & & & & & &\
      & & & cdot & & & & & & &\
      & & & & cdot & & & & & &\
      & & & & & 0 & 1 & & & &\
      & & & & &-1 & 0 & & & &\
      & & & & & & & cdot & & &\
      & & & & & & & & cdot & & \
      & & & & & & & & & cdot & \
      0 & & & & & & & & & & 0\
      endbmatrix



      But this is pretty ugly and so any suggestions will be much appreciated.







      amsmath






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 26 mins ago







      model_checker

















      asked 40 mins ago









      model_checkermodel_checker

      220139




      220139




















          3 Answers
          3






          active

          oldest

          votes


















          4














          Perhaps



          $left(beginarraycccccc
          left[beginarraycc
          0 & 1\
          -1 & 0
          endarrayright] & & & & & 0\
          & ddots\
          & & left[beginarraycc
          0 & 1\
          -1 & 0
          endarrayright]\
          & & & 0\
          & & & & ddots\
          0 & & & & & 0
          endarrayright)$


          enter image description here






          share|improve this answer


















          • 1





            Thank you so much!

            – model_checker
            14 mins ago


















          2














          Here's another solution. It uses a pmatrix environment for the overall matrix and a custom macro called blockmat for the 2x2 inner matrices.



          enter image description here



          documentclassarticle
          usepackagearray,amsmath
          newcommandblockmat%
          beginarray
          hline 0 & 1^mathstrut \ -1 & 0 \ hline
          endarray
          begindocument
          [
          beginpmatrix
          blockmat & & & & & 0 \
          & ddots & & & & \
          & & blockmat & & & \
          & & & 0 & & \
          & & & & ddots & \
          0 & & & & & 0 \
          endpmatrix
          ]
          enddocument




          share
































            0














            Here there is my proposal.



            enter image description here



            documentclassarticle
            usepackagemathtools
            newcommandbmatx$boxedbeginmatrix 0& 1& \ -1& 0&endmatrix$

            begindocument
            [
            beginpmatrix
            , bmatx& & & & & & & 0 \
            & ddots& & & & \
            & & bmatx & & & & \
            & & & ddots& & &\
            & & & & 0 & &\
            & & & & & & ddots\
            0 & & & & & & & 0
            endpmatrix
            ]

            enddocument




            share























              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              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%2f481978%2fhow-to-write-the-block-matrix-in-latex%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              Perhaps



              $left(beginarraycccccc
              left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright] & & & & & 0\
              & ddots\
              & & left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright]\
              & & & 0\
              & & & & ddots\
              0 & & & & & 0
              endarrayright)$


              enter image description here






              share|improve this answer


















              • 1





                Thank you so much!

                – model_checker
                14 mins ago















              4














              Perhaps



              $left(beginarraycccccc
              left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright] & & & & & 0\
              & ddots\
              & & left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright]\
              & & & 0\
              & & & & ddots\
              0 & & & & & 0
              endarrayright)$


              enter image description here






              share|improve this answer


















              • 1





                Thank you so much!

                – model_checker
                14 mins ago













              4












              4








              4







              Perhaps



              $left(beginarraycccccc
              left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright] & & & & & 0\
              & ddots\
              & & left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright]\
              & & & 0\
              & & & & ddots\
              0 & & & & & 0
              endarrayright)$


              enter image description here






              share|improve this answer













              Perhaps



              $left(beginarraycccccc
              left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright] & & & & & 0\
              & ddots\
              & & left[beginarraycc
              0 & 1\
              -1 & 0
              endarrayright]\
              & & & 0\
              & & & & ddots\
              0 & & & & & 0
              endarrayright)$


              enter image description here







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered 17 mins ago









              riccs_0xriccs_0x

              1564




              1564







              • 1





                Thank you so much!

                – model_checker
                14 mins ago












              • 1





                Thank you so much!

                – model_checker
                14 mins ago







              1




              1





              Thank you so much!

              – model_checker
              14 mins ago





              Thank you so much!

              – model_checker
              14 mins ago











              2














              Here's another solution. It uses a pmatrix environment for the overall matrix and a custom macro called blockmat for the 2x2 inner matrices.



              enter image description here



              documentclassarticle
              usepackagearray,amsmath
              newcommandblockmat%
              beginarray
              hline 0 & 1^mathstrut \ -1 & 0 \ hline
              endarray
              begindocument
              [
              beginpmatrix
              blockmat & & & & & 0 \
              & ddots & & & & \
              & & blockmat & & & \
              & & & 0 & & \
              & & & & ddots & \
              0 & & & & & 0 \
              endpmatrix
              ]
              enddocument




              share





























                2














                Here's another solution. It uses a pmatrix environment for the overall matrix and a custom macro called blockmat for the 2x2 inner matrices.



                enter image description here



                documentclassarticle
                usepackagearray,amsmath
                newcommandblockmat%
                beginarray
                hline 0 & 1^mathstrut \ -1 & 0 \ hline
                endarray
                begindocument
                [
                beginpmatrix
                blockmat & & & & & 0 \
                & ddots & & & & \
                & & blockmat & & & \
                & & & 0 & & \
                & & & & ddots & \
                0 & & & & & 0 \
                endpmatrix
                ]
                enddocument




                share



























                  2












                  2








                  2







                  Here's another solution. It uses a pmatrix environment for the overall matrix and a custom macro called blockmat for the 2x2 inner matrices.



                  enter image description here



                  documentclassarticle
                  usepackagearray,amsmath
                  newcommandblockmat%
                  beginarray
                  hline 0 & 1^mathstrut \ -1 & 0 \ hline
                  endarray
                  begindocument
                  [
                  beginpmatrix
                  blockmat & & & & & 0 \
                  & ddots & & & & \
                  & & blockmat & & & \
                  & & & 0 & & \
                  & & & & ddots & \
                  0 & & & & & 0 \
                  endpmatrix
                  ]
                  enddocument




                  share















                  Here's another solution. It uses a pmatrix environment for the overall matrix and a custom macro called blockmat for the 2x2 inner matrices.



                  enter image description here



                  documentclassarticle
                  usepackagearray,amsmath
                  newcommandblockmat%
                  beginarray
                  hline 0 & 1^mathstrut \ -1 & 0 \ hline
                  endarray
                  begindocument
                  [
                  beginpmatrix
                  blockmat & & & & & 0 \
                  & ddots & & & & \
                  & & blockmat & & & \
                  & & & 0 & & \
                  & & & & ddots & \
                  0 & & & & & 0 \
                  endpmatrix
                  ]
                  enddocument





                  share













                  share


                  share








                  edited 2 mins ago









                  samcarter

                  93.1k7105301




                  93.1k7105301










                  answered 4 mins ago









                  MicoMico

                  284k31388778




                  284k31388778





















                      0














                      Here there is my proposal.



                      enter image description here



                      documentclassarticle
                      usepackagemathtools
                      newcommandbmatx$boxedbeginmatrix 0& 1& \ -1& 0&endmatrix$

                      begindocument
                      [
                      beginpmatrix
                      , bmatx& & & & & & & 0 \
                      & ddots& & & & \
                      & & bmatx & & & & \
                      & & & ddots& & &\
                      & & & & 0 & &\
                      & & & & & & ddots\
                      0 & & & & & & & 0
                      endpmatrix
                      ]

                      enddocument




                      share



























                        0














                        Here there is my proposal.



                        enter image description here



                        documentclassarticle
                        usepackagemathtools
                        newcommandbmatx$boxedbeginmatrix 0& 1& \ -1& 0&endmatrix$

                        begindocument
                        [
                        beginpmatrix
                        , bmatx& & & & & & & 0 \
                        & ddots& & & & \
                        & & bmatx & & & & \
                        & & & ddots& & &\
                        & & & & 0 & &\
                        & & & & & & ddots\
                        0 & & & & & & & 0
                        endpmatrix
                        ]

                        enddocument




                        share

























                          0












                          0








                          0







                          Here there is my proposal.



                          enter image description here



                          documentclassarticle
                          usepackagemathtools
                          newcommandbmatx$boxedbeginmatrix 0& 1& \ -1& 0&endmatrix$

                          begindocument
                          [
                          beginpmatrix
                          , bmatx& & & & & & & 0 \
                          & ddots& & & & \
                          & & bmatx & & & & \
                          & & & ddots& & &\
                          & & & & 0 & &\
                          & & & & & & ddots\
                          0 & & & & & & & 0
                          endpmatrix
                          ]

                          enddocument




                          share













                          Here there is my proposal.



                          enter image description here



                          documentclassarticle
                          usepackagemathtools
                          newcommandbmatx$boxedbeginmatrix 0& 1& \ -1& 0&endmatrix$

                          begindocument
                          [
                          beginpmatrix
                          , bmatx& & & & & & & 0 \
                          & ddots& & & & \
                          & & bmatx & & & & \
                          & & & ddots& & &\
                          & & & & 0 & &\
                          & & & & & & ddots\
                          0 & & & & & & & 0
                          endpmatrix
                          ]

                          enddocument





                          share











                          share


                          share










                          answered 3 mins ago









                          SebastianoSebastiano

                          11.2k42164




                          11.2k42164



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














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

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Are there any AGPL-style licences that require source code modifications to be public? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Force derivative works to be publicAre there any GPL like licenses for Apple App Store?Do you violate the GPL if you provide source code that cannot be compiled?GPL - is it distribution to use libraries in an appliance loaned to customers?Distributing App for free which uses GPL'ed codeModifications of server software under GPL, with web/CLI interfaceDoes using an AGPLv3-licensed library prevent me from dual-licensing my own source code?Can I publish only select code under GPLv3 from a private project?Is there published precedent regarding the scope of covered work that uses AGPL software?If MIT licensed code links to GPL licensed code what should be the license of the resulting binary program?If I use a public API endpoint that has its source code licensed under AGPL in my app, do I need to disclose my source?

                              2013 GY136 Descoberta | Órbita | Referências Menu de navegação«List Of Centaurs and Scattered-Disk Objects»«List of Known Trans-Neptunian Objects»

                              Button changing it's text & action. Good or terrible? The 2019 Stack Overflow Developer Survey Results Are Inchanging text on user mouseoverShould certain functions be “hard to find” for powerusers to discover?Custom liking function - do I need user login?Using different checkbox style for different checkbox behaviorBest Practices: Save and Exit in Software UIInteraction with remote validated formMore efficient UI to progress the user through a complicated process?Designing a popup notice for a gameShould bulk-editing functions be hidden until a table row is selected, or is there a better solution?Is it bad practice to disable (replace) the context menu?