-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
117 lines (85 loc) · 4.27 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
LiU Thesis class
Ola Leifler, [email protected], 2011-2016
** Package options **
The following options are recognized by the liuthesis document class
phd - For dissertations
lic - For licentiate theses
msc - For Masters' theses (default)
bachelor - For Bachelors' theses
hu - For the medical sciences
filfak - For the humanities
lith - For LiTH (default)
exhibitpage - Produce an exhibit page (spikblad) and no thesis. Use
this option to produce an exhibit page only for PhD
dissertations.
printerfriendly - ensure chapters begin on recto pages
swedish - use Swedish as the main language, English as the secondary language
english - use English as the main language
plus all the options recognized by the memoir package, which liuthesis extends.
** Packages included **
The liuthesis package includes a number of packages for convenient,
contemporary TeX typesetting. When using the XeTeX engine for
typesetting your manuscript, the polyglossia, mathspec, fontspec,
xunicode and xltxtra packages are loaded. All manuscript files should
be written with UTF-8 encoding. When PDFLaTeX is used as the
typsetting engine, the babel, palatino and mathpazo packages are used
instead.
Note that for correct typesetting of the front matter, XeTeX must be
used as a typesettings engine on a platform where the proprietary
fonts Calibri and Calibri Italicare available.
The BibLaTeX package is used for managing references. Currently, there
is no way to specify the load-time options to biblatex as document
class options together with other options, so the biblatex package _has
to be loaded manually_ in settings.tex (see Usage below).
** Usage **
This package contains a style file for theses (liuthesis.cls) and a file
settings.tex which must at least include the lines
\usepackage{biblatex}
\addbibresource{<my bibliography file>}
and possibly other settings. In the directory figures/, you should
place all graphics for your thesis. Logos are included for LiTH,
please add other logotypes as appropriate.
In your thesis file, you need to specify where the bibliography
should be typeset using the command \printbibliography. demothesis.tex
provides an example of how this works.
Abstract.tex is a mandatory file with your abstract, other files can
be included at will from your main thesis file.
For further usage instructions, please refer to demothesis.tex that
provides a minimal example of an undergraduate thesis.
** Including articles **
\includearticle{<citekey>}
With this command, you can include pdf articles and refer to them in
your thesis. demothesis.tex provides an example of this. <citekey>
should be the same as the key in your bibliography which describes
your article, and the file name of the pdf file. You can refer to your
articles in your thesis using the reference key "art:<citekey>".
\includearticletex{<citekey>}
With this command, you can include TeX articles and refer to them in your
thesis. demothesis.tex provides an example of this. <citekey> should
be the same as the key in your bibliography which describes your
article, and the file name of the TeX manuscipt in the papers/
directory. Please refer to the scigen.tex example for hints how you
format your manuscript for inclusion. You can refer to your articles
in your thesis using the reference key "art:<citekey>".
There are a number of commands with one parameter which should be used
to specify thesis metadata, and they are all typeset using the command
names as they appear in the PDF. For instance, using the command
\opponent{Your opponent}, you can specify the opponent. If you do not,
the pdf will contain the verbatim text "\opponent" on all locations
where the argument supplied to that command will substitute
"\opponent".
** File headers **
To use and update the file headers appropriately, you will need Emacs
with the header2 package. Put this information in an Emacs init file:
(require 'package)
;; Marmalade
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
;; The original ELPA archive still has some useful
;; stuff.
(add-to-list 'package-archives
'("elpa" . "http://tromey.com/elpa/"))
(package-initialize)
(autoload 'auto-update-file-header "header2")
(add-hook 'write-file-hooks 'auto-update-file-header)
(add-hook 'latex-mode-hook 'auto-make-header)