Position image with 6 smaller images on the side
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
add a comment |
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
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 |
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
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
edited Nov 29 at 14:17
siracusa
4,96511328
4,96511328
asked Nov 29 at 10:02
Lpuo
133
133
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
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 |
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
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 |
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 |
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
120k865156
120k865156
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 |
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