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 want to create a table, in a two column style page (IEEEtran) which will range in both columns. Any idea about this issue?

share|improve this question

migrated from stackoverflow.com Apr 26 '12 at 4:10

This question came from our site for professional and enthusiast programmers.

    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Apr 26 '12 at 4:17

1 Answer 1

You could use the table* environment:

enter image description here

\documentclass{IEEEtran}% http://www.ctan.org/pkg/ieeetran
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\section{A section}
\begin{table*}[t]
  \centering
  \begin{tabular}{*{15}{c}}
    \hline
    One & Two & Three & Four & Five & Six & Seven & Eight & Nine & Ten & Eleven & Twelve & Thirteen & Fourteen & Fifteen \\
    \hline
    Fifteen & Fourteen & Thirteen & Twelve & Eleven & Ten & Nine & Eight & Seven & Six & Five & Four & Three & Two & One \\
    \hline
  \end{tabular}
  \caption{Here is a caption.}
\end{table*}
\lipsum[1-20]
\end{document}

There are problems with this approach, like the fact that the float will most certainly follow the page that it is defined on and could therefore cause floats to get intermixed.

Read more about page-wide floats in twocolumn format on the UK TeX FAQ entry: Wide figures in two-column documents

share|improve this answer

Your Answer

 
discard

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