My university doesn't provide me a template and I've used an external template from another university to write my final thesis. I've adding some useful things to improve the template and now I have a format issue.

I'm trying to exclude the line List of Figures and List of Tables from Table of Contents.

I've checked some previous questions but no one works for me [1] [2] and [3].

From link 1: when I tried to use tocbibind package, I have had a problem with tocbibind.sty (\tocchapter already defined)

From link 2: it uses a different template and I can't change it at this point this.

From Link 3: the use of an asterisk just at the end of \listoffigures and \listoftables does nothing (\listoffigures* , \listoftables* ).

My documentclass is an amsbook and this is the preamble:

\documentclass[openany, 11pt]{amsbook}
\usepackage[top=2.5cm, bottom=2.5cm, right=2.5cm, left=3cm]{geometry}
\usepackage[pdfborder={0 0 0}]{hyperref} 
\usepackage{parskip} % para separar párrafos con espacio.
\renewcommand{\numberline}[1]{#1. } 

This is the document:


  • Welcome to tex.sx. This answer to an earlier question may help: tex.stackexchange.com/a/123763 . The relevant suggestion is the one for \SkipTocEntry; how it's defined depends on whether or not you're using hyperref. – barbara beeton Apr 22 '20 at 21:02
  • Really thanks for your help. I've followed your links and It works!. \SkipTocEntry with \DeclareRobustCommand{\gobblefour}[4]{} was the key point. – Nicolás Rodríguez Apr 22 '20 at 22:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.