24

I am using this for captions:

\usepackage[font=small,format=plain,labelfont=bf,up,textfont=normal,up]{caption}

But they all come out centred - I want them aligned with the left margin - how can I do this?

33

Add the options justification=justified,singlelinecheck=false. This is described in the caption manual.

  • brilliant thanks... is there anyway to "pad" the top of a caption so it has a little space above it? – flesh Sep 17 '10 at 1:15
  • Again, this is in the manual. It's the skip option. – TH. Sep 17 '10 at 1:20
  • forgiveme, i only started on latex today, i dont even know where i'd find the manual! – flesh Sep 17 '10 at 1:26
  • 3
    If you're using TeX Live, run texdoc caption at the command line. Otherwise, you can just read it on the web. – TH. Sep 17 '10 at 1:46
8

Put \captionsetup{singlelinecheck = false, justification=justified} after \begin{figure} would solve the problem.

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – CarLaTeX Feb 17 '17 at 17:13
  • Moreover, your answer is a duplicate of the one already present. – CarLaTeX Feb 17 '17 at 17:17
  • @CarLaTeX To be honest, I think, that the crucial information here is mentioning \captionsetup macro. – Eenoku May 29 '19 at 14:14
  • 1
    @Eenoku You're right, the original answer is even more incomplete. – CarLaTeX May 29 '19 at 15:12

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.