-
Notifications
You must be signed in to change notification settings - Fork 2
LaTeX Workflows
Suhaib Fahmy edited this page Oct 18, 2013
·
2 revisions
There are a tonne of text editors that support LaTeX:
- Vim
- Emacs
- Notepad++
- TeXShop
My favourite: Sublime Text, with the LaTeXTools plugin:
- Syntax highlighting
- Single shortcut compile
- Automatic reference completion
- Automatic citation completion
- Compilation management
One good idea: split your large document into separate LaTeX source files.
- Allows you to manage separate chapters efficiently
- Helps with collaboration on papers by preventing conflicts
To do this, simply put each section or chapter into a seperate .tex
file, then where it should appear in the main file, add \input{filename}
(without the .tex
). You can add a line to the top of each “child” file to point at the master so your editor knows which file should be compiled: %!TEX root=mainfile.tex
.
Another good practice is to put each sentence on a new line. Since LaTeX will ignore this when typesetting, it will not disturb your output, but will help with seeing differences between subsequent revisions when using a version control system.