How can I place multiple images in a table and align them nicely

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











up vote
3
down vote

favorite












I'm currently trying to place multiple images inside a table. with the Multirow package.



My current code looks like this:



beginfigure
centering
begintabularcc
&
multirow20.65textwidthincludegraphics[width = 0.65textwidth]kitties\
includegraphics[width = 0.32textwidth]tigers
\
includegraphics[width = 0.32textwidth]lions&


\
\

includegraphics[width = 0.32textwidth]tigers&
multirow20.65textwidthincludegraphics[width =0.65textwidthkitties\
includegraphics[width = 0.32textwidth]lions\

endtabular
caption[XYZ]labelfig:xyz 1234
endfigure


As you can see, I already try two different options of /multirow.
I get the following output:



Badly aligned kitties



How can align the kitties inside the table with theirs relatives, so that they are in one row?



Note, that I don't need separate descriptions of the figures, the one, that is currently inside the current kitti image is sufficient.










share|improve this question







New contributor




patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    3
    down vote

    favorite












    I'm currently trying to place multiple images inside a table. with the Multirow package.



    My current code looks like this:



    beginfigure
    centering
    begintabularcc
    &
    multirow20.65textwidthincludegraphics[width = 0.65textwidth]kitties\
    includegraphics[width = 0.32textwidth]tigers
    \
    includegraphics[width = 0.32textwidth]lions&


    \
    \

    includegraphics[width = 0.32textwidth]tigers&
    multirow20.65textwidthincludegraphics[width =0.65textwidthkitties\
    includegraphics[width = 0.32textwidth]lions\

    endtabular
    caption[XYZ]labelfig:xyz 1234
    endfigure


    As you can see, I already try two different options of /multirow.
    I get the following output:



    Badly aligned kitties



    How can align the kitties inside the table with theirs relatives, so that they are in one row?



    Note, that I don't need separate descriptions of the figures, the one, that is currently inside the current kitti image is sufficient.










    share|improve this question







    New contributor




    patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I'm currently trying to place multiple images inside a table. with the Multirow package.



      My current code looks like this:



      beginfigure
      centering
      begintabularcc
      &
      multirow20.65textwidthincludegraphics[width = 0.65textwidth]kitties\
      includegraphics[width = 0.32textwidth]tigers
      \
      includegraphics[width = 0.32textwidth]lions&


      \
      \

      includegraphics[width = 0.32textwidth]tigers&
      multirow20.65textwidthincludegraphics[width =0.65textwidthkitties\
      includegraphics[width = 0.32textwidth]lions\

      endtabular
      caption[XYZ]labelfig:xyz 1234
      endfigure


      As you can see, I already try two different options of /multirow.
      I get the following output:



      Badly aligned kitties



      How can align the kitties inside the table with theirs relatives, so that they are in one row?



      Note, that I don't need separate descriptions of the figures, the one, that is currently inside the current kitti image is sufficient.










      share|improve this question







      New contributor




      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm currently trying to place multiple images inside a table. with the Multirow package.



      My current code looks like this:



      beginfigure
      centering
      begintabularcc
      &
      multirow20.65textwidthincludegraphics[width = 0.65textwidth]kitties\
      includegraphics[width = 0.32textwidth]tigers
      \
      includegraphics[width = 0.32textwidth]lions&


      \
      \

      includegraphics[width = 0.32textwidth]tigers&
      multirow20.65textwidthincludegraphics[width =0.65textwidthkitties\
      includegraphics[width = 0.32textwidth]lions\

      endtabular
      caption[XYZ]labelfig:xyz 1234
      endfigure


      As you can see, I already try two different options of /multirow.
      I get the following output:



      Badly aligned kitties



      How can align the kitties inside the table with theirs relatives, so that they are in one row?



      Note, that I don't need separate descriptions of the figures, the one, that is currently inside the current kitti image is sufficient.







      tables graphics horizontal-alignment multirow alignment






      share|improve this question







      New contributor




      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 hour ago









      patrick95

      161




      161




      New contributor




      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      patrick95 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          You can use the optional argument of multirow to adjust the placement of its content:



          documentclassarticle
          usepackagemultirow
          usepackage[demo]graphicx

          begindocument

          beginfigure
          centering
          begintabularcc
          includegraphics[width = 0.32textwidth]tigers
          & multirow2*[17ex] includegraphics[width = 0.65textwidth, height=0.33textheight]kitties\
          includegraphics[width = 0.32textwidth]lions \[4ex]
          %%%%%%%%%%
          includegraphics[width = 0.32textwidth]tigers
          & multirow20.65textwidth[17ex]includegraphics[width =0.65textwidth, height=0.3textheight]kitties \
          includegraphics[width = 0.32textwidth]lions
          endtabular
          caption[XYZ]labelfig:xyz 1234
          endfigure

          enddocument


          enter image description here






          share|improve this answer




















          • Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
            – koleygr
            7 mins ago


















          up vote
          1
          down vote













          A solution with minipages:



          documentclass[12pt]article
          usepackagegraphicx
          usepackagefloat
          begindocument

          Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravidamauris.

          beginfigure[H]
          centering
          beginminipage[outer sep=0]textwidth
          beginminipage[m]0.34textwidth
          includegraphics[width =textwidth]example-image-a\[1ex]
          includegraphics[width =textwidth]example-image-b
          endminipagehfill
          beginminipage[m]0.64textwidth
          includegraphics[width =textwidth]example-image-a
          endminipage
          endminipagevspace1ex

          beginminipage[outer sep=0]textwidth
          beginminipage[m]0.34textwidth
          includegraphics[width =textwidth]example-image-a\[1ex]
          includegraphics[width =textwidth]example-image-b
          endminipagehfill
          beginminipage[m]0.64textwidth
          includegraphics[width =textwidth]example-image-b
          endminipage
          endminipage

          caption[XYZ]labelfig:xyz 1234
          endfigure

          enddocument


          enter image description here






          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: 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
            );



            );






            patrick95 is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458019%2fhow-can-i-place-multiple-images-in-a-table-and-align-them-nicely%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            You can use the optional argument of multirow to adjust the placement of its content:



            documentclassarticle
            usepackagemultirow
            usepackage[demo]graphicx

            begindocument

            beginfigure
            centering
            begintabularcc
            includegraphics[width = 0.32textwidth]tigers
            & multirow2*[17ex] includegraphics[width = 0.65textwidth, height=0.33textheight]kitties\
            includegraphics[width = 0.32textwidth]lions \[4ex]
            %%%%%%%%%%
            includegraphics[width = 0.32textwidth]tigers
            & multirow20.65textwidth[17ex]includegraphics[width =0.65textwidth, height=0.3textheight]kitties \
            includegraphics[width = 0.32textwidth]lions
            endtabular
            caption[XYZ]labelfig:xyz 1234
            endfigure

            enddocument


            enter image description here






            share|improve this answer




















            • Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
              – koleygr
              7 mins ago















            up vote
            2
            down vote













            You can use the optional argument of multirow to adjust the placement of its content:



            documentclassarticle
            usepackagemultirow
            usepackage[demo]graphicx

            begindocument

            beginfigure
            centering
            begintabularcc
            includegraphics[width = 0.32textwidth]tigers
            & multirow2*[17ex] includegraphics[width = 0.65textwidth, height=0.33textheight]kitties\
            includegraphics[width = 0.32textwidth]lions \[4ex]
            %%%%%%%%%%
            includegraphics[width = 0.32textwidth]tigers
            & multirow20.65textwidth[17ex]includegraphics[width =0.65textwidth, height=0.3textheight]kitties \
            includegraphics[width = 0.32textwidth]lions
            endtabular
            caption[XYZ]labelfig:xyz 1234
            endfigure

            enddocument


            enter image description here






            share|improve this answer




















            • Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
              – koleygr
              7 mins ago













            up vote
            2
            down vote










            up vote
            2
            down vote









            You can use the optional argument of multirow to adjust the placement of its content:



            documentclassarticle
            usepackagemultirow
            usepackage[demo]graphicx

            begindocument

            beginfigure
            centering
            begintabularcc
            includegraphics[width = 0.32textwidth]tigers
            & multirow2*[17ex] includegraphics[width = 0.65textwidth, height=0.33textheight]kitties\
            includegraphics[width = 0.32textwidth]lions \[4ex]
            %%%%%%%%%%
            includegraphics[width = 0.32textwidth]tigers
            & multirow20.65textwidth[17ex]includegraphics[width =0.65textwidth, height=0.3textheight]kitties \
            includegraphics[width = 0.32textwidth]lions
            endtabular
            caption[XYZ]labelfig:xyz 1234
            endfigure

            enddocument


            enter image description here






            share|improve this answer












            You can use the optional argument of multirow to adjust the placement of its content:



            documentclassarticle
            usepackagemultirow
            usepackage[demo]graphicx

            begindocument

            beginfigure
            centering
            begintabularcc
            includegraphics[width = 0.32textwidth]tigers
            & multirow2*[17ex] includegraphics[width = 0.65textwidth, height=0.33textheight]kitties\
            includegraphics[width = 0.32textwidth]lions \[4ex]
            %%%%%%%%%%
            includegraphics[width = 0.32textwidth]tigers
            & multirow20.65textwidth[17ex]includegraphics[width =0.65textwidth, height=0.3textheight]kitties \
            includegraphics[width = 0.32textwidth]lions
            endtabular
            caption[XYZ]labelfig:xyz 1234
            endfigure

            enddocument


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 17 mins ago









            Bernard

            160k766192




            160k766192











            • Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
              – koleygr
              7 mins ago

















            • Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
              – koleygr
              7 mins ago
















            Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
            – koleygr
            7 mins ago





            Hi @Bernard... You used height=0.33textheight once and height=0.3textheight the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
            – koleygr
            7 mins ago











            up vote
            1
            down vote













            A solution with minipages:



            documentclass[12pt]article
            usepackagegraphicx
            usepackagefloat
            begindocument

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravidamauris.

            beginfigure[H]
            centering
            beginminipage[outer sep=0]textwidth
            beginminipage[m]0.34textwidth
            includegraphics[width =textwidth]example-image-a\[1ex]
            includegraphics[width =textwidth]example-image-b
            endminipagehfill
            beginminipage[m]0.64textwidth
            includegraphics[width =textwidth]example-image-a
            endminipage
            endminipagevspace1ex

            beginminipage[outer sep=0]textwidth
            beginminipage[m]0.34textwidth
            includegraphics[width =textwidth]example-image-a\[1ex]
            includegraphics[width =textwidth]example-image-b
            endminipagehfill
            beginminipage[m]0.64textwidth
            includegraphics[width =textwidth]example-image-b
            endminipage
            endminipage

            caption[XYZ]labelfig:xyz 1234
            endfigure

            enddocument


            enter image description here






            share|improve this answer


























              up vote
              1
              down vote













              A solution with minipages:



              documentclass[12pt]article
              usepackagegraphicx
              usepackagefloat
              begindocument

              Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravidamauris.

              beginfigure[H]
              centering
              beginminipage[outer sep=0]textwidth
              beginminipage[m]0.34textwidth
              includegraphics[width =textwidth]example-image-a\[1ex]
              includegraphics[width =textwidth]example-image-b
              endminipagehfill
              beginminipage[m]0.64textwidth
              includegraphics[width =textwidth]example-image-a
              endminipage
              endminipagevspace1ex

              beginminipage[outer sep=0]textwidth
              beginminipage[m]0.34textwidth
              includegraphics[width =textwidth]example-image-a\[1ex]
              includegraphics[width =textwidth]example-image-b
              endminipagehfill
              beginminipage[m]0.64textwidth
              includegraphics[width =textwidth]example-image-b
              endminipage
              endminipage

              caption[XYZ]labelfig:xyz 1234
              endfigure

              enddocument


              enter image description here






              share|improve this answer
























                up vote
                1
                down vote










                up vote
                1
                down vote









                A solution with minipages:



                documentclass[12pt]article
                usepackagegraphicx
                usepackagefloat
                begindocument

                Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravidamauris.

                beginfigure[H]
                centering
                beginminipage[outer sep=0]textwidth
                beginminipage[m]0.34textwidth
                includegraphics[width =textwidth]example-image-a\[1ex]
                includegraphics[width =textwidth]example-image-b
                endminipagehfill
                beginminipage[m]0.64textwidth
                includegraphics[width =textwidth]example-image-a
                endminipage
                endminipagevspace1ex

                beginminipage[outer sep=0]textwidth
                beginminipage[m]0.34textwidth
                includegraphics[width =textwidth]example-image-a\[1ex]
                includegraphics[width =textwidth]example-image-b
                endminipagehfill
                beginminipage[m]0.64textwidth
                includegraphics[width =textwidth]example-image-b
                endminipage
                endminipage

                caption[XYZ]labelfig:xyz 1234
                endfigure

                enddocument


                enter image description here






                share|improve this answer














                A solution with minipages:



                documentclass[12pt]article
                usepackagegraphicx
                usepackagefloat
                begindocument

                Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravidamauris.

                beginfigure[H]
                centering
                beginminipage[outer sep=0]textwidth
                beginminipage[m]0.34textwidth
                includegraphics[width =textwidth]example-image-a\[1ex]
                includegraphics[width =textwidth]example-image-b
                endminipagehfill
                beginminipage[m]0.64textwidth
                includegraphics[width =textwidth]example-image-a
                endminipage
                endminipagevspace1ex

                beginminipage[outer sep=0]textwidth
                beginminipage[m]0.34textwidth
                includegraphics[width =textwidth]example-image-a\[1ex]
                includegraphics[width =textwidth]example-image-b
                endminipagehfill
                beginminipage[m]0.64textwidth
                includegraphics[width =textwidth]example-image-b
                endminipage
                endminipage

                caption[XYZ]labelfig:xyz 1234
                endfigure

                enddocument


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 20 mins ago

























                answered 26 mins ago









                koleygr

                10.5k1836




                10.5k1836




















                    patrick95 is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    patrick95 is a new contributor. Be nice, and check out our Code of Conduct.












                    patrick95 is a new contributor. Be nice, and check out our Code of Conduct.











                    patrick95 is a new contributor. Be nice, and check out our Code of Conduct.













                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458019%2fhow-can-i-place-multiple-images-in-a-table-and-align-them-nicely%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                    Confectionery