I'm currently using the subcaption package to set up figures with subfloats. My current code is the following :

    \caption{\textbf{Nothing} really interesting}

Such that I have my figure with (a), (b) and (c) at the top left of my subfigures. However, I would like to reduce the vertical spacing between the markers (a), (b) and (c) form the empty subcaptions, and the top of my figure.

How do I do that ? I tried to use :

\captionsetup{font=normalsize,justification=raggedright,singlelinecheck=false,skip = 30pt}

but nothing changed, not matter the value I use after "skip". More generally, how can I change all these length parameters in the subcaption package ?

Thanks a lot !

  • 1
    Use \captionsetup[sub]... or \captionsetup[subfigure]... – John Kormylo Feb 1 '18 at 17:18
  • From the subcaption manual: The default settings for subcaptions are: "margin=0pt,size=smaller,labelformat=parens,labelsep=space,skip=6pt,list=false,hypcap=false". So to override the default skip settings use either \usepackage[skip=...]{subcaption} or \captionsetup[sub]{skip=...} (as John Kormylo already wrote). – Axel Sommerfeldt May 20 '18 at 4:53

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.