Answers for "subfigures latex"

2

overleaf subfigures

% Side-by-side subfigures

usepackage{subcaption}

begin{figure}[h]
    begin{subfigure}{0.5textwidth}
        includegraphics[width=0.9linewidth]{image1}
        caption{Caption1}
        label{fig:sub1}
    end{subfigure}
    begin{subfigure}{0.5textwidth}
        includegraphics[width=0.9linewidth]{image2}
        caption{Caption2}
        label{fig:sub2}
    end{subfigure}
    caption{Subfigures}
    label{fig:Figure1}
end{figure}
Posted by: Guest on November-05-2020
1

subfigure latex

usepackage{caption}
usepackage{subcaption}
begin{document}
begin{figure}
begin{subfigure}{.5textwidth}
  centering
  % include first image
  includegraphics[width=.8linewidth]{log_demo1.png}  
  caption{Put your sub-caption here}
  label{fig:sub-first}
end{subfigure}
begin{subfigure}{.5textwidth}
  centering
  % include second image
  includegraphics[width=.8linewidth]{log_demo2.png}  
  caption{Put your sub-caption here}
  label{fig:sub-second}
end{subfigure}

newline

begin{subfigure}{.5textwidth}
  centering
  % include third image
  includegraphics[width=.8linewidth]{log_demo1.png}  
  caption{Put your sub-caption here}
  label{fig:sub-third}
end{subfigure}
begin{subfigure}{.5textwidth}
  centering
  % include fourth image
  includegraphics[width=.8linewidth]{log_demo2.png}  
  caption{Put your sub-caption here}
  label{fig:sub-fourth}
end{subfigure}
caption{Put your caption here}
label{fig:fig}
end{figure}
Posted by: Guest on June-10-2020
2

subfigure latex

begin{figure}
	centering
	begin{subfigure}[b]{0.3textwidth}
		centering
		includegraphics[width=textwidth]{first image}
		caption{first image}
		label{fig:ui1}
	end{subfigure}
	hfill
	begin{subfigure}[b]{0.3textwidth}
		centering
		includegraphics[width=textwidth]{third image}
		caption{third image}
		label{fig:ui3}
	end{subfigure}
	label{fig:three graphs}
end{figure}
Posted by: Guest on January-08-2021
1

how to include subfigure in latex

usepackage{subcaption}
begin{figure}[ht]
begin{subfigure}{.5textwidth}
  centering
  % include first image
  includegraphics[width=.8linewidth]{image_file_name}  
  caption{Put your sub-caption here}
  label{fig:sub-first}
end{subfigure}
begin{subfigure}{.5textwidth}
  centering
  % include second image
  includegraphics[width=.8linewidth]{image_file_name}  
  caption{Put your sub-caption here}
  label{fig:sub-second}
end{subfigure}
caption{Put your caption here}
label{fig:fig}
end{figure}
Posted by: Guest on December-19-2020

Browse Popular Code Answers by Language