Graphics, Figures & TablesHow to get table to start at top of page?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bobnayar
Posts: 4
Joined: Fri Dec 26, 2008 7:44 am

How to get table to start at top of page?

Post by bobnayar »

Hi. I am fairly confused about putting a table in a paper (article). I have followed the usual instructions but the table seems to be always centered vertically on the page (i.e. lots of empty space on top of the table). Any suggestions on what to do would be most appreciated. Kindly email your suggestions to me:

bobnayar"at"yahoo.com

Please replace "at" with @ in the email address above.

Many thanks

Here is the LaTeX code I am using:

Code: Select all

\documentclass [12pt] {article}
\begin{document}
\begin {table}[!t]
\textbf{\normalsize Panel C. Descriptive statistics for variables}\\
\begin {footnotesize}
\vskip 0.1in
\footnotesize {Only variables employed in our analyses are shown
below. The variables are obtained from sources listed in Table 1.}
\\
\\
\begin{tabular} {lccccc}
\hline
\\
Variable description & Variable & Mean & Std. Dev. &
Min & Max \\
\\
\hline
\\

S\&P Sovereign Credit Ratings & spscore & 14.159 & 4.493
& 1.000 & 18.000 \\
(numerical transformation)\\

Log(Gross National Income - PPP) & lngni & 9.689 &
0.710 & 7.730 & 10.629 \\

Inflation (\% change in CPI) & infcpi & 3.290 & 3.298
& -0.915 & 20.239 \\

Corruption Index & corruptti & 6.810 & 2.230 & 1.500
& 10.000 \\

Central Government Debt (\% of GDP) & jpgdebt & 55.454 &
30.768 & 3.900 & 150.160 \\

Current Account Balance & cabg2 & 1.478 & 6.231 & -
10.313 & 29.178 \\

Real Effective Exchange Rate & reer & 101.827 & 9.605
& 71.089 & 132.461 \\

Trade in Services (\% of GDP) & tradeservg & 19.062 & 15.309
& 3.921 & 127.742 \\

Concentration in Banking System & dklconc & 0.635 &
0.180 & 0.210 & 0.972 \\

Bank Liquid Reserves & bankliqra & 4.705 & 6.357 &
0.075 & 39.685 \\
\hline
\end{tabular}
\end {footnotesize}
\end {table}
\end {document}

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

How to get table to start at top of page?

Post by Stefan Kottwitz »

Hi bobnayar,

welcome to the board!
Have a look at Vertical layout of float pages in the UK TeX FAQ, there's a solution given.

Stefan
LaTeX.org admin
bobnayar
Posts: 4
Joined: Fri Dec 26, 2008 7:44 am

How to get table to start at top of page?

Post by bobnayar »

Stefan_K wrote:Hi bobnayar,

welcome to the board!
Have a look at Vertical layout of float pages in the UK TeX FAQ, there's a solution given.

Stefan
STEFAN,
Thanks so much!!!!! The solution you pointed me to worked very well. I am a happy LaTeXer now...
:D
Post Reply