Giter Site home page Giter Site logo

thesis-latex-template's Introduction

Thesis Template

These are the files I used while writing my master thesis. It uses latex-mk. To generate the sample pdf file run make at the project's root directory.

Generate glossaries with latex-mk

To generate glossaries with latex-mk add the following snippet to your ~/.latexmkrc file:

add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
sub makeglo2gls {
            system("makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");
}

Structure

The main file is the thesis.tex which in turn includes the thesis.sty file. All commands, environments and packages are defined in the thesis.sty file, while the thesis.tex includes the chapters, the references and defines a basic structure.

Chapters are included from the chapters folder using the subfiles package. The term definitions reside in the glossary folder. For images figures etc I prefer the img folder using a flat layout, but that's more of a personal taste. Finally frontmatter and backmatter are in the frontmatter and endmatter folders respectively.

Packages

The list of packages used:

  • fontenc
  • tgtermes
  • geometry
  • subfiles
  • setspace
  • parskip
  • graphicx
  • caption
  • subcaption
  • multirow
  • hyperref
  • url
  • glossaries
  • tocbibind
  • underlin
  • listings

Scripts

The img2eps.sh scripts in an imagemagick wrapper which converts image files to the eps format. The new-chapter.py is a script to quickly generate a scaffold of the next chapter. It accepts an optional parameter with the chapter's title. It creates the chapter file in the chapter folder using the appropriate filename.

What it looks like

Check out the pdf output here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.