I found this redefinition of a table of contents very useful for my very long table of contents within my two-column book. With a slightly modified version of the command in the link, I got what I wanted:
\makeatletter
\renewcommand\tableofcontents{%
\section*{\huge\contentsname
\@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}
\@starttoc{toc}%
}
\makeatother
The problem is that I can't figure out how to do the same for listoffigures and listoftables. Does anyone know how?
I took a guess at what might do the job (below), but that definitely didn't work. If anyone can point me to documentation, that would also be appreciated. I know how to get rid of any undesired page breaks; that's not an issue.
\makeatletter
\renewcommand\listoffigures{%
\section*{\huge\contentsname
\@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}
\@startlof{lof}%
}
\makeatother
A minimal working example:
\documentclass[9pt,openany,twocolumn]{book}
\makeatletter
\renewcommand\tableofcontents{%
\section*{\huge\contentsname
\@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}
\@starttoc{toc}%
}
\makeatother
\begin{document}
\let\cleardoublepage\relax
\frontmatter
\begingroup
\let\clearpage\relax
\tableofcontents
\listoffigures
\endgroup
\mainmatter
\chapter{Armadillo}
\section{Grubs}
\begin{figure}
\caption{Pink Fairy armadillo}
\label{fig1}
\end{figure}
\chapter{Beetle}
\section{Leaves}
\begin{figure}
\caption{Dung beetle}
\label{fig2}
\end{figure}
\chapter{Cat}
\section{Birds}
\begin{figure}
\caption{Siamese cat}
\label{fig3}
\end{figure}
I think I'm hungry??
\end{document}


\documentclass{...}and ending with\end{document}. – Apr 24 '14 at 07:30\listoffigurescommand has a\listfigurenamecommand instead of\contentsname, likewise\listoftableswith\listtablename– Apr 24 '14 at 07:39\let\clearpage\relaxsufficient? Why do you want to redefine the commands? – egreg Apr 24 '14 at 07:53