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.

I'm writing a two columns document and I have two figures on the last page stacked in one column. The first one at the top and the second one almost at the bottom. How can I force the second one to be shown just after the first one with no empty lines between them?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Place the two graphics/diagrams and their captions within a single figure environment (with some vertical space added between graphic 1 and graphic 2).

EDIT: Cross-referencing works as usual -- put \label commands after each \caption.

\documentclass[twocolumn]{article}

\usepackage{lipsum}

\begin{document}

\lipsum[1-5]

\begin{figure}
\centering
\rule{1cm}{1cm}% placeholder for graphic
\caption{A figure}\label{fig:a}
\bigskip
\rule{1cm}{1cm}% placeholder for graphic
\caption{Another figure}\label{fig:b}
\end{figure}

See figure~\ref{fig:a} and figure~\ref{fig:b}.

\end{document}
share|improve this answer
    
How can I reference the two figures and still having them listed with two different major numbers (like Fig. 1 and Fig. 2)? –  andrea Sep 25 '11 at 11:12
    
@andrea: See updated answer. –  lockstep Sep 25 '11 at 11:18
    
thank you so much. –  andrea Sep 25 '11 at 12:09
1  
@andrea: You're welcome. Don't forget to upvote my answer (with the upward pointing arrow to the left of it; you need 15 reputation points before you can upvote) and possibly to accept it (by clicking on the checkmark; you can do so with a reputation of 1). –  lockstep Sep 25 '11 at 12:11
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.