How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...
up vote
1
down vote
favorite
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
up vote
1
down vote
favorite
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 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 at 14:43
What you need issubfigure
.
– Sigur
Nov 23 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 at 14:45
|
show 3 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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 at 14:22
Ahmad Bilal
213
213
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 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 at 14:43
What you need issubfigure
.
– Sigur
Nov 23 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 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 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 at 14:43
What you need issubfigure
.
– Sigur
Nov 23 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 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 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 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 at 14:43
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 at 14:43
What you need is
subfigure
.– Sigur
Nov 23 at 14:44
What you need is
subfigure
.– Sigur
Nov 23 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 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 at 14:45
|
show 3 more comments
5 Answers
5
active
oldest
votes
up vote
1
down vote
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}
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
add a comment |
up vote
1
down vote
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 |
up vote
1
down vote
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 |
up vote
1
down vote
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 |
up vote
0
down vote
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 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 at 15:12
add a comment |
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
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}
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
add a comment |
up vote
1
down vote
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}
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
add a comment |
up vote
1
down vote
up vote
1
down vote
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 at 15:03
Sigur
23.3k354135
23.3k354135
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
add a comment |
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
Thank u so much. It works
– Ahmad Bilal
Nov 23 at 16:22
add a comment |
up vote
1
down vote
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 |
up vote
1
down vote
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 |
up vote
1
down vote
up vote
1
down vote
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 at 16:48
John Kormylo
43.3k12465
43.3k12465
add a comment |
add a comment |
up vote
1
down vote
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 |
up vote
1
down vote
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 |
up vote
1
down vote
up vote
1
down vote
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 at 17:04
egreg
700k8518633137
700k8518633137
add a comment |
add a comment |
up vote
1
down vote
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 |
up vote
1
down vote
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 |
up vote
1
down vote
up vote
1
down vote
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 at 17:50
answered Nov 23 at 17:19
CarLaTeX
27.5k445120
27.5k445120
add a comment |
add a comment |
up vote
0
down vote
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 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 at 15:12
add a comment |
up vote
0
down vote
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 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 at 15:12
add a comment |
up vote
0
down vote
up vote
0
down vote
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 at 15:10
answered Nov 23 at 14:56
AboAmmar
31.4k22781
31.4k22781
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 at 15:12
add a comment |
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 at 15:02
Yes, add a second bracket[..]
with each subcaption, see my edit.
– AboAmmar
Nov 23 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
The sub-captions are written inside the second bracket forsubfloat
as:subfloat[<subcaption>]{..}
, see my answer.
– AboAmmar
Nov 23 at 15:12
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 at 15:02
i want to give caption to each figure separately
– Ahmad Bilal
Nov 23 at 15:02
Yes, add a second bracket
[..]
with each subcaption, see my edit.– AboAmmar
Nov 23 at 15:04
Yes, add a second bracket
[..]
with each subcaption, see my edit.– AboAmmar
Nov 23 at 15:04
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
inside subfloat command or after that
– Ahmad Bilal
Nov 23 at 15:05
The sub-captions are written inside the second bracket for
subfloat
as: subfloat[<subcaption>]{..}
, see my answer.– AboAmmar
Nov 23 at 15:12
The sub-captions are written inside the second bracket for
subfloat
as: subfloat[<subcaption>]{..}
, see my answer.– AboAmmar
Nov 23 at 15:12
add a comment |
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 at 14:42
YES 3 DIFFERENT CAPTIONS FOR 3 different pics
– Ahmad Bilal
Nov 23 at 14:43
can u help me with code?
– Ahmad Bilal
Nov 23 at 14:43
What you need is
subfigure
.– Sigur
Nov 23 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 at 14:45