%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% This syntax file is intended for students of the %
|
% This syntax file is intended for students of the %
|
% KaHo St. Lieven writing their master thesis. %
|
% KaHo St. Lieven writing their master thesis. %
|
% We hope they can use it as a helping hand in writing %
|
% We hope they can use it as a helping hand in writing %
|
% their thesis. %
|
% their thesis. %
|
% %
|
% %
|
% This package will take care of the formatting of the %
|
% This package will take care of the formatting of the %
|
% document. When all student used this syntax (or %
|
% document. When all student used this syntax (or %
|
% another), we can come to an universal thesis format %
|
% another), we can come to an universal thesis format %
|
% which adds to the professionalism of our university %
|
% which adds to the professionalism of our university %
|
% documents %
|
% documents %
|
% %
|
% %
|
% Syntax originally written by Filip Van Rysselberghe %
|
% Syntax originally written by Filip Van Rysselberghe %
|
% Adapted for KaHo St. Lieven by Bart Blanckaert %
|
% Adapted for KaHo St. Lieven by Bart Blanckaert %
|
% minor correction: "Katholieke Hogeschool Sint-Lieven" %
|
% minor correction: "Katholieke Hogeschool Sint-Lieven" %
|
% instead of "KaHo Sint-Lieven Hogeschool" necessary %
|
% instead of "KaHo Sint-Lieven Hogeschool" necessary %
|
% for official publication, by Karel Van den Steen %
|
% for official publication, by Karel Van den Steen %
|
% %
|
% %
|
% Modified by Koen Vangheluwe based on PhD stylefile of RUG %
|
% Modified by Koen Vangheluwe based on PhD stylefile of RUG %
|
% minor corrections by Jannes Verstichel and Tom Hamelinckx %
|
% minor corrections by Jannes Verstichel and Tom Hamelinckx %
|
% Last modified: 17/05/2011 v0.92 %
|
% Last modified: 17/05/2011 v0.92 %
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\makeatletter
|
\makeatletter
|
|
|
% fancyheadings
|
% fancyheadings
|
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
\pagestyle{fancy}
|
\pagestyle{fancy}
|
\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ #1}{}}
|
\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ #1}{}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
\fancyhf{}
|
\fancyhf{}
|
%\fancyhead[RE,LO]{\scriptsize\bfseries\sffamily\rightmark}
|
%\fancyhead[RE,LO]{\scriptsize\bfseries\sffamily\rightmark}
|
\fancyhead[LO,RE]{\scriptsize\bfseries\sffamily\leftmark} % hoofdstuk titel
|
\fancyhead[LO,RE]{\scriptsize\bfseries\sffamily\leftmark} % hoofdstuk titel
|
\fancyhead[RO,LE]{\scriptsize\bfseries\sffamily\thetitle\space-- \version} % document naam
|
\fancyhead[RO,LE]{\scriptsize\bfseries\sffamily\thetitle\space-- \version} % document naam
|
\fancyfoot[RO,LE]{\scriptsize\bfseries\sffamily\thepage} % pagina nummer
|
\fancyfoot[RO,LE]{\scriptsize\bfseries\sffamily\thepage} % pagina nummer
|
\fancyfoot[LO,RE]{\scriptsize\bfseries\sffamily\dramco} % dramco, kaho, kul
|
\fancyfoot[LO,RE]{\scriptsize\bfseries\sffamily\dramco} % dramco, kaho, kul
|
%\fancyfoot[C]{\scriptsize\bfseries\sffamily\thetitle -- \version}
|
%\fancyfoot[C]{\scriptsize\bfseries\sffamily\thetitle -- \version}
|
\renewcommand{\headrulewidth}{.8pt}
|
\renewcommand{\headrulewidth}{.8pt}
|
\renewcommand{\footrulewidth}{.8pt}
|
\renewcommand{\footrulewidth}{.8pt}
|
\fancypagestyle{plain}{
|
\fancypagestyle{plain}{
|
\fancyhf{}
|
\fancyhf{}
|
\fancyfoot[RO,LE]{\scriptsize\bfseries\sffamily\thepage}
|
\fancyfoot[RO,LE]{\scriptsize\bfseries\sffamily\thepage}
|
\fancyfoot[LO,RE]{\scriptsize\bfseries\sffamily\dramco}
|
\fancyfoot[LO,RE]{\scriptsize\bfseries\sffamily\dramco}
|
\renewcommand{\headrulewidth}{0pt}
|
\renewcommand{\headrulewidth}{0pt}
|
\renewcommand{\footrulewidth}{.8pt}
|
\renewcommand{\footrulewidth}{.8pt}
|
}
|
}
|
|
|
% Koen Vangheluwe 29/05/2009: toegevoegd om "\headheight is too small" warning te voorkomen
|
% Koen Vangheluwe 29/05/2009: toegevoegd om "\headheight is too small" warning te voorkomen
|
\setlength{\headheight}{14pt}
|
\setlength{\headheight}{14pt}
|
|
|
% Koen Vangheluwe 16/03/2010: toegevoegd wegens voor witte pagina's met empty style bij het gebruik van twoside en report
|
% Koen Vangheluwe 16/03/2010: toegevoegd wegens voor witte pagina's met empty style bij het gebruik van twoside en report
|
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
|
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
|
\hbox{}
|
\hbox{}
|
\thispagestyle{empty}
|
\thispagestyle{empty}
|
\newpage
|
\newpage
|
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
|
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% We'll head off with the definitions of the new commands %
|
% We'll head off with the definitions of the new commands %
|
% as promotor, copromotor, etc %
|
% as promotor, copromotor, etc %
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\def\promotorA[#1]#2{\gdef\@promotorAtype{#1}\gdef\@promotorAname{#2}}
|
\def\promotorA[#1]#2{\gdef\@promotorAtype{#1}\gdef\@promotorAname{#2}}
|
\def\authorEmail#1{\gdef\@authorEmail{#1}}
|
\def\authorEmail#1{\gdef\@authorEmail{#1}}
|
\def\hwDesigner#1{\gdef\@hwDesigner{#1}}
|
\def\hwDesigner#1{\gdef\@hwDesigner{#1}}
|
\def\hwCoDesigner#1{\gdef\@hwCoDesigner{#1}}
|
\def\hwCoDesigner#1{\gdef\@hwCoDesigner{#1}}
|
\def\company#1{\gdef\@company{#1}}
|
\def\company#1{\gdef\@company{#1}}
|
|
|
\newcommand{\footstar}[1]{$^*$ \footnotetext{$^*$#1}}
|
\newcommand{\footstar}[1]{$^*$ \footnotetext{$^*$#1}}
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% Secondly we declare and fill in the newly created variables %
|
% Secondly we declare and fill in the newly created variables %
|
% Sometimes we use standard definitions as is the case for %
|
% Sometimes we use standard definitions as is the case for %
|
% the titles. %
|
% the titles. %
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\def\@title{}
|
\def\@title{}
|
\def\@author{}
|
\def\@author{}
|
\def\@authorEmail{}
|
\def\@authorEmail{}
|
|
|
\def\@hwDesigner{}
|
\def\@hwDesigner{}
|
\def\@hwCoDesigner{}
|
\def\@hwCoDesigner{}
|
\def\@company{}
|
\def\@company{}
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% This function formats the titlepage using the %
|
% This function formats the titlepage using the %
|
% variables set before. %
|
% variables set before. %
|
% Variables used: %
|
% Variables used: %
|
% - dept %
|
% - dept %
|
% - title %
|
% - title %
|
% - author %
|
% - author %
|
% - degree %
|
% - degree %
|
% %
|
% %
|
% When one of those wasn't specified in the tex-file %
|
% When one of those wasn't specified in the tex-file %
|
% you will end up with an incomplete and non uniform %
|
% you will end up with an incomplete and non uniform %
|
% titlepage %
|
% titlepage %
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\def\titlep{%
|
\def\titlep{%
|
\thispagestyle{empty}
|
\thispagestyle{empty}
|
\includegraphics[width=8cm]{pictures/opencores.jpg}
|
\includegraphics[width=8cm]{pictures/opencores.jpg}
|
\hfill
|
\hfill
|
\vspace{7cm}
|
\vspace{7cm}
|
\begin{center}
|
\begin{center}
|
\bf{\Huge\textsf{\@title}}
|
\bf{\Huge\textsf{\@title}}
|
\end{center}
|
\end{center}
|
\vfill
|
\vfill
|
\vspace{7cm}
|
\vspace{7cm}
|
\includegraphics[width=\textwidth]{pictures/logos.jpg}
|
\includegraphics[width=\textwidth]{pictures/logos.jpg}
|
\cleardoublepage
|
\cleardoublepage
|
}
|
}
|
|
|
% Indentation
|
% Indentation
|
\setlength{\parindent}{0pt}
|
\setlength{\parindent}{0pt}
|
%\setlength{\parskip}{1ex plus 0.5ex minus 0.25ex}
|
%\setlength{\parskip}{1ex plus 0.5ex minus 0.25ex}
|
\setlength{\abovedisplayskip}{12pt plus 3pt}
|
\setlength{\abovedisplayskip}{12pt plus 3pt}
|
\setlength{\belowdisplayskip}{12pt plus 3pt}
|
\setlength{\belowdisplayskip}{12pt plus 3pt}
|
\setlength{\abovedisplayshortskip}{12pt plus 3pt}
|
\setlength{\abovedisplayshortskip}{12pt plus 3pt}
|
\setlength{\belowdisplayshortskip}{12pt plus 3pt}
|
\setlength{\belowdisplayshortskip}{12pt plus 3pt}
|
|
|
%\parskip 1mm
|
%\parskip 1mm
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% BeforePreface adds the titlepage and when you %
|
% BeforePreface adds the titlepage and when you %
|
% turned on the acknowledgements page, it will be generated too %
|
% turned on the acknowledgements page, it will be generated too %
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\def\preface{
|
\def\preface{
|
|
|
|
|
\pagenumbering{roman}
|
\pagenumbering{roman}
|
\titlep
|
\titlep
|
|
|
\input{acknowl}
|
\input{acknowl}
|
\tableofcontents
|
\tableofcontents
|
|
|
\cleardoublepage
|
\cleardoublepage
|
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
}
|
}
|
|
|
% Start with pagestyle{headings} in case front matter isn't processed
|
% Start with pagestyle{headings} in case front matter isn't processed
|
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
|
|