Placing subfig verticallyPlacing 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 captionbeginalltt 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
Is preaching recommended or mandatory to a temple priest?
Are Captain Marvel's powers affected by Thanos' actions in Infinity War
What changes for testers when they are testing in agile environments?
What is going on with 'gets(stdin)' on the site coderbyte?
Why does the Sun have different day lengths, but not the gas giants?
Did arcade monitors have same pixel aspect ratio as TV sets?
How can I block email signup overlays or javascript popups in Safari?
What will be next at the bottom row and why?
Is aluminum electrical wire used on aircraft?
Terse Method to Swap Lowest for Highest?
The probability of Bus A arriving before Bus B
Multiplicative persistence
On a tidally locked planet, would time be quantized?
Does the Location of Line-Dash-Wedge Notations Matter?
Why did the EU agree to delay the Brexit deadline?
Are paving bricks differently sized for sand bedding vs mortar bedding?
How to write values with uncertainty and units with brackets: (339+-14) m/s
Why electric field inside a cavity of a non conducting not zero
Creating nested elements dynamically
Store Credit Card Information in Password Manager?
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
What does chmod -u do?
sed '/^$/d' and grep -Ev '^$' failed to remove blank lines
Yosemite Fire Rings - What to Expect?
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 captionbeginalltt 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 usepackagesubfig. 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:
beginfigure[tb]
centering
sboxbigleftbox%
beginminipage[b].5textwidth
centering
vspace*fill
subfloat[Image 1]
includegraphics[height=5cm]%
images1%
labelimage1
endminipage%
useboxbigleftbox%
beginminipage[b][htbigleftbox][s].5textwidth
centering
subfloat[Image 2]
includegraphics[width=0.9linewidth]%
images2%
labelimage2
vfill
subfloat[Image 3]
includegraphics[width=0.9linewidth]%
images3%
labelimage3
endminipage
caption%
Figure
labelfigure
endfigure
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 usepackagesubfig. 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:
beginfigure[tb]
centering
sboxbigleftbox%
beginminipage[b].5textwidth
centering
vspace*fill
subfloat[Image 1]
includegraphics[height=5cm]%
images1%
labelimage1
endminipage%
useboxbigleftbox%
beginminipage[b][htbigleftbox][s].5textwidth
centering
subfloat[Image 2]
includegraphics[width=0.9linewidth]%
images2%
labelimage2
vfill
subfloat[Image 3]
includegraphics[width=0.9linewidth]%
images3%
labelimage3
endminipage
caption%
Figure
labelfigure
endfigure
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 withenddocument.
– Zarko
Mar 12 at 18:16
Usingsubfigand insisting in it in combination of thesaveboxan and theminipagesmakes the result and your demand really strange. If you really are open to useminipages, than thesubcaptionpackage should be enough for your approach and thesubfigcould not help somehere.
– koleygr
Mar 12 at 18:55
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 thatsubfigpackage could be used for it (doesn't really use it often but if this was the case thesubcaptionpackage and theminipagesshould be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaptionpackage that is better cooperating withminipagesand such cases as this one.
– koleygr
Mar 12 at 19:51
1
@koleygr Hi. Thanks a lot for the feedback. My entire document uses 'subfig'. Changing everything to 'subcaption' might take a bit of time. I will try to use 'subcaption' for my next documents.
– Elfo2285
Mar 12 at 21:26
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 usepackagesubfig. 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:
beginfigure[tb]
centering
sboxbigleftbox%
beginminipage[b].5textwidth
centering
vspace*fill
subfloat[Image 1]
includegraphics[height=5cm]%
images1%
labelimage1
endminipage%
useboxbigleftbox%
beginminipage[b][htbigleftbox][s].5textwidth
centering
subfloat[Image 2]
includegraphics[width=0.9linewidth]%
images2%
labelimage2
vfill
subfloat[Image 3]
includegraphics[width=0.9linewidth]%
images3%
labelimage3
endminipage
caption%
Figure
labelfigure
endfigure
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 usepackagesubfig. 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:
beginfigure[tb]
centering
sboxbigleftbox%
beginminipage[b].5textwidth
centering
vspace*fill
subfloat[Image 1]
includegraphics[height=5cm]%
images1%
labelimage1
endminipage%
useboxbigleftbox%
beginminipage[b][htbigleftbox][s].5textwidth
centering
subfloat[Image 2]
includegraphics[width=0.9linewidth]%
images2%
labelimage2
vfill
subfloat[Image 3]
includegraphics[width=0.9linewidth]%
images3%
labelimage3
endminipage
caption%
Figure
labelfigure
endfigure
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 Mar 12 at 18:09
Elfo2285Elfo2285
495
495
1
please extend your code snippet to complete document beginning withdocumentclass...and ending withenddocument.
– Zarko
Mar 12 at 18:16
Usingsubfigand insisting in it in combination of thesaveboxan and theminipagesmakes the result and your demand really strange. If you really are open to useminipages, than thesubcaptionpackage should be enough for your approach and thesubfigcould not help somehere.
– koleygr
Mar 12 at 18:55
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 thatsubfigpackage could be used for it (doesn't really use it often but if this was the case thesubcaptionpackage and theminipagesshould be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaptionpackage that is better cooperating withminipagesand such cases as this one.
– koleygr
Mar 12 at 19:51
1
@koleygr Hi. Thanks a lot for the feedback. My entire document uses 'subfig'. Changing everything to 'subcaption' might take a bit of time. I will try to use 'subcaption' for my next documents.
– Elfo2285
Mar 12 at 21:26
add a comment |
1
please extend your code snippet to complete document beginning withdocumentclass...and ending withenddocument.
– Zarko
Mar 12 at 18:16
Usingsubfigand insisting in it in combination of thesaveboxan and theminipagesmakes the result and your demand really strange. If you really are open to useminipages, than thesubcaptionpackage should be enough for your approach and thesubfigcould not help somehere.
– koleygr
Mar 12 at 18:55
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 thatsubfigpackage could be used for it (doesn't really use it often but if this was the case thesubcaptionpackage and theminipagesshould be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaptionpackage that is better cooperating withminipagesand such cases as this one.
– koleygr
Mar 12 at 19:51
1
@koleygr Hi. Thanks a lot for the feedback. My entire document uses 'subfig'. Changing everything to 'subcaption' might take a bit of time. I will try to use 'subcaption' for my next documents.
– Elfo2285
Mar 12 at 21:26
1
1
please extend your code snippet to complete document beginning with
documentclass... and ending with enddocument.– Zarko
Mar 12 at 18:16
please extend your code snippet to complete document beginning with
documentclass... and ending with enddocument.– Zarko
Mar 12 at 18:16
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
Mar 12 at 18:55
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
Mar 12 at 18:55
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
Mar 12 at 19:51
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
Mar 12 at 19:51
1
1
@koleygr Hi. Thanks a lot for the feedback. My entire document uses 'subfig'. Changing everything to 'subcaption' might take a bit of time. I will try to use 'subcaption' for my next documents.
– Elfo2285
Mar 12 at 21:26
@koleygr Hi. Thanks a lot for the feedback. My entire document uses 'subfig'. Changing everything to 'subcaption' might take a bit of time. I will try to use 'subcaption' for my next documents.
– Elfo2285
Mar 12 at 21:26
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....
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
raisebox-height%
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
qquad
raisebox-height%
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular%
captionFigure
labelfigure
endfigure
enddocument

If you want to vertically center the left image:
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
begintabular@c@
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
endtabularqquad
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular
captionFigure
labelfigure
endfigure
enddocument

Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
add a comment |
see if the following example can help you:
documentclassarticle
usepackagemultirow,tabularx
usepackage[export, demo]adjustbox
usepackagesubfig
newsaveboxbigleftbox
begindocument
beginfigure[tb]
centering
begintabularxlinewidthXX
multirow[t]2=subfloat[Image 1 labelimage1]%
includegraphics[height=5cm, valign=t]images1%
& subfloat[Image 2 labelimage2]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]images1 \
& subfloat[Image 3 labelimage3]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]images1 \
endtabularx
captionFigure
labelfigure

add a comment |
Here is a variant using minipages:

documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure
centering
beginminipage[c]0.3textwidth
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
endminipage
beginminipage[c]0.4textwidth
subfloat[Image 2]%
includegraphics[width=textwidth]example-image%
labelimage2%
subfloat[Image 3]%
includegraphics[width=textwidth]example-image%
labelimage3%
endminipage
captionFigure
labelfigure
endfigure
enddocument
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....
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
raisebox-height%
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
qquad
raisebox-height%
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular%
captionFigure
labelfigure
endfigure
enddocument

If you want to vertically center the left image:
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
begintabular@c@
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
endtabularqquad
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular
captionFigure
labelfigure
endfigure
enddocument

Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
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....
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
raisebox-height%
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
qquad
raisebox-height%
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular%
captionFigure
labelfigure
endfigure
enddocument

If you want to vertically center the left image:
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
begintabular@c@
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
endtabularqquad
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular
captionFigure
labelfigure
endfigure
enddocument

Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
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....
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
raisebox-height%
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
qquad
raisebox-height%
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular%
captionFigure
labelfigure
endfigure
enddocument

If you want to vertically center the left image:
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
begintabular@c@
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
endtabularqquad
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular
captionFigure
labelfigure
endfigure
enddocument

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....
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
raisebox-height%
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
qquad
raisebox-height%
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular%
captionFigure
labelfigure
endfigure
enddocument

If you want to vertically center the left image:
documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure[tbp]
centering
begintabular@c@
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
%
endtabularqquad
begintabular@c@
subfloat[Image 2]%
includegraphics[width=0.4textwidth]example-image%
labelimage2%
\
subfloat[Image 3]%
includegraphics[width=0.4textwidth]example-image%
labelimage3%
endtabular
captionFigure
labelfigure
endfigure
enddocument

edited Mar 12 at 18:45
answered Mar 12 at 18:31
egregegreg
728k8819243235
728k8819243235
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
add a comment |
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
Using the tabular solution solved my problem. It makes the result I would like. Thanks a lot!
– Elfo2285
Mar 12 at 19:32
add a comment |
see if the following example can help you:
documentclassarticle
usepackagemultirow,tabularx
usepackage[export, demo]adjustbox
usepackagesubfig
newsaveboxbigleftbox
begindocument
beginfigure[tb]
centering
begintabularxlinewidthXX
multirow[t]2=subfloat[Image 1 labelimage1]%
includegraphics[height=5cm, valign=t]images1%
& subfloat[Image 2 labelimage2]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]images1 \
& subfloat[Image 3 labelimage3]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]images1 \
endtabularx
captionFigure
labelfigure

add a comment |
see if the following example can help you:
documentclassarticle
usepackagemultirow,tabularx
usepackage[export, demo]adjustbox
usepackagesubfig
newsaveboxbigleftbox
begindocument
beginfigure[tb]
centering
begintabularxlinewidthXX
multirow[t]2=subfloat[Image 1 labelimage1]%
includegraphics[height=5cm, valign=t]images1%
& subfloat[Image 2 labelimage2]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]images1 \
& subfloat[Image 3 labelimage3]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]images1 \
endtabularx
captionFigure
labelfigure

add a comment |
see if the following example can help you:
documentclassarticle
usepackagemultirow,tabularx
usepackage[export, demo]adjustbox
usepackagesubfig
newsaveboxbigleftbox
begindocument
beginfigure[tb]
centering
begintabularxlinewidthXX
multirow[t]2=subfloat[Image 1 labelimage1]%
includegraphics[height=5cm, valign=t]images1%
& subfloat[Image 2 labelimage2]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]images1 \
& subfloat[Image 3 labelimage3]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]images1 \
endtabularx
captionFigure
labelfigure

see if the following example can help you:
documentclassarticle
usepackagemultirow,tabularx
usepackage[export, demo]adjustbox
usepackagesubfig
newsaveboxbigleftbox
begindocument
beginfigure[tb]
centering
begintabularxlinewidthXX
multirow[t]2=subfloat[Image 1 labelimage1]%
includegraphics[height=5cm, valign=t]images1%
& subfloat[Image 2 labelimage2]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=t]images1 \
& subfloat[Image 3 labelimage3]%
includegraphics[height=dimexpr2.5 cm-baselineskip, valign=b]images1 \
endtabularx
captionFigure
labelfigure

answered Mar 12 at 18:36
ZarkoZarko
127k868167
127k868167
add a comment |
add a comment |
Here is a variant using minipages:

documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure
centering
beginminipage[c]0.3textwidth
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
endminipage
beginminipage[c]0.4textwidth
subfloat[Image 2]%
includegraphics[width=textwidth]example-image%
labelimage2%
subfloat[Image 3]%
includegraphics[width=textwidth]example-image%
labelimage3%
endminipage
captionFigure
labelfigure
endfigure
enddocument
add a comment |
Here is a variant using minipages:

documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure
centering
beginminipage[c]0.3textwidth
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
endminipage
beginminipage[c]0.4textwidth
subfloat[Image 2]%
includegraphics[width=textwidth]example-image%
labelimage2%
subfloat[Image 3]%
includegraphics[width=textwidth]example-image%
labelimage3%
endminipage
captionFigure
labelfigure
endfigure
enddocument
add a comment |
Here is a variant using minipages:

documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure
centering
beginminipage[c]0.3textwidth
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
endminipage
beginminipage[c]0.4textwidth
subfloat[Image 2]%
includegraphics[width=textwidth]example-image%
labelimage2%
subfloat[Image 3]%
includegraphics[width=textwidth]example-image%
labelimage3%
endminipage
captionFigure
labelfigure
endfigure
enddocument
Here is a variant using minipages:

documentclassarticle
usepackagegraphicx,subfig
begindocument
beginfigure
centering
beginminipage[c]0.3textwidth
subfloat[Image 1]%
includegraphics[height=5cm]example-image-9x16%
labelimage1%
endminipage
beginminipage[c]0.4textwidth
subfloat[Image 2]%
includegraphics[width=textwidth]example-image%
labelimage2%
subfloat[Image 3]%
includegraphics[width=textwidth]example-image%
labelimage3%
endminipage
captionFigure
labelfigure
endfigure
enddocument
answered Mar 12 at 18:40
leandriisleandriis
10.6k1732
10.6k1732
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
-sidesubfloat, subfig, subfloats
1
please extend your code snippet to complete document beginning with
documentclass...and ending withenddocument.– Zarko
Mar 12 at 18:16
Using
subfigand insisting in it in combination of thesaveboxan and theminipagesmakes the result and your demand really strange. If you really are open to useminipages, than thesubcaptionpackage should be enough for your approach and thesubfigcould not help somehere.– koleygr
Mar 12 at 18:55
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
subfigpackage could be used for it (doesn't really use it often but if this was the case thesubcaptionpackage and theminipagesshould be enough). Commenting just to explain the above comment and to suggest to to have a look (whenever you find time) at thesubcaptionpackage that is better cooperating withminipagesand such cases as this one.– koleygr
Mar 12 at 19:51
1
@koleygr Hi. Thanks a lot for the feedback. My entire document uses 'subfig'. Changing everything to 'subcaption' might take a bit of time. I will try to use 'subcaption' for my next documents.
– Elfo2285
Mar 12 at 21:26