Using the kulemt package: Difference between revisions

From ULYSSIS documentation
No edit summary
Line 17: Line 17:


=== Windows ===
=== Windows ===
First, you should find where to install the packages for your user. By default,
this will be in the folder "texmf" in your %USERPROFILE%
(C:\Users\YourUsername). It is possible that this folder needs to be created
first. From the extracted kulemt-tds.zip, copy the entire directory "tex" to
this location (note: the directory itself, not its contents).
In case this does not work, this folder might be different for you for some
reason. It is possible to retrieve the correct location through the Windows
command-line.
Open the Windows command-line by searching for "cmd" in your start menu. The
Open the Windows command-line by searching for "cmd" in your start menu. The
app has a black, square logo.
app has a black, square logo.

Revision as of 14:34, 26 October 2016

We often get the question at our LaTeX workshop on how to properly install the kulemt package. For this reason, we have decided to provide a proper guideline. You can acquire the kulemt package by downloading "kulemt-tds.zip" from ftp://ftp.esat.kuleuven.be/latex/kulemt/.

One-time use

Most people will only use this package once, for their master thesis. The easiest way is to unzip the downloaded file and go to the directory "tex/latex/kulemt". Here, copy the files kulemt{.cfg,.cls,x.sty} and logokul{,eng}.eps to the same directory as your LaTeX file.

System-wide installation

If you need to use the kulemt package more than a few times, copying these five files can become a little bit of a hassle. It is also possible to install this package system-wide. When using TeXLive, as we recommend, this involves a bit more work and use of a command-line.

Windows

First, you should find where to install the packages for your user. By default, this will be in the folder "texmf" in your %USERPROFILE% (C:\Users\YourUsername). It is possible that this folder needs to be created first. From the extracted kulemt-tds.zip, copy the entire directory "tex" to this location (note: the directory itself, not its contents).

In case this does not work, this folder might be different for you for some reason. It is possible to retrieve the correct location through the Windows command-line.

Open the Windows command-line by searching for "cmd" in your start menu. The app has a black, square logo.

To find out the central location of installed packages, run the following command:

 kpsewhich -var-value=TEXMFHOME

An example output would be:

 C:/Users/ULYSSIS/texmf

From the extracted kulemt-tds.zip, copy the entire directory "tex" to the location given in the previous step. It is possible this folder needs to be created first.

UNIX-like OSes

You can follow the general guidelines provided by the department: ftp://ftp.esat.kuleuven.be/latex/kulemt/README.

Using the kulemt package

A complete reference for using the kulemt package can be found at ftp://ftp.esat.kuleuven.be/latex/kulemt/kulemt.pdf. A minimal working example is provided below (inspired by the above manual).

\documentclass[master=eelt,masteroption=ei]{kulemt}
\setup{title={The best master thesis ever},
  author={First Author\and Second Author},
  promotor={Prof.\,dr.\,ir.\ Knows Better},
  assessor={Ir.\,Kn. Owsmuch\and K. Nowsrest},
  assistant={Ir.\ An~Assistent \and A.~Friend}}

\begin{document}
\mainmatter
Test
\end{document}

Please note that for some other masters, some other options might be necessary, such as:

\setup{
  translatedtitle={My title in English (in case of a Dutch master)},
  udc=621.3, % This is the udc number for the faculty of engineering science
  shortabstract={A short summary of the thesis},
}