I am trying to format my tables and figures' captions with the caption package. What I want is the caption label separated from the caption text by a new line and both of them completly to the left margin. Here is my attempt (and MWE):



  abc & abc & abc \\
  abc & abc & abc \\

And this is the output:

Caption with options enabled

This only way to do what I want is to created a long title:

Long title with option disabled

Then the raggedleft option works:

Long title with raggedleft

Am I missing something ? Why don't raggedright and raggedleft options work for a sort caption ?

  • 4
    Add the option singlelinecheck=off to deactivate centered short captions. – Gonzalo Medina Jun 21 '13 at 15:48
  • If you have an up-to-date TeX distribution, loading xunicode and xltxtra is not recommended any more. – egreg Jun 21 '13 at 17:42

By default, short captions (spanning no more than one line) will be centered (this is so in standard LaTeX, and the caption package honors this convention); deactivate this using singlelinecheck=off:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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