aboutsummaryrefslogtreecommitdiff
path: root/summary/kaucollection.cls
diff options
context:
space:
mode:
Diffstat (limited to 'summary/kaucollection.cls')
-rw-r--r--summary/kaucollection.cls112
1 files changed, 112 insertions, 0 deletions
diff --git a/summary/kaucollection.cls b/summary/kaucollection.cls
new file mode 100644
index 0000000..000a356
--- /dev/null
+++ b/summary/kaucollection.cls
@@ -0,0 +1,112 @@
+%%
+%% This is file `kaucollection.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% kauthesis.dtx (with options: `collection')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) 2011-2014 Stefan Berthold <stefan.berthold@kau.se>
+%%
+%% This file is part of the kauthesis bundle.
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `author-maintained'.
+%%
+%% The Current Maintainer and author of this work is Stefan Berthold.
+%%
+%% This work consists of all files listed in manifest.txt.
+%%
+%% kauthesis.dtx
+%% Copyright (c) 2011-2015 Stefan Berthold <stefan.berthold@kau.se>
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{kaucollection}
+ [2014/12/04 v1.16 Karlstad University thesis layout]
+\LoadClass{article}
+\RequirePackage{kauclear}
+\RequirePackage{kaumeta}
+\RequirePackage{kaulist}
+\RequirePackage{kaulanguage}
+\RequirePackage{kaustudies}
+\RequirePackage{kauenvironments}
+\RequirePackage{tikz}
+\RequirePackage{kaupaper}
+\ProcessOptions\relax
+\AtBeginDocument{%
+ \setname{acknowledgementname}{Acknowledgements}{Tacks\"agelser}%
+}
+\AtBeginDocument{%
+ \setname{keywordname}{Keywords}{Nyckelord}%
+}
+\AtBeginDocument{%
+ \setname{introname}{Introductory Summary}{Inledande sammanfattning}%
+}
+\let\kauths@maketitle\maketitle
+\renewcommand\maketitle{%
+ \PackageWarning{maketitle does not serve any purpose in this class.
+ The abstract environment reproduces the title instead.}%
+}
+\let\kauths@abstract\abstract%
+\let\kauths@endabstract\endabstract%
+\newcommand*\frontmatter{%
+ \clearpage%
+ \setcounter{page}{3}%
+ \renewcommand\thepage{\roman{page}}%
+ \renewenvironment{abstract}{%
+ \newcommand\keywords{\paragraph{\keywordname:}}%
+ \newenvironment{english}{%
+ \renewcommand\keywords{\paragraph{Keywords:}}%
+ \section*{Abstract}%
+ }{%
+ }
+ \cleardoublepage%
+ \section*{\@title}%
+ \textsc{\prettylist{\@author}}\par%
+ \noindent\textit{\@institute}%
+ \section*{\abstractname}%
+ }{%
+ \cleardoublepage%
+ }%
+}
+\newenvironment{acknowledgements}{%
+ \cleardoublepage%
+ \section*{\acknowledgementname}%
+}{%
+ \par\bigskip\bigskip\bigskip\noindent\@place, \@date\hfill \prettylist{\@author}%
+ \cleardoublepage%
+}
+\let\kauths@tableofcontents\tableofcontents
+\renewcommand\tableofcontents{%
+ \cleardoublepage%
+ \kauths@tableofcontents%
+}
+\newcommand\mainmatter[1][]{%
+ \cleardoublepage%
+ \renewenvironment{abstract}{\kauths@abstract}{\kauths@endabstract}%
+ \setcounter{page}{1}%
+ \pagenumbering{arabic}%
+ \kaupart*[body={#1}]{\introname}%
+}
+\newcommand\vanityquote[2]{%
+ \begin{tikzpicture}[remember picture,overlay]%
+ \path (current page.south east) +(-3,3.5)%
+ node%
+ [ anchor=south east%
+ , font=\large%
+ , text width=28em%
+ ] {\raggedleft``#1\rlap{''}%
+ \normalfont\par\medskip\itshape #2\par};%
+ \end{tikzpicture}%
+}
+\endinput
+%%
+%% End of file `kaucollection.cls'.