How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...
I want to put 3 images in LateX such as 2 figures are side by side horizotally and 3rd figure below these 2 side by side figures but in middle.
I have following code:
begin{figure}[H]
centering
begin{minipage}{.5textwidth}
centering
includegraphics[width=.50linewidth]{Text/Images/Genelec_8010_AP.jpg}
captionof{figure}{Genelec 8010 AP}
label{fig:Genelec 8010}
end{minipage}%
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69linewidth]{Text/Images/Genelec_8020_CPM.jpg}
captionof{figure}{Genelec 8020 CPM}
label{fig:Genelec 8020}
end{minipage}%
end{figure}
%%Here is my 3rd picture code
begin{figure}
centering
includegraphics[width=5cm]{Text/Images/Genelec_8030_BPM.jpg}
caption{Genelec 8030 BPM}
label{fig:Genelec 8030}
end{figure}
I want to ask how can i modify this code so that i got figures in a style i described earlier.
floats
|
show 3 more comments
I want to put 3 images in LateX such as 2 figures are side by side horizotally and 3rd figure below these 2 side by side figures but in middle.
I have following code:
begin{figure}[H]
centering
begin{minipage}{.5textwidth}
centering
includegraphics[width=.50linewidth]{Text/Images/Genelec_8010_AP.jpg}
captionof{figure}{Genelec 8010 AP}
label{fig:Genelec 8010}
end{minipage}%
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69linewidth]{Text/Images/Genelec_8020_CPM.jpg}
captionof{figure}{Genelec 8020 CPM}
label{fig:Genelec 8020}
end{minipage}%
end{figure}
%%Here is my 3rd picture code
begin{figure}
centering
includegraphics[width=5cm]{Text/Images/Genelec_8030_BPM.jpg}
caption{Genelec 8030 BPM}
label{fig:Genelec 8030}
end{figure}
I want to ask how can i modify this code so that i got figures in a style i described earlier.
floats
There should be 3 different captions? If not, you can useincludegraphics
3 times inside the samefigure
environment, 2 on the same row, and the last below using \
– Sigur
Nov 23 '18 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 '18 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 '18 at 14:43
What you need issubfigure
.
– Sigur
Nov 23 '18 at 14:44
actually 2 figures side by side with different captions and then third picture below these 2 side by side pic at centre
– Ahmad Bilal
Nov 23 '18 at 14:45
|
show 3 more comments
I want to put 3 images in LateX such as 2 figures are side by side horizotally and 3rd figure below these 2 side by side figures but in middle.
I have following code:
begin{figure}[H]
centering
begin{minipage}{.5textwidth}
centering
includegraphics[width=.50linewidth]{Text/Images/Genelec_8010_AP.jpg}
captionof{figure}{Genelec 8010 AP}
label{fig:Genelec 8010}
end{minipage}%
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69linewidth]{Text/Images/Genelec_8020_CPM.jpg}
captionof{figure}{Genelec 8020 CPM}
label{fig:Genelec 8020}
end{minipage}%
end{figure}
%%Here is my 3rd picture code
begin{figure}
centering
includegraphics[width=5cm]{Text/Images/Genelec_8030_BPM.jpg}
caption{Genelec 8030 BPM}
label{fig:Genelec 8030}
end{figure}
I want to ask how can i modify this code so that i got figures in a style i described earlier.
floats
I want to put 3 images in LateX such as 2 figures are side by side horizotally and 3rd figure below these 2 side by side figures but in middle.
I have following code:
begin{figure}[H]
centering
begin{minipage}{.5textwidth}
centering
includegraphics[width=.50linewidth]{Text/Images/Genelec_8010_AP.jpg}
captionof{figure}{Genelec 8010 AP}
label{fig:Genelec 8010}
end{minipage}%
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69linewidth]{Text/Images/Genelec_8020_CPM.jpg}
captionof{figure}{Genelec 8020 CPM}
label{fig:Genelec 8020}
end{minipage}%
end{figure}
%%Here is my 3rd picture code
begin{figure}
centering
includegraphics[width=5cm]{Text/Images/Genelec_8030_BPM.jpg}
caption{Genelec 8030 BPM}
label{fig:Genelec 8030}
end{figure}
I want to ask how can i modify this code so that i got figures in a style i described earlier.
floats
floats
asked Nov 23 '18 at 14:22
Ahmad BilalAhmad Bilal
285
285
There should be 3 different captions? If not, you can useincludegraphics
3 times inside the samefigure
environment, 2 on the same row, and the last below using \
– Sigur
Nov 23 '18 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 '18 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 '18 at 14:43
What you need issubfigure
.
– Sigur
Nov 23 '18 at 14:44
actually 2 figures side by side with different captions and then third picture below these 2 side by side pic at centre
– Ahmad Bilal
Nov 23 '18 at 14:45
|
show 3 more comments
There should be 3 different captions? If not, you can useincludegraphics
3 times inside the samefigure
environment, 2 on the same row, and the last below using \
– Sigur
Nov 23 '18 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 '18 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 '18 at 14:43
What you need issubfigure
.
– Sigur
Nov 23 '18 at 14:44
actually 2 figures side by side with different captions and then third picture below these 2 side by side pic at centre
– Ahmad Bilal
Nov 23 '18 at 14:45
There should be 3 different captions? If not, you can use
includegraphics
3 times inside the same figure
environment, 2 on the same row, and the last below using \– Sigur
Nov 23 '18 at 14:42
There should be 3 different captions? If not, you can use
includegraphics
3 times inside the same figure
environment, 2 on the same row, and the last below using \– Sigur
Nov 23 '18 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 '18 at 14:43
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 '18 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 '18 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 '18 at 14:43
What you need is
subfigure
.– Sigur
Nov 23 '18 at 14:44
What you need is
subfigure
.– Sigur
Nov 23 '18 at 14:44
actually 2 figures side by side with different captions and then third picture below these 2 side by side pic at centre
– Ahmad Bilal
Nov 23 '18 at 14:45
actually 2 figures side by side with different captions and then third picture below these 2 side by side pic at centre
– Ahmad Bilal
Nov 23 '18 at 14:45
|
show 3 more comments
5 Answers
5
active
oldest
votes
Like this?
documentclass{article}
usepackage{subfig,graphicx,showframe}
begin{document}
begin{figure}centering
subfloat[legend]{label{a}includegraphics[width=.45linewidth]{example-image-a}}hfill
subfloat[legend]{label{b}includegraphics[width=.45linewidth]{example-image-b}}par
subfloat[legend]{label{c}includegraphics[width=.45linewidth]{example-image-c}}
caption{my fig}
label{fig}
end{figure}
end{document}
add a comment |
It should be noted that subfigure captions are different from figure captions. If you want to have figure captions, use minipages.
documentclass{article}
usepackage{graphicx,showframe}
begin{document}
listoffigures
begin{figure}[htp]% [H] is so declass'e!
centering
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-a}
caption{figure caption}
end{minipage}hfill
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-b}
caption{figure caption}
end{minipage}par
vskipfloatsep% normal separation between figures
includegraphics[width=0.45textwidth]{example-image-c}
caption{figure caption}
end{figure}
end{document}
add a comment |
I see no problem; captionof
is not needed because you are in a figure
environment.
I'd align the two top figures at their bottom, so the captions are aligned. Probably they should use the same width (or the same height).
documentclass{article}
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centering
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.50textwidth]{example-image-a}
caption{Genelec 8010 AP}label{fig:Genelec 8010}
end{minipage}%
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-b}
caption{Genelec 8020 CPM}label{fig:Genelec 8020}
end{minipage}
bigskip
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-c}
caption{Genelec 8030 BPM}label{fig:Genelec 8030}
end{minipage}
end{figure}
end{document}
add a comment |
With subcaption
:
documentclass{article}
usepackage{subcaption}
usepackage{showframe}% for testing purpose only
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centeringbegin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.5linewidth]{example-image-a}
caption{label{fig:Genelec 8010}Genelec 8010 AP}
end{subfigure}hfill
begin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.69linewidth]{example-image-b}
caption{label{fig:Genelec 8020}Genelec 8020 CPM}
end{subfigure}vspace{10pt}
begin{subfigure}[b]{linewidth}
centeringincludegraphics[width=5cm]{example-image-c}
caption{label{fig:Genelec 8030} Genelec 8030 BPM}
end{subfigure}
caption{A caption for the three figures together}
end{figure}
end{document}
add a comment |
One option using the subfig
package:
documentclass{article}
usepackage{subfig,graphicx}
begin{document}
begin{figure}
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8010 AP]{label{Genelecs:Genelec 8010 AP}includegraphics[width=.50linewidth]{example-image-a}}
end{minipage}%
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8020 CPM]{label{Genelecs:Genelec 8020 AP}includegraphics[width=.69linewidth]{example-image-b}}
end{minipage}parmedskip
centering
subfloat[Genelec 8030 BPM]{label{Genelecs:Genelec 8030 AP}includegraphics[width=5cm]{example-image-c}}
caption{my fig}
label{fig:Genelecs}
end{figure}
end{document}
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 '18 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 '18 at 15:12
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%2f461417%2fhow-to-put-3-figures-in-latex-with-2-figures-side-by-side-and-1-below-these-side%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Like this?
documentclass{article}
usepackage{subfig,graphicx,showframe}
begin{document}
begin{figure}centering
subfloat[legend]{label{a}includegraphics[width=.45linewidth]{example-image-a}}hfill
subfloat[legend]{label{b}includegraphics[width=.45linewidth]{example-image-b}}par
subfloat[legend]{label{c}includegraphics[width=.45linewidth]{example-image-c}}
caption{my fig}
label{fig}
end{figure}
end{document}
add a comment |
Like this?
documentclass{article}
usepackage{subfig,graphicx,showframe}
begin{document}
begin{figure}centering
subfloat[legend]{label{a}includegraphics[width=.45linewidth]{example-image-a}}hfill
subfloat[legend]{label{b}includegraphics[width=.45linewidth]{example-image-b}}par
subfloat[legend]{label{c}includegraphics[width=.45linewidth]{example-image-c}}
caption{my fig}
label{fig}
end{figure}
end{document}
add a comment |
Like this?
documentclass{article}
usepackage{subfig,graphicx,showframe}
begin{document}
begin{figure}centering
subfloat[legend]{label{a}includegraphics[width=.45linewidth]{example-image-a}}hfill
subfloat[legend]{label{b}includegraphics[width=.45linewidth]{example-image-b}}par
subfloat[legend]{label{c}includegraphics[width=.45linewidth]{example-image-c}}
caption{my fig}
label{fig}
end{figure}
end{document}
Like this?
documentclass{article}
usepackage{subfig,graphicx,showframe}
begin{document}
begin{figure}centering
subfloat[legend]{label{a}includegraphics[width=.45linewidth]{example-image-a}}hfill
subfloat[legend]{label{b}includegraphics[width=.45linewidth]{example-image-b}}par
subfloat[legend]{label{c}includegraphics[width=.45linewidth]{example-image-c}}
caption{my fig}
label{fig}
end{figure}
end{document}
answered Nov 23 '18 at 15:03
SigurSigur
26.3k457143
26.3k457143
add a comment |
add a comment |
It should be noted that subfigure captions are different from figure captions. If you want to have figure captions, use minipages.
documentclass{article}
usepackage{graphicx,showframe}
begin{document}
listoffigures
begin{figure}[htp]% [H] is so declass'e!
centering
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-a}
caption{figure caption}
end{minipage}hfill
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-b}
caption{figure caption}
end{minipage}par
vskipfloatsep% normal separation between figures
includegraphics[width=0.45textwidth]{example-image-c}
caption{figure caption}
end{figure}
end{document}
add a comment |
It should be noted that subfigure captions are different from figure captions. If you want to have figure captions, use minipages.
documentclass{article}
usepackage{graphicx,showframe}
begin{document}
listoffigures
begin{figure}[htp]% [H] is so declass'e!
centering
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-a}
caption{figure caption}
end{minipage}hfill
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-b}
caption{figure caption}
end{minipage}par
vskipfloatsep% normal separation between figures
includegraphics[width=0.45textwidth]{example-image-c}
caption{figure caption}
end{figure}
end{document}
add a comment |
It should be noted that subfigure captions are different from figure captions. If you want to have figure captions, use minipages.
documentclass{article}
usepackage{graphicx,showframe}
begin{document}
listoffigures
begin{figure}[htp]% [H] is so declass'e!
centering
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-a}
caption{figure caption}
end{minipage}hfill
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-b}
caption{figure caption}
end{minipage}par
vskipfloatsep% normal separation between figures
includegraphics[width=0.45textwidth]{example-image-c}
caption{figure caption}
end{figure}
end{document}
It should be noted that subfigure captions are different from figure captions. If you want to have figure captions, use minipages.
documentclass{article}
usepackage{graphicx,showframe}
begin{document}
listoffigures
begin{figure}[htp]% [H] is so declass'e!
centering
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-a}
caption{figure caption}
end{minipage}hfill
begin{minipage}{0.45textwidth}
includegraphics[width=textwidth]{example-image-b}
caption{figure caption}
end{minipage}par
vskipfloatsep% normal separation between figures
includegraphics[width=0.45textwidth]{example-image-c}
caption{figure caption}
end{figure}
end{document}
answered Nov 23 '18 at 16:48
John KormyloJohn Kormylo
47k22672
47k22672
add a comment |
add a comment |
I see no problem; captionof
is not needed because you are in a figure
environment.
I'd align the two top figures at their bottom, so the captions are aligned. Probably they should use the same width (or the same height).
documentclass{article}
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centering
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.50textwidth]{example-image-a}
caption{Genelec 8010 AP}label{fig:Genelec 8010}
end{minipage}%
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-b}
caption{Genelec 8020 CPM}label{fig:Genelec 8020}
end{minipage}
bigskip
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-c}
caption{Genelec 8030 BPM}label{fig:Genelec 8030}
end{minipage}
end{figure}
end{document}
add a comment |
I see no problem; captionof
is not needed because you are in a figure
environment.
I'd align the two top figures at their bottom, so the captions are aligned. Probably they should use the same width (or the same height).
documentclass{article}
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centering
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.50textwidth]{example-image-a}
caption{Genelec 8010 AP}label{fig:Genelec 8010}
end{minipage}%
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-b}
caption{Genelec 8020 CPM}label{fig:Genelec 8020}
end{minipage}
bigskip
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-c}
caption{Genelec 8030 BPM}label{fig:Genelec 8030}
end{minipage}
end{figure}
end{document}
add a comment |
I see no problem; captionof
is not needed because you are in a figure
environment.
I'd align the two top figures at their bottom, so the captions are aligned. Probably they should use the same width (or the same height).
documentclass{article}
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centering
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.50textwidth]{example-image-a}
caption{Genelec 8010 AP}label{fig:Genelec 8010}
end{minipage}%
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-b}
caption{Genelec 8020 CPM}label{fig:Genelec 8020}
end{minipage}
bigskip
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-c}
caption{Genelec 8030 BPM}label{fig:Genelec 8030}
end{minipage}
end{figure}
end{document}
I see no problem; captionof
is not needed because you are in a figure
environment.
I'd align the two top figures at their bottom, so the captions are aligned. Probably they should use the same width (or the same height).
documentclass{article}
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centering
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.50textwidth]{example-image-a}
caption{Genelec 8010 AP}label{fig:Genelec 8010}
end{minipage}%
begin{minipage}[b]{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-b}
caption{Genelec 8020 CPM}label{fig:Genelec 8020}
end{minipage}
bigskip
begin{minipage}{.5textwidth}
centering
includegraphics[width=.69textwidth]{example-image-c}
caption{Genelec 8030 BPM}label{fig:Genelec 8030}
end{minipage}
end{figure}
end{document}
answered Nov 23 '18 at 17:04
egregegreg
735k8919343260
735k8919343260
add a comment |
add a comment |
With subcaption
:
documentclass{article}
usepackage{subcaption}
usepackage{showframe}% for testing purpose only
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centeringbegin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.5linewidth]{example-image-a}
caption{label{fig:Genelec 8010}Genelec 8010 AP}
end{subfigure}hfill
begin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.69linewidth]{example-image-b}
caption{label{fig:Genelec 8020}Genelec 8020 CPM}
end{subfigure}vspace{10pt}
begin{subfigure}[b]{linewidth}
centeringincludegraphics[width=5cm]{example-image-c}
caption{label{fig:Genelec 8030} Genelec 8030 BPM}
end{subfigure}
caption{A caption for the three figures together}
end{figure}
end{document}
add a comment |
With subcaption
:
documentclass{article}
usepackage{subcaption}
usepackage{showframe}% for testing purpose only
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centeringbegin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.5linewidth]{example-image-a}
caption{label{fig:Genelec 8010}Genelec 8010 AP}
end{subfigure}hfill
begin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.69linewidth]{example-image-b}
caption{label{fig:Genelec 8020}Genelec 8020 CPM}
end{subfigure}vspace{10pt}
begin{subfigure}[b]{linewidth}
centeringincludegraphics[width=5cm]{example-image-c}
caption{label{fig:Genelec 8030} Genelec 8030 BPM}
end{subfigure}
caption{A caption for the three figures together}
end{figure}
end{document}
add a comment |
With subcaption
:
documentclass{article}
usepackage{subcaption}
usepackage{showframe}% for testing purpose only
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centeringbegin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.5linewidth]{example-image-a}
caption{label{fig:Genelec 8010}Genelec 8010 AP}
end{subfigure}hfill
begin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.69linewidth]{example-image-b}
caption{label{fig:Genelec 8020}Genelec 8020 CPM}
end{subfigure}vspace{10pt}
begin{subfigure}[b]{linewidth}
centeringincludegraphics[width=5cm]{example-image-c}
caption{label{fig:Genelec 8030} Genelec 8030 BPM}
end{subfigure}
caption{A caption for the three figures together}
end{figure}
end{document}
With subcaption
:
documentclass{article}
usepackage{subcaption}
usepackage{showframe}% for testing purpose only
usepackage{graphicx}
begin{document}
begin{figure}[htp]
centeringbegin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.5linewidth]{example-image-a}
caption{label{fig:Genelec 8010}Genelec 8010 AP}
end{subfigure}hfill
begin{subfigure}[b]{0.5linewidth}
centeringincludegraphics[width=.69linewidth]{example-image-b}
caption{label{fig:Genelec 8020}Genelec 8020 CPM}
end{subfigure}vspace{10pt}
begin{subfigure}[b]{linewidth}
centeringincludegraphics[width=5cm]{example-image-c}
caption{label{fig:Genelec 8030} Genelec 8030 BPM}
end{subfigure}
caption{A caption for the three figures together}
end{figure}
end{document}
edited Nov 23 '18 at 17:50
answered Nov 23 '18 at 17:19
CarLaTeXCarLaTeX
34.9k553145
34.9k553145
add a comment |
add a comment |
One option using the subfig
package:
documentclass{article}
usepackage{subfig,graphicx}
begin{document}
begin{figure}
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8010 AP]{label{Genelecs:Genelec 8010 AP}includegraphics[width=.50linewidth]{example-image-a}}
end{minipage}%
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8020 CPM]{label{Genelecs:Genelec 8020 AP}includegraphics[width=.69linewidth]{example-image-b}}
end{minipage}parmedskip
centering
subfloat[Genelec 8030 BPM]{label{Genelecs:Genelec 8030 AP}includegraphics[width=5cm]{example-image-c}}
caption{my fig}
label{fig:Genelecs}
end{figure}
end{document}
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 '18 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 '18 at 15:12
add a comment |
One option using the subfig
package:
documentclass{article}
usepackage{subfig,graphicx}
begin{document}
begin{figure}
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8010 AP]{label{Genelecs:Genelec 8010 AP}includegraphics[width=.50linewidth]{example-image-a}}
end{minipage}%
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8020 CPM]{label{Genelecs:Genelec 8020 AP}includegraphics[width=.69linewidth]{example-image-b}}
end{minipage}parmedskip
centering
subfloat[Genelec 8030 BPM]{label{Genelecs:Genelec 8030 AP}includegraphics[width=5cm]{example-image-c}}
caption{my fig}
label{fig:Genelecs}
end{figure}
end{document}
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 '18 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 '18 at 15:12
add a comment |
One option using the subfig
package:
documentclass{article}
usepackage{subfig,graphicx}
begin{document}
begin{figure}
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8010 AP]{label{Genelecs:Genelec 8010 AP}includegraphics[width=.50linewidth]{example-image-a}}
end{minipage}%
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8020 CPM]{label{Genelecs:Genelec 8020 AP}includegraphics[width=.69linewidth]{example-image-b}}
end{minipage}parmedskip
centering
subfloat[Genelec 8030 BPM]{label{Genelecs:Genelec 8030 AP}includegraphics[width=5cm]{example-image-c}}
caption{my fig}
label{fig:Genelecs}
end{figure}
end{document}
One option using the subfig
package:
documentclass{article}
usepackage{subfig,graphicx}
begin{document}
begin{figure}
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8010 AP]{label{Genelecs:Genelec 8010 AP}includegraphics[width=.50linewidth]{example-image-a}}
end{minipage}%
begin{minipage}[b]{.5linewidth}
centering
subfloat[Genelec 8020 CPM]{label{Genelecs:Genelec 8020 AP}includegraphics[width=.69linewidth]{example-image-b}}
end{minipage}parmedskip
centering
subfloat[Genelec 8030 BPM]{label{Genelecs:Genelec 8030 AP}includegraphics[width=5cm]{example-image-c}}
caption{my fig}
label{fig:Genelecs}
end{figure}
end{document}
edited Nov 23 '18 at 15:10
answered Nov 23 '18 at 14:56
AboAmmarAboAmmar
34.7k32985
34.7k32985
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 '18 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 '18 at 15:12
add a comment |
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 '18 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 '18 at 15:12
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 '18 at 15:02
Yes, add a second bracket
[..]
with each subcaption, see my edit.– AboAmmar
Nov 23 '18 at 15:04
Yes, add a second bracket
[..]
with each subcaption, see my edit.– AboAmmar
Nov 23 '18 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
inside subfloat command or after that
– Ahmad Bilal
Nov 23 '18 at 15:05
The sub-captions are written inside the second bracket for
subfloat
as: subfloat[<subcaption>]{..}
, see my answer.– AboAmmar
Nov 23 '18 at 15:12
The sub-captions are written inside the second bracket for
subfloat
as: subfloat[<subcaption>]{..}
, see my answer.– AboAmmar
Nov 23 '18 at 15:12
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%2f461417%2fhow-to-put-3-figures-in-latex-with-2-figures-side-by-side-and-1-below-these-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
There should be 3 different captions? If not, you can use
includegraphics
3 times inside the samefigure
environment, 2 on the same row, and the last below using \– Sigur
Nov 23 '18 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 '18 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 '18 at 14:43
What you need is
subfigure
.– Sigur
Nov 23 '18 at 14:44
actually 2 figures side by side with different captions and then third picture below these 2 side by side pic at centre
– Ahmad Bilal
Nov 23 '18 at 14:45