Matrix in a table











up vote
0
down vote

favorite












I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?



begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}  
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}









share|improve this question
























  • (1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
    – daleif
    Oct 15 at 14:01










  • note that textbf does not affect mathematics so textbf{$chi_1=1.167$} is the same as $chi_1=1.167$ perhaps you want boldmath $chi_1=1.167$
    – David Carlisle
    Oct 15 at 14:10















up vote
0
down vote

favorite












I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?



begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}  
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}









share|improve this question
























  • (1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
    – daleif
    Oct 15 at 14:01










  • note that textbf does not affect mathematics so textbf{$chi_1=1.167$} is the same as $chi_1=1.167$ perhaps you want boldmath $chi_1=1.167$
    – David Carlisle
    Oct 15 at 14:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?



begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}  
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}









share|improve this question















I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?



begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}  
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}






tables matrices






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 15 at 13:57









Phelype Oleinik

20.4k54277




20.4k54277










asked Oct 15 at 13:57









elahe

1




1












  • (1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
    – daleif
    Oct 15 at 14:01










  • note that textbf does not affect mathematics so textbf{$chi_1=1.167$} is the same as $chi_1=1.167$ perhaps you want boldmath $chi_1=1.167$
    – David Carlisle
    Oct 15 at 14:10


















  • (1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
    – daleif
    Oct 15 at 14:01










  • note that textbf does not affect mathematics so textbf{$chi_1=1.167$} is the same as $chi_1=1.167$ perhaps you want boldmath $chi_1=1.167$
    – David Carlisle
    Oct 15 at 14:10
















(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01




(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01












note that textbf does not affect mathematics so textbf{$chi_1=1.167$} is the same as $chi_1=1.167$ perhaps you want boldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10




note that textbf does not affect mathematics so textbf{$chi_1=1.167$} is the same as $chi_1=1.167$ perhaps you want boldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10










1 Answer
1






active

oldest

votes

















up vote
1
down vote















  • your problem is solved by comments below questions, so this answer is more off-topic:




    • your table is quit wide, so i use the geometry package to enlarge text area


    • for matrix i sug˙gest to use bmatrix from the package amsmath



      documentclass{article}
      usepackage[margin=25mm]{geometry} % <--- added
      usepackage{amsmath} % <--- added
      usepackage{array} % <--- added

      begin{document}
      begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
      hline
      $chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
      hline
      [
      L_{0} = begin{bmatrix} % <--- changed
      -0.228 & -0.273 & 0.934\
      -0.335 & 0.923 & 0.188\
      0.914 & 0.270 & 0.302
      end{bmatrix}
      ] &
      [
      L_{0} = begin{bmatrix} % <--- changed
      -0.236 & -0.284 & 0.929\
      -0.391 & 0.903 & 0.176\
      0.889 & 0.321 & 0.324
      end{bmatrix}
      ] &
      [
      L_{0} = begin{bmatrix} % <--- changed
      -0.236 & 0.284 & 0.929\
      -0.376 & -0.908 & 0.182\
      0.896 & -0.306 & 0.322
      end{bmatrix}
      ]
      \
      hline
      end{tabular}
      end{document}





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: 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%2f455275%2fmatrix-in-a-table%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote















    • your problem is solved by comments below questions, so this answer is more off-topic:




      • your table is quit wide, so i use the geometry package to enlarge text area


      • for matrix i sug˙gest to use bmatrix from the package amsmath



        documentclass{article}
        usepackage[margin=25mm]{geometry} % <--- added
        usepackage{amsmath} % <--- added
        usepackage{array} % <--- added

        begin{document}
        begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
        hline
        $chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
        hline
        [
        L_{0} = begin{bmatrix} % <--- changed
        -0.228 & -0.273 & 0.934\
        -0.335 & 0.923 & 0.188\
        0.914 & 0.270 & 0.302
        end{bmatrix}
        ] &
        [
        L_{0} = begin{bmatrix} % <--- changed
        -0.236 & -0.284 & 0.929\
        -0.391 & 0.903 & 0.176\
        0.889 & 0.321 & 0.324
        end{bmatrix}
        ] &
        [
        L_{0} = begin{bmatrix} % <--- changed
        -0.236 & 0.284 & 0.929\
        -0.376 & -0.908 & 0.182\
        0.896 & -0.306 & 0.322
        end{bmatrix}
        ]
        \
        hline
        end{tabular}
        end{document}





    enter image description here






    share|improve this answer

























      up vote
      1
      down vote















      • your problem is solved by comments below questions, so this answer is more off-topic:




        • your table is quit wide, so i use the geometry package to enlarge text area


        • for matrix i sug˙gest to use bmatrix from the package amsmath



          documentclass{article}
          usepackage[margin=25mm]{geometry} % <--- added
          usepackage{amsmath} % <--- added
          usepackage{array} % <--- added

          begin{document}
          begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
          hline
          $chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
          hline
          [
          L_{0} = begin{bmatrix} % <--- changed
          -0.228 & -0.273 & 0.934\
          -0.335 & 0.923 & 0.188\
          0.914 & 0.270 & 0.302
          end{bmatrix}
          ] &
          [
          L_{0} = begin{bmatrix} % <--- changed
          -0.236 & -0.284 & 0.929\
          -0.391 & 0.903 & 0.176\
          0.889 & 0.321 & 0.324
          end{bmatrix}
          ] &
          [
          L_{0} = begin{bmatrix} % <--- changed
          -0.236 & 0.284 & 0.929\
          -0.376 & -0.908 & 0.182\
          0.896 & -0.306 & 0.322
          end{bmatrix}
          ]
          \
          hline
          end{tabular}
          end{document}





      enter image description here






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote











        • your problem is solved by comments below questions, so this answer is more off-topic:




          • your table is quit wide, so i use the geometry package to enlarge text area


          • for matrix i sug˙gest to use bmatrix from the package amsmath



            documentclass{article}
            usepackage[margin=25mm]{geometry} % <--- added
            usepackage{amsmath} % <--- added
            usepackage{array} % <--- added

            begin{document}
            begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
            hline
            $chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
            hline
            [
            L_{0} = begin{bmatrix} % <--- changed
            -0.228 & -0.273 & 0.934\
            -0.335 & 0.923 & 0.188\
            0.914 & 0.270 & 0.302
            end{bmatrix}
            ] &
            [
            L_{0} = begin{bmatrix} % <--- changed
            -0.236 & -0.284 & 0.929\
            -0.391 & 0.903 & 0.176\
            0.889 & 0.321 & 0.324
            end{bmatrix}
            ] &
            [
            L_{0} = begin{bmatrix} % <--- changed
            -0.236 & 0.284 & 0.929\
            -0.376 & -0.908 & 0.182\
            0.896 & -0.306 & 0.322
            end{bmatrix}
            ]
            \
            hline
            end{tabular}
            end{document}





        enter image description here






        share|improve this answer














        • your problem is solved by comments below questions, so this answer is more off-topic:




          • your table is quit wide, so i use the geometry package to enlarge text area


          • for matrix i sug˙gest to use bmatrix from the package amsmath



            documentclass{article}
            usepackage[margin=25mm]{geometry} % <--- added
            usepackage{amsmath} % <--- added
            usepackage{array} % <--- added

            begin{document}
            begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
            hline
            $chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
            hline
            [
            L_{0} = begin{bmatrix} % <--- changed
            -0.228 & -0.273 & 0.934\
            -0.335 & 0.923 & 0.188\
            0.914 & 0.270 & 0.302
            end{bmatrix}
            ] &
            [
            L_{0} = begin{bmatrix} % <--- changed
            -0.236 & -0.284 & 0.929\
            -0.391 & 0.903 & 0.176\
            0.889 & 0.321 & 0.324
            end{bmatrix}
            ] &
            [
            L_{0} = begin{bmatrix} % <--- changed
            -0.236 & 0.284 & 0.929\
            -0.376 & -0.908 & 0.182\
            0.896 & -0.306 & 0.322
            end{bmatrix}
            ]
            \
            hline
            end{tabular}
            end{document}





        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 15 at 14:19









        Zarko

        116k865154




        116k865154






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455275%2fmatrix-in-a-table%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

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?