Since a few weeks I'm preparing a LaTeX template which I will use to typeset my PhD thesis.. However I've run into a little problem I could use some help with.
My problem is related to this topic: http://www.latex-community.org/forum/vi ... =45&t=4450. But I'm unable to solve it using the floatrow package.
Anyway. I have a booktabs table. The table is horizontally centered and the caption is also horizontally centered. I would like to have the caption start where the Table starts. Instead of having it centered. I'm sure it is something obvious i'm missing here... anyway here is the code:
Code: Select all
Code, edit and compile here:
%part of my preamble\usepackage{booktabs}\usepackage[labelfont={bf,sf},labelsep=period,format = plain,margin=0pt,textfont={sf},figurewithin=section,skip= 6pt, singlelinecheck = true]{caption}\captionsetup[table]{format = plain, justification = raggedright}\begin{table}[b]\caption{Lucie's assay}\label{table:lucie}\centering\begin{tabular}{@{}lll@{}}\toprule\multicolumn{1}{r}{} & \multicolumn{2}{c}{Assay condition}\\\cmidrule (r){2-3}\multicolumn{1}{l}{Enzymatic Activity} & substrate & pH\\\midrulex & x & 4.2 \\x & x & 4.2 \\x& x) & 6.0 \\x & x & 8.4 \\\bottomrule\end{tabular}\end{table}
Code: Select all
\ttabbox{\caption{Lucie's assay}\label{table:lucie}}
Any help would be greatly appreciated
