XThesis
As user gernot recommended, I looked for the package using Google.
- The result is a GitHub project with the title Undergrad thesis at Reed College (link).
- I downloaded the project as you can see in the screenshot.
- Then you have a ZIP file that you just need to unzip.
- Since the file
XThesis.sty
is in the same folder as the main file, laTeX automatically will find it.
XTocinc
- Searching for
XTocinc.sty
lead me to website where my browser had some doubt about my personal security (link).
- But there is also a GitHub result which looks less hostile :) (link).
Content of XTocinc.sty
:
% -------------------------------------------------------------------
% Include Table of Contents in the Table of Contents
% Change spacing
% Modified by Alex, October 1994
% Bug Fix: TOC Page number when TOC spans over one page (November, 1999)
\newlength{\tclineskip}
\setlength{\tclineskip}{\baselineskip}
\def\@addcontentsline#1#2#3{\if@filesw \begingroup
\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
\def\protect##1{\string\string\string##1\string\space
\space}\@temptokena{\thepage}%
\edef\@tempa{\immediate\write
\@auxout{\string\@writefile{#1}{\protect
\contentsline{#2}{#3}{\the\@temptokena}}}}\@tempa
\if@nobreak \ifvmode\nobreak\fi\fi\endgroup\fi}
\def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\fi\chapter*{Table of Contents\@mkboth{CONTENTS}{CONTENTS}}
\newlength{\@defbaselineskip}
\setlength{\@defbaselineskip}{\baselineskip}
\setlength{\baselineskip}{\tclineskip}
%\addcontentsline{toc}{chapter}{Table of Contents}
\@starttoc{toc}
\setlength{\baselineskip}{\@defbaselineskip}
\if@restonecol\twocolumn\fi
\relax}
% -------------------------------------------------------------------
- Download the file and place it in the same folder as the rest.
Finally...
Now you can start your document...
XThesis.sty
andXTocinc.sty
. The names are rather unique, so chances are high that what you find are actually the right style files. It may be outdated versions, though, so the preferred variant is to ask the supervisor, as Barbara proposes.