Project updated as at 13 Feb 2017, conforming to NUS SOC requirements
This repository is meant as a quickstart guide for NUS SOC students doing their Final Year Project(FYP) final report in LaTeX.
It handles all the necessary styling and formatting of the final report so you can focus on your content. We have meticulously ensured that the report conform to the Final Report Guidelines as specified in NUS - Final Report Guidelines. However, by using the code in this repository, you are agreeing that the project and its authors are dissolved from responsibility from your use of the project. You are welcome to submit a bug report using the issue tracker if you encounter any problems with the code.
*If you aren't going to use LaTeX (which is really awesome) for your final report, then you should ignore this entire repository. There is nothing here for you. (Except maybe how the final report should look like.)
You need to install LaTeX in order to build the final report. Please refer to Latex Project for installation instructions for your particular machine.
You will also need to install Make in order to automate the building of your final report. Please refer to GNU Make for installation instructions for your particular machine.
- Install pre-requisites
- Fork this repository
- Edit content
- Build report
- Repeat until... Graduation!!!
In fedora 25, the command to install all the dependencies is simply:
# dnf install latex make
- Bold text:
\textbf{Bold} text
- italics:
\textit{italics}
monospace
text:\texttt{monospace} text
To cite something, use \cite{CITATION_REF}
where CITATION_REF
is the citation reference.
To cite something from Google Scholar:
- Find the paper
- Click
cite -> BibTex
- Copy the text shown and paste into
report.bib
This should look something like:
@book{lamport1986document,
title={Document Preparation System},
author={Lamport, Leslie and LaTEX, A},
year={1986},
publisher={Addison-Wesley Reading, MA}
}
- This first argument is the citation reference.
ShareLaTeX has a good intro guide here: https://www.sharelatex.com/learn/Mathematical_expressions.
For simple inlined symbols, wrap then in $
: eg.
An example code listing is included in the introduction. See: https://www.sharelatex.com/learn/Code_listing.
A intro guide for tables is: https://www.sharelatex.com/learn/Tables and for graphs is https://www.sharelatex.com/learn/Pgfplots_package.
I also recommend using a web editor to visually create any tables you want and using them to generate tex. Eg. http://www.tablesgenerator.com/), there are many others.
Once you have all the dependencies installed, you simply run the following command in the root folder of the project:
$ make
Alternatively, if you want your reports to be archived with the timestamp appended. The generated reports will be stored in the folder ./archive/
with the timestamp appended.
$ make archive
The above 2 commands generates the report. Don't worry if you notice many other intermediate files being created. These are basically files created during the various intermediate steps of the build process.
In the case that you want to clean-up(intermediate files) the repository, you may want to run:
$ make clean
If you want to delete the generated report.pdf
along with the intermediate files, then simply run:
$ make reset
This project is structured as follows:
.
├── archive
│ └── report_2017-02-13:17:48:46.pdf
├── contents
│ ├── appendixa.tex
│ ├── appendixb.tex
│ ├── conclusion.aux
│ ├── conclusion.tex
│ ├── intro.aux
│ ├── intro.tex
│ ├── results.aux
│ └── results.tex
├── images
│ ├── giraffe.jpg
│ └── squirrel.jpg
├── Makefile
├── README.md
├── report.bib
├── report.pdf
├── report.tex
├── socreport.bst
├── socreport.cls
└── tables
└── example.tex
./archive/
:- Folder containing all your archived reports.
./contents/
:- This folder contains the text of the report.
- Remove/Add files in this folder and update
report.tex
as necessary.
./images/
:- This folder is used to contain all images.
- LaTex is also told to look for images here in
report.tex
Makefile
:- Makefile for automated building of the project.
README.md
:- This file.
report.bib
:- This file contains the information for references in the report.
- Copy paste the BibTex citations and use them in the report using
\cite{}
. They will be cited using APA style as per requirements. - An example in included in the introduction.
report.tex
:- This is the main file. It contains the meta information, abstracts, acknoledgements and all other includes.
- Edit this file with information about your project.
report.pdf
:- Generated report, for submission!
socreport.bst
andsocreport.cls
:- Latex classes, do not touch if unsure!
./tables/
:- This folder contains the tables used in the report.
- Take a look at the example table included.
- The
socreport.bst
andsocreport.cls
files are courtesy of Prof Wei Tsang Ooi: SOC'S LATEX CLASS. It was further modified and updated to meet modern requirements. - The upstream project-soc-hyp-boilerplate.