Skip to content

shyamupa/upenn-cis-thesis-template

Repository files navigation

UPenn CIS PhD Thesis Template

This project has the Thesis template for UPenn CIS students, that I got by modifying the template here. As far as I can tell by inspecting earlier theses before me, this template is correct.

I have organized chapters into folders so that all .tex files relevant to a certain chapter remain in one place.

I also have a makefile that compiles chapters separately (with bibliography), so that you can quickly compile the chapter you are working on, without compiling the entire thesis.

Tex Live Version

!!! Using Tex Live 2020 leads to incorrect spacing (e.g. no space around section title) !!!

Use Tex Live 2017 for correct spacing.
On Mac,

  • Download MacTex 2017 (mactex-date.pkg and mactex-ghostscript-version/date.pkg) from here
  • Install mactex.pkg and then ghostscript.pkg
  • Open the GUI software, TeX Live Utility, and change the version to be used to 2017. Goto Configure --> Change Default Tex Live Version ...

Confirm the version using xelatex --version

Compile Entire Thesis

Ensure that the correct biblio setting is active,

%% TO TURN ON BIB FOR CHAPTER (when compiling chapters separately)
% \def\biblio{\bibliographystyle{abbrvnat}\bibliography{thesis}}
%% TO TURN OFF BIB FOR EACH CHAPTER, (for compiling the whole thesis)
\def\biblio{}

And then run

make clean; make

Compile Chapter Separately

To compile a single chapter for proofreading.

Ensure that the correct biblio setting is active,

%% TO TURN ON BIB FOR CHAPTER (when compiling chapters separately)
\def\biblio{\bibliographystyle{abbrvnat}\bibliography{thesis}}
%% TO TURN OFF BIB FOR EACH CHAPTER, (for compiling the whole thesis)
% \def\biblio{}

And then run

make clean; make chapter1.pdf

Remove Line Numbering

Line numbers are useful for getting comments from people. Remove them for the final version by commenting out the following

% FOR ADDING LINE NO. I have checked, this does not mess with margins (i.e. the # appears outside the margins, so no new orphans/widows are introduced)
\usepackage{lineno}
\linenumbers

Releases

No releases published

Packages

No packages published