I am attempting to add LOF and LOT to my current document using the memoir class. When I try to remove the spacing above the LOF and LOT titles, I get the "Undefined control sequence. \setlength{\cftbeforelottitleskip}{0pt}" error. I have commented out the lines
\setlength{\cftbeforelottitleskip}{0pt}
and
\setlength{\cftbeforeloftitleskip}{0pt}
A skeleton version of my document is shown below
Working Example
\documentclass[letterpaper,12pt,oneside]{memoir}
\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}
\DisemulatePackage{setspace}
\usepackage{setspace}
\usepackage[explicit]{titlesec}
\usepackage{blindtext}
\usepackage{tocloft}
\usepackage{hyperref}
% toc depth
\setsecnumdepth{subsubsection}
\settocdepth{section}
\setlength{\parindent}{0.5in}
% name toc
\renewcommand{\contentsname}
{\centerline{\normalsize{\normalfont{\MakeUppercase{Table of Contents}}}}}
% set chapter scshape
\renewcommand{\cftchapterfont}{\scshape}
% add dots to the TOC Chapters
\renewcommand{\cftchapterdotsep}{\cftdotsep}
% indent in TOC
\cftsetindents{chapter}{0in}{0.5in}
\cftsetindents{section}{0.5in}{0.5in}
\cftsetindents{subsection}{1.0in}{0.5in}
% add period after number in TOC
%memoir
\renewcommand{\cftchapteraftersnum}{.}
\begin{document}
\pagestyle{plain}
\pagenumbering{roman}
% remove and space before after toc title
\renewcommand{\aftertoctitle}{\vspace{1em}}
\renewcommand{\tocheadstart}{}
\addtocontents{toc}{\noindent\textbf{Chapter}\hfill\textbf{Page}\par}
\tableofcontents*
\newpage
% LIST OF TABLES
\renewcommand{\listtablename}
{\centerline{\normalsize{\normalfont{\MakeUppercase{List of Tables}}}}}
\addtocontents{lot}{\noindent\textbf{Table}~\hfill\textbf{Page}\par}
%\setlength{\cftbeforelottitleskip}{0pt}
\listoftables*
\newpage
% LIST OF FIGURES
\renewcommand{\listfigurename}
{\centerline{\normalsize{\normalfont{\MakeUppercase{List of Figures}}}}}
\addtocontents{lof}{\noindent\textbf{Figure}~\hfill\textbf{Page}\par}
%\setlength{\cftbeforeloftitleskip}{0pt}
\listoffigures*
\newpage
\pagenumbering{arabic}
\doublespacing
\chapter{Introduction}
\blindtext
\begin{table}[h]
\caption{This is a table}
\end{table}
\begin{table}[h]
\caption{This is another table}
\end{table}
\section{Intro Sample Section}
\blindtext
\begin{figure}[h]
\caption{This is a figure}
\end{figure}
\begin{figure}[h]
\caption{This is another figure}
\end{figure}
\end{document}
Here is what the page looks like with the line uncommented:
Screenshot

Questions:
- How do I remove/adjust the space above and below the LOF and LOT headings? I was able to do it for TOC with just two lines.
- In case of TOC/LOF/LOT spanning multiple pages, is there a way to repeat the TOC/LOF/LOT headings and a line such as "Figure... Page" below the heading and such on every following page.
Solution:
- Remove space before headings:
\renewcommand*{\Xheadstart}{\vspace{0em}}. Adjust space after headings:\renewcommand{\afterXtitle}{\vspace{1em}}. WhereXistoc,lot,lof - Having a clean and uniform continuous headings is somewhat difficult from my understanding. The closest I could get was by adding "Figure... Page" to the right and left sections of the headers. Not the prettiest but is better than nothing. More information on this in Page 365 (Section 21.2.3) of the
memoirmanual.
\renewcommand*{\lotheadstart}{\vspace*{-\topfiddle}}was used to move the heading up to the top of the page. – Mike Renfro Jan 04 '15 at 21:45\Xheadstartwhere X is toc,lof,lot. Thanks. – Monk Jan 04 '15 at 22:07