When i am inserting a table in my document, I am getting lot of space and not able to write exactly below the table. Please guide me how to place tables in Article document class.
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[british]{babel}
\usepackage[top=1.5cm,bottom=1.5cm,left=2.5cm,right=1.5cm]{geometry}
\usepackage{microtype}
\usepackage[none]{hyphenat}
\hyphenpenalty=2000 \tolerance=1000
\usepackage[fleqn]{amsmath}
\usepackage[T1]{fontenc}
\usepackage{txfonts}
\usepackage{titlesec}
\titlelabel{\thetitle.\quad}
\titleformat{\section}[hang]{\bfseries \large}{\thesection.}{0.5em}{}
\titlespacing*{\section}{0pt}{1pt}{1pt}
\titleformat{\subsection}[hang]{\bfseries}{\thesubsection.}{0.5em}{}
\titlespacing*{\subsection}{0pt}{1pt}{1pt}
\titleformat{\subsubsection}[hang]{\bfseries}{\thesubsubsection.}{0.5em}{}
\titlespacing*{\subsubsection}{0pt}{1pt}{1pt}
\usepackage[sort&compress]{natbib}
\setlength{\bibsep}{0pt}
\bibpunct{(}{)}{;}{a}{,}{;}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{booktabs}
\usepackage{ctable}
\usepackage{multirow}
\usepackage{threeparttable}
\usepackage{appendix}
%\renewcommand\appendix{\par
%\setcounter{section}{0}%
%\setcounter{subsection}{0}%
%\setcounter{table}{0} \setcounter{figure}{0}
%\gdef\thetable{\Alph{table}} \gdef\thefigure{\Alph{figure}}
%\section*{Appendix}
%\gdef\thesection{\Alph{section}} \setcounter{section}{1}}
%\hbadness=10000 \hfuzz=50pt
\usepackage{caption}
\captionsetup{margin=10pt,font=normal,labelfont=normal}
%\usepackage{amsmath} \newenvironment{smatrix}{\begin{pmatrix}}{\end{pmatrix}} %USUAL
\usepackage{amsmath} \newenvironment{smatrix}{\left(\begin{smallmatrix}}{\end{smallmatrix}\right)} %SMALL
%\usepackage{nccmath}
Waiting for your suggestion
With regards,
Upananda