I am a naive user as for as latex package is concerned. I have a question regarding caption setting for tables. Following is the tex code for the table, i just want to put main caption in the bottom-center, right now caption is being displayed at bottom-left of table
Code: Select all
\documentclass[10pt,twocolumn]{article}
\usepackage{subfig}
\begin{document}
\begin{center}
\begin{table}[!ht]
\centering
\subfloat[table 1 \label{tab:1a}]{
\small
\centering
\begin{tabular}{|p{2 em}|p{3 em}|p{2 em}|}
\hline
\centering \textbf{A} & \centering \textbf{S} & \centering \textbf{Z} \cr
\hline
1 & a & 9 \cr
\hline
1 & a & 9 \cr
\hline
1 & a & 9 \cr
\hline
\end{tabular}
}
\subfloat[table 2 \label{tab:1b}]{
\small
\centering
\begin{tabular}{|p{2 em}|p{3 em}|p{2 em}|}
\hline
\centering \textbf{A} & \centering \textbf{S} & \centering \textbf{Z} \cr
\hline
1 & a & 9 \cr
\hline
1 & a & 9 \cr
\hline
1 & a & 9 \cr
\hline
\end{tabular}
}
\subfloat[table 3 \label{tab:1c}]{
\small
\centering
\begin{tabular}{|p{2 em}|p{3 em}|p{2 em}|}
\hline
\centering \textbf{A} & \centering \textbf{S} & \centering \textbf{Z} \cr
\hline
1 & a & 9 \cr
\hline
1 & a & 9 \cr
\hline
1 & a & 9 \cr
\hline
\end{tabular}
}
\caption{Main caption}
\label{tab:1}
\end{table}
\end{center}
\end{document}