Placing subfig verticallyPlacing Subfigures verticallyLaTeX Error: File subfigure.sty not foundSubfloat:...
Why do different render engines generate different z pass?
Is Gradient Descent central to every optimizer?
Solving "Resistance between two nodes on a grid" problem in Mathematica
Are babies of evil humanoid species inherently evil?
Good for you! in Russian
How can I budget to build up a down payment for a house over the course of a year?
How did Alan Turing break the enigma code using the hint given by the lady in the bar?
Finding algorithms of QGIS commands?
Word-Letter Ladder
The bar has been raised
Rejected in 4th interview round citing insufficient years of experience
Does "variables should live in the smallest scope as possible" include the case "variables should not exist if possible"?
Do Bugbears' arms literally get longer when it's their turn?
Can someone explain what is being said here in color publishing in the American Mathematical Monthly?
Exporting list of URLs
Is there an equal sign with wider gap?
Aliens englobed the Solar System: will we notice?
Make a transparent 448*448 image
Making a sword in the stone, in a medieval world without magic
Does splitting a potentially monolithic application into several smaller ones help prevent bugs?
How to create a hard link to an inode (ext4)?
Should I tell my boss the work he did was worthless
Placing subfig vertically
Can a bounded number sequence be strictly ascending?
Placing subfig vertically
Placing Subfigures verticallyLaTeX Error: File subfigure.sty not foundSubfloat: Label beside, caption belowsubcaption: `caption' package not loadedSubfigure label position and visibility in memoirPut image in subfig's subfloat captionbegin{alltt} inside subfigure in llncsProblem with figure using subfloat and amsmath alignHyperref for subfloats with subfig packageAnchors in hyperref with algorithm2e and subfigSubcaption environment failed. All figures containing a subfigure crashing all of a sudden
There is a beautiful post where it is explained more or less what I would like to do.
Actually, I am not using subfigure, but usepackage{subfig}
. Therefore, I've tried to implement the example with the subfig
solution. My entire document is using subfig
, I would not change to subfigure now.
Here is the code I am using:
begin{figure}[tb]
centering
sbox{bigleftbox}{%
begin{minipage}[b]{.5textwidth}
centering
vspace*{fill}
subfloat[Image 1]
{includegraphics[height=5cm]%
{images1}%
label{image1}}
end{minipage}%
}usebox{bigleftbox}%
begin{minipage}[b][htbigleftbox][s]{.5textwidth}
centering
subfloat[Image 2]
{includegraphics[width=0.9linewidth]%
{images2}%
label{image2}}
vfill
subfloat[Image 3]
{includegraphics[width=0.9linewidth]%
{images3}%
label{image3}}
end{minipage}
caption{%
Figure}
label{figure}
end{figure}
In the attached picture I can see the result and it is not glorious.
I would not like to change the change the size of the picture. The size shall remain the same. The problem is that 1) the left picture is not vertically centered with respect with the two other images, 2) the caption of the figure is not at the bottom of the last picture, and 3) the title of the next section is entering the figure.
How is it possible to solve all these problems using subfig
and not subfigure
?
I would be very thankful for your help.
subfloats subfig sidesubfloat
add a comment |
There is a beautiful post where it is explained more or less what I would like to do.
Actually, I am not using subfigure, but usepackage{subfig}
. Therefore, I've tried to implement the example with the subfig
solution. My entire document is using subfig
, I would not change to subfigure now.
Here is the code I am using:
begin{figure}[tb]
centering
sbox{bigleftbox}{%
begin{minipage}[b]{.5textwidth}
centering
vspace*{fill}
subfloat[Image 1]
{includegraphics[height=5cm]%
{images1}%
label{image1}}
end{minipage}%
}usebox{bigleftbox}%
begin{minipage}[b][htbigleftbox][s]{.5textwidth}
centering
subfloat[Image 2]
{includegraphics[width=0.9linewidth]%
{images2}%
label{image2}}
vfill
subfloat[Image 3]
{includegraphics[width=0.9linewidth]%
{images3}%
label{image3}}
end{minipage}
caption{%
Figure}
label{figure}
end{figure}
In the attached picture I can see the result and it is not glorious.
I would not like to change the change the size of the picture. The size shall remain the same. The problem is that 1) the left picture is not vertically centered with respect with the two other images, 2) the caption of the figure is not at the bottom of the last picture, and 3) the title of the next section is entering the figure.
How is it possible to solve all these problems using subfig
and not subfigure
?
I would be very thankful for your help.
subfloats subfig sidesubfloat
1
please extend your code snippet to complete document beginning withdocumentclass{...}
and ending withend{document}
.
– Zarko
2 hours ago
Usingsubfig
and insisting in it in combination of thesavebox
an and theminipages
makes the result and your demand really strange. If you really are open to useminipages
, than thesubcaption
package should be enough for your approach and thesubfig
could not help somehere.
– koleygr
2 hours ago
In my above comment, I had understood that you expect the caption of the left figure aligned with the caption of the lower right figure and thus could not find a way thatsubfig
package could be used for it (doesn't really use it often but if this was the case thesubcaption
package and theminipages
should be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaption
package that is better cooperating withminipages
and such cases as this one.
– koleygr
1 hour ago
add a comment |
There is a beautiful post where it is explained more or less what I would like to do.
Actually, I am not using subfigure, but usepackage{subfig}
. Therefore, I've tried to implement the example with the subfig
solution. My entire document is using subfig
, I would not change to subfigure now.
Here is the code I am using:
begin{figure}[tb]
centering
sbox{bigleftbox}{%
begin{minipage}[b]{.5textwidth}
centering
vspace*{fill}
subfloat[Image 1]
{includegraphics[height=5cm]%
{images1}%
label{image1}}
end{minipage}%
}usebox{bigleftbox}%
begin{minipage}[b][htbigleftbox][s]{.5textwidth}
centering
subfloat[Image 2]
{includegraphics[width=0.9linewidth]%
{images2}%
label{image2}}
vfill
subfloat[Image 3]
{includegraphics[width=0.9linewidth]%
{images3}%
label{image3}}
end{minipage}
caption{%
Figure}
label{figure}
end{figure}
In the attached picture I can see the result and it is not glorious.
I would not like to change the change the size of the picture. The size shall remain the same. The problem is that 1) the left picture is not vertically centered with respect with the two other images, 2) the caption of the figure is not at the bottom of the last picture, and 3) the title of the next section is entering the figure.
How is it possible to solve all these problems using subfig
and not subfigure
?
I would be very thankful for your help.
subfloats subfig sidesubfloat
There is a beautiful post where it is explained more or less what I would like to do.
Actually, I am not using subfigure, but usepackage{subfig}
. Therefore, I've tried to implement the example with the subfig
solution. My entire document is using subfig
, I would not change to subfigure now.
Here is the code I am using:
begin{figure}[tb]
centering
sbox{bigleftbox}{%
begin{minipage}[b]{.5textwidth}
centering
vspace*{fill}
subfloat[Image 1]
{includegraphics[height=5cm]%
{images1}%
label{image1}}
end{minipage}%
}usebox{bigleftbox}%
begin{minipage}[b][htbigleftbox][s]{.5textwidth}
centering
subfloat[Image 2]
{includegraphics[width=0.9linewidth]%
{images2}%
label{image2}}
vfill
subfloat[Image 3]
{includegraphics[width=0.9linewidth]%
{images3}%
label{image3}}
end{minipage}
caption{%
Figure}
label{figure}
end{figure}
In the attached picture I can see the result and it is not glorious.
I would not like to change the change the size of the picture. The size shall remain the same. The problem is that 1) the left picture is not vertically centered with respect with the two other images, 2) the caption of the figure is not at the bottom of the last picture, and 3) the title of the next section is entering the figure.
How is it possible to solve all these problems using subfig
and not subfigure
?
I would be very thankful for your help.
subfloats subfig sidesubfloat
subfloats subfig sidesubfloat
asked 3 hours ago
Elfo2285Elfo2285
375
375
1
please extend your code snippet to complete document beginning withdocumentclass{...}
and ending withend{document}
.
– Zarko
2 hours ago
Usingsubfig
and insisting in it in combination of thesavebox
an and theminipages
makes the result and your demand really strange. If you really are open to useminipages
, than thesubcaption
package should be enough for your approach and thesubfig
could not help somehere.
– koleygr
2 hours ago
In my above comment, I had understood that you expect the caption of the left figure aligned with the caption of the lower right figure and thus could not find a way thatsubfig
package could be used for it (doesn't really use it often but if this was the case thesubcaption
package and theminipages
should be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaption
package that is better cooperating withminipages
and such cases as this one.
– koleygr
1 hour ago
add a comment |
1
please extend your code snippet to complete document beginning withdocumentclass{...}
and ending withend{document}
.
– Zarko
2 hours ago
Usingsubfig
and insisting in it in combination of thesavebox
an and theminipages
makes the result and your demand really strange. If you really are open to useminipages
, than thesubcaption
package should be enough for your approach and thesubfig
could not help somehere.
– koleygr
2 hours ago
In my above comment, I had understood that you expect the caption of the left figure aligned with the caption of the lower right figure and thus could not find a way thatsubfig
package could be used for it (doesn't really use it often but if this was the case thesubcaption
package and theminipages
should be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaption
package that is better cooperating withminipages
and such cases as this one.
– koleygr
1 hour ago
1
1
please extend your code snippet to complete document beginning with
documentclass{...}
and ending with end{document}
.– Zarko
2 hours ago
please extend your code snippet to complete document beginning with
documentclass{...}
and ending with end{document}
.– Zarko
2 hours ago
Using
subfig
and insisting in it in combination of the savebox
an and the minipages
makes the result and your demand really strange. If you really are open to use minipages
, than the subcaption
package should be enough for your approach and the subfig
could not help somehere.– koleygr
2 hours ago
Using
subfig
and insisting in it in combination of the savebox
an and the minipages
makes the result and your demand really strange. If you really are open to use minipages
, than the subcaption
package should be enough for your approach and the subfig
could not help somehere.– koleygr
2 hours ago
In my above comment, I had understood that you expect the caption of the left figure aligned with the caption of the lower right figure and thus could not find a way that
subfig
package could be used for it (doesn't really use it often but if this was the case the subcaption
package and the minipages
should be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at the subcaption
package that is better cooperating with minipages
and such cases as this one.– koleygr
1 hour ago
In my above comment, I had understood that you expect the caption of the left figure aligned with the caption of the lower right figure and thus could not find a way that
subfig
package could be used for it (doesn't really use it often but if this was the case the subcaption
package and the minipages
should be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at the subcaption
package that is better cooperating with minipages
and such cases as this one.– koleygr
1 hour ago
add a comment |
3 Answers
3
active
oldest
votes
Your problem is different, as you don't have to measure anything.
In order to align the two parts at the top, you can use raisebox{-height}{...}
.
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
raisebox{-height}{%
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
}qquad
raisebox{-height}{%
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}%
}
caption{Figure}
label{figure}
end{figure}
end{document}
If you want to vertically center the left image:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
begin{tabular}{@{}c@{}}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
end{tabular}qquad
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}
caption{Figure}
label{figure}
end{figure}
end{document}
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
add a comment |
see if the following example can help you:
documentclass{article}
usepackage{multirow,tabularx}
usepackage[export, demo]{adjustbox}
usepackage{subfig}
newsaveboxbigleftbox
begin{document}
begin{figure}[tb]
centering
begin{tabularx}{linewidth}{XX}
multirow[t]{2}{=}{subfloat[Image 1 label{image1}]%
{includegraphics[height=5cm, valign=t]{images1}}%
}
& subfloat[Image 2 label{image2}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]{images1}} \
& subfloat[Image 3 label{image3}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]{images1}} \
end{tabularx}
caption{Figure}
label{figure}
add a comment |
Here is a variant using minipages:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}
centering
begin{minipage}[c]{0.3textwidth}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}
end{minipage}
begin{minipage}[c]{0.4textwidth}
subfloat[Image 2]{%
includegraphics[width=textwidth]{example-image}%
label{image2}%
}
subfloat[Image 3]{%
includegraphics[width=textwidth]{example-image}%
label{image3}%
}
end{minipage}
caption{Figure}
label{figure}
end{figure}
end{document}
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%2f479147%2fplacing-subfig-vertically%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your problem is different, as you don't have to measure anything.
In order to align the two parts at the top, you can use raisebox{-height}{...}
.
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
raisebox{-height}{%
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
}qquad
raisebox{-height}{%
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}%
}
caption{Figure}
label{figure}
end{figure}
end{document}
If you want to vertically center the left image:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
begin{tabular}{@{}c@{}}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
end{tabular}qquad
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}
caption{Figure}
label{figure}
end{figure}
end{document}
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
add a comment |
Your problem is different, as you don't have to measure anything.
In order to align the two parts at the top, you can use raisebox{-height}{...}
.
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
raisebox{-height}{%
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
}qquad
raisebox{-height}{%
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}%
}
caption{Figure}
label{figure}
end{figure}
end{document}
If you want to vertically center the left image:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
begin{tabular}{@{}c@{}}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
end{tabular}qquad
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}
caption{Figure}
label{figure}
end{figure}
end{document}
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
add a comment |
Your problem is different, as you don't have to measure anything.
In order to align the two parts at the top, you can use raisebox{-height}{...}
.
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
raisebox{-height}{%
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
}qquad
raisebox{-height}{%
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}%
}
caption{Figure}
label{figure}
end{figure}
end{document}
If you want to vertically center the left image:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
begin{tabular}{@{}c@{}}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
end{tabular}qquad
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}
caption{Figure}
label{figure}
end{figure}
end{document}
Your problem is different, as you don't have to measure anything.
In order to align the two parts at the top, you can use raisebox{-height}{...}
.
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
raisebox{-height}{%
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
}qquad
raisebox{-height}{%
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}%
}
caption{Figure}
label{figure}
end{figure}
end{document}
If you want to vertically center the left image:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}[tbp]
centering
begin{tabular}{@{}c@{}}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}%
end{tabular}qquad
begin{tabular}{@{}c@{}}
subfloat[Image 2]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image2}%
} \
subfloat[Image 3]{%
includegraphics[width=0.4textwidth]{example-image}%
label{image3}%
}
end{tabular}
caption{Figure}
label{figure}
end{figure}
end{document}
edited 2 hours ago
answered 2 hours ago
egregegreg
726k8819193226
726k8819193226
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
add a comment |
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
1 hour ago
add a comment |
see if the following example can help you:
documentclass{article}
usepackage{multirow,tabularx}
usepackage[export, demo]{adjustbox}
usepackage{subfig}
newsaveboxbigleftbox
begin{document}
begin{figure}[tb]
centering
begin{tabularx}{linewidth}{XX}
multirow[t]{2}{=}{subfloat[Image 1 label{image1}]%
{includegraphics[height=5cm, valign=t]{images1}}%
}
& subfloat[Image 2 label{image2}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]{images1}} \
& subfloat[Image 3 label{image3}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]{images1}} \
end{tabularx}
caption{Figure}
label{figure}
add a comment |
see if the following example can help you:
documentclass{article}
usepackage{multirow,tabularx}
usepackage[export, demo]{adjustbox}
usepackage{subfig}
newsaveboxbigleftbox
begin{document}
begin{figure}[tb]
centering
begin{tabularx}{linewidth}{XX}
multirow[t]{2}{=}{subfloat[Image 1 label{image1}]%
{includegraphics[height=5cm, valign=t]{images1}}%
}
& subfloat[Image 2 label{image2}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]{images1}} \
& subfloat[Image 3 label{image3}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]{images1}} \
end{tabularx}
caption{Figure}
label{figure}
add a comment |
see if the following example can help you:
documentclass{article}
usepackage{multirow,tabularx}
usepackage[export, demo]{adjustbox}
usepackage{subfig}
newsaveboxbigleftbox
begin{document}
begin{figure}[tb]
centering
begin{tabularx}{linewidth}{XX}
multirow[t]{2}{=}{subfloat[Image 1 label{image1}]%
{includegraphics[height=5cm, valign=t]{images1}}%
}
& subfloat[Image 2 label{image2}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]{images1}} \
& subfloat[Image 3 label{image3}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]{images1}} \
end{tabularx}
caption{Figure}
label{figure}
see if the following example can help you:
documentclass{article}
usepackage{multirow,tabularx}
usepackage[export, demo]{adjustbox}
usepackage{subfig}
newsaveboxbigleftbox
begin{document}
begin{figure}[tb]
centering
begin{tabularx}{linewidth}{XX}
multirow[t]{2}{=}{subfloat[Image 1 label{image1}]%
{includegraphics[height=5cm, valign=t]{images1}}%
}
& subfloat[Image 2 label{image2}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]{images1}} \
& subfloat[Image 3 label{image3}]%
{includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]{images1}} \
end{tabularx}
caption{Figure}
label{figure}
answered 2 hours ago
ZarkoZarko
127k868166
127k868166
add a comment |
add a comment |
Here is a variant using minipages:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}
centering
begin{minipage}[c]{0.3textwidth}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}
end{minipage}
begin{minipage}[c]{0.4textwidth}
subfloat[Image 2]{%
includegraphics[width=textwidth]{example-image}%
label{image2}%
}
subfloat[Image 3]{%
includegraphics[width=textwidth]{example-image}%
label{image3}%
}
end{minipage}
caption{Figure}
label{figure}
end{figure}
end{document}
add a comment |
Here is a variant using minipages:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}
centering
begin{minipage}[c]{0.3textwidth}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}
end{minipage}
begin{minipage}[c]{0.4textwidth}
subfloat[Image 2]{%
includegraphics[width=textwidth]{example-image}%
label{image2}%
}
subfloat[Image 3]{%
includegraphics[width=textwidth]{example-image}%
label{image3}%
}
end{minipage}
caption{Figure}
label{figure}
end{figure}
end{document}
add a comment |
Here is a variant using minipages:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}
centering
begin{minipage}[c]{0.3textwidth}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}
end{minipage}
begin{minipage}[c]{0.4textwidth}
subfloat[Image 2]{%
includegraphics[width=textwidth]{example-image}%
label{image2}%
}
subfloat[Image 3]{%
includegraphics[width=textwidth]{example-image}%
label{image3}%
}
end{minipage}
caption{Figure}
label{figure}
end{figure}
end{document}
Here is a variant using minipages:
documentclass{article}
usepackage{graphicx,subfig}
begin{document}
begin{figure}
centering
begin{minipage}[c]{0.3textwidth}
subfloat[Image 1]{%
includegraphics[height=5cm]{example-image-9x16}%
label{image1}%
}
end{minipage}
begin{minipage}[c]{0.4textwidth}
subfloat[Image 2]{%
includegraphics[width=textwidth]{example-image}%
label{image2}%
}
subfloat[Image 3]{%
includegraphics[width=textwidth]{example-image}%
label{image3}%
}
end{minipage}
caption{Figure}
label{figure}
end{figure}
end{document}
answered 2 hours ago
leandriisleandriis
9,8901530
9,8901530
add a comment |
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.
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%2f479147%2fplacing-subfig-vertically%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
1
please extend your code snippet to complete document beginning with
documentclass{...}
and ending withend{document}
.– Zarko
2 hours ago
Using
subfig
and insisting in it in combination of thesavebox
an and theminipages
makes the result and your demand really strange. If you really are open to useminipages
, than thesubcaption
package should be enough for your approach and thesubfig
could not help somehere.– koleygr
2 hours ago
In my above comment, I had understood that you expect the caption of the left figure aligned with the caption of the lower right figure and thus could not find a way that
subfig
package could be used for it (doesn't really use it often but if this was the case thesubcaption
package and theminipages
should be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaption
package that is better cooperating withminipages
and such cases as this one.– koleygr
1 hour ago