Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Memoir provides these two declarations to control the vertical space surrounding a subcaption:

\tightsubcaptions
\loosesubcaptions

I was wondering if there is a way to control this spacing more accurately; perhaps using something that allows me to specify exactly the amount of spacing?

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

The \tightsubcaptions command is defined as follows:

\newcommand{\tightsubcaptions}{%
  \subfloattopskip = 5\p@
  \subfloatcapskip  = \z@
  \subfloatcaptopadj = 3\p@
  \subfloatbottomskip = 5\p@
  \subfloatlabelskip = 0.33em \@plus 0.07em \@minus 0.03em
  \subfloatcapmargin = \z@
  \@tightsubcaptrue
}

So you can play with the various skip values (presumably the \subfloattopskip and \subfloatbottomskip.)

You shouldn't need to redefine the \tightsubcaptions command, but just change the sub values after setting \tightsubcaptions.

For example, you can change the \subfloattopskip to 0 like so:

\setlength{\subfloattopskip}{0pt}
share|improve this answer
    
Thanks @Alan. Would you mind explaining how I can change the value of \subfloattopskip after setting \tightsubcaptions? –  user815423426 Mar 26 '12 at 13:46
1  
@roseck You can just use \setlength. I've added an example. –  Alan Munn Mar 26 '12 at 14:06
add comment

Your Answer

 
discard

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.