Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to reduce the blank space under subfigures ?

7,936 views
Skip to first unread message

Joenyim Kim

unread,
Jan 29, 2004, 5:22:35 PM1/29/04
to
Dear all,

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

Anna Choma

unread,
Jan 30, 2004, 5:32:44 AM1/30/04
to

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

Joenyim Kim

unread,
Jan 31, 2004, 2:42:17 PM1/31/04
to

"Anna Choma" <anc...@wp.pl> wrote in message
news:pan.2004.01.30....@wp.pl...

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)...


Joenyim Kim

unread,
Jan 31, 2004, 3:02:23 PM1/31/04
to

"Joenyim Kim" <jeonyi...@yahoo.com> wrote in message
news:bvh0ep$60m$1...@mozo.cc.purdue.edu...


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?

Dan Luecking

unread,
Feb 2, 2004, 11:27:11 AM2/2/04
to

\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

Brent W Lievers

unread,
Feb 2, 2004, 2:45:38 PM2/2/04
to
Joenyim Kim <jeonyi...@yahoo.com> wrote:
> I am trying to reduce the blakn space under subfigures. For example, I am
> having the following figures:

<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

Dr Engelbert Buxbaum

unread,
Feb 4, 2004, 7:01:34 AM2/4/04
to
Joenyim Kim wrote:


> 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".

0 new messages