When using this class: http://daviddoria.com/Uploads/acmtog.cls
I am trying to place a figure* right under the title/authors. I tried this:
\documentclass{acmtog}
\pdfminorversion=5
\usepackage{float}
\usepackage{graphicx}
\usepackage[caption=false,format=hang]{subfig} % needed for \subfloat. caption=false fixes: ``Unsupported document class (or package) detected, (caption) use of the caption package is not recommended''. format=hang makes the hanging indention in the figure captions look correct.
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{algpseudocode}
\usepackage{algorithm}
\usepackage{lipsum}
\acmVolume{VV}
\acmNumber{N}
\acmYear{2012}
\acmMonth{April}
\acmArticleNum{XXX}
\acmdoi{10.1145/XXXXXXX.YYYYYYY}
\begin{document}
\title{My paper}
\author{Me {\upshape and} My Friend
\affil{Affiliation}}
\maketitle
\begin{bottomstuff}
Authors' addresses:
\end{bottomstuff}
\def\BannerFigSize{.25}
\begin{figure*}[ht!]
\centering
\subfloat[a.]
{
\fbox{\rule{0pt}{1in} Some text \rule{1in}{0pt} }
\label{fig:banner:scene}
}
\subfloat[b.]
{
\fbox{\rule{0pt}{1in} Some text \rule{1in}{0pt} }
\label{fig:banner:strokes}
}
\caption{Our algorithms.}
\label{fig:banner}
\end{figure*}
\lipsum[1-4]
\end{document}
But the figure appears on the next page. I also tried [H] placement (from the float package) but that seems to make the image disappear entirely. Is there a better way to do this?
centerin combination withcaptionof. – Marco Daniel May 01 '12 at 15:09\def\BannerFigSize{.25} \begin{center} \subfloat[a.] { \fbox{\rule{0pt}{1in} Some text \rule{1in}{0pt} } \label{fig:banner:scene} } \subfloat[b.] { \fbox{\rule{0pt}{1in} Some text \rule{1in}{0pt} } \label{fig:banner:strokes} } \caption{Our algorithms.} \label{fig:banner} \end{center}
– David Doria May 01 '12 at 15:15