I use a combination of the table and tabularx environment so that I can control the width of the table at will. However, I am unable to justify the caption (declared in the table environment) to the left side of the actual table that's declared using the tabularx environment. Any suggestions how to achieve such a justification?
Thanks,
~K
Code: Select all
\usepackage[font=bf,justification=raggedright,singlelinecheck=true,tableposition=top]{caption}
\usepackage{amsmath,amssymb,float, geometry,graphicx,natbib, tabularx,bm,pdflscape}
\begin{document}
\begin{table}[h]
\caption{Caption}
\centering
\begin{tabular*}{0.3\textwidth}{ llll }
\hline
\label{table_silverscreen}
& Col 1 & Col 2\\
\hline
Line 1 & 18.1\% & 85.9\%\\
Line 1 & 18.1\% & 85.9\%\\
\hline
\multicolumn{4}{l}{\footnotesize Sources:}
\end{tabular*}
\end{table}
\end{document}