How to write dimensions below a matrix Announcing the arrival of Valued Associate #679: Cesar...

Random body shuffle every night—can we still function?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Co-worker has annoying ringtone

What would you call this weird metallic apparatus that allows you to lift people?

Is there any word for a place full of confusion?

Strange behavior of Object.defineProperty() in JavaScript

Is CEO the "profession" with the most psychopaths?

How many time has Arya actually used Needle?

Amount of permutations on an NxNxN Rubik's Cube

How to run automated tests after each commit?

How would a mousetrap for use in space work?

What does it mean that physics no longer uses mechanical models to describe phenomena?

Belief In God or Knowledge Of God. Which is better?

How to play a character with a disability or mental disorder without being offensive?

Do wooden building fires get hotter than 600°C?

What does the distribution of bootstrapped values in this Cullen and Frey Graph tell me?

Proof of work - 51% attack

Google .dev domain strangely redirects to https

What do you call the main part of a joke?

Crossing US/Canada Border for less than 24 hours

One-one communication

What does Turing mean by this statement?

File name problem(?)

The Nth Gryphon Number



How to write dimensions below a matrix



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Label matrix dimensionsWriting a formula below a matrixMatrix decomposition dimensions diagramWhat's the best way to write matrix together with its dimensions on top and left?How to write below bulletDimensions of parts of a matrixPrinting matrix labels below itHow to write a matrix norm?Aligning underset below matrix equationHow to write a matrix like this












5















I would like to write the dimensions of a matrix below the matrix itself, but I managed only to either:




  1. write the dimensions below the matrix with underbrace (see matrix A in my code)

  2. write the dimensions as a subscript of the matrix (see matrix B in my code)


What I want is (1) but without any underbrace sign, and possibly the n*n written in a smaller font. I attach below a MWE



documentclass{beamer}

usepackage{amssymb}
usepackage{mathpazo}
usepackage{multimedia}
usepackage{amsfonts}
usepackage{amsmath}

setcounter{MaxMatrixCols}{10}

title{Title}
subtitle{Subtitle}
author{Author}
date{}
institute[Universities Here and There]{Your Institution}


begin{document}

begin{frame}
titlepage
end{frame}

section{Introduction}

begin{frame}frametitle{Write dimensions below matrix}
begin{center}
$
begin{bmatrix}
underbrace{A}_{ntimes n} & B_{ntimes n} \
C & D%
end{bmatrix}%
$
end{center}

end{frame}
end{document}









share|improve this question



























    5















    I would like to write the dimensions of a matrix below the matrix itself, but I managed only to either:




    1. write the dimensions below the matrix with underbrace (see matrix A in my code)

    2. write the dimensions as a subscript of the matrix (see matrix B in my code)


    What I want is (1) but without any underbrace sign, and possibly the n*n written in a smaller font. I attach below a MWE



    documentclass{beamer}

    usepackage{amssymb}
    usepackage{mathpazo}
    usepackage{multimedia}
    usepackage{amsfonts}
    usepackage{amsmath}

    setcounter{MaxMatrixCols}{10}

    title{Title}
    subtitle{Subtitle}
    author{Author}
    date{}
    institute[Universities Here and There]{Your Institution}


    begin{document}

    begin{frame}
    titlepage
    end{frame}

    section{Introduction}

    begin{frame}frametitle{Write dimensions below matrix}
    begin{center}
    $
    begin{bmatrix}
    underbrace{A}_{ntimes n} & B_{ntimes n} \
    C & D%
    end{bmatrix}%
    $
    end{center}

    end{frame}
    end{document}









    share|improve this question

























      5












      5








      5


      0






      I would like to write the dimensions of a matrix below the matrix itself, but I managed only to either:




      1. write the dimensions below the matrix with underbrace (see matrix A in my code)

      2. write the dimensions as a subscript of the matrix (see matrix B in my code)


      What I want is (1) but without any underbrace sign, and possibly the n*n written in a smaller font. I attach below a MWE



      documentclass{beamer}

      usepackage{amssymb}
      usepackage{mathpazo}
      usepackage{multimedia}
      usepackage{amsfonts}
      usepackage{amsmath}

      setcounter{MaxMatrixCols}{10}

      title{Title}
      subtitle{Subtitle}
      author{Author}
      date{}
      institute[Universities Here and There]{Your Institution}


      begin{document}

      begin{frame}
      titlepage
      end{frame}

      section{Introduction}

      begin{frame}frametitle{Write dimensions below matrix}
      begin{center}
      $
      begin{bmatrix}
      underbrace{A}_{ntimes n} & B_{ntimes n} \
      C & D%
      end{bmatrix}%
      $
      end{center}

      end{frame}
      end{document}









      share|improve this question














      I would like to write the dimensions of a matrix below the matrix itself, but I managed only to either:




      1. write the dimensions below the matrix with underbrace (see matrix A in my code)

      2. write the dimensions as a subscript of the matrix (see matrix B in my code)


      What I want is (1) but without any underbrace sign, and possibly the n*n written in a smaller font. I attach below a MWE



      documentclass{beamer}

      usepackage{amssymb}
      usepackage{mathpazo}
      usepackage{multimedia}
      usepackage{amsfonts}
      usepackage{amsmath}

      setcounter{MaxMatrixCols}{10}

      title{Title}
      subtitle{Subtitle}
      author{Author}
      date{}
      institute[Universities Here and There]{Your Institution}


      begin{document}

      begin{frame}
      titlepage
      end{frame}

      section{Introduction}

      begin{frame}frametitle{Write dimensions below matrix}
      begin{center}
      $
      begin{bmatrix}
      underbrace{A}_{ntimes n} & B_{ntimes n} \
      C & D%
      end{bmatrix}%
      $
      end{center}

      end{frame}
      end{document}






      matrices subscripts underbrace






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      AlessandroAlessandro

      615




      615






















          2 Answers
          2






          active

          oldest

          votes


















          5














          Use underset, with scriptscriptstyle in order to reduce the size.



          Note that loading mathpazo does nothing unless you select suitable font themes.



          documentclass{beamer}

          usefonttheme{serif}
          usefonttheme{professionalfonts}
          usepackage{mathpazo}

          begin{document}

          begin{frame}frametitle{Write dimensions below matrix}

          [
          begin{bmatrix}
          underset{scriptscriptstyle ntimes n}{A} &
          underset{scriptscriptstyle ntimes n}{B} \[1.5ex]
          C & D
          end{bmatrix}
          ]

          end{frame}
          end{document}


          Avoid awkward constructions such as begin{center}$<formula>$end{center}: displaymath is much better, with its shorthand [...].



          enter image description here






          share|improve this answer































            3














            with using of the package stackengine:



            documentclass{beamer}

            usepackage{amssymb}
            usepackage{mathpazo}
            %usepackage{multimedia} not relevant for your problem
            %usepackage{amsfonts} loaded by amssymb
            usepackage{amsmath}
            %setcounter{MaxMatrixCols}{10}
            usepackage{stackengine}



            begin{document}

            begin{frame}
            frametitle{Write dimensions below matrix}
            [stackMath
            begin{bmatrix}
            stackunder{A}{_{ntimes n}} & stackunder{B}{_{ntimes n}} \[2ex]
            C & D
            end{bmatrix}%
            ]
            end{frame}
            end{document}


            enter image description here



            or see, if writing matrix symbol in mathbf{...} better emphasize matrices:



            begin{frame}
            frametitle{Write dimensions below matrix}
            [stackMath
            begin{bmatrix}
            stackunder{mathbf{A}}{_{ntimes n}} & stackunder{mathbf{B}}{_{ntimes n}} \[2ex]
            C & D
            end{bmatrix}%
            ]
            end{frame}


            which gives



            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',
              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%2f485469%2fhow-to-write-dimensions-below-a-matrix%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              5














              Use underset, with scriptscriptstyle in order to reduce the size.



              Note that loading mathpazo does nothing unless you select suitable font themes.



              documentclass{beamer}

              usefonttheme{serif}
              usefonttheme{professionalfonts}
              usepackage{mathpazo}

              begin{document}

              begin{frame}frametitle{Write dimensions below matrix}

              [
              begin{bmatrix}
              underset{scriptscriptstyle ntimes n}{A} &
              underset{scriptscriptstyle ntimes n}{B} \[1.5ex]
              C & D
              end{bmatrix}
              ]

              end{frame}
              end{document}


              Avoid awkward constructions such as begin{center}$<formula>$end{center}: displaymath is much better, with its shorthand [...].



              enter image description here






              share|improve this answer




























                5














                Use underset, with scriptscriptstyle in order to reduce the size.



                Note that loading mathpazo does nothing unless you select suitable font themes.



                documentclass{beamer}

                usefonttheme{serif}
                usefonttheme{professionalfonts}
                usepackage{mathpazo}

                begin{document}

                begin{frame}frametitle{Write dimensions below matrix}

                [
                begin{bmatrix}
                underset{scriptscriptstyle ntimes n}{A} &
                underset{scriptscriptstyle ntimes n}{B} \[1.5ex]
                C & D
                end{bmatrix}
                ]

                end{frame}
                end{document}


                Avoid awkward constructions such as begin{center}$<formula>$end{center}: displaymath is much better, with its shorthand [...].



                enter image description here






                share|improve this answer


























                  5












                  5








                  5







                  Use underset, with scriptscriptstyle in order to reduce the size.



                  Note that loading mathpazo does nothing unless you select suitable font themes.



                  documentclass{beamer}

                  usefonttheme{serif}
                  usefonttheme{professionalfonts}
                  usepackage{mathpazo}

                  begin{document}

                  begin{frame}frametitle{Write dimensions below matrix}

                  [
                  begin{bmatrix}
                  underset{scriptscriptstyle ntimes n}{A} &
                  underset{scriptscriptstyle ntimes n}{B} \[1.5ex]
                  C & D
                  end{bmatrix}
                  ]

                  end{frame}
                  end{document}


                  Avoid awkward constructions such as begin{center}$<formula>$end{center}: displaymath is much better, with its shorthand [...].



                  enter image description here






                  share|improve this answer













                  Use underset, with scriptscriptstyle in order to reduce the size.



                  Note that loading mathpazo does nothing unless you select suitable font themes.



                  documentclass{beamer}

                  usefonttheme{serif}
                  usefonttheme{professionalfonts}
                  usepackage{mathpazo}

                  begin{document}

                  begin{frame}frametitle{Write dimensions below matrix}

                  [
                  begin{bmatrix}
                  underset{scriptscriptstyle ntimes n}{A} &
                  underset{scriptscriptstyle ntimes n}{B} \[1.5ex]
                  C & D
                  end{bmatrix}
                  ]

                  end{frame}
                  end{document}


                  Avoid awkward constructions such as begin{center}$<formula>$end{center}: displaymath is much better, with its shorthand [...].



                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered yesterday









                  egregegreg

                  735k8919343259




                  735k8919343259























                      3














                      with using of the package stackengine:



                      documentclass{beamer}

                      usepackage{amssymb}
                      usepackage{mathpazo}
                      %usepackage{multimedia} not relevant for your problem
                      %usepackage{amsfonts} loaded by amssymb
                      usepackage{amsmath}
                      %setcounter{MaxMatrixCols}{10}
                      usepackage{stackengine}



                      begin{document}

                      begin{frame}
                      frametitle{Write dimensions below matrix}
                      [stackMath
                      begin{bmatrix}
                      stackunder{A}{_{ntimes n}} & stackunder{B}{_{ntimes n}} \[2ex]
                      C & D
                      end{bmatrix}%
                      ]
                      end{frame}
                      end{document}


                      enter image description here



                      or see, if writing matrix symbol in mathbf{...} better emphasize matrices:



                      begin{frame}
                      frametitle{Write dimensions below matrix}
                      [stackMath
                      begin{bmatrix}
                      stackunder{mathbf{A}}{_{ntimes n}} & stackunder{mathbf{B}}{_{ntimes n}} \[2ex]
                      C & D
                      end{bmatrix}%
                      ]
                      end{frame}


                      which gives



                      enter image description here






                      share|improve this answer






























                        3














                        with using of the package stackengine:



                        documentclass{beamer}

                        usepackage{amssymb}
                        usepackage{mathpazo}
                        %usepackage{multimedia} not relevant for your problem
                        %usepackage{amsfonts} loaded by amssymb
                        usepackage{amsmath}
                        %setcounter{MaxMatrixCols}{10}
                        usepackage{stackengine}



                        begin{document}

                        begin{frame}
                        frametitle{Write dimensions below matrix}
                        [stackMath
                        begin{bmatrix}
                        stackunder{A}{_{ntimes n}} & stackunder{B}{_{ntimes n}} \[2ex]
                        C & D
                        end{bmatrix}%
                        ]
                        end{frame}
                        end{document}


                        enter image description here



                        or see, if writing matrix symbol in mathbf{...} better emphasize matrices:



                        begin{frame}
                        frametitle{Write dimensions below matrix}
                        [stackMath
                        begin{bmatrix}
                        stackunder{mathbf{A}}{_{ntimes n}} & stackunder{mathbf{B}}{_{ntimes n}} \[2ex]
                        C & D
                        end{bmatrix}%
                        ]
                        end{frame}


                        which gives



                        enter image description here






                        share|improve this answer




























                          3












                          3








                          3







                          with using of the package stackengine:



                          documentclass{beamer}

                          usepackage{amssymb}
                          usepackage{mathpazo}
                          %usepackage{multimedia} not relevant for your problem
                          %usepackage{amsfonts} loaded by amssymb
                          usepackage{amsmath}
                          %setcounter{MaxMatrixCols}{10}
                          usepackage{stackengine}



                          begin{document}

                          begin{frame}
                          frametitle{Write dimensions below matrix}
                          [stackMath
                          begin{bmatrix}
                          stackunder{A}{_{ntimes n}} & stackunder{B}{_{ntimes n}} \[2ex]
                          C & D
                          end{bmatrix}%
                          ]
                          end{frame}
                          end{document}


                          enter image description here



                          or see, if writing matrix symbol in mathbf{...} better emphasize matrices:



                          begin{frame}
                          frametitle{Write dimensions below matrix}
                          [stackMath
                          begin{bmatrix}
                          stackunder{mathbf{A}}{_{ntimes n}} & stackunder{mathbf{B}}{_{ntimes n}} \[2ex]
                          C & D
                          end{bmatrix}%
                          ]
                          end{frame}


                          which gives



                          enter image description here






                          share|improve this answer















                          with using of the package stackengine:



                          documentclass{beamer}

                          usepackage{amssymb}
                          usepackage{mathpazo}
                          %usepackage{multimedia} not relevant for your problem
                          %usepackage{amsfonts} loaded by amssymb
                          usepackage{amsmath}
                          %setcounter{MaxMatrixCols}{10}
                          usepackage{stackengine}



                          begin{document}

                          begin{frame}
                          frametitle{Write dimensions below matrix}
                          [stackMath
                          begin{bmatrix}
                          stackunder{A}{_{ntimes n}} & stackunder{B}{_{ntimes n}} \[2ex]
                          C & D
                          end{bmatrix}%
                          ]
                          end{frame}
                          end{document}


                          enter image description here



                          or see, if writing matrix symbol in mathbf{...} better emphasize matrices:



                          begin{frame}
                          frametitle{Write dimensions below matrix}
                          [stackMath
                          begin{bmatrix}
                          stackunder{mathbf{A}}{_{ntimes n}} & stackunder{mathbf{B}}{_{ntimes n}} \[2ex]
                          C & D
                          end{bmatrix}%
                          ]
                          end{frame}


                          which gives



                          enter image description here







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited yesterday

























                          answered yesterday









                          ZarkoZarko

                          130k869169




                          130k869169






























                              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%2f485469%2fhow-to-write-dimensions-below-a-matrix%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

                              is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

                              How do i solve the “ No module named 'mlxtend' ” issue on Jupyter?

                              Pilgersdorf Inhaltsverzeichnis Geografie | Geschichte | Bevölkerungsentwicklung | Politik | Kultur...