Templates for 1st and 2nd cycle theses - some templates
LaTeX
A generic 1st and 2nd cycle LaTeX template at https://www.overleaf.com/read/qxvttmmqbgdt Links to an external site. - This version of the template has support for the new covers that were introduced on 2024-06-05. There is a minor change in the examplethesis.tex document at the line \trita{TRITA -- EECS-EX}{2024:0000} - there now is a double dash to make an en dash. If you have your own copy of the template, you also need to add the new KTH_logo_RGB_bla.png logo file and copy the new class file kththesis.cls (there were only changes to the definitions of \kthcover and \kthbackcover).
Note that this new template replaces the 1st and 2nd cycle degree project covers that came into use on December 13th 2021.
For information about using the template in Overleaf - see Getting started with Overleaf.
A gallery of new covers in LaTeX is at Links to an external site.https://www.overleaf.com/read/fmpsjbjcfhpj#b2f1da Links to an external site.
DOCX
**** The following two DOCX files have not been updated with the new cover of 2024-06-05. ****
There is an experimental DOCX template in English and Swedish at https://github.com/gqmaguirejr/E-learning Links to an external site.
For information about getting started with the DOCX template see Getting started with the DOCX template.
NB These do not have the new KTH cover. I will try to address this when I have time. Until then, you will need to make the front and back cover using the cover templates below.
DOCX template based on ACM paper (for use by TIMTM and TMMTM)
ACM-2024-TIMTM_and_TMMTM.docx Download ACM-2024-TIMTM_and_TMMTM.docx
DOCX version of 2024 covers
The table below gives information about the various covers for the different degrees and indicates a DOCX file with this new cover. This is based on https://www.kth.se/social/group/sprakkommitten/page/fields-for-degree-projects/ and https://www.kth.se/social/group/sprakkommitten/page/omrade-for-examensarbete/ .
DOCX version of 2021 covers
The table below gives information about the various covers for the different degrees and indicates a DOCX file with this new cover. This is based on https://www.kth.se/social/group/sprakkommitten/page/fields-for-degree-projects/ and https://www.kth.se/social/group/sprakkommitten/page/omrade-for-examensarbete/ .
Using the drop-downs
To activate the drop-downs you have to move to the right edge of the place where the drop-down is, then you will see the label on the drop-down, and then a dark vertical band will appear with a downward diamond. You can click on this and the list of things to choose from (as shown below).
This is also used with the credits (see below) - although in some cases there is only a single value in the pull-down.
Generating the 2024 files
The 2024 DOCX files are based on the DOTX file "Word template with cover image" at https://intra.kth.se/en/administration/kommunikation/mallar-kommunikationsverktyg/mallar/avhandlingarochexamensarbeten/skapa-ett-omslag-till-ditt-exjobb-1.479838. The DOTX file was saved and then manually extended to have pull-downs for the subject and level & credits fields. The program add_dropdows_to_DOCX_file-V2.py was used with the manually derived DOCX file (Cover_with_picture-e.docx) to generate files with the appropriate contents. The program and base DOCX file can be found at https://github.com/gqmaguirejr/E-learning Links to an external site..
Pull-downs are not generated when there is only one alternative.
This program is an XML hack that inserts strings and drop-down menus directly into 'word/document.xml' within the DOCX file.
Cover image
While I have generated versions that have the spot for the optional cover images:
- I do not particularly like cover images (hence the LaTeX template does not have support for such images - but for someone who really wants one, this person can add an includegraphics to the \kthcover command in kththesis.cls) and
- Because titles, subtitles, and the author's or authors' names can be quite long - there may actually be little space left on the cover for such an image. Although in LaTeX one can calculate the remaining space with
\advance\spaceleft by -\pagetotal
and then (a) either conditionally include the image and/or (b) scale an image appropriately - I do not yet know if there is a rule about the minimum size of a cover image.
Note: The blue box that appears is 0.92 cm down from the last author's name and the height and width of this image (as seen by examining the picture's size) are 10.0 cm x 18.3 cm [the actual space for the graphics in the XML is 12.87 cm x 18.3 cm - more precisely cx = 6 588 000 EMUs and cy = 3 632 400 EMUs. One cm is 360 000 English Metric Units (EMUs).]
Length of title, subtitle, and author's name
Looking in DiVA at 1st and 2nd cycle degree projects, I observed:
- There is a 212-character English title and a 202-character Swedish title. The first generates 6 lines of 26 pt text.
- There is a 255-character English subtitle and a 222-character Swedish subtitle. The first generates 5 lines of 16 pt text.
- The longest author's name is 54 characters long. However, in 12 pt text this does fit on one line of the 2024 cover.
Generating the 2021 files
The 2021 DOCX files were generated by saving the English and Swedish templates from https://intra.kth.se/administration/kommunikation/mallar/avhandlingarochexamensarbeten/skapa-ett-omslag-till-ditt-exjobb-1.479838 and then using them as input to the program add_dropdows_to_DOCX_file.py - available at https://github.com/gqmaguirejr/E-learning. Links to an external site.
This program is an XML hack to insert strings and drop-down menus done directly on the strings in 'word/document.xml' within the DOCX file.