Skip to content

toioski/latex-thesis-template

Repository files navigation

LaTeX Thesis Template by toioski

About

This is the LaTeX template I created and used for my Bachelor's degree thesis in Computer Science & Automation engineer. It's very simple and clean, but I think it would be right for the most of the students. Feel free to use if you like it :)

Usage

The environment I recommend to use (with OSX) to write in LateX is the following:

  • Sublime Text 3
  • LaTeXTools (plugin for Sublime Text)
  • Skim

It's very lightweight and powerful at the same time. You won't go back once you get used!

Setup

  1. Install a LaTex distribution (I suggest MacTeX for OS X)
  2. Install Sublime Text 3
  3. Install Sublime Text Package Control, a package manager that make simpler to install plugins
  4. Install LaTeXTools. If you installed Package Control just click CMD+SHIFT+P, type Install Package and search for LaTeXTools
  5. Install Skim. Once installed go to Preferences -> Sync and set Preset to Sublime Text
  6. Build the document with CMD+B and you're done!

TIP: If you want an epic theme for Sublime Text just install Material Theme by Mattia Astorino

Common problems

The package Minted say to compile with --shell-escape

Go to Preferences-> Package Settings-> LaTeXTools-> Settings - User and inside builder_settings put this:

"command": [
            "latexmk",
            "-cd", "-e",
            "$pdflatex = '%E  -shell-escape -interaction=nonstopmode -synctex=1 %S %O'",
            "-f",
            "-pdf"
      	]

You must have 'pygmentize' installed to use this package

  1. Check if you have installed pygmentize (Python package) launching which pygmentize on the Terminal
  2. If the command returns a path, then you have already installed pygmentize. You only have to make sure that this path is included under the voice texpath inside the LaTeXTools config file in Preferences-> Package Settings-> LaTeXTools-> Settings - User
  3. If the command doesn't return a path, then you have to install first pygmentize and then to go back to point 2. To install pygmentize just open the terminal and launch sudo easy_install Pygments. N.B. you cannot use brew because python has is own dependecies manager which is easy_install

Skim don't get focused after building the document

Go to Preferences-> Package Settings-> LaTeXTools-> Settings - User and set keep_focus to false

Other building problems

To help debugging the errors make sure to set display_log to true under builder_settings in Preferences-> Package Settings-> LaTeXTools-> Settings - User

License

LateX Thesis Template is released under the GNU V3.0 license. See LICENSE for details.

About

A basic LateX template for a university thesis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published