TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


How can I start the caption where table starts or figure starts?

\captionsetup{justification=justified, singlelinecheck=false}

does not work for me because it places the caption at the beginning of the paragraph not the beginning of the table.


share|improve this question




\ttabbox{\caption{A not so long caption.}\label{bar}}
        {\begin{tabular}{ccc} \hline
            foo & bar & baz \\\hline


enter image description here enter image description here

share|improve this answer
Any ideas about tables? – Aharoun Baalan Feb 2 '11 at 9:03
@Aharoun: maybe that you are able to replace figure with table and ffigbox with ttabbox ... ;-) – Herbert Feb 2 '11 at 9:38
@Herbert: The definition of \ttabbox is \floatbox[\captop]{table}[\FBwidth], so you don't need to specify [\FBwidth] explicitly. (Contray to that, \ffigbox equates to \floatbox{figure}.) – lockstep Feb 2 '11 at 10:02
@lockstep: true, I shouldn't use copy and paste ... ;-) thanks – Herbert Feb 2 '11 at 10:13
Thanks again, When I compile your code only, it works fine but when I use \usepackage{floatrow} in my document (my work), it gives me this error: ! Package floatrow Error: Do not use float package with floatrow.(floatrow) The latter will be skipped. – Aharoun Baalan Feb 7 '11 at 11:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.