I am completely new to LaTeX, and I used the template provided by my school to write my dissertation. Now the dissertation is done, but there are bits and pieces of formatting issues I need to address. One of many is to remove items denoted in Roman numerals from the Table of Contents, which are List of Figures and List of Tables (see below).
There are many posts about adding the LoF and LoT to the ToC, but not deleting them from the ToC (or if there is, I am having trouble finding it). What I have now is:
\usepackage{titletoc}
...
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\tableofcontents
\listoffigures
\listoftables
How do I keep the LoF and LoT where they are now (i.e. right after the ToC), but remove them from the ToC?
Sorry if I didn't provide enough code for you to be able to see what's happening here – if so, please let me know. Thank you so much!!
=========== addition below ============
\documentclass[12pt]{report}
\usepackage[numbers,sort]{natbib}
\usepackage{bmpsize}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tipa}
\usepackage{titletoc}
\usepackage[hyphens]{url}
\usepackage{float}
\usepackage{xtab}
\restylefloat{table}
\usepackage{gb4e}
\setlength{\parindent}{3em}
\usepackage{longtable}
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
\usepackage{tablefootnote}
\usepackage[bottom]{footmisc}
\usepackage{guthesis} % Style file for dissertation
\begin{document}
\pagenumbering{roman}
\begin{abstract}
This dissertation examines blah blah
\end{abstract}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\tableofcontents
\listoffigures
\listoftables
\newpage
\pagenumbering{arabic}
\chapter{Introduction}
...
\end{document}
=================================
Best Answer
Apparently,
guthesis
isGeorgetown University Thesis
package file, using\pseudochapter{\listfigurename}
and\pseudochapter{\listtablename}
for adding theLoF
andLoT
to the ToC.(The
guthesis.sty
can be found in a.zip
bundle here: GU Thesis LaTeX template)Since one should not edit
.sty
files, a\xpatchcmd
can applied, kicking out the 'faulty' usage.