How can I place multiple images in a table and align them nicely
Clash 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:
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
New contributor
add a comment |Â
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:
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
New contributor
add a comment |Â
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:
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
New contributor
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:
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
tables graphics horizontal-alignment multirow alignment
New contributor
New contributor
New contributor
asked 1 hour ago
patrick95
161
161
New contributor
New contributor
add a comment |Â
add a comment |Â
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
Hi @Bernard... You usedheight=0.33textheight
once andheight=0.3textheight
the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
â koleygr
7 mins ago
add a comment |Â
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
add a comment |Â
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
Hi @Bernard... You usedheight=0.33textheight
once andheight=0.3textheight
the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
â koleygr
7 mins ago
add a comment |Â
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
Hi @Bernard... You usedheight=0.33textheight
once andheight=0.3textheight
the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
â koleygr
7 mins ago
add a comment |Â
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
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
answered 17 mins ago
Bernard
160k766192
160k766192
Hi @Bernard... You usedheight=0.33textheight
once andheight=0.3textheight
the other time and thus, your figures didn't placed nice (symmetrical). (+1 of course)
â koleygr
7 mins ago
add a comment |Â
Hi @Bernard... You usedheight=0.33textheight
once andheight=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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
edited 20 mins ago
answered 26 mins ago
koleygr
10.5k1836
10.5k1836
add a comment |Â
add a comment |Â
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.
patrick95 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password