Hello good people!
I am working on my thesis using a "custom" document class; I thought that since someone else went through the trouble of creating a template that fits the university's formatting standards, it would make my life much easier... While I'm happy with most of it, I found myself having to make quite a few changes to bring it to what I want. At first I wasn't too big on doing that, since I'm learning as I go, but now that I'm into it, I'd like to get to the end! One of the things I can't seem to be able to fix is that in the "List of Figures", when the caption/description occupies more than one line of text, the second (and subsequent) line(s) is (are) indented. Is there an easy way to fix this? Here is the section of the .cls file I'm using that deals with the List of Figures:
% \listoffigures generates the "List of Figures" page
\newcommand\listoffigures{
\clearpage
\addcontentsline{toc}{preface}{\protect\listfigurename}
\begin{center}
{\chaptersize\chapterfont \listfigurename}
\end{center}
% {\normalsize Figure \hfill Description \hfill Page \par}
\@starttoc{lof}
\clearpage
}
% The next command tells how each entry should look in the List of Figures
\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
I tried to compare it with other "standard" document class files (e.g. "book.cls"), but I quickly find myself lost... I attached a picture that illustrates the results obtained.
Any help on the topic would be much appreciated!
Thanks,
Martin
General ⇒ Removing indents in the List of Figures descriptions...
Removing indents in the List of Figures descriptions...
- Attachments
-
- Illustration of the indentation in the LoF.
- Sample_LoF_with_indent.jpg (10.24 KiB) Viewed 3134 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Removing indents in the List of Figures descriptions...
Add \par right before \@starttoc{lof}.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: Removing indents in the List of Figures descriptions...
Thank you so much Juanjo! Worked perfectly!