Graphics, Figures & TablesFloat problem with table* in elsevier class

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
arsenealicum
Posts: 1
Joined: Tue Apr 29, 2014 5:03 pm

Float problem with table* in elsevier class

Post by arsenealicum »

Hej forum,

I'm new here, so forgive me please if I've forgotten something. Here's my problem:

I'm currently doing an article in the elsevier, two column-class:
At a certain page, I want a table to fill both columns and be on the top of the page. However, I can't force the table to do so, it's always jumping to a random page, but not the page I want it to be at:

\documentclass[final,5p,times,twocolumn,authoryear]{elsarticle}
\usepackage{float}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{float}
\usepackage{parskip}
\usepackage{booktabs}
\usepackage{pdfpages}
\usepackage{stfloats}
\usepackage{textcomp}
\usepackage{lineno}
[...]
\begin{table*}[t] % or [b], both won't be on the page I want it to be placed
\centering
\caption{Three different model results.}
\label{tab:main_results}
\begin{tabular}{@{}llllllll}\hline
bla bla\\
\end{tabular}
\end{table*}


cheers

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply