Latex tips
LateX installation and hints
LateX installation and hints
LaTeX is a typesetting system that is very suitable for writing engineering project and master theses - and all scientific and mathematical documents. This is mainly due to its powerful handling of mathematics, figures, and references. You should realize that it is not a "What You See Is What You Get" word processor such as Microsoft Word, LibreOffice, or AbiWord. At first, LaTeX may seem more difficult to use, but after using LaTeX for a short while, you will quickly learn to love the straightforward way mathematics, references, and large documents are handled. You will also note how much better your final product will look.
You will find a lot more information about LaTeX on the Latex page in Wikipedia.
User's guide
A very good introduction to LaTeX may be found in the Not so Short Introduction to LaTeX 2e. The following page lists a long range of useful resources. You may also find it useful to google to find resolutions to problems.
How to get LaTeX
LaTeX is mainly free software (but there are some commercial versions).
Windows
If you use a Windows computer (and have administrative permissions), you can install LaTeX:
- Download and install the LaTeX program. The most popular implementation is:
- MikTeX Download the "Basic" version and accept all the default values.
- You need a LaTeX editor. A suitable editor is TeXworks, which is an integrated part of MikTeX (This means that TeXworks is automatically installed together with MikTeX). You may choose another editor if you do not like TeXworks. Good alternatives are:
- Texstudio - Also a very good and free editor
- Texniccenter - A good and free editor
- You will find several alternative editors by searching the net.
In addition to the above LaTeX-programs, you will also need a reference management program. There are several available, but JabRef may be the best alternative under Windows.
If you do not use TeXworks, it is important that you install your LaTeX editor after you have installed LaTeX - since the editor will search for and set up the correct paths to LaTeX elements.
Mac
It is very easy to install LaTeX on a Mac since all elements come in one package. You only have to:
- Download and install MacTeX
Figures in LaTeX
There are two main versions of LaTeX, the traditional LaTeX and pdfLaTeX (Both are available in the packages you have downloaded). In the traditional LaTeX, all figures need to be in eps (encapsulated postscript) format. You will therefore need a drawing program that can produce figures in eps-format. A good, and free, alternative may be Inkscape. If you have access to Adobe Illustrator, this may be the best alternative you can find.
In pdfLaTeX, the figures cannot be in eps-format. You may here use figures in pdf, jpg, and png format. When compiling the .tex file, LaTeX will look for the figure bounding boxes. It is therefore important that you save the figures in a format that includes the bounding boxes. This may give you some frustrations until you learn how to do it.
It is recommend that you use pdfLaTeX and figures in pdf-format!
Recommendation
If you use a Windows computer, it is recommended that you to download MikTeX and use the built-in TeXworks editor - and JabRef as reference manager.
If you use a Mac, it is recommended that you to use the built-in TeXShop editor (TeXworks is a "clone" of TeXShop) - and the built-in BibDesk reference manager. (You find them under Applications -> TeX).
LaTeX in the cloud
It is also possible to use LaTeX as a web application without installing anything. The are at least two different applications:
The author of this page does not have much experience with these applications so it is difficult to give much advise on the choice here.
Happy TeXing!!