TeXhax Digest, Vol 2001 #1 - 5 msgs

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Mon Jan 29 12:36:59 CET 2001


> I would like to put a picture on the title page of a report.
> But the obvious way to do it:
> 
> \begin{abstract}
>     \begin{figure}[H]
>        \begin{center}
>            \includegraphics[scale=3]{picture.eps}
>        \end{center}
>     \end{figure}
> \end{abstract}
> 
> does not work, the picture appears on a separate page before
> the title. Is there any way of doing this?

it doesn't seem at all obvious to me; you asked for a floating figure
not for a "picture".

unless you need a caption, there's absolutely no sense in using a
figure environment.  try

\begin{abstract}
   \begin{center}
       \includegraphics[scale=3]{picture.eps}
   \end{center}
\end{abstract}

or the like.

further points:

-- never use the center environment in figures, as you have done -- it
introduces unwanted extra vertical space.  say \centering instead.
(note this doesn't work with "legacy" graphics packages, but graphics/
graphicx -- which you're using -- are fine.)

-- you _can_ get captions outside of figures, even.  see the ccaption
package, or the (trivially simple) capt-of package.

Robin Fairbairns, Cambridge






More information about the texhax mailing list