Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like my academic paper to have a page-width-spanning figure right underneath the title. How do I do this? Whenever I try using \begin{figure*}...\end{figure*} with the figure at the start of my paper, it always pushes it to the second page, no matter what combination of h, t, ! arguments I put.

To be clear, I want something like this: figure span to one column on double column page

but I want my figure to be at the top of the FIRST page underneath the title. Does anyone have a minimum working example?

My document begins like this:

\begin{document} \maketitle ...

share|improve this question
2  
Is this some kind of logo? Or is it a figure with a caption? –  egreg Dec 9 '12 at 22:20
    
it's a figure with a caption –  spadina Dec 9 '12 at 22:58

2 Answers 2

up vote 10 down vote accepted

You may (mis)use the title field and insert a picture. To insert a caption, I used the \captionof from caption package as a floating figure there makes me uncomfortable!

\documentclass[twocolumn]{article}
\usepackage[demo]{graphicx}
\usepackage{lipsum}
\usepackage{caption}

\title[The title]{%
The Title\\[1em]
\includegraphics[width=\textwidth]{logo}%
\captionof{figure}{This is a figure}
}
\author{The Author}
\date{\today}

\begin{document}

\maketitle

\lipsum[1-5]

\end{document}

enter image description here

To avoid trouble with headers or bookmarks use

 \title[The Title]{The Title\\[1em] 
  \includegraphics[width=\textwidth]{logo}
  \captionof{figure}{This is a figure}
  }

as suggested by Gonzalo.

share|improve this answer
    
thanks for the example. both answers were good but I'll accept this one. –  spadina Dec 9 '12 at 23:24

This way:

\documentclass[12pt,twocolumn]{article}

\usepackage{float}

\usepackage{lipsum} % provides just dummy text

\begin{document}

\twocolumn[{\begin{figure}[H]
\setlength{\linewidth}{\textwidth}
\setlength{\hsize}{\textwidth}
\centering
\rule{10cm}{5cm} % this is your image
\caption{My first float}
\end{figure}}]

\lipsum % provides just dummy text

\end{document}

How does it work:

  • The command \twocolumn initializes twocolumn mode. It has an optional argument that gets typeset as a "header" in the onecolumn mode.

  • In this header we put a float placed Here (please, never use H specifier elsewhere).

  • Inside the float, we have to convince LaTeX that it's a wide figure, by correctly redefining the two width parameters.


Version with \maketitle

The difference is that instead of using the command \twocolumn, we add the figure into the command \@maketitle which is responsible for typesetting the title material.

\documentclass[12pt,twocolumn]{article}

\usepackage{float}

\usepackage{lipsum} % provides just dummy text

\title{MyTitle}
\author{Me the 1st}

\begin{document}

\makeatletter
\g@addto@macro\@maketitle{
  \begin{figure}[H]
  \setlength{\linewidth}{\textwidth}
  \setlength{\hsize}{\textwidth}
  \centering
  \rule{10cm}{5cm} % this is your image
  \caption{My first float}
  \end{figure}
}
\makeatother

\maketitle

\lipsum % provides just dummy text

\end{document}
share|improve this answer
    
You are right about mwe's. But the question said below the title. Without a mwe, it is hard to say which way they get the title! :-) –  Harish Kumar Dec 9 '12 at 22:35
    
Hi @tohecz, sorry, I wasn't clear... I do have a \maketitle; I apologize my question wasn't clear. With a \maketitle above the \twocolumn code you suggested, I have a blank first page except for the title, and my desired figure appears on the top of the second page. any ideas? –  spadina Dec 9 '12 at 22:56
    
@spadina I added a version that should work with \maketitle. If it does not work, please edit your question and provide a full Minimal Working Example. –  tohecz Dec 9 '12 at 23:03
    
that worked! thanks –  spadina Dec 9 '12 at 23:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.