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.

Can anyone tell me how I can change the font size of the \listoffigures content (not the caption)?

I couldn't find a corresponding option in the tocloft package

share|improve this question
add comment

migrated from stackoverflow.com Aug 1 '11 at 12:31

This question came from our site for professional and enthusiast programmers.

2 Answers

If you use the KOMA package you can use for example

 \setkomafont{part}{\normalfont\bfseries}

before the table of contents, and after that change the size again with:

 \setkomafont{part}{<some other options...>}
share|improve this answer
add comment

The commands you are looking for are:

  • \cftloftitlefont: controls the appeareance of the LoF title.

  • \cftfigfont: controls the appearance of the entry (and its preceeding number, if any).

  • \cftfigpagefont: This defines the font to be used for typesetting the page number.

Those commands can be changed using \renewcommand. A little example (the result is quite ugly, but it illustrates the use of the commands):

\documentclass{article}
\usepackage{tocloft}

\renewcommand\cftloftitlefont{\Huge}
\renewcommand\cftfigfont{\tiny}
\renewcommand\cftfigpagefont{\Large}

\begin{document}
\listoffigures

\begin{figure}[!ht]\centering A\caption{test one}\end{figure}
\begin{figure}[!ht]\centering B\caption{test two}\end{figure}

\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.