General ⇒ amsbook - problems when printing \listoffigures and \listoft
-
- Posts: 1
- Joined: Thu Jul 05, 2007 10:24 pm
amsbook - problems when printing \listoffigures and \listoft
\renewcommand{\thefigure}{Figure \thechapter.\arabic{figure}}
\renewcommand{\thetable}{Table \thechapter.\arabic{table}}
In the text it appears to be fine but when I print the \listoftables and \listoffigures the figure label (e.g. Figure 1.10) overlaps its caption (see file).
Anyone knows how to fix it?
Thanks,
Gabriel
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
amsbook - problems when printing \listoffigures and \listoft
Consult varioref:sawakuchig wrote: I am modifying the amsbook defaults as:
\renewcommand{\thefigure}{Figure \thechapter.\arabic{figure}}
http://www.ctan.org/tex-archive/help/Ca ... ioref.html
This is a useful package that is included with every LaTeX distribution. Its documentation:
http://www.ctan.org/tex-archive/macros/ ... rioref.pdf
With it, you can do this:
Code: Select all
\usepackage{varioref}
\renewcommand{\thefigure}{\thechapter.\arabic{figure}}
\labelformat{figure}{Figure~#1}
You may want to consider using hyperref's autoref. It will handle adding the "Figure" and "Table" for you. See this post for more details about autoref (and labelformat).