I was trying to align my caption in https://www.overleaf.com/14116991zfbttpsgjsym#/54641567/ to the left. But I can't use \captionsetup{justification=raggedright,singlelinecheck=false} Since I only want several caption to be aligned to the left. Interestingly, if you delete all the code before begin document and replace it by


Then the caption will be aligned automatically (in central). Anyway I just want my caption to be aligned/ looks neat.


  • You can use \captionsetup several times in your document
    – user2478
    Commented Mar 22, 2018 at 21:05

1 Answer 1


\captionsetup can also be used locally:

  • A large group:

       \captionsetup{justification=raggedright, singlelinecheck=false}
  • or inside the floating environment:

      \captionsetup{justification=raggedright, singlelinecheck=false}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .