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.
- Sublime Text 3
- ST Package Control
- ST LaTexTools Install with Package Control
- SyntaxFold Install with Package Control
- BufferScroll Manually clone to Packages folder
- Mendeley For BibTex management, create user and install desktop program + browser add-on
- Spell checking Manual download
{
"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
"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.
- 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
- 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.
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.
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 |
http://frigg.ivt.ntnu.no/ross/div/report.pdf