Graphics, Figures & Tablesforce caption of the table to be on the top

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
fitofito
Posts: 2
Joined: Tue Aug 17, 2010 11:17 am

force caption of the table to be on the top

Post by fitofito »

Dear LaTeX people,

I have the following problem. The caption of the table, no matter where I put it, is always on the bottom of the table. In the minimal working example things are like they should be- it seems like there must be something else interfering with the placing of the caption. Does anybody has an idea?

%***************************Here the code of one table******

Code: Select all

\documentclass[twoside,12pt, english]{book}
\usepackage[tableposition=top,font=small,labelfont=bf]{caption}
\begin{document}
\begin{table}[h]
\label{rotrotrot} 
\caption{Van der Waals radii and rotational barrier of different sets of \emph{ ap} and \emph{sc} rotational isomers of bis(1,4-disubstitued 9-triptycyl)-ethynes.}
\centering
 \begin{tabular}{c c c c c c } \hline
Entry&prefered &Substituent	&  Substituent  			&  Radius  &  Rotational Barrier \\ 
&Isomer		 & 	Y	& 	X	&  $\textup{\AA}$  & kcalmol$ ^{-1}$\\ 
 \hline
1& \emph{ ap}   &CH$_3$ 	&  H 			& 1.20 	&  10.1 \\
2 &\emph{ ap}   &CH$_3$ 	& OCH$_3$   	&  1.52  	&  12.7\\
 3& \emph{ ap}    & CH$_3$	& CH$_3$   	&  1.80  	&  15.4\\
4 & \emph{ sc}    &CH$_3$ 	&  F   		&  1.47  	&  11.6 \\
 5&   \emph{ sc}    &CH$_3$ 	&  Cl  		&1.75 	&  14.7 \\
 6& \emph{ sc}    & CH$_3$	&  Br  		&  1.85  	&  16.7 \\ 
7 &  \emph{ sc}    & CH$_3$	&  I 			&  1.98  	&  17.3 \\ 
 \hline
\end{tabular} 
\end{table}
\end{document}

-- For further information I add also the preamble I am using---
\documentclass[twoside,12pt, english]{book}
\usepackage{amssymb}
\linespread{1.75}
%\usepackage[margin=10pt,font=small,labelfont=bf]{caption} % for improved layout of figure captions with extra margin, smaller font than text
\usepackage{fancyhdr} % for better header layout
\usepackage{eucal}
\usepackage[english] {babel}
\usepackage[usenames, dvipsnames]{color}
\renewcommand{\thefootnote}{\alph{footnote}}
\usepackage{color}
\usepackage[perpage]{footmisc}
\usepackage{achemso}
\usepackage{amsmath}
\usepackage{wrapfig}
\usepackage{pdfpages}
\usepackage{memhfixc} % remove conflict between the memoir class & hyperref
\usepackage{epstopdf} % to include .eps graphics files with pdfLaTeX
\usepackage{flafter} % Don't place floats before their definition
%\usepackage{topcapt} % Define \topcation for placing captions above tables (not in gwTeX)
\usepackage[tableposition=top,font=small,labelfont=bf]{caption}
\usepackage{graphicx,chemscheme, tabularx}
\bibliographystyle{achemso}
\clubpenalty = 10000 % schliesst Schusterjungen aus
\widowpenalty = 10000 % schliesst Hurenkinder aus
\hyphenation{}
\usepackage{ifthen}
%\usepackage{supertabular}
\usepackage{lscape}
\usepackage{multicol} % for pages with multiple text columns, e.g. References
\setlength{\columnsep}{20pt}
Last edited by fitofito on Tue Sep 28, 2010 4:40 pm, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

force caption of the table to be on the top

Post by localghost »

Your code snippets are useless. Please always post a full but minimal example. The operative word is »minimal«. That means to drop packages and other pieces of code that are not necessary to reproduce the problem.

Addendum: (17:55)
The example you added does not reproduce the problem thus is no MWE. You have to reduce the problem to a MWE. Providing code that is working fine is not very helpful. Furthermore I still see untagged code.


Thorsten
Post Reply