How to place a wide figure with sub-figures in latex?

I am trying to write a report and stick to a broad figure. My document type is PRL using revtex4.1 with two columns. I have a wide figure consisting of 8 sub-figures. I try to place it at the bottom of the page, but he insists on moving to the next page. Here is the code for my wide figure:

\begin{figure*}
\centering
\subfloat[s1]{\label{fig:s1}\includegraphics[width=0.20\textwidth]{s1.png}}\qquad
\subfloat[s2]{\label{fig:s2}\includegraphics[width=0.20\textwidth]{s2.png}}\qquad
\subfloat[s3]{\label{fig:s3}\includegraphics[width=0.20\textwidth]{s3.png}}\qquad
\subfloat[s4]{\label{fig:s4}\includegraphics[width=0.20\textwidth]{s4.png}}\\
\subfloat[s5]{\label{fig:s5}\includegraphics[width=0.20\textwidth]{s5.png}}\qquad
\subfloat[s6]{\label{fig:s6}\includegraphics[width=0.20\textwidth]{s6.png}}\qquad
\subfloat[s7]{\label{fig:s7}\includegraphics[width=0.20\textwidth]{s7.png}}\qquad
\subfloat[s8]{\label{fig:s8}\includegraphics[width=0.20\textwidth]{s8.png}}
\caption{\label{fig:s}Caption}
\end{figure*}
+3
source share
2 answers

Try also

\begin{figure*}[!hb]

If your figure is too wide, this can help: Center wide tables or numbers .

+1
source

I don’t know if this will work, but you tried using placements, i.e.

\begin{figure*}[b]

where b stands for bottom?

float ( \begin {document}:

\usepackage{float}

\begin{figure*}[H]

, , , , , .

, , , ( , ).

, 6 LaTeX , .

0

Source: https://habr.com/ru/post/1756686/


All Articles