Position image with 6 smaller images on the side
up vote
2
down vote
favorite
I am having troubles positioning 7 images: I need to have a big one on the left side, and 6 smaller on the right, each one of them with a different caption, and a big caption below all of them.
It has all to have the same height, and must not change aspect ratio of the images. The big one must be 5cm*5cm, the others the remaining space.
It is a big images, with 6 small details on the side, with captions used as a reference to where to look (single letter or number)
I tried different solutions, but none was what I needed. The closest I got to what I need was using the following code:
usepackage{graphicx}
usepackage{geometry}
geometry{
top=20mm,
inner=20mm,
outer=20mm,
bottom=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage[export]{adjustbox}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{p{7cm}p{12cm}}
cline{1-2}
& \
includegraphics[max width=5cm, max height=5cm]{example-image-a}
caption{image 1} & begin{tabular}[l]{@{}l@{}}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b} \
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
end{tabular}
& \
end{tabular}
end{table}
end{document}
But it is not aligned, nor occupying all the page width. And I can not add the caption I need.
About the small captions, I need just to put a reference number to look in the big image so if it is possible to overlay in one corner a small number, is even better.
Thank you for your help
graphics positioning
New contributor
add a comment |
up vote
2
down vote
favorite
I am having troubles positioning 7 images: I need to have a big one on the left side, and 6 smaller on the right, each one of them with a different caption, and a big caption below all of them.
It has all to have the same height, and must not change aspect ratio of the images. The big one must be 5cm*5cm, the others the remaining space.
It is a big images, with 6 small details on the side, with captions used as a reference to where to look (single letter or number)
I tried different solutions, but none was what I needed. The closest I got to what I need was using the following code:
usepackage{graphicx}
usepackage{geometry}
geometry{
top=20mm,
inner=20mm,
outer=20mm,
bottom=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage[export]{adjustbox}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{p{7cm}p{12cm}}
cline{1-2}
& \
includegraphics[max width=5cm, max height=5cm]{example-image-a}
caption{image 1} & begin{tabular}[l]{@{}l@{}}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b} \
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
end{tabular}
& \
end{tabular}
end{table}
end{document}
But it is not aligned, nor occupying all the page width. And I can not add the caption I need.
About the small captions, I need just to put a reference number to look in the big image so if it is possible to overlay in one corner a small number, is even better.
Thank you for your help
graphics positioning
New contributor
Forgot to mention it: The small ones must be images 3 on top, 3 on bottom.
– Lpuo
Nov 29 at 11:28
Do the smaller figures have the same aspect ratio?
– egreg
Nov 29 at 11:30
you should edit you question and clarify, what you like to obtain. the best way with adding a sketch of desired positioning of subfigures.
– Zarko
Nov 29 at 12:03
I added a picture of what i obtain with my code. the pictures should be with the big one on the left, and the 6 small on the right side (yes the smaller have the same aspect ratio). all should have below each picture a caption. i hope this helps clarify, sorry i wasn't clearer before
– Lpuo
Nov 29 at 13:33
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am having troubles positioning 7 images: I need to have a big one on the left side, and 6 smaller on the right, each one of them with a different caption, and a big caption below all of them.
It has all to have the same height, and must not change aspect ratio of the images. The big one must be 5cm*5cm, the others the remaining space.
It is a big images, with 6 small details on the side, with captions used as a reference to where to look (single letter or number)
I tried different solutions, but none was what I needed. The closest I got to what I need was using the following code:
usepackage{graphicx}
usepackage{geometry}
geometry{
top=20mm,
inner=20mm,
outer=20mm,
bottom=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage[export]{adjustbox}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{p{7cm}p{12cm}}
cline{1-2}
& \
includegraphics[max width=5cm, max height=5cm]{example-image-a}
caption{image 1} & begin{tabular}[l]{@{}l@{}}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b} \
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
end{tabular}
& \
end{tabular}
end{table}
end{document}
But it is not aligned, nor occupying all the page width. And I can not add the caption I need.
About the small captions, I need just to put a reference number to look in the big image so if it is possible to overlay in one corner a small number, is even better.
Thank you for your help
graphics positioning
New contributor
I am having troubles positioning 7 images: I need to have a big one on the left side, and 6 smaller on the right, each one of them with a different caption, and a big caption below all of them.
It has all to have the same height, and must not change aspect ratio of the images. The big one must be 5cm*5cm, the others the remaining space.
It is a big images, with 6 small details on the side, with captions used as a reference to where to look (single letter or number)
I tried different solutions, but none was what I needed. The closest I got to what I need was using the following code:
usepackage{graphicx}
usepackage{geometry}
geometry{
top=20mm,
inner=20mm,
outer=20mm,
bottom=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage[export]{adjustbox}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{p{7cm}p{12cm}}
cline{1-2}
& \
includegraphics[max width=5cm, max height=5cm]{example-image-a}
caption{image 1} & begin{tabular}[l]{@{}l@{}}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b} \
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
includegraphics[max width=2cm, max height=2cm]{example-image-b}
end{tabular}
& \
end{tabular}
end{table}
end{document}
But it is not aligned, nor occupying all the page width. And I can not add the caption I need.
About the small captions, I need just to put a reference number to look in the big image so if it is possible to overlay in one corner a small number, is even better.
Thank you for your help
graphics positioning
graphics positioning
New contributor
New contributor
edited Nov 29 at 14:17
siracusa
4,49011127
4,49011127
New contributor
asked Nov 29 at 10:02
Lpuo
133
133
New contributor
New contributor
Forgot to mention it: The small ones must be images 3 on top, 3 on bottom.
– Lpuo
Nov 29 at 11:28
Do the smaller figures have the same aspect ratio?
– egreg
Nov 29 at 11:30
you should edit you question and clarify, what you like to obtain. the best way with adding a sketch of desired positioning of subfigures.
– Zarko
Nov 29 at 12:03
I added a picture of what i obtain with my code. the pictures should be with the big one on the left, and the 6 small on the right side (yes the smaller have the same aspect ratio). all should have below each picture a caption. i hope this helps clarify, sorry i wasn't clearer before
– Lpuo
Nov 29 at 13:33
add a comment |
Forgot to mention it: The small ones must be images 3 on top, 3 on bottom.
– Lpuo
Nov 29 at 11:28
Do the smaller figures have the same aspect ratio?
– egreg
Nov 29 at 11:30
you should edit you question and clarify, what you like to obtain. the best way with adding a sketch of desired positioning of subfigures.
– Zarko
Nov 29 at 12:03
I added a picture of what i obtain with my code. the pictures should be with the big one on the left, and the 6 small on the right side (yes the smaller have the same aspect ratio). all should have below each picture a caption. i hope this helps clarify, sorry i wasn't clearer before
– Lpuo
Nov 29 at 13:33
Forgot to mention it: The small ones must be images 3 on top, 3 on bottom.
– Lpuo
Nov 29 at 11:28
Forgot to mention it: The small ones must be images 3 on top, 3 on bottom.
– Lpuo
Nov 29 at 11:28
Do the smaller figures have the same aspect ratio?
– egreg
Nov 29 at 11:30
Do the smaller figures have the same aspect ratio?
– egreg
Nov 29 at 11:30
you should edit you question and clarify, what you like to obtain. the best way with adding a sketch of desired positioning of subfigures.
– Zarko
Nov 29 at 12:03
you should edit you question and clarify, what you like to obtain. the best way with adding a sketch of desired positioning of subfigures.
– Zarko
Nov 29 at 12:03
I added a picture of what i obtain with my code. the pictures should be with the big one on the left, and the 6 small on the right side (yes the smaller have the same aspect ratio). all should have below each picture a caption. i hope this helps clarify, sorry i wasn't clearer before
– Lpuo
Nov 29 at 13:33
I added a picture of what i obtain with my code. the pictures should be with the big one on the left, and the 6 small on the right side (yes the smaller have the same aspect ratio). all should have below each picture a caption. i hope this helps clarify, sorry i wasn't clearer before
– Lpuo
Nov 29 at 13:33
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
something like this?
above images preserve their aspect ratio.
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{m{dimexpr5cm+3tabcolsep}l}
includegraphics[width=5cm]{example-image-a}
caption{image 1}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
edit:
your question is not clear. from your comment can be concluded that actually you looking for the following:
but i'm not sure in this
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
begin{table}[htb]
centering
setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}\[1ex]
includegraphics[width=5cm]{example-image-a}
caption{image 1}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{table}
end{document}
edit (2):
in third try ... hopefully now i is what you like to obtain:
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
centering
begin{tabular}{p{dimexpr5cm+3tabcolsep}l}
multirow[t]{2}{=}[-4.4mm]{includegraphics[width=5cm,valign=c]{example-image-a}
caption{image 1}
}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}} \
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
something like this?
above images preserve their aspect ratio.
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{m{dimexpr5cm+3tabcolsep}l}
includegraphics[width=5cm]{example-image-a}
caption{image 1}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
edit:
your question is not clear. from your comment can be concluded that actually you looking for the following:
but i'm not sure in this
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
begin{table}[htb]
centering
setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}\[1ex]
includegraphics[width=5cm]{example-image-a}
caption{image 1}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{table}
end{document}
edit (2):
in third try ... hopefully now i is what you like to obtain:
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
centering
begin{tabular}{p{dimexpr5cm+3tabcolsep}l}
multirow[t]{2}{=}[-4.4mm]{includegraphics[width=5cm,valign=c]{example-image-a}
caption{image 1}
}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}} \
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
add a comment |
up vote
3
down vote
accepted
something like this?
above images preserve their aspect ratio.
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{m{dimexpr5cm+3tabcolsep}l}
includegraphics[width=5cm]{example-image-a}
caption{image 1}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
edit:
your question is not clear. from your comment can be concluded that actually you looking for the following:
but i'm not sure in this
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
begin{table}[htb]
centering
setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}\[1ex]
includegraphics[width=5cm]{example-image-a}
caption{image 1}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{table}
end{document}
edit (2):
in third try ... hopefully now i is what you like to obtain:
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
centering
begin{tabular}{p{dimexpr5cm+3tabcolsep}l}
multirow[t]{2}{=}[-4.4mm]{includegraphics[width=5cm,valign=c]{example-image-a}
caption{image 1}
}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}} \
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
something like this?
above images preserve their aspect ratio.
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{m{dimexpr5cm+3tabcolsep}l}
includegraphics[width=5cm]{example-image-a}
caption{image 1}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
edit:
your question is not clear. from your comment can be concluded that actually you looking for the following:
but i'm not sure in this
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
begin{table}[htb]
centering
setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}\[1ex]
includegraphics[width=5cm]{example-image-a}
caption{image 1}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{table}
end{document}
edit (2):
in third try ... hopefully now i is what you like to obtain:
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
centering
begin{tabular}{p{dimexpr5cm+3tabcolsep}l}
multirow[t]{2}{=}[-4.4mm]{includegraphics[width=5cm,valign=c]{example-image-a}
caption{image 1}
}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}} \
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
something like this?
above images preserve their aspect ratio.
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
begin{tabular}{m{dimexpr5cm+3tabcolsep}l}
includegraphics[width=5cm]{example-image-a}
caption{image 1}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
edit:
your question is not clear. from your comment can be concluded that actually you looking for the following:
but i'm not sure in this
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
begin{table}[htb]
centering
setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}}\[1ex]
includegraphics[width=5cm]{example-image-a}
caption{image 1}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{table}
end{document}
edit (2):
in third try ... hopefully now i is what you like to obtain:
documentclass{article}
usepackage{geometry}
geometry{margin=20mm,
headheight=3ex,
headsep=3ex,
}
usepackage{array, multirow}
usepackage[export]{adjustbox}
usepackage{subfig}
begin{document}
{centering
begin{table}[ht]
centering
begin{tabular}{p{dimexpr5cm+3tabcolsep}l}
multirow[t]{2}{=}[-4.4mm]{includegraphics[width=5cm,valign=c]{example-image-a}
caption{image 1}
}
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:a}]{includegraphics{example-image-b}}
subfloat[label{subfig:b}]{includegraphics{example-image-b}}
subfloat[label{subfig:c}]{includegraphics{example-image-b}} \
& setkeys{Gin}{width=2cm}
subfloat[label{subfig:d}]{includegraphics{example-image-b}}
subfloat[label{subfig:e}]{includegraphics{example-image-b}}
subfloat[label{subfig:f}]{includegraphics{example-image-b}}
end{tabular}
end{table}
end{document}
edited Nov 29 at 15:07
answered Nov 29 at 10:53
Zarko
117k865155
117k865155
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
add a comment |
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
thank you! is a good way, but no, sorry that i didn't write it. i meant 3 on top, 3 on bottom
– Lpuo
Nov 29 at 11:27
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
that means thad small images should be in two lines on the right side of bigger image?
– Zarko
Nov 29 at 11:35
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
Yes that is right. I posted a pic of what i obtain with my code. sorry if i wasn't clear enough
– Lpuo
Nov 29 at 13:31
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
YES! thank you! the 3rd one is exactly what i need!
– Lpuo
Nov 29 at 16:01
add a comment |
Lpuo is a new contributor. Be nice, and check out our Code of Conduct.
Lpuo is a new contributor. Be nice, and check out our Code of Conduct.
Lpuo is a new contributor. Be nice, and check out our Code of Conduct.
Lpuo is a new contributor. Be nice, and check out our Code of Conduct.
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462342%2fposition-image-with-6-smaller-images-on-the-side%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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
Forgot to mention it: The small ones must be images 3 on top, 3 on bottom.
– Lpuo
Nov 29 at 11:28
Do the smaller figures have the same aspect ratio?
– egreg
Nov 29 at 11:30
you should edit you question and clarify, what you like to obtain. the best way with adding a sketch of desired positioning of subfigures.
– Zarko
Nov 29 at 12:03
I added a picture of what i obtain with my code. the pictures should be with the big one on the left, and the 6 small on the right side (yes the smaller have the same aspect ratio). all should have below each picture a caption. i hope this helps clarify, sorry i wasn't clearer before
– Lpuo
Nov 29 at 13:33