% ======================================================
% Configurations
% ======================================================
\documentclass{configurations}
\renewcommand{\baselinestretch}{1.0}
\usepackage{fullpage}
\usepackage{natbib}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{graphicx}
\usepackage{pgfgantt}
\usepackage{hyperref}
\usepackage{tocloft}
\usepackage[utf8]{inputenc}
\usepackage[dvipsnames]{xcolor}
\usepackage[margin=1in,letterpaper]{geometry}
\usepackage[justification=centering,font=small]{caption}
\hypersetup{colorlinks=true,citecolor=blue,linkcolor=black,urlcolor=blue}
\captionsetup[figure]{labelfont={bf},name={Fig.},labelsep=period}
% ======================================================
% Cover Page Information
% ======================================================
% ======================================================
% Document Layout
% ======================================================
\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\cfttoctitlefont}{\hfil\bfseries\small}
\renewcommand{\cftaftertoctitle}{\hfil}
\thispagestyle{empty}
% Add a bit of vertical space between chapter entries in the ToC
\begin{document}
\makecoverpage
\pagenumbering{roman}
\makecopyrightpage
\setcounter{tocdepth}{3} % Control depth of entries
\tableofcontents
\newpage
\addcontentsline{toc}{section}{Introduction}
\input{sections/introduction}
\input{sections/chapter1}
\input{sections/chapter2}
\input{sections/chapter3}
\addcontentsline{toc}{section}{References}
\bibliographystyle{apalike}
\bibliography{refs.bib}
\end{document}
Assistant
To add the label "Page" at the top of the right column in your Table of Contents—above the page numbers—you can customize the format of the page number column in the ToC using the tocloft package. Specifically, the tocloft package allows you to use the \cftpagenumbername command to set a header title over the page number column.
Here's how to do it:
✅ Solution:
Insert the following lines after\usepackage{tocloft} and before\begin{document} in your LaTeX preamble:
latex
% Add "Page" heading to the page number column in the TOC
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftafterloftitle}{\hfill}
\renewcommand{\cftafterlottitle}{\hfill}
\renewcommand{\cftpagenumbername}{\hspace*{-2em}Page}
\setlength{\cftbeforepnum}{1.5em} % adjust spacing in case heading overlaps
📝 Optional Adjustments:
If "Page" misaligns with your content, you might want to adjust alignment. The above uses \hspace*{-2em} to shift "Page" left so that it lines up nicely with the page number column.
You can tweak:
\hspace*{-Xem} → Move "Page" label left
\setlength{\cftbeforepnum}{Xem} → Adjust spacing before page numbers (for alignment)
⚙️ Example Layout:
With the customization, your contents page header would look like (roughly):
code
TABLE OF CONTENTS
Introduction ..................................... Page i
Chapter 1 ........................................ Page 1
Chapter 2 ........................................ Page 5
...
If the alignment still isn't perfect, feel free to share a screenshot, and I can help fine-tune it!
Let me know if you're also using a List of Figures or List of Tables, and want "Page" over those too.