Aix-Marseille University's LaTeX class for theses is a full class based on KOMA-script, featuring AMU's mandatory frontmatter (cover, affidavit, etc.) together with many layout utilities. However, some people (e.g. me) use their own layout and just want to add the AMU cover. Extracting only the necessary material is the purpose of this fork. (AMU used to provide this, but inexplicably removed their repo.)
It contains :
- a package
titre-preamble.sty
containing preliminary work to be included in your preamble, - a file
titre.tex
containing the cover, - the necessary fonts and logos,
- a file
main.tex
that just produces a sample cover.
This sample document shows how the AMU cover can be added to a document. By default, it should be compiled by running
xelatex main.tex
or
latexmk
in the root folder of the repository. lualatex
should also work, even though not tested.
In case you really want to use pdflatex
(why would you?), you just need to modify main.tex
by
- commenting the line loading
fontsetup
, - uncommenting the block loading fonts and Unicode support for
pdflatex
.
- Download (or clone) this repository in the folder where you are writing your thesis.
In case you are working in a git repository, you can also add it as a submodule. - In the preamble of the LaTeX source of your thesis, add
(and change the path to
\usepackage{latexamu-cover-only/titre-preamble}
titre-preamble.sty
according to your setup).
This should be done after any font declaration if you are usingfontspec
(since the package changes the default font features).
By default, the fonts are looked for in the folder./latexamu-cover-only/fonts/
, starting from where your main LaTeX file is stored. If you want to explicitely specify a path to thefonts
folder, you can use(see\usepackage[fontspath=./path/to/fonts/]{latexamu-cover-only/titre-preamble}
main.tex
for an example). - After your
\begin{document}
, add(again, adapt the path if necessary).\input{latexamu-cover/titre}
The forked material is distributed under the same conditions as the original one. All the parts of this repo that are mine are distributed under the terms of the WTFPL.