Graphics, Figures & Tablesspacing in list of figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
shaikster
Posts: 9
Joined: Sat Sep 27, 2008 12:14 am

spacing in list of figures

Post by shaikster »

Hello all,

I have attached an image for a better understanding of my problem. In the attached image you can see that the description for figure 2.6 and 3.5 extends to a 2nd line. I would like to have a single space in such situations while keeping double spacing if the description does not extend into the second line.

I hope my explanation was clear enough. I would appreciate any help.

Thanks,
Sameer
Attachments
lof.JPG
lof.JPG (114.92 KiB) Viewed 3849 times

Recommended reading 2024:

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

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

torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

spacing in list of figures

Post by torbjorn t. »

Could you perhaps use the option for a short caption?

Code: Select all

\caption[short caption for lof]{long caption for figure}
Edit: I'm sorry, I see this didn't exactly answer your question. I'll let it stand anyway.
shaikster
Posts: 9
Joined: Sat Sep 27, 2008 12:14 am

Re: spacing in list of figures

Post by shaikster »

That is one possibility. But its very tedious to go back and do that as there are more than 50 figures in my document.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: spacing in list of figures

Post by gmedina »

Hi,

since, apparently, you are changing the standard interline space, we will need to see some
relevant parts of your actual code, in order to provide effective help. Please post a minimal
compilable example showing all the aspects relevant to your problem (documentclass used,
any changes made to the interline space, etc.)
1,1,2,3,5,8,13,21,34,55,89,144,233,...
shaikster
Posts: 9
Joined: Sat Sep 27, 2008 12:14 am

Re: spacing in list of figures

Post by shaikster »

I am not very sure of what part of the file might help you to debug this problem. Therefore, I have attached the class file and the style file that I am using to complile my document. Thanks for your help.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

spacing in list of figures

Post by gmedina »

Hi,

the .cls file that you attached uses really obsolete packages (fancyheadings, doublespace, for example);
furthermore, the style file (thesis.sty) has some coding mistakes that originate errors during compilation;
one example of those mistakes can be found in lines 175ff:

Code: Select all

\def\loadAbstract#1{
    \chapter*{\normalfont #1}
    \begin{center}
    \singlespace
      %{\uppercase{\@author}}: {\@title}. (Under the direction of \uppercase{
      %})
      \normalfont{\normalsize{}}: }})  
    \end{center}     
    \par
    \parindent=5mm
    }
Under these conditions I cannot help you. My advise would be to contact the creators of the class and of
the style file.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
shaikster
Posts: 9
Joined: Sat Sep 27, 2008 12:14 am

Re: spacing in list of figures

Post by shaikster »

Ok..I appreacite your help.
Post Reply