[Tex/LaTex] how to add nine figures to a two column page

captionsepstwo-column

I am trying to add 9 figures in the middle of the page in a two column paper so that the caption of the figures appears in a two column style so that the paper looks something like this

enter image description here

This is the code I am using before adding the figures

%%
%% Beginning of file 'sample.tex'
%%
%%  2007 September
%%
%% This is a sample manuscript marked up using the
%% AASTeX v5.x LaTeX 2e macros.
%%  mimicing ASTR journal style
\documentclass{aastex}
\usepackage{spr-astr-addons}
\usepackage{url}\urlstyle{rm}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}


\RequirePackage{color}
\def\imagei{\centerline{\color[gray]{.75}\rule{\hsize}{4pc}}}%
\def\imageii{\centerline{\color[gray]{.75}\rule{4pc}{4pc}}}%



\begin{document}

\title{Title}


\begin{abstract}

\begin{description}

\item[PACS numbers] 04.50.Kd, 04.20.-q, 04.25.Nx
\end{description}

\end{abstract}


\keywords{Keywords}

\section{Intro}




\section{Conclusion}


\end{document}

%%
%% End of file `sample.tex'.

Does anyone know how to add the figures so they look like the image above.

Thanks

Best Answer

Adapting my answer to Is it possible to have a two-column figure caption in revtex?

\documentclass{aastex}
%\usepackage{spr-astr-addons} % I haven't it

\usepackage{url}\urlstyle{rm}
\usepackage{graphicx}
\usepackage{color}
\usepackage[caption=false]{subfig}

\usepackage{lipsum}

\captionsetup[subfigure]{position=top}

\makeatletter
\newcommand{\twocolumncaption}{\@dblarg\@twocolumncaption}
\def\@twocolumncaption[#1]#2{%
  \renewcommand{\@makecaption}[2]{%
    \par\vskip\abovecaptionskip\begingroup\small\rmfamily
    \splittopskip=0pt
    \setbox\@tempboxa=\vbox{
      \@arrayparboxrestore \let \\\@normalcr
      \hsize=.5\hsize \advance\hsize-1em
      \let\\\heading@cr
      \noindent ##1\ ##2\par% this line for aastex
    }%
    \vbadness=10000
    \setbox\z@=\vsplit\@tempboxa to .55\ht\@tempboxa
    \setbox\z@=\vtop{\hrule height 0pt \unvbox\z@}
    \setbox\tw@=\vtop{\hrule height 0pt \unvbox\@tempboxa}
    \noindent\box\z@\hfill\box\tw@\par
    \endgroup\vskip \belowcaptionskip
  }%
  \setlength{\abovecaptionskip}{4ex}%
  \caption[#1]{#2}%
}
\makeatother



\begin{document}

\title{Title}
\author{A. Uthor}
\affil{Somewhere}

\begin{abstract}

\lipsum[2]

\begin{description}

\item[PACS numbers] 04.50.Kd, 04.20.-q, 04.25.Nx
\end{description}

\end{abstract}


\keywords{Keywords}

\maketitle

\section{Intro}

\lipsum[1-3]

\begin{figure*}
\centering

\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}\ 
\subfloat[]{\includegraphics[width=0.25\textwidth]{example-image}}

\twocolumncaption{%
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut,
placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, 
nonummy eget, consectetuer id, vulputate  a, magna. Donec vehicula augue eu neque. 
Pellentesque habitant morbi  tristique senectus et netus et malesuada fames ac turpis 
egestas. Mauris  ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum 
urna  fringilla.}

\end{figure*}

\lipsum

\section{Conclusion}

\lipsum

\end{document}

enter image description here

If the Springer style already makes the two column caption, remove the code from \makeatletter to \makeatother (included) and just use \caption.