I'm new to LyX, and therefore new to Latex, and I'm using LyX with the memoir class for my thesis. My current problem, well for the past few days now, is that I can't seem to remove "Contents" from being listed in the TOC. Here is what I hope to be a MWE of where I am:
Code: Select all
%% LyX 1.6.8 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,english,oldfontcommands]{memoir}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% Roman Page Numbering
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\myTOC
\clearpage
\pagenumbering{arabic}
}
% Remove Page Numbers from Top
\makeevenfoot{headings}{}{\thepage}{}
\makeoddfoot{headings}{}{\thepage}{}
\makeevenhead{headings}{}{}{}
\makeoddhead{headings}{}{}{}
\makeatother
\usepackage{babel}
\begin{document}
\title{Blah}
\author{Blah}
\date{Blah}
\maketitle
\pagebreak{}
\section{Abstract}
\pagebreak{}
\tableofcontents{}\pagebreak{}
\section{Introduction}
Blah Bhah
\end{document}
My school requires that I relabel "Contents" as "Table of..." and center it on the page. I can't have the TOC list itself. Here is my last attempt to fix the problem by adding to my preamble:
Code: Select all
%Please remove TOC from TOC
\DisemulatePackage{tocbibind}
\let\bibsection\relax
\usepackage[nottoc]{tocbibind}
%\PassOptionsToPackage[nottoc]{tocbibind}
The code above started with just the \usepackage [nottoc]{tocbibind} which caused LyX to tell me that the package had already been defined with "[]" no options. Then I added the \PassOptionsToPackage line which caused an error saying something about missing \begin{Document}. Then, after reading that memoir already loads tocbibind, I found the \Disemulate line, added the \usepackage afterward, and got an error about command \bibsection already defined. Then I added the \let\bibsection\relax line I found somewhere else. Which got rid of the error but the TOC is still in the TOC! I tried "\tableofcontents*" before all of this, which simply put a * on the next page. A couple of days ago, I think I was able to change "Contents" to "Table of Contents" fairly easily, but the change got lost. I would be extremely grateful if anyone could help me with this. Sorry in advance if this message is posted inappropriately, let me know if I'm not explaining, asking my question, or giving an MWE correctly and I'll adjust it accordingly.