[Tex/LaTex] How to put a figure* before the abstract

abstractfloats

I'm sadly not using double-column abstract, just single-column. This is based on the sigchi document class: https://code.google.com/p/sigchi-latex/

The obvious thing:

\documentclass{sigchi}
\begin{document}
\title{My awesome paper}
\maketitle
\begin{figure*}
\centering
    \includegraphics[width=7in]{figures/teaser.png}
\caption{Some stuff about the teaser}
\label{fig:teaser}
\end{figure*}
\begin{abstract}Talking some more.\end{abstract}
\end{document}

Does not seem to work. What is the correct way to do this?

Note that Place a two-column picture under the author affiliation and above abstract is not exactly what I want: I need a caption for my figure, still.

So I've tried also

\documentclass{sigchi}
\usepackage{caption}
\begin{document}
\title{My awesome paper}
\makeatletter
\let\@oldmaketitle\@maketitle% Store \@maketitle
\renewcommand{\@maketitle}{\@oldmaketitle% Update \@maketitle to insert...
  \includegraphics[width=7in]
    {figures/teaser.png}\bigskip}% ... an image
\captionof{figure}{Some fun facts about my image.}
\label{fig:teaser}
\makeatother

\maketitle
\end{document}

So that my figure shows up, however my caption does not show up below it; just on the second page…?

Best Answer

You were almost there with the \@maketitle redefinition:

enter image description here

\documentclass{sigchi}

\usepackage{capt-of,etoolbox}

\makeatletter
\patchcmd\@maketitle\null{{\myfigure{}\par}}{}{}
\makeatother
\begin{document}

\newcommand\myfigure{%
\centering
    \rule{2cm}{2cm}%\includegraphics
\captionof{figure}{Some stuff about the teaser}
\label{fig:teaser}
}
\title{My awesome paper}
\maketitle

\begin{abstract}Talking some more.\end{abstract}
\end{document}