0

This is the problem with the table. It doesn't appear at top of the page.My table doesn't appear at the top of the page despite using \begin{table}[tp].

\begin{table}[t]
\flushleft
\caption{Spectral parameters and comparision with McClintock et al., 
 2009}
    \label{tab:table1}
\begin{tabular} 





\hline
\textbf{S.}&\textbf{Day} &\textbf{MJD} 
& \textbf{T\textsubscript{in}(Mcl)} & \textbf{T\textsubscript{in}}& 
\textbf{$\gamma$} & \textbf{$\gamma$}&\textbf{Power law 
norm}&\textbf{Power law norm}\\
\textbf{No.}&&&(KeV)&(KeV)&(Mcl)&&(Mcl)&\\
\hline

How do I place it at the top of the page?

  • 1
    Welcome to TeX.SE. Without seeing document example with your problem is not possible to say, what you doing wrong. In normal circumstance table with tbp placement option should be on the top of the page. SO, please provide a small but complete document (MWE: minimal Working Example) which will show your problem. Also see https://tex.stackexchange.com/questions/39017/how-to-influence-the-position-of-float-environments-like-figure-and-table-in-lat – Zarko Jun 11 '19 at 03:44
  • 1
    Is the table environment on a page all by itself? – Mico Jun 11 '19 at 04:05
  • Please, send us a code, not its image (copy it from your editor and paste into your question). – Zarko Jun 11 '19 at 06:24
  • Judging from the screenshot you posted, the table is on a page all by itself (a case of a "floats-only page"). With most LaTeX document classes I'm familiar with, floats such as figure and table environments are by default centered vertically on floats-only pages. Please see the posting How to place a float at the top of a floats-only page? for information on how to override the default and, instead, place the float(s) at the top of a floats-only page. – Mico Jun 11 '19 at 06:51

1 Answers1

1

Try to use table or figure position options [htbp]:

\documentclass[11pt,a4paper]{article}
\usepackage{graphicx}

\begin{document}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.5\linewidth]{example-image-duck}
\end{figure}
\end{document}

It will push your table or figure float to the top of page even if it is alone on page:

enter image description here

(red lines indicate pae layout, I use figure since your table is unknown)

Mico
  • 506,678
Zarko
  • 296,517
  • The htbp command didn't work. The table is still at the miiddle of the page. – astroplot Jun 11 '19 at 07:02
  • With my MWE? Sorry, but i don't believe you. It works!. If this solution doesn't works in your document, than you have to me unknown a mess in it. Please, provide MWE, a small complete document which demonstrate your problem. That it doesn't work is not a helpful information. – Zarko Jun 11 '19 at 09:39