Aalto Thesis LaTeX Template
This is the home of the Aaltothesis - Aalto BSc/MSc/Lic.Tech Thesis LaTeX Template - space.
History
The template and its accompanying style file were originally written for the TKK Faculty of Electronics, Telecommunications and Automation thesis writers, but later—after Aalto University began its operation—the style file and template were extended in a fashion that makes it possible for all Aalto thesis writers to use the template.
Files
File | Size | Comment |
---|---|---|
45873 | LaTeX template class file | |
30259 | Graphics file | |
5464866 | All template files (cls, tex, pdf & readme) | |
619491 | Typeset pdf (Swedish) | |
18790 | LaTeX template (Swedish) | |
350544 | Graphics file | |
37609 | Graphics file | |
858769 | Typeset pdf (Finnish) | |
105538 | LaTeX template (Finnish) | |
505666 | Guide and instructions for creating PDF/A documents | |
11025 | Log of changes made | |
862536 | Typeset pdf (English) | |
107321 | LaTeX template (English) |
Scroll down to the bottom of the page for a detailed listing of the files.
Notes
- You will also need the Aalto logo package. Note that this package contains old logos of BIZ (nee ECON) and ARTS. Should you need BIZ or ARTS logos you are on your own at the moment.
- The default format is now pdf/a-2b, and pdf/a-1b is supported too (you can still produce HQ prints by using the dvips option).
- The thesis text is in Finnish and in an incomplete version in English. The complete English version is in preparation. However, the template is heavily commented in English, so it should be easy to use this template in theses written in English.
- The compiled thesis template (opinnaytepohja.pdf in Finnish) can be used as a stand-alone guide for all thesis writers no matter what typesetting software they are using. It should be noted that the typographical conventions used in the text are Finnish ones hence you will need to consult e.g. Chicago Manual of Style or such like when writing in English.
- This template is not intended for doctoral dissertations as these are usually printed in the Aalto publication series. There is a different LaTeX template for doctoral theses.
- School of Electrical Engineering thesis writers are encouraged to use the IEEE Citation Style when writing in English. Adapt the \thebibliography part to achieve this (see the comment by Ingrid Castrejon Suarez del Real posted on 19.4.2021) and learn to pay attention to the details that go in writing a list of references or bibliography.
See the latest comments below for useful, relevant additional information on the package files.
You can find a Word template to write your thesis at Word Thesis template for all Aalto University schools
Navigate space
88 Comments
Perttu Puska
Note to thesis writers writing in English
after having changed the default document language to
the compilation ends in errors. One is advised to remove all \foreignlanguage macros e.g. on line 895 change
to simply
and the compilation errors will go away.
Satish Bysany Dasharatharamasetty
When using hyperref, set the pagemode as UseNone (instead of None, as given in the template):
This removes a warning when running pdflatex.
Siyuan Dong
I need to include two professors' name in the first page of my thesis.
However I can't use this command:
\supervisor{first professor's name \\ second professor's name}{}
Any comment will be helpful.
Thank you!
Perttu Puska
There is no provision for two supervisors as the Degree Regulations (excluding School of Engineering Degree Regulations, and amendments in Fall 2012) do not allow two supervisors for M.Sc. or B.Sc. thesis.
However, two instructors are possible. Just add second \instructor command.
If you really need two supervisors, you should take a look at the source of aaltothesis.sty and see how \instructor{}{} was coded and modify the thesis style file accordingly.
Siyuan Dong
Thank you for your help. The reason for including two supervisors' names is I am an EM student, thus I need one supervisor from host university and another supervisor from home university.
Ran Xiao
Hi,
I am a Nordic master and I also have the same problem, namely two supervisors for my thesis work. And I didnt find aaltothesis.sty. Only aaltologo.sty is found but I dont think it is the correct one. Then could you just briefly explain that how I can add the second supervisor or instructor?
BRs,
Luis Costa
aaltothesis.sty is no longer in use. The current version for typsetting one's thesis uses aaltothesis.cls and the new template opinnaytepohja.tex (in Finnish) or thesistemplate.tex (in English). The complete package is in opinnayteohjeet.tar.gz (compressed tar archive) below. In addition to the supervisor, you can specify one or more advisors via the macro \advisor. For two advisors, specify the names of the two advisors as follows:
\advisor{D.Sc. Advisor One}
\advisor{M.Sc. Advisor Two}
Normally, you have only one supervisor, either your professor here in Finland or your professor in the university you came from, and optionally you can have one or more advisors. Also, as Perttu Puska states above, Aalto University's Degree Regulations allow only one supervisor. If you really need two supervisors after having discussed this issue with your two professors, make appropriate changes to the code for \supervisorname (refer to the code for \advisorname to help you).
Ran Xiao
Thank you very much :D
Ran Xiao
Hi,
I've tried to modify the code for \supervisorname according to the code for \advisorname, but it does not work out finally.The following is what I tried. I think there should be some problem but since I am not familiar with the code, I have no idea what should I do. Could you offer some help on this? Thanks.
%% Abstract header and field names in English
\renewcommand*{\univ@rsity}{aalto university}%
\renewcommand*{\authorname}{Author}%
\renewcommand*{\thesisname}{Title}%
\renewcommand*{\keywordsname}{Keywords}%
\renewcommand*{\datename}{Date}%
\renewcommand*{\langname}{Language}%
\renewcommand*{\nofpgsname}{Number of pages}%
\renewcommand*{\supervisorname}{%
\ifthenelse{\value{advisors}=0}{Supervisor and advisor}{Supervisor}{%
\ifthenelse{\value{supervisors}=1}{Supervisor}{%
\ifthenelse{\value{supervisors}>1}{Supervisors}{%
}}}%%%
}%
\renewcommand*{\advisorname}{%
\ifthenelse{\value{advisors}=0}{}{%
\ifthenelse{\value{advisors}=1}{Advisor}{%
\ifthenelse{\value{advisors}>1}{Advisors}{%
}}}%%%
}%
Luis Costa
Hi,
The part you have edited just redefines the macro \supervisorname, which is used as a variable in the code that contains the string "Supervisor". The actual typesetting—the placing of text on the page—is done starting from line 620 (under the comment "Do the cover page layout"). The macro that typesets "Supervisor" on the cover page is \cov@rsup@rvisor. You'll have to put two supervisors, as is done for the advisors using \Advis@r just below \cov@rsup@rvisor (lines 661–675). You must make the appropriate changes here too.
Luis Costa
You will also have to edit the abstract page, the layout of which is done starting from line 715 (some calculations are done prior to this just above).
Ran Xiao
Hi,
I changed the those parts you've mentioned, but apparently I didn't modified it correctly. Texmaker always complained errors. Is it fine for you to have a look at my edited file? I can send it to you via email. Or is it possible that you could help me edit it cause I really don't know the grammar the cls file is using?
Pawel Sarbinowski
I managed to roughly change the .cls template file to accommodate 2 supervisors.
I'm attaching the git patch. You can apply it by going to the directory that contains your aaltothesis.cls file and doing "patch p0 < diff.patch" or "patch --dry-run < diff.patch" for a dry run. After that you can just add 2 \supervisor{} in your .tex
diff.patch
Perttu Puska
Updated to 1.7 version.
Minor fixes, mainly.
Hafiz Awan
I am trying to write chapters in separate files and then including them in the given template. Is it possible to get the cover page and abstract page and then includin it in some other template like the one in the following url
https://www.sharelatex.com/templates/thesis/easy-thesis
Anyone who can help me in this regard would be highly appreciated.
Luis Costa
You can split the stuff after the
\begin{document}
command in theopinaytepohja.tex
file and put it into separate files in "almost" in any way you want, and then include them into your main file as\include{mysplitfile}
. A more concrete example follows:Put \keywords and the two abstracts into the file
myabstract.tex
(note the extension must be .tex when using\include
); put the preface, abbreviations and other stuff upto the beginning of the section "Introduction" into the fileotherfrontmatter.tex
; then the introduction text from \section{Johdanto/Introduction} upto "ei kaipaa alaotsikoita." into fileintroduction.tex
; and so on. Then, in your main file, sayopinaytepohja.tex
, you will have something like this:Of course, you can put the \newpage and \thesistableofcontents into a file as well
Is this what you want? I couldn't look at the contents of the template in your link because I would have had to register myself and I didn't want to.
Hafiz Awan
I tried it with \include and \input, its not working properly. Could anyone change the .sty file to accomodate the attached template. Easy%20Thesis.zip
Luis Costa
The .sty file doesn't affect the use of
\input
or\include
. You must have all the .tex files in the same directory/folder. If you want to work on one file only while keeping the page numbering and cross-reference correct, use\includeonly
. You need to be more specific as to what isn't working. I don't really know what it is you want to do and what isn't working and why if you don't give me details. Post a minimum set of files showing the problem. Specify the platform (Windows, Linux,...) you're using. Including .tex files as done in the template\input{Settings/Packages.tex}
isn't the recommended way of doing this.Hafiz Awan
I am doing as you mentioned and if I encounter any problem I will let you know. Thanks
Arash Azimirad
Hi,
Where can I find the Microsoft Word template?
Perttu Puska
I'm sorry, we have only resources to support LaTeX. Moreover we try encourage students to use LaTeX.
Arash Azimirad
Hi Perttu,
At the time you answered me, I was thinking that Microsoft Office is a much efficient text editor, compared to Latex. But, because at that time I was new to Latex, I preferred not to claim it. Now, after some months of working with Latex, still I think in the same way.
It is not always possible to make your text look in the best way, by Latex. And by "the best way" I am meaning the arrangement that makes it easiest for the reader to follow your story line. For example, sometimes it is really important for you to have a figure or a table at an exact place, and when Latex moves it to somewhere else, it hurts the readability of your text.
I think this decision of eliminating Microsoft Office thesis template should be rethought.
Perttu Puska
LaTeX is not a text editor, it is a publishing system for sciences. It is not meant for the same purpose as MS Word which is a WYSIWYG editor. It is more difficult to make sure that writers stay within good typesetting limits and practices if they are using a WYSIWYG editor. The other problem with using a WYSIWYG editor as a publishing system substitute is that it is limited per se as what-you-see-is-all-you-get.
NB Figures and tables may be placed at an exact place by enforcing the placing, see e.g. http://tex.stackexchange.com/questions/8625/force-figure-placement-in-text or by not using floating environments such as \figure - you can always manually enforce placing by just issuing \includegraphics{... where you want the pic to be placed. However, stylish and good-looking placement of tables and figures in a text is a subtle and difficult skill regardless of the system of typesetting you are using (this is the reason why there are - or were - professional typesetters). It is more likely that the result will not look good if the writer is forced to use exact placement of figures as in MS Word.
Luis Costa
The Aalto thesis LaTeX template package has been updated. All the macros that were defined in
aaltothesis.sty
(v. 1.7) and the page settings inopinnaytepohja.tex
(v. 1.7) have been integrated into the class fileaaltothesis.cls
. This has made the template TeX filesopinnaytepohja.tex
(andthesistemplate.tex
) clearer. The templateopinnaytepohja.tex
has been partially translated into English inthesistemplate.tex
. Thus the default language setting inopinnaytepohja.tex
is Finnish, and inthesistemplate.tex
it is English.Additionally, support for Swedish has been added, and the default input encoding has now been set to utf8.
Leevi Toratti
Is there a way to include the abstract in Finnish, Swedish and English?
Luis Costa
Please see the contents of the files before sending a query. You will see that the template opinnaytepohja.tex already contains the three abstracts in the order Finnish, English and Swedish. However, I don't see why you would want the abstract in all three languages. Also, check with your supervisor that this is OK. The B.Sc. thesis requires the abstract in the language of the thesis only while the M.Sc. thesis typically requires two, typically Finnish or Swedish and English.
Alapan Mukherjee
Hi, I downloaded the files and tried to compile them on Texmaker. I keep getting the following error:
! pdfTeX error (font expansion): auto expansion is only possible with scalablefonts. \@EveryShipout@Output...@Org@Shipout \box \@cclv \newpage
I googled around, and found that it has something to do with the microtype package. However, I am not sure what exactly I should do here. Any help would be appreciated..Thank!
Luis Costa
Try installing cm-super using the Package Manager if you're using Texmaker that uses MikTeX.
http://tex.stackexchange.com/questions/10706/pdftex-error-font-expansion-auto-expansion-is-only-possible-with-scalable
Alapan Mukherjee
Thank you so much. Installing it with Package Manager worked!
Luis Costa
A new version of the thesis template package is now available. Since the subject codes (e.g. S-xy) for the major subject of the Masters thesis will no longer be used, this part of the template has been appropriately modified. The change affects only MSc students and licentiate thesis writers, not BSc students.
Panu Korpela
Has anyone got the template working with Lyx?
I got Lyx to understand the aaltothesis class file by creating a .layout file, but Lyx gives the following error:
"LaTeX Error: Option clash for package inputenc."
Also an error about page numbering with roman numerals is given: " \setcounter{NMainPages}{vii}" does not work.
Best Regards, Panu
Luis Costa
The Aalto thesis class file aaltothesis.cls has been changed so that, contrary to earlier versions, on the cover page the title of the thesis now comes first followed by the author's name.
Perttu Puska
Kiitos!
Luis Costa
See my reply to your earlier query above.
Ran Xiao
Hi, while I use the template, I just find that the first paragraph of each section or subsection will not automatically have the space at the first line. Is it what the thesis formation really is or just some small mistake?
Luis Costa
This is no mistake. Typesetting rules are different in different languages.
Ran Xiao
Kiitos
Perttu Puska
We use the authoritative Typografian käsikirja by Terho Itkonen, which states clearly
In any case, many international typesetters (i.e. many US-originating international publishing houses) seem to be quite confused about the first indent. They should have taken advice from
Robert Bringhurst whose Elements of Typographic Style, states that "opening paragraphs" should be "flush left" because
Apparently this curious rule of indenting the first paragraph seems to originate from high school essay writing conventions where it is easier to teach a simple rule ("always-indent-the-first-paragraph-no-matter-where-it-lies-in-the-text-body") than a more refined rule.
Luis Costa
Ran Xiao, I have deleted the two png files you attached in the table containing the files of the thesis package. This space is reserved for the package files only. Could you please reattach them to your comment?
Ran Xiao
sorry, I uploaded them again unintentionally...please delete them. I have put the pic in my previous comment.
Sallamaria Iltanen
Missä päin pakettia on määritelty lähdeluettelon otsikoksi "Viitteet"? Haluaisin muuttaa sen Lähdeluetteloksi, miten se onnistuisi? Miksi muuten paketissa käytetään \section-jaottelua lukujen teossa, eikö \chapter olisi parempi, sehän aloittaisi uuden luvun automaattisesti aina uudelta sivulta.
Luis Costa
"Viitteet" on määritelty LaTeXin kielimäärittelyjä tekevän babel-järjestelmän syöväreissä. Voit muuttaa sanan määrittelemällä sen uudelleen \begin{document} -käsky jälkeen näin :
\renewcommand{\refname}{Lähdeluettelo}
Kannattaa sijoittaa uudelleenmäärittely juuri ennen \thesisbibliography -makroa syöttötiedoston luettavuuden ja selkeyden säilyttämisen vuoksi.
Opinnäytetyö on raportti, ei kirja. Tämän takia lukujen jaottelussa käytetään \section -makroa, joka latoo uuden luvun alkamisivun oikealla tavalla. Saat opinnäytepohjan toimimaan haluamallasi tavalla korvaamalla käytettyä \clearpage -makroa \cleardoublepage -makrolla ennen \section -makroa.
Sallamaria Iltanen
Kiitos!
Shankar Lal
I am trying to include Chapter numbers by using \chapter command and getting error " Undefined control sequence \chapter" .
It seems that document class is article which doesn't support chapter command.
Any idea how to to include chapter number in the thesis?
Perttu Puska
Hi
thesis uses article-style and hence does not suppot \chapter.
Anttoni Kananen
Hi!
I downloaded the newest version of Miktex (64-bit for windows) and tried the opinnaytepohja. It doesn't work. This is the error message I get when trying to compile it to pdf:
Overfull \hbox (2.0pt too wide) in paragraph at lines 170--170
[]
Overfull \hbox (2.00002pt too wide) in paragraph at lines 170--187
[]
[2
! pdfTeX error (font expansion): auto expansion is only possible with scalable
fonts.
\@EveryShipout@Output ...@Org@Shipout \box \@cclv
l.187 \end{abstractpage}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on opinnaytepohja.log.
texify: pdflatex failed for some reason (see log file).
P.S. I tried the 32-bit version also and it gives the same error...
Luis Costa
Hi,
I was unable to replicate the error you got. Try installing an older version of MikTeX. Perhaps that works better.
Lauri Koskimies
I got the same error (...auto expansion is only possible with scalable fonts...). I tried MiKTeX 2.9.5105 and 2.9.4503 and my OS is Windows 8.1 64-bit. Any suggestions?
Luis Costa
It appears that the error is due to the character stringss ">>" and "<<" in file opinnatepohja.tex. These strings didn't cause trouble before (since 2010), but now they seem to result in an error when using MikTeX (doesn't happen in Linux). Remove these characters or replace them with " (lainausmerkki; quotation mark) and the official opinnaytepohja.tex file should work. Your own thesis text should compile just fine too without these strings.
These strings appear only in one place under the heading "Rakenne" as follows: ... >>Teoreettinen tausta>>... >>Johtopäätökset>> tai >>Yhteenveto>>... I hope this solve your problem.
Jussi Tiihonen
Hi,
For me, the problem was solved by changing the fonts the aaltothesis.cls-file tries to overwrite. The .cls-file was using Computer Modern -fonts, and the ones that worked for me were Latin Modern -fonts.
On lines 177-179 in aaltothesis.cls, it should read
\renewcommand{\rmdefault}{lmr}%
\renewcommand{\ttdefault}{lmtt}%
\renewcommand{\sfdefault}{lmss}%
instead of
\renewcommand{\rmdefault}{cmr}%
\renewcommand{\ttdefault}{cmtt}%
\renewcommand{\sfdefault}{cmss}%
Mikael Petersen
I use the miktex and took character stringss ">>" and "<< and there after program says this.
opinnaytepohja.aux
85
LaTeX Error: No counter 'NAbstracts' defined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.85 \setcounter{NAbstracts}{2}
aaltologo.sty
493
Package lcg Warning: Using an already existing counter rand on input line 493.
What should I do?
Perttu Puska
Mikael
check out the discussion above regarding << and >>
Luis Costa
aaltothesis.cls has been fixed to deal with compiling problems experienced by MiKTeX users. Thanks to Jussi Tiihonen for pointing out the problem.
Tuomas Pärnänen
I noticed that aaltothesis.cls counts the number of pages wrong in the abstract page. My thesis has 6+47 pages, but counter says 6+48. I don't really understand what went wrong and where, but I fixed it in my case as follows:
Changed this line in aaltothesis.cls:
... to this:
Mikko Leskinen
Encountered the same problem and used the same solution as Tuomas.
Sanna Suoranta
Mu supervisor noticed that section and subsection titles uses different fonts! Third level titles are not too deep...
Sanna Suoranta
In aaltoseries.cls file, change
\renewcommand\section{%
\@startsection{section}{1}{0mm}{-1pt}{15.4pt}{%
\vskip29.8pt\flushleft\bfseries\sffamily\fontsize{12pt}{12pt}\selectfont}%
}
\renewcommand\subsection{%
\@startsection{subsection}{2}{0mm}{-1pt}{15.4pt}{%
\vskip14.4pt\flushleft\bfseries\sffamily\fontsize{11pt}{11pt}\selectfont}%
(subsection was \rmfamily whereas section was \sffamily)
Adrian de Miguel Herraiz
The file "diff.patch", which was uploaded to allow the inclusion of two supervisors instead one, causes the problems that follow:
I have been going through the code "aaltothesis.cls" for quite a long time trying to find the error to no avail. Any idea how to solve this? I have tried both Sharelatex.com and TeXnicCenter and got the same result.
Leeni Säkkinen
Hi,
how can I add my references from a bib-file? I don't seem to be able to use /bibliography{NAMEOFBIBFILE}, nor any commands that would modify the appearance of my references. I'm trying to use this latex template instead of the old one. I would like to use my existing reference list from a bib file instead of writing them all again, and also I need to have the references in "LastName, X.Y, YEAR, etc. etc", not in the way they are now in the template.
Leeni Säkkinen
I figured it out myself, in order to help others: remove the table of contents and bibliography commands in the aaltothesis.cls file, and then it is possible to refrences with e.g. biblatex.
Patrick Jensen
It might be worth inserting a \markboth{}{} at the end on the command which defines \thesisappendix in the file aaltostyle.cls to prevent the header of the bibliography section from bleeding into the appendix headers.
Luis Costa
The thesis template package has now been updated to version 3.0. This version produces a PDF/A-1b compliant pdf file, which means that the resulting pdf file is suitable for long-term archiving. In addition to the traditional asymmetrical, one-sided page layout suitable for binding your single-side printed thesis, you can now produce a document having a symmetrical page layout suitable for online publishing (submit this version to the library for online publishing). Also, the abstract page has been redone to comply with the new layout guidelines given by Aalto University.
The older LaTeX templates
opinnaytepohja.tex
andthesistemplate.tex
(< version 3.0) are not compatible with the newaaltothesis.cls
LaTeX class file, and the new LaTeX templatex (tex files) are not backward compatible with the olderaaltothesis.cls
files.Luis Costa
The thesis template package has now been updated to version 3.01. An interface (macro) has been implemented to give the user control over the copyright text written in the pdf metadata and the human readable page. The user can now also suppress the human readable page, if so desired, although this is not recommended. Also, a minor change has been made to the abstract page in the master's thesis in compliance with the new recommendation from earlier this week: Department is replaced with Degree programme and Professorship with Major.
Note! The Aalto thesis package version 3.0 and later requires pdfx.sty version 1.5.8 or newer to work. The latest version on the day of release of version 3.0 was 1.5.84, released on 2017/05/18.
Luis Costa
NOTE! The page numbering has of the thesis template changed completely as of version 3.0. The cover page is page one, and all the pages, including those before the introduction section of the thesis, from the cover to the end are now numbered continuously. The number of pages of the thesis from the cover to the possible appendix and the number of pages of the possible appendix or appendices are noted on the abstract page.
Luis Costa
A bug in the page numbering has been corrected and the package files have been updated. Since the correction was really small, I didn't change the version number, it's still 3.01, but the date of the files in the newest version is 2017-10-06. Sorry for the numerous updates in such a short span of time.
Luis Costa
The class file aaltothesis.cls has be updated to version 3.02. The abstract page code has been rewritten to allow for abstracts to span more than one page. This has been done because bachelor's students are required to write an abstract of 400-500 words. The LaTeX template files opinnaytepohja.tex and thesistemplate.tex have not changed, hence their version number, 3.01, is the same as before. I have, however, updated the dates in these files. Thus, the earlier release of the .tex files should work with the new version of aaltothesis.cls.
Luis Costa
The aaltothesis package has been updated to version 3.1. The template now directly supports creating PDF/A-1b, PDF/A-2b and PDF/A-3b by specifying
a-1b
,a-2b
ora-3b
, respectively, as a\documentclass
option. The optionpdfa
used earlier is no longer valid. Additionally, more error and compatibility checks have been added. The earlier LaTeX template filesopinnaytepohja.tex
andthesistemplate.tex
should work after replacing the\documentclass
optionpdfa
witha-1b
,a-2b
or a-3b. Note, however, that the file submitted to the Aalto University library should NOT be PDF/A-3b compliant; only the a-1b and a2b options of this package should be used.The software recommended for validating one's thesis are Acrobat Pro, PDF-XChanger and the free online validator at https://www.pdf-online.com/osa/validate.aspx. Almost all of the nonconformity problems that have arisen to date in compiled theses have been tracked to files included into the theses, typically graphics files. So, first check your embedded files when you run into trouble with PDF/A validation. However, validating a pdf document for a-1b or a-2b conformity can be problematic and conflicting, and the conformity results can differ in different validating software.
To illustrate this dilemma, this package is now provided with graphics files in the jpg, pdf and png formats for users to experience first hand (and possibly help me resolve this dilemma). When using
pdflatex
, jpg, pdf and png are the valid formats for graphics files. When the example document, that includes two graphics files, is compiled usingpdflatex
, a PDF/A-1b compliant file results as validated by all three of the above-mentioned validators for all of the valid file formats. When the example document is compiled for PDF/A-2b conformity with graphics filekuva1.pdf
, the resulting pdf fails Acrobat Pro's validation test but passes the test of the other two validators. If this PDF/A-2b file is now repaired by Acrobat Pro for conformity, the repaired file fails the conformity test in PDF-XChanger and in the online service. To further confuse matters, when using graphics files kuva1.jpg or kuva1.png, the resulting pdf is judged as PDF/A-2b compliant by all three validators. The jpg, pdf and png files have been converted from the original eps files. If anyone knows or figures out why this is so, I would be most grateful to know the reason. And if there is a fix to this problem, I would be grateful if you share it with me/us.Luis Costa
Thanks to Viktor Måsala for pointing out that the
hyperref
optionpdfstartview=FitH
caused problems. I have removed the setting. Removing this setting should not cause any problems since it only tells the pdf reader how the document should be viewed (fit width to window) on being opened. For those of you experiencing problems producing a valid PDF/A document in the earlier version, remove this setting inaaltothesis.cls
on line 122.Luis Costa
For those of you who want to use the online LaTeX engine at www.overleaf.com to compile this template, here is some advice.
First, a little background information. This thesis package relies on
pdfx.sty
, version 1.5.84 released on 18.5.2017 or newer for it to successfully produce a PDF/A document. The Overleaf engine currently uses an older version (from 2016) and so this template will not compile. Overleaf will update its engine in the near future after which there should hopefully be no problem compiling the Aalto thesis template. They already have a beta version of their new engine that you can use to compile your thesis.The fix:
main.tex
(opinnaytepohja.tex
orthesistemplate.tex
→main.tex
).main.tex
,aaltothesis.cls
andaaltologo.sty
along with the graphics files (*.jpg
,*.png
or*.pdf
) to the Overleaf v2 working directory.Now you're ready to go.
Thanks to Julen Kahles for helping to solve this issue and providing this fix.
Luis Costa
The aaltothesis package has been updated to version 3.2. Although
aaltothesis.cls
has undergone a major rewrite in this round, the changes do not affect the user; no syntax changes have been made. Optiona-3b
implemented in version 3.1 has been removed since the use of PDF/A-3 is forbidden. This version now creates plain pdf with metadata in it when compiled usingpdflatex
and no PDF/A options (a-1b
anda-2b
). The details of the rewrite are inreadme.txt
.The template files
opinnaytepohja.tex
andthesistemplate.tex
have been edited to remove and replace deprecated macros. Also, a Swedish templatekandidatarbetsbotten.tex
is now available as part of the package. This package is minimal in that it does not contain elaborate explanations regarding macros or their syntax, layout details and so on.The graphics in the package have been renewed. The PDF/A compatibility issues I described in my comment on 24.4.2018 were due to hidden fonts in the line diagram
kuva1.pdf
which were not embedded in the pdf. This issue is now resolved; the figure has been recreated appropriately.Luis Costa
I have written a guide briefly describing the PDF/A standard along with guidelines and instructions on how to successfully create a PDF/A-compliant document. It is not part of the aaltothesis package, so you must download it separately if you want it. I will be happy to receive constructive criticism, comments and feedback on the guide, which I will use to write a possible new version of the guide in the future.
Luis Costa
This comment is for those of you using Overleaf. Now that the Overleaf engine has been updated to v2, you no longer need to add the new pdfx.ty file to your working directory, neither do you have to call your working file main.tex, as described in my earlier Overleaf comment above. Just upload aaltothesis.cls, aaltologo.sty and your thesis LaTeX file(s), e.g. thesistemplate.tex, opinnaytepohja.tex or whatever, along with your graphics files and you're ready to go.
Ingrid Castrejon Suarez del Real
It is possible to add the references in IEEE style with BibTeX
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,mybibfile}
3. You may need to copy two files to your folder: IEEEtran.bst and IEEEabrv.bib They are available at: https://www.ieee.org/conferences/publishing/templates.html inside "Latex bibliography files"
4. Also inside the Latex Bibliography files is the "How to Use IEEEtran BIBTEX Style" document, where it describes (on page 1) where to store the previously mentioned files.
Dancun Ogenda
I was using the wrong latex template and I had different chapters of the thesis in their separate files. By using this new template is it possible to include those chapter files using maybe a single line for example \input{introduction.tex}? Thanks and hope for some reply.
Luis Costa
You can do something like the following:
\documentclass[12pt, pdfa, english,...]{aaltothesis}
...
\begin{document}
\include{file1}
\include{file2}
...
\include{filen}
\end{document}
It's better to use \include than \input
Vili Kohonen
On Ubuntu 20.04 I needed to install texlive-fonts-extra to compile succesfully, apparently at least beramono.sty is not included by default in some Linux systems.
Luis Costa
You shouldn't need to load any font files with this template. This template is for bachelors/masters theses. Are you using the template for bachelors/masters theses or the one for doctors theses?
Vili Kohonen
I'm writing a Master's thesis. The font beramono is included in the "aaltologo.sty" file, but not on my machine by default. Checking "tex --version", I get
TeX 3.14159265 (TeX Live 2019/Debian)
kpathsea version 6.3.1
Marko Kosunen
Would it be possible to transfer this to Aalto Version for proper version control?
Estanislao Porta
In case someone was wondering, aaltologo.sty can be found in this repo: https://version.aalto.fi/gitlab/latex/aaltologo
Luis Costa
The aaltothesis package has been updated to version 4.0.The visual outlook has changed greatly to match the look of the Word template. This means the fonts, cover, and abstract page have changed. Also, the font used for titles is sans serif. The possibility to use Creative Commons licenses is integrated into the template. Support for embedding eps files has been removed.
So,
aaltothesis.cls
has undergone many changes in this round. Thetex
files have been updated to accommodate these changes. The details of the rewrite are inreadme.txt
.The contents of the template files
opinnaytepohja.tex
andthesistemplate.tex
have been completely rewritten. The most important addition to the content is the fairly elaborate description of how to cite and how to create a bibliography. The Swedish templatekandidatarbetsbotten.tex
still remains minimal in that it does not contain elaborate explanations regarding macros or their syntax, layout details and so on.Agbesi Kwaku Amenyo
But for some reason whenever i cite i cannot see it . it comes as [ ? ]. I usually can cite in other latex templates with ease but not this one. Is there a specific way to do it?
Luis Costa
Hi! If I understand your situation correctly, the problem isn't in the template, but it appears that the reference(s) you're citing is(are) missing from the bibliography. When not using BibTeX, you must have a \bibitem with a label: e.g., \bibitem{lamport94}, where lamport94 is the label. The bibliography entry text follows. See, e.g. https://www.overleaf.com/learn/latex/Bibliography_management_with_bibtex. The source also explains how to use BibTeX for other ways of citing in LaTeX. Here are a couple of resources explaining the use of the biblatex package: https://tex.stackexchange.com/questions/35809/how-do-i-use-apa-style-citations-with-bibtex and https://www.overleaf.com/learn/latex/Articles/Getting_started_with_BibLaTeX. Remember to set up your GUI, if using one, to compile the bibliography database using biblatex.
Thien Tran
Good evening. I am now doing master thesis via this Latex Template using the newest version 4.0, and I am doing it via Overleaf by uploading the relevant files from the zip to Overleaf, and I am going to write into thesistemplate.tex.
So far everything seems good, but there is something I noticed when I tried to test thesistemplate.pdf (compiled from Overleaf) without changing anything (as pdfa-2b):
Using online PDF validator at https://www.pdf-online.com/osa/validate.aspx , it is valid PDF/A document.
But using online PDF validator at https://www.pdfforge.org/online/en/validate-pdfa , it says it is not valid PDF/A document because of "Embedded fonts shall define all glyphs referenced for rendering within the conforming file. A font referenced for use solely in rendering mode 3 is therefore not rendered and is thus exempt from the embedding requirement." and "For every font embedded in a conforming file and used for rendering, the glyph width information in the font dictionary and in the embedded font program shall be consistent."
Should I be concerned in future, if pdf-online passed the test, but pdfforge didn't pass the test?
Also, another thing I noticed that it didn't manage to validate pdfa-b1 in https://www.pdf-online.com/osa/validate.aspx because I got the following text:
"File aalto_thesistemplate.pdf
Compliance pdfa-1b
Result Document does not conform to PDF/A.
Details
Validating file "aalto_thesistemplate.pdf" for conformance level pdfa-1b
The key S has a value Transparency which is prohibited.
The document does not conform to the requested standard.
The document contains transparency.
The document does not conform to the PDF/A-1b standard.
Done."
But using pdfa-2b passes the test so I think I will use pdfa-2b from now on, even though my figures do not need transparency, but at least it let it pass...
Luis Costa
Hi Thien Tran!
Thanks for letting me know about the error message given by the validator at pdfforge.org. I'll investigate the issue. However, I have successfully tested the pdf file resulting using this template at pdf-online, using Acrobat Pro and PDFXChange, and so as far as getting your own thesis validated using this template, you needn't be concerned if the validation fails at pdfforge.org but passes at pdf-online.com.
As for the validation failing when the template option is set to a-1b, it is because the transparency parameter, which isn't allowed in the pdf/a-1b standard (read the pdf/a guide and instructions document), is activated. I'll investigate this issue too, but this is nothing to worry about; just use the a-2b option.
Matteo Albi
Good morning.
I get the following error regarding the copyright setup:
Package doclicense Warning: The pdfx package was detected. Therefore the mechanism to add license metadata won't work. Ensure to setup \Copyright and corresponding settings to your xmpdata-file. on input line 118.
I'm using Overlaef and the copyright text is defined as follows (3rd in EXAMPLES OF CC LICENSE):
\copyrighttext{\noexpand\textcopyright\ \number\year\ \ThesisAuthor. This work is
licensed under a Creative Commons "Attribution-NonCommercial-ShareAlike 4.0
International" (BY-NC-SA 4.0) license.}{\noindent\textcopyright\ \number
\year\ \ThesisAuthor \ \doclicenseThis}
Any idea of how to solve the problem? Thanks in advance
Luis Costa
Hi Matteo! I'm able to compile the template posted here (version 4.0 dated 2023/02/09) in Overleaf without any problems. The template uses the doclicense package, and the 3rd example is the default. You write that you looked for dolicense.sty, not doclicense.sty. Is this possibly a typo in this message or an erroneous search? If this isn't the case, is it possible for me to have access to your source files?
Matteo Albi
Yes sorry, I edited the message because I think there is a typo in the template, where the doclicense package is addressed as dolicense. I got confused but later I realized it was just a misspell in the name.
Also, there is no error but a warning after compilation, the one reported in the previous message. Thus, the project compiles but I'm not sure if the metadata is written properly. I will send you the link privately, if it is not a problem.