Høgskolen i Gjøvik

HiG / IMT / emnesider / IMT4901 / LaTeX

LaTeX

When writing the master's thesis it is recommended to use LaTeX. The content and layout will then be separated and the hectic last weeks of the work with the master's thesis can then be easier than some text editors can offer.

Pre-defined templates for use in LaTeX can be downloaded from the link below. The template will be updated frequently on the basis of input from users. Questions, error messages or requests for changes should be reported to LaTeX-template .

Useful tools

  • MiKTeX
    Install MiKTeX before TeXnicCenter and use the complete compilation.
  • TeXnicCenter
    Run the configuration wizard that starts automatically when you run TeXnicCenter for the first time. The latex file can be found under (if default installation) Program Files\MiKTeX 2.5\miktex\bin. Use the default postscript and pdf engine. To test the installation, do the following:
    1. Make a new file called test.tex and store it.
    2. Write the following text into the file:
    \documentclass{article}
    \title{My First Document}
    \author{Ola Normann}
    \begin{document}
    \maketitle
    My first document includes the function $f(x) = {1 \over 2} x^2$.
    \end{document}
    3. Compile a .div-file and a .pdf-file by selecting LaTeX=>DVI and LaTeX=>PDF and
    press the "build"-button (or Ctrl+F7). View the current build by pressing the "View
    output"-button (or F5).
  • Using the GUC-template (required for the master's thesis)
    Replace the line
    \documentclass{article}with\documentclass{gucmasterthesis}
    \usepackage[latin1]{inputenc}
    \usepackage[british]{babel}
    \usepackage{graphicx}
    \usepackage[dvips]{hyperref}
    The file gucmasterthesis.cls should be placed in a template folder TeXnicCenter point to (Tools->Options/Directories). To open the gz-file you can either download it and use WinZip or open directly with WinRar or some similar tool.

Useful LaTeX resources

10.05.2010