-
Notifications
You must be signed in to change notification settings - Fork 1
/
mythesis.sty
80 lines (57 loc) · 2.8 KB
/
mythesis.sty
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
\setupThesis{
author={Gustaf Bengtz},
swetitle={Analys av nya alternativa krypteringsalgoritmer och skramblingsmetoder för digital-TV samt implementation av en ny
skramblingsalgoritm (AES128) på FPGA},
swesubtitle={},
title={Analysis of new and alternative encryption algorithms and scrambling methods for digital-tv and implementation of a new scrambling
algorithm (AES128) on FPGA},
subtitle={},
year=2014,
month=8,
day=12,
type=msc,
subject={Datorteknik},
%% division={ISY Embedded systems},
department=isy,
examiner={Kent Palmkvist \AT \textsc{isy}, Linköpings universitet},
supervisor={Oscar Gustafsson \AT \textsc{isy}, Linköpings universitet \AND Patrik Lantto\AT WISI Norden},
keywords={DVB, scrambling, CISSA, cipher, CSA, CSA3, AES128, FPGA},
isrn=LiTH-ISY-EX-{}-14/4791-{}-SE,
url={},
dedication={För Sverige, i tiden},
}
%%% Define the abstract that goes on the library page here. This makes it easy to get the same text in two places.
\newcommand{\myabstract}{
\input{introduktion}
}
%%% Since macros that define notation may be useful also to produce figures, these macros are kept in a separate file.
\RequirePackage{mynotation}
%%% Setup for natbib (natbib is loaded by rtthesis).
\AtBeginDocument{%
\bibliographystyle{plainnat}%
}
%%% Tell \includegraphics where to search for files.
\graphicspath{{fig/}}
%%% For consistent formatting of lengths and other physical quantities.
\RequirePackage[squaren]{SIunits}
%%% Define command for playing around with margin paragraphs.
\definecolor{Warning}{rgb}{1.0,0.5,0.0}
\newcommand{\Warning}[2][Warning]{\marginpar{\fcolorbox{Warning}{white}{\begin{minipage}{\linewidth}\textbf{\textcolor{Warning}{\emph{#1:}}}\par \tiny \sf #2\end{minipage}}}}
%%% Customize captions.
\captionsetup[table]{position=bottom}% Some say that this should be 'top'. This overrides the default of rtthesis.cls!
%%% Define font size command to use for all verbatim environments.
\newcommand{\verbatimsize}{\small}
%%% Define some convenient referencing commands.
\newcommand{\chapterref}[1]{\hyperref[#1]{kapitel~\ref*{#1}}}
\newcommand{\Chapterref}[1]{\hyperref[#1]{Kapitel~\ref*{#1}}}
\newcommand{\sectionref}[1]{\hyperref[#1]{avsnitt~\ref*{#1}}}
\newcommand{\Sectionref}[1]{\hyperref[#1]{Avsnitt~\ref*{#1}}}
\newcommand{\theoremref}[1]{\hyperref[#1]{teorem~\ref*{#1}}}
\newcommand{\Theoremref}[1]{\hyperref[#1]{Teorem~\ref*{#1}}}
\newcommand{\exampleref}[1]{\hyperref[#1]{exempel~\ref*{#1}}}
\newcommand{\Exampleref}[1]{\hyperref[#1]{Exempel~\ref*{#1}}}
\newcommand{\figureref}[1]{\hyperref[#1]{figur~\ref*{#1}}}
\newcommand{\Figureref}[1]{\hyperref[#1]{Figur~\ref*{#1}}}
\newcommand{\tableref}[1]{\hyperref[#1]{tabell~\ref*{#1}}}
\newcommand{\Tableref}[1]{\hyperref[#1]{Tabell~\ref*{#1}}}
\newcommand{\pagepageref}[1]{\hyperref[#1]{sida~\pageref*{#1}}}