Skip to content

adriantre/Master-Thesis-Template

Repository files navigation

Master thesis template for writing with Sublime Text

This project is based on this thesis template.

You can import this project directly into sharelatex.com if you want, but I would highly recommend to use Sublime Text.

Requirements

Settings

Insert this setting into Preferences > Package Settings > SyntaxFold > Settings - User:

{
    "scope": "text.tex.latex",
    "startMarker":"\\\\begin{info}",
    "endMarker":"\\\\end{info}"   
}

This thesis template contains info-box environments. These can be hidden/folded in the source code with key-bidning alt-0-0

Insert this into Preferences > Package Settings > Package Control > Settings - User:

"install_prereleases": ["LaTeXTools"],

LaTeXTools uses pre-releases to beta test new features and improve the stability of releases. This enables graphicx package support, that let's us preview images in the source code by hovering over the filenames.

Installation

For Windows

  • MikTex LaTex for windows
  • Sumatra PDF viewer for compiling LaTex to PDF
  • Add Sumatra to PATH with e.g. setx PATH %PATH%;C:\Program Files\SumatraPDF
  • Then you need to do some trickery with Sumatra. It is explained further here

For Mac

  • MacTex LaTex for Mac
  • Skim PDF viewer for compiling LaTex to PDF
  • sudo tlmgr install latexmk
  • In Skim: go to Preferences->Sync and set ‘preset’ to SublimeText.

Usage

Open as a Sublime Project by opening the file thesis.sublime-project.

By default, the document is in draft mode, which means info boxes with tips to writing will appear. This also makes compilation faster as it simplifies the document by not including figures, hyperrefs etc. Turn draft mode off by switching to final within the documentclass at the very top of main.tex.

Add new chapters and sections in new files as you like, and import them in the main.tex file.

Put all figures in the Figures/ folder. Figures in this directory can be included from any tex-file in the project using file name only, e.g. \includegraphics{logo_ntnu). You can then hover over the file name to get a preview of the image.

Key-bindings

Here Cdenotes ctrl for windows / cmd for mac

Description Key-binding Tip
Compile the PDF C+b Choose PdfLaTex if prompted
New environment C+l, C+n While holding C, press l then n
Bold text C+l, C+b
Italic text C+l, C+e
Forward search C+l, j Let go of C before pressing j.
Jumps to the point in the PDF
file where the cursor position
is in the source code.
Backward search C+shift+click Jumps to the point in the
tex-file corresponding
to the mouse click in the PDF
Go to anything C+r For fast navigation within a file
LaTex Completions C+l, x Let go of C before pressing j.
Gives suggestions within \ref{},
\cite{} and \figures{}
Other completions C+space For functions etc
Fold info environments alt+0+0 Folds/hides all info environments
in the tex-file
Unfold info environments alt+shift+0+0 Opens all info environments
in the tex-file

Report writing guidelines

http://frigg.ivt.ntnu.no/ross/div/report.pdf

Example report

http://frigg.ivt.ntnu.no/ross/div/thesis-0817.pdf

Styling

General info from NTNU

https://innsida.ntnu.no/masteroppgave

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages