GeneralLarge captions

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Susannah
Posts: 4
Joined: Mon Jan 14, 2008 10:47 am

Large captions

Post by Susannah »

Hi,

I was wondering if anyone might have come upon this problem before.

I have been having a problem with some of my figures when I put a large caption (say about 9-12 lines). The figure which before that was in the text, in now at the end of the document, along with all the other figs which come after it in the text. When I remove the large caption the figure is where it should be.

I am using \usepackage{graphicx} and included an example of what I am including to get a fig.

\begin{figure}[h]
\centering
\vspace{0.5cm}
\includegraphics*[width=0.9\columnwidth]{Fig1.eps}
\caption{This is an example of a long caption.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................which is now finished.}
\label{fig1}
\end{figure}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Large captions

Post by localghost »

First of all you should write your captions as short as possible. Additional explanations can be done in the surrounding text with an according reference to the concerned figure. These long captions also can cause difficulties in the List of Figures (LoF). But you can avoid that by using the short form in the optional argument of the \caption command. Choose at least [!ht] as placement parameters for the figure environment. Your current settings are overwritten by the compile anyway (see log file).


Best regards
Thorsten¹
Susannah
Posts: 4
Joined: Mon Jan 14, 2008 10:47 am

Re: Large captions

Post by Susannah »

Thanks for info about [!ht] and caption length

However there is one figure which cannot have a short caption as there is (a), (b) and (c) in figure above....so has to be quite long.

I also have another problem. I have one figure which causes the whole page to be rotated by 90deg when compiled. Any idea what I am doing wrong.
I have created that figure and others that dont cause a problem in Mayura Draw and the commands I use for all is the same. The problem figure and a well behaved one look the same when I open them in gsview32.

Any suggestions would be welcome.

Thanks,

Susannah
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Large captions

Post by localghost »

Susannah wrote:[...] I also have another problem. I have one figure which causes the whole page to be rotated by 90deg when compiled. Any idea what I am doing wrong.
I have created that figure and others that dont cause a problem in Mayura Draw and the commands I use for all is the same. The problem figure and a well behaved one look the same when I open them in gsview32. [...]
It would be good to have the code for the figure. The best way would be to create a minimal working example (MWE) that reproduces the undesired effect. Attach the concerning file if necessary to make this behaviour comprehensible.
Post Reply