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

How to draw fully connected graph link picture bellow in latex?

How to write the block matrix in LaTex?

Return of the Riley Riddles in Reverse

suction cup thing with 1/4 TRS cable?

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

Visit to the USA with ESTA approved before trip to Iran

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

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

Rotate a column

How to make a software documentation "officially" citable?

% symbol leads to superlong (forever?) compilations

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

What makes a siege story/plot interesting?

Return the Closest Prime Number

Can a single photon have an energy density?

Is HostGator storing my password in plaintext?

Does the Brexit deal have to be agreed by both Houses?

Why did we only see the N-1 starfighters in one film?

Only print output after finding pattern

A pseudo-riley?

How easy is it to start Magic from scratch?

How do I construct this japanese bowl?

What is the meaning of "rider"?

What's the point of interval inversion?



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










4















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




























    4















    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


























      4












      4








      4








      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 39 mins ago







      model_checker

















      asked 53 mins ago









      model_checkermodel_checker

      225139




      225139




















          3 Answers
          3






          active

          oldest

          votes


















          5














          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
            27 mins ago


















          3














          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|improve this answer
































            1














            Here there is my proposal as the original picture using bmatx command that replace a boxed matrix.



            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|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',
              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









              5














              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
                27 mins ago















              5














              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
                27 mins ago













              5












              5








              5







              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 30 mins ago









              riccs_0xriccs_0x

              1664




              1664







              • 1





                Thank you so much!

                – model_checker
                27 mins ago












              • 1





                Thank you so much!

                – model_checker
                27 mins ago







              1




              1





              Thank you so much!

              – model_checker
              27 mins ago





              Thank you so much!

              – model_checker
              27 mins ago











              3














              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|improve this answer





























                3














                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|improve this answer



























                  3












                  3








                  3







                  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|improve this answer















                  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|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 15 mins ago









                  samcarter

                  93.1k7105301




                  93.1k7105301










                  answered 17 mins ago









                  MicoMico

                  284k31388778




                  284k31388778





















                      1














                      Here there is my proposal as the original picture using bmatx command that replace a boxed matrix.



                      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|improve this answer





























                        1














                        Here there is my proposal as the original picture using bmatx command that replace a boxed matrix.



                        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|improve this answer



























                          1












                          1








                          1







                          Here there is my proposal as the original picture using bmatx command that replace a boxed matrix.



                          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|improve this answer















                          Here there is my proposal as the original picture using bmatx command that replace a boxed matrix.



                          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|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 8 mins ago

























                          answered 16 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

                              Станькаў Зьмест Назва | Гісторыя | Насельніцтва | Турыстычная інфармацыя | Галерэя | Асобы | Заўвагі | Крыніцы | Літаратура | Вонкавыя спасылкі | Навігацыйнае мэню53°37′48″ пн. ш. 27°13′40″ у. д. / 53.63° пн. ш. 27.22778° у. д. / 53.63; 27.2277853°37′48″ пн. ш. 27°13′40″ у. д. / 53.63° пн. ш. 27.22778° у. д. / 53.63; 27.22778djvu"Бабёнка – это я понимаю!". Як русіфікавалі тапонімы.Святыя руіны ажываюць210Станькаўв. СтанькаваСтаньково: история и новости - сайт деревниСтанькава: сядзіба Гутэн-Чапскіхррр

                              J. J. Abrams Índice Traxectoria | Filmografía | Premios | Notas | Véxase tamén | Menú de navegacióne"J.J. Abrams: Biography"Arquivado"'Star Trek' sequel on track"Arquivado"J.J. Abrams Producing Samurai Jack Movie"Arquivado"EXCLUSIVE: J.J. Abrams Goes Into Warp Speed with Star Trek and Beyond"Arquivado"David Semel To Direct Jonah Nolan/J.J. Abrams' CBS Pilot 'Person Of Interest'"Arquivado"Fox orders J.J. Abrams pilot 'Alcatraz'"ArquivadoJ. J. AbramsJ. J. AbramsWorldCat81800131p24091041000XX116709414031616ma11226833654496ID052246713376222X511412nm00091900000 0001 1772 5428no98124254ID0000002883100650044xx0054597000141374297344064w64f2mjx14255303415344

                              Першая сусьветная вайна Зьмест Чыньнікі | Асноўныя падзеі | Беларусь у гады вайны | Балянс вайны | Глядзіце таксама | Крыніцы | Вонкавыя спасылкі | Навігацыйнае мэнюПершая сусьветная вайна: памяць павінна жыць124 (27489)41990-763xЗападный мир отмечает 90 лет со дня окончания Первой мировой войныПершая сусьветная вайнаСпадчына Першай сусьветнай вайныГісторыя вайныАрхіў дакумэнтаў вайныМапы Эўропы ў ходзе вайныГісторыя пад знакам Пагоні/Першая сусветная вайна і Беларусь