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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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).