I am shocked by the lack of proper LaTeX templates for the Ph.D. thesis at Stony Brook graduate school page.
This template is modified from the thesis of Avi Srivastava. Thank him.
- Download this repository from GitHub website as a
.zipfile. - Go to Overleaf website and log in.
- When clicking on
New Projectbutton, chooseUpload Project. - Upload the downloaded
.zipfile - (optional but suggested) Connect this Overleaf document to a new Github repository. See This page
- The
main.texfile- (The line numbers mentioned here are line numbers in the template. They might change once you fill in your content.)
- Head directly to line 80 and fill in
THESIS INFORMATION - In
TITLE PAGE, you might only want to change line 138, the date. THESIS CONTENT - CHAPTERSat line 280 is the main body- NEVER write any content here
- Write your main body in separated
.texfiles and\inputthem here.
- Appendixes should be
\inputed inTHESIS CONTENT - APPENDICESat line 297 - If you need any extra packages,
\usepackagethem inYour Packagesat line 55 - For any other parts of the
main.texfile, you need to modify them at your own risk.
- The
Chaptersfolder- All the text parts should be in this folder.
- You can divide the text by
\chapteror\section- The rule of thumb is a file should not exceed 500 lines. If so, break it
- You can also create subfolders for each Chapter for a better organization.
- The
Figuresfolder- All the Figure files should be in this folder.
- If you have figures created by LaTex code (Highly not suggested), put them here as separated
.texfiles.
- The
Tablesfolder- If you have tables, put them here as separated
.texfiles. - If you generated your tables from tablesgenerator.com (Highly suggested), put the source file of the table here as well.
- If you have tables, put them here as separated
- The
Appendicesfolder- If you have appendices, put them here as separated
.texfiles.
- If you have appendices, put them here as separated
- The
main.bibfile- All citations should be here,
- Bib file merge tool
- In case you never used any citation management software and you have many
.bibfiles from previous papers, you can use to merge them into one.
- In case you never used any citation management software and you have many
CiatationChecker.pyfile- This Python script locates at the root directory of this repository.
- It will count how many times you cited each paper by scaning your
.texand.bibfiles.- This will be helpful to identify un-cited papers in the
.bibfile
- This will be helpful to identify un-cited papers in the
- How to use:
- You need to download your Overleaf project to local and unzip.
- You also need to have a python distribution installed
- By running the script, it will generate a
.csvtable showing the countings.
- LaTex table generator
- The ONLY reason that you want to use LaTeX is that there are off-the-shelf templates available such as a conference paper template from the conference website and this thesis template. NEVER, EVER, EVER, start a LaTeX document from scratch!
- It is highly recommended that any LaTeX users head to Overleaf. Avoid using any offline distributions anytime possible.
- Never define your own command if you don't want to confuse your co-author or yourself-years-later.
- Use
\begin{align}instead of\begin{equation}. They are basically the same, butalignwill allow you to add additional lines to existing equations whenever needed with ease. - When editing equations, put the equations' latex code into multiple lines, with indention.
- The rule of thumb is to never let the equation auto wrapped to a new line
- Indention rules are flexible since indention is for easier reading, not a part of the syntax.
- It is suggested to follow the indention rule of programming languages, such as the
{}rules of C++.
- It is suggested to follow the indention rule of programming languages, such as the
- If a paragraph contains many in-line equations, make each equation a new line in the latex code, so that you can relocate them easily by double clicking on the preview.