TransWikia.com

3 Figures in a column in LaTeX document

TeX - LaTeX Asked on September 25, 2021

I am using the following command:

begin{figure}[h!]
    begin{subfigure}{.5textwidth}
        centering
        includegraphics[width=11cm]{bilder/Mode_1_unfolding.png}  
        caption{Mode-1 unfolding of $ten{A}$}
        label{fig:mode1}
    end{subfigure}
    centering
    begin{subfigure}{.5textwidth}
        centering
        includegraphics[width=11cm]{bilder/Mode_2_unfolding.png}  
        caption{Mode-2 unfolding of $ten{A}$}
        label{fig:mode2}
    end{subfigure}
    centering
    begin{subfigure}{.5textwidth}
        centering
        includegraphics[width=11cm]{bilder/Mode_3_unfolding.png}  
        caption{Mode-3 unfolding of $ten{A}$}
        label{fig:mode3}
    end{subfigure}
    caption{ Unfolding of $ten{A}$}
    label{fig:mode}
end{figure}

As a result, I have got:

![resulted pdf][1]

Questions:

  1. Why doesn’t centering centre the Figure 1.7 in the result?

  2. How to add figures with one caption in a column without subfigure?

One Answer

Something like this with minipage/tabular/centering

enter image description here

MWE

documentclass[11pt]{article} 
usepackage[demo]{graphicx} 
usepackage{booktabs}

begin{document} 

begin{table}
centering
begin{tabular}{c}
toprule
multicolumn{1}{c}{Collection of Figures of 2D Phase Portraits}  
midrule 
begin{minipage}{dimexpr.5linewidth-2fboxseprelax}
  centering
  includegraphics[height=1.8in]{r.png}
end{minipage}  
phantom {}
begin{minipage}{dimexpr.5linewidth-2fboxseprelax}
  centering
  includegraphics[height=1.8in]{r.png}par
end{minipage}
bottomrule
end{tabular}
end{table} 

end{document}

Answered by js bibra on September 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP