Putting "Appendix Table" instead of "Table" at top of pages
December 1, 2010
Mark Senn

Putting "Appendix Table" instead of "Table" at top of pages.

1. Put

% Change \listoftables to print "Table" or "Appendix Table"
% on each page as appropriate.  Put
%
%     \addcontentsline{lot}{\def\prefix{Appendix }}
%     \newpage
%
% (with a totally blank line above and below) right after your
% \appendices command in your thesis.tex file.
\makeatletter
\def\prefix{}
\renewcommand{\listoftables}{
  \@@nonchapter{next}{LIST OF TABLES}{y}{0pt}
  {\leftskip=0pt \noindent\hbox to\textwidth{\prefix Table\hfil Page}\par}
  {%
    \output={
      \let \par \@@par
      \ifnum \outputpenalty<-\@M
        \@specialoutput
      \else
        \@makecol
        \@opcol
        \@startcolumn
        \@whilesw \if@fcolmade \fi
          {%
           \@opcol\@startcolumn}%
      \fi
      \ifnum \outputpenalty>-\@Miv
        \ifdim \@colroom<1.5\baselineskip
          \ifdim \@colroom<\textheight
            \@latex@warning@no@line{Text page \thepage\space
              contains only floats}%
            \@emptycol
          \else
            \global \vsize \@colroom
          \fi
        \else
          \global \vsize \@colroom
        \fi
      \else
        \global \vsize \maxdimen
      \fi
      {\leftskip=0pt \noindent\hbox to\textwidth{\prefix Table\hfil Page}\par}
    }
    \renewcommand{\baselinestretch}{1}\reset@font
    \@starttoc{lot}
  }
}
\makeatother
followed by a blank line immediately before your \listoftables command in your front.tex file.

2. Right before your first table in the first or only appendix put

    \addtocontents{lot}{\protect\def\protect\prefix{Appendix }}
    \addtocontents{lot}{\vskip 12pt}
    \addtocontents{lot}{\noindent Appendix Table\hfill Page}
to start appendix tables on this list of tables page, or put
    \addtocontents{lot}{\protect\def\protect\prefix{Appendix }}
    \addtocontents{lot}{\protect\newpage}
to start appendix tables on the next list of tables page.

Revised: December 1, 2010
Created: November 29, 2010