I am trying to reduce the blakn space under subfigures. For example, I am
having the following figures:
\begin{figure}[hb]\center\vspace{-0.36cm}
\mbox{
\subfigure[]{\epsfig{file=curve1.eps, scale=0.22}} \quad
\subfigure[]{\epsfig{file=curve2.eps, scale=0.22}}
}\vspace{-0.16cm}
\caption{\footnotesize text text text text text}
\label{fig_curves}
\end{figure}
The figure layout is like the following:
___________________
| |
| Figures |
|__________________|
(a) (b) (c)
Fig. 1 Caption text text text.
Other text text text text.
Now I can reduce the vertical space before figures, after (a)(b)(c), after
caption, but I tried my best but I cannot reduce white space between
"figures" and "(a)(b)(c)"...
Anybody know how to do it?
Thanks a lot
-Jeonyim
I think you should change the value of \abovecaptionskip parameter.
\setlength{\abovecaptionskip}{8pt} in the prambula should change this
space in all your document. If it's only for this one case, try
\vskip -2pt for example.
Best regards,
Anna Choma
But where do I put this \vskip -2pt command? I even don't know where do
these (a) (b) (c) come from? The space I want to reduce is the white space
above these (a), (b), (c)...
I got more confused, what is the difference between \vspace and \vskip, why
sometimes I used \vspace it did not reduce white space at all, but when I
changed to your \vskip, it worked... why?
\vspace is a LaTeX command. It adds vertical space. So does \vskip,
which is a TeX primitive command. The main difference is the following:
If used within in a paragraph, \vskip ends the paragraph and inserts the
space immediately, while \vspace lets the paragraph continue, and adds
the space between the current line and the next line of the paragraph.
I cannot, however, think of a situation where \vspace{-2pt} did not
reduce space but \vskip did. However, the location of the space might be
different.
Dan
--
Dan Luecking Department of Mathematical Sciences
University of Arkansas Fayetteville, Arkansas 72701
luecking at uark dot edu
<snip example>
It always best to post a _complete_ minimal example, similar to the
following:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage[tight]{subfigure}
\usepackage{graphicx}
\begin{document}
Some text.
\begin{figure}
\centering
\subfigure[]{\includegraphics[width=0.45\linewidth]{foo}}
\subfigure[]{\includegraphics[width=0.45\linewidth]{foo}}
\caption{A much longer caption.}
\end{figure}
More text
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
that people can cut and paste. That would have told us, for example, if
you were using the `tight' or `loose' package options available with more
recent versions of subfigure. It's described in the *documentation*.
Also in the *documentation* is a table explaining the spacing commands
(\subfigtopskip, \subfigcapskip, etc.) that might be used more easily to
accomplish what you want.
Brent
> But where do I put this \vskip -2pt command? I even don't know where do
> these (a) (b) (c) come from? The space I want to reduce is the white space
> above these (a), (b), (c)...
from the [] in your \subfigure command. Leave these square brackets out
and the letters vanish. [my title] gives you "a) my title".