ymichael / soc-hyp-boilerplate

SOC HYP Final Report Boilerplate for LaTeX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SOC HYP Final Report Boilerplate

See an example report here.

This repository is meant as a quickstart guide for NUS SOC students doing their Honors Year Project (HYP, aka FYP) final report in LaTeX.

It handles all the necessary styling and formatting of the final report so you can focus on your content.

*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.)

Pre-requisites

You need to install LaTeX in order to build the final report.

This document should explain how to do it for you particular machine: http://latex-project.org/ftp.html

Usage

  1. Install LaTeX.
  2. Fork this repository.
  3. Edit content.
  4. Build report.
  5. Repeat as necessary.

Once you have LaTex installed, you simply run the following command in the root folder of project to build your report:

# Optional, if you want to do a "clean" build.
$ make clean

$ make report

This generates a report.pdf file in the folder. Don't worry if you notice many other files being created. These are basically files created during the various intermediate steps of the build process.

Project Structure

This project is structured as follows:

.
|-- Makefile
|-- README.md
|-- contents
|   |-- conclusion.tex
|   |-- intro.tex
|   `-- results.tex
|-- images
|   |-- giraffe.jpg
|   `-- squirrel.jpg
|-- report.bib
|-- report.tex
|-- socreport.bst
|-- socreport.cls
`-- tables
    `-- example.tex
  • 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.
  • ./contents/:
    • This folder contains the text of the report. I included three example .tex files which are included in the report.tex.
    • 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
  • ./tables/:
    • This folder contains the tables used in the report.
    • Take a look at the example table included.
  • report.bib:
    • This file contains the information for references in the report.
    • Copy paste the BibTex citations and used them in the report using \cite{}.
    • An example in included in the introduction.

Text Formatting

Not specific to this repository, but just some LaTeX stuff to help with writing and formatting your report. These should cover 90% of all your usage.

Basic Text Formating

  • Bold text: \textbf{Bold} text
  • italics: \textit{italics}
  • monospace text: \texttt{monospace} text

Citations

To cite something, use \cite{CITATION_REF} where CITATION_REF is the citation reference.

To cite something from Google Scholar:

  1. Find the paper
  2. Click cite -> BibTex
  3. 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}
}
  1. This first argument is the citation reference.

Math and Equations

ShareLaTeX has a good intro guide here: https://www.sharelatex.com/learn/Mathematical_expressions.

For simple inlined symbols, wrap then in $: eg. $x^2$

Code

An example code listing is included in the introduction. See: https://www.sharelatex.com/learn/Code_listing.

Tables and Figures

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.

Credits

  1. This project uses the awesome Makefile courtesy of Chris Monson. You can read more about it here: http://www.bouncingchairs.net/oss/latex.html or find its source here: https://github.com/shiblon/latex-makefile.
  2. The socreport.bst and socreport.cls files are courtesy of Prof Lee Wee Sun. It basically does all the magic in making the report look like it should.
  3. The format of this repository is heavily inspired by Shawn who graciously shared his with me, saving me hours of my life.
  4. gitignore taken from https://github.com/github/gitignore
  5. Giraffe Image taken from here
  6. Squirrel Image taken from here

About

SOC HYP Final Report Boilerplate for LaTeX


Languages

Language:Makefile 70.6%Language:TeX 29.4%