summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/vxu
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-01-28 19:37:23 +0000
committerKarl Berry <karl@freefriends.org>2008-01-28 19:37:23 +0000
commitc64fafc8acb9d661fe1184e630d05d23e3b5ad1b (patch)
treedded227f96228cbeaa1455576852e5dfa4568197 /Master/texmf-dist/tex/latex/vxu
parent24078264b6352d3a11d7d4e8a8e3793528b76339 (diff)
new latex package vxu (25jan08)
git-svn-id: svn://tug.org/texlive/trunk@6437 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/vxu')
-rw-r--r--Master/texmf-dist/tex/latex/vxu/actawex.cls290
-rw-r--r--Master/texmf-dist/tex/latex/vxu/awcollection.clo406
-rw-r--r--Master/texmf-dist/tex/latex/vxu/awmonograph.clo391
-rw-r--r--Master/texmf-dist/tex/latex/vxu/vxulicentiate.cls383
-rw-r--r--Master/texmf-dist/tex/latex/vxu/vxutentamen.sty441
5 files changed, 1911 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/vxu/actawex.cls b/Master/texmf-dist/tex/latex/vxu/actawex.cls
new file mode 100644
index 00000000000..4cc4007f0b3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/vxu/actawex.cls
@@ -0,0 +1,290 @@
+%%
+%% This is file `actawex.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% actawex.dtx (with options: `acta')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Robert Nyqvist.
+%%
+%% Class for typesetting theses in Acta Wexionensia.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from actawex.cls.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\NeedsTeXFormat{LaTeX2e}[2001/06/01]
+\ProvidesClass{actawex}
+ [2007/02/12 3.2 Class for Acta Wexionensia]
+\newif\if@collection
+\newcommand{\@ptsize}{0}
+\@twosidetrue
+\@mparswitchtrue
+\newif\if@openright
+\DeclareOption{collection}{\@collectiontrue}
+\DeclareOption{monograph}{\@collectionfalse}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\DeclareOption{openany}{\@openrightfalse}
+\DeclareOption{openright}{\@openrighttrue}
+\ExecuteOptions{collection,final,openany}
+\ProcessOptions
+\if@collection
+ \input{awcollection.clo}
+\else
+ \input{awmonograph.clo}
+\fi
+\setlength\paperwidth{165mm}
+\setlength\paperheight{242mm}
+\ifx\pdfpagewidth\undefined\else
+ \setlength\pdfpagewidth{165mm}
+ \setlength\pdfpageheight{242mm}
+\fi
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize\@xpt\@xiipt
+ \abovedisplayskip 9\p@ \@plus2\p@ \@minus4\p@
+ \abovedisplayshortskip \z@ \@plus3\p@
+ \belowdisplayshortskip 5\p@ \@plus2\p@ \@minus3\p@
+ \belowdisplayskip \abovedisplayskip
+ \let\@listi\@listI
+}
+\normalsize
+\newcommand\small{%
+ \@setfontsize\small\@ixpt{11}%
+ \abovedisplayskip 7.5\p@ \@plus2.5\p@ \@minus3\p@
+ \abovedisplayshortskip \z@ \@plus2\p@
+ \belowdisplayshortskip 3.5\p@ \@plus2\p@ \@minus2\p@
+ \belowdisplayskip \abovedisplayskip
+ \def\@listi{%
+ \leftmargin\leftmargini
+ \topsep 4\p@ \@plus2\p@ \@minus2\p@
+ \parsep 2\p@ \@plus\p@ \@minus\p@
+ \itemsep \parsep}%
+}
+\newcommand\footnotesize{%
+ \@setfontsize\footnotesize\@viiipt{9.5}%
+ \abovedisplayskip 5.5\p@ \@plus2\p@ \@minus3\p@
+ \abovedisplayshortskip \z@ \@plus\p@
+ \belowdisplayshortskip 2.5\p@ \@plus\p@ \@minus2\p@
+ \belowdisplayskip \abovedisplayskip
+ \def\@listi{%
+ \leftmargin\leftmargini
+ \topsep 3\p@ \@plus\p@ \@minus\p@
+ \parsep 2\p@ \@plus\p@ \@minus\p@
+ \itemsep \parsep}%
+}
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
+\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
+\newcommand\large{\@setfontsize\large\@xiipt{14}}
+\newcommand\Large{\@setfontsize\Large\@xivpt{18}}
+\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
+\newcommand\huge{\@setfontsize\huge\@xxpt{25}}
+\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
+\setlength\lineskip{1\p@}
+\setlength\normallineskip{1\p@}
+\renewcommand\baselinestretch{}
+\setlength\parskip{0\p@ \@plus \p@}
+\setlength\parindent{1em}
+\setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
+\setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
+\setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
+\@lowpenalty 51
+\@medpenalty 151
+\@highpenalty 301
+\setlength\headheight{12\p@}
+\setlength\headsep{17\p@}
+\setlength\topskip{10\p@}
+\setlength\footskip{25\p@}
+\setlength\maxdepth{.5\topskip}
+\setlength\textwidth{115mm}
+\@settopoint\textwidth
+\setlength\textheight{45\baselineskip}
+\addtolength\textheight{\topskip}
+\setlength\oddsidemargin{-1in}
+\addtolength\oddsidemargin{25mm}
+\@settopoint\oddsidemargin
+\setlength\evensidemargin{\oddsidemargin}
+\setlength\topmargin{-1in}
+\addtolength\topmargin{17mm}
+\addtolength\topmargin{-\headheight}
+\addtolength\topmargin{-\headsep}
+\@settopoint\topmargin
+\setlength\marginparwidth{57\p@}
+\setlength\marginparsep{7\p@}
+\setlength\marginparpush{5\p@}
+\setlength\footnotesep{6.65\p@}
+\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
+\setcounter{topnumber}{1}
+\setcounter{bottomnumber}{1}
+\setcounter{totalnumber}{2}
+\renewcommand\topfraction{.7}
+\renewcommand\bottomfraction{.3}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
+\setlength\floatsep{10\p@ \@plus 2\p@ \@minus 1\p@}
+\setlength\textfloatsep{13\p@ \@plus 3\p@ \@minus 3\p@}
+\setlength\intextsep{10\p@ \@plus 2\p@ \@minus 1\p@}
+\setlength\@fptop{0\p@ \@plus 1fil}
+\setlength\@fpsep{6\p@ \@plus 2fil}
+\setlength\@fpbot{0\p@ \@plus 1fil}
+\setlength\leftmargini{2em}
+\leftmargin\leftmargini
+\setlength\leftmarginii{1.8em}
+\setlength\leftmarginiii{1.5em}
+\setlength\leftmarginiv{1.7em}
+\setlength\leftmarginv{1em}
+\setlength\leftmarginvi{1em}
+\setlength\labelsep{.5em}
+\setlength\labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
+\@beginparpenalty-\@lowpenalty
+\@endparpenalty-\@lowpenalty
+\@itempenalty-\@lowpenalty
+\def\@listi{%
+ \leftmargin\leftmargini
+ \parsep 2\p@ \@plus2\p@ \@minus\p@
+ \topsep 6\p@ \@plus2\p@ \@minus4\p@
+ \itemsep 2\p@ \@plus2\p@ \@minus\p@
+}
+\let\@listI\@listi
+\@listi
+\def\@listii {%
+ \leftmargin\leftmarginii
+ \labelwidth\leftmarginii
+ \advance\labelwidth-\labelsep
+ \topsep 3\p@ \@plus2\p@ \@minus\p@
+ \parsep 2\p@ \@plus\p@ \@minus\p@
+ \itemsep\parsep
+}
+\def\@listiii{%
+ \leftmargin\leftmarginiii
+ \labelwidth\leftmarginiii
+ \advance\labelwidth-\labelsep
+ \topsep 2\p@ \@plus\p@\@minus\p@
+ \parsep \z@
+ \partopsep \p@ \@plus\z@ \@minus\p@
+ \itemsep\topsep
+}
+\def\@listiv{%
+ \leftmargin\leftmarginiv
+ \labelwidth\leftmarginiv
+ \advance\labelwidth-\labelsep
+}
+\def\@listv{%
+ \leftmargin\leftmarginv
+ \labelwidth\leftmarginv
+ \advance\labelwidth-\labelsep
+}
+\def\@listvi{%
+ \leftmargin\leftmarginvi
+ \labelwidth\leftmarginvi
+ \advance\labelwidth-\labelsep
+}
+\renewcommand\theenumi{\@arabic\c@enumi}
+\renewcommand\theenumii{\@alph\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv{\@Alph\c@enumiv}
+\newcommand\labelenumi{\textup{\theenumi.}}
+\newcommand\labelenumii{\textup{(\theenumii)}}
+\newcommand\labelenumiii{\textup{\theenumiii.}}
+\newcommand\labelenumiv{\textup{\theenumiv.}}
+\renewcommand\p@enumii{\textup{\theenumi}}
+\renewcommand\p@enumiii{\textup{\theenumi(\theenumii)}}
+\renewcommand\p@enumiv{\textup{\p@enumiii\theenumiii}}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries\textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
+\newenvironment{description}{%
+ \list{}{%
+ \labelwidth\z@
+ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel
+ }%
+}{%
+ \endlist
+}
+\newcommand*\descriptionlabel[1]{%
+ \hspace\labelsep
+ \normalfont\bfseries #1
+}
+\newenvironment{quotation}{%
+ \list{}{%
+ \listparindent 1.5em%
+ \itemindent \listparindent
+ \rightmargin \leftmargin
+ \parsep \z@ \@plus\p@
+ }%
+ \item\relax
+}{%
+ \endlist
+}
+\newenvironment{quote}{%
+ \list{}{
+ \rightmargin\leftmargin
+ }%
+ \item\relax
+}{%
+ \endlist
+}
+\newcommand\appendix{%
+ \par
+ \if@collection\else
+ \setcounter{chapter}{0}%
+ \fi
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \setcounter{paragraph}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}%
+}
+\setlength\arraycolsep{5\p@}
+\setlength\tabcolsep{6\p@}
+\setlength\arrayrulewidth{.4\p@}
+\setlength\doublerulesep{2\p@}
+\setlength\tabbingsep{\labelsep}
+\skip\@mpfootins = \skip\footins
+\setlength\fboxsep{3\p@}
+\setlength\fboxrule{.4\p@}
+\newcommand\contentsname{Contents}
+\newcommand\listfigurename{List of Figures}
+\newcommand\listtablename{List of Tables}
+\newcommand\bibname{Bibliography}
+\newcommand\indexname{Index}
+\newcommand\figurename{Figure}
+\newcommand\tablename{Table}
+\newcommand\partname{Part}
+\if@collection\else
+ \newcommand\chaptername{Chapter}
+\fi
+\newcommand\appendixname{Appendix}
+\newcommand\abstractname{Abstract}
+\def\today{\ifcase\month\or
+ January\or February\or March\or April\or May\or June\or
+ July\or August\or September\or October\or November\or December\fi
+ \space\number\day, \number\year
+}
+\pagestyle{headings}
+\pagenumbering{arabic}
+\onecolumn
+\endinput
+%%
+%% End of file `actawex.cls'.
diff --git a/Master/texmf-dist/tex/latex/vxu/awcollection.clo b/Master/texmf-dist/tex/latex/vxu/awcollection.clo
new file mode 100644
index 00000000000..ff3451e4e91
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/vxu/awcollection.clo
@@ -0,0 +1,406 @@
+%%
+%% This is file `awcollection.clo',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% actawex.dtx (with options: `collection')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Robert Nyqvist.
+%%
+%% Class for typesetting theses in Acta Wexionensia.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from awcollection.clo.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesFile{awcollection.clo}
+ [2007/02/12 3.2 Class for Acta Wexionensia]
+\newcommand{\ps@headings}{%
+ \renewcommand{\@oddhead}{\hfil\small\rightmark}%
+ \renewcommand{\@evenhead}{\small\leftmark\hfil}%
+ \renewcommand{\@oddfoot}{\hfil\thepage}%
+ \renewcommand{\@evenfoot}{\thepage\hfil}%
+ \let\@mkboth\markboth
+ \def\sectionmark##1{\markright{\thesection\hspace{.5em}##1}%
+ }%
+}
+\newcommand{\ps@noheadings}{%
+ \renewcommand{\@oddhead}{}%
+ \renewcommand{\@evenhead}{}%
+ \renewcommand{\@oddfoot}{\hfil\thepage}%
+ \renewcommand{\@evenfoot}{\thepage\hfil}%
+}
+\newcommand{\frontmatter}{%
+ \pagestyle{noheadings}%
+ \pagenumbering{roman}%
+ \setcounter{page}{5}%
+}
+\newcommand{\mainmatter}{%
+ \cleardoublepage
+ \pagestyle{headings}
+ \markboth{}{}%
+ \pagenumbering{arabic}%
+}
+\newcommand{\backmatter}{%
+ \pagestyle{empty}%
+}
+\def\cleardoublepage{%
+ \clearpage
+ \ifodd\c@page\else
+ \hbox{}\thispagestyle{empty}\newpage
+ \fi
+}
+\setcounter{secnumdepth}{1}
+\setcounter{tocdepth}{1}
+\newcounter{part}
+\newcounter{section}
+\newcounter{subsection}[section]
+\newcounter{paragraph}[subsection]
+\renewcommand\thepart{\@Roman\c@part}
+\renewcommand\thesection{\@arabic\c@section}
+\renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
+\renewcommand\theparagraph{\thesubsection.\@arabic\c@paragraph}
+\newcommand{\part}{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{empty}%
+ \secdef\@part\@spart
+}
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{.75em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \markboth{\partname\space\thepart:\hspace{.5em}#1}{}%
+ \begin{flushright}
+ \null
+ \vskip2cm
+ \bfseries
+ \LARGE
+ \partname\nobreakspace\thepart
+ \par
+ \vskip3ex
+ \huge
+ #2
+ \end{flushright}
+ \@endpart
+}
+\def\@spart#1{%
+ \markboth{#1}{}%
+ \addcontentsline{toc}{part}{#1}%
+ \begin{flushright}
+ \null
+ \vskip2cm
+ \bfseries
+ \LARGE
+ \vphantom{\partname\nobreakspace\thepart}%
+ \par
+ \vskip3ex
+ \huge
+ #1
+ \end{flushright}
+ \@endpart
+}
+\def\@endpart{%
+ \vfil\newpage
+ \if@openright
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi
+}
+\newcommand{\section}{\@startsection{section}{1}{\z@}%
+ {-3ex \@plus -1ex \@minus -.2ex}%
+ {2ex \@plus .2ex}%
+ {\normalfont\Large\bfseries}%
+}
+\newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
+ {-2.25ex\@plus -1ex \@minus -.2ex}%
+ {1ex \@plus .2ex}%
+ {\normalfont\large\bfseries}%
+}
+\newcommand{\paragraph}{\@startsection{paragraph}{3}{\z@}%
+ {-1.75ex \@plus -.75ex \@minus -.2ex}%
+ {.7ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}%
+}
+\renewcommand\@seccntformat[1]{\csname the#1\endcsname\hspace{.5em}}
+\newcommand*\papertitle[2][\DefaultOpt]{%
+ \gdef\@papertitle{#2}%
+ \def\DefaultOpt{#2}%
+ \gdef\@shortpapertitle{#1}%
+}
+\papertitle{}
+\newcommand*\papersubtitle[1]{\gdef\@papersubtitle{#1}}
+\papersubtitle{}
+\newcommand*\paperauthor[1]{\gdef\@paperauthor{#1}}
+\paperauthor{}
+\newcommand*\papernotes[1]{\gdef\@papernotes{#1}}
+\papernotes{}
+\newcommand{\papername}{Paper}
+\newcounter{paper}
+\renewcommand\thepaper{\@Roman\c@paper}
+\newcommand\makefrontpage{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{empty}%
+ \refstepcounter{paper}%
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \setcounter{paragraph}{0}%
+ \setcounter{footnote}{0}%
+ \begin{flushright}
+ \null
+ \vskip2cm
+ \bfseries
+ \LARGE
+ \papername\nobreakspace\thepaper
+ \par
+ \vskip3ex
+ \huge
+ \@papertitle
+ \par
+ \vskip1.5ex
+ \Large
+ \ifx\@empty\@papersubtitle
+ \null
+ \else
+ \@papersubtitle
+ \fi
+ \par
+ \vskip4ex
+ \addcontentsline{toc}{part}{\thepaper\hspace{.75em}\@papertitle}%
+ \markboth{%
+ \papername\space\thepaper:\hspace{.5em}\@shortpapertitle
+ }{}%
+ \ifx\@empty\@paperauthor\else
+ \large
+ \begin{tabular}[t]{r@{}}
+ \@paperauthor
+ \end{tabular}
+ \fi
+ \end{flushright}
+ \ifx\@empty\@papernotes\else
+ \vfill
+ \bgroup
+ \small
+ \@papernotes
+ \egroup
+ \fi
+ \cleardoublepage
+}
+\def\about#1{%
+ \\
+ \textnormal{\textit{#1}}%
+}
+\def\and{%
+ \end{tabular}%
+ \vspace{2ex}\par
+ \begin{tabular}[t]{r@{}}%
+}
+\newenvironment{abstract*}{%
+ \begin{center}%
+ \bfseries\abstractname\vspace{-1.5ex}\vspace{\z@}
+ \end{center}%
+ \quotation
+ }{%
+ \ifx\@keywords\empty\else
+ \par\medskip
+ \noindent
+ \textbf{\keywordsname:} \@keywords
+ \fi
+ \endquotation
+}
+\newenvironment{abstract}{%
+ \begin{abstract*}%
+ \addcontentsline{toc}{section}{\abstractname}%
+ \thispagestyle{plain}%
+ }{%
+ \end{abstract*}%
+}
+\newcommand{\keywordsname}{Keywords}
+\def\@keywords{}
+\def\keywords#1{\gdef\@keywords{#1}}
+\newenvironment{acknowledgments*}{%
+ \begin{center}%
+ \bfseries\acknowledgmentsname\vspace{-1.5ex}\vspace{\z@}
+ \end{center}%
+ \quotation
+ }{%
+ \endquotation
+}
+\newenvironment{acknowledgments}{%
+ \begin{acknowledgments*}%
+ \addcontentsline{toc}{section}{\acknowledgmentsname}%
+ \thispagestyle{plain}%
+ }{%
+ \end{acknowledgments*}%
+}
+\newcommand{\acknowledgmentsname}{Acknowledgments}
+\@addtoreset{equation}{section}
+\renewcommand\theequation{%
+ \ifnum\c@section>\z@ \thesection.\fi \@arabic\c@equation
+}
+\newcounter{figure}[section]
+\renewcommand\thefigure{%
+ \ifnum\c@section>\z@ \thesection.\fi \@arabic\c@figure
+}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
+\newenvironment{figure}{%
+ \@float{figure}%
+}{%
+ \end@float
+}
+\newcounter{table}[section]
+\renewcommand\thetable{%
+ \ifnum\c@section>\z@ \thesection.\fi \@arabic\c@table
+}
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{\tablename\nobreakspace\thetable}
+\newenvironment{table}{%
+ \@float{table}%
+}{%
+ \end@float
+}
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{4\p@}
+\setlength\belowcaptionskip{0\p@}
+\newlength\captionwidth
+\setlength{\captionwidth}{0.7\textwidth}
+\long\def\@makecaption#1#2{%
+ \vskip\abovecaptionskip
+ \sbox\@tempboxa{\small\textbf{#1:} #2}%
+ \ifdim \wd\@tempboxa >\captionwidth
+ \hb@xt@\hsize{\hfil
+ \parbox[t]{\captionwidth}{\small\textbf{#1:} #2}%
+ \hfil
+ }\par
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+ \vskip\belowcaptionskip
+}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\newcommand\tableofcontents{%
+ \newpage\section*{\contentsname}
+ \@mkboth{\contentsname}{\contentsname}%
+ \@starttoc{toc}%
+}
+\newcommand*\l@part[2]{%
+ \addpenalty\@secpenalty
+ \addvspace{.75em \@plus\p@}%
+ \setlength\@tempdima{3em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ {%
+ \leavevmode
+ \normalsize\bfseries
+ #1\hfil \hb@xt@\@pnumwidth{\hss #2}%
+ }\par
+ \nobreak
+ \global\@nobreaktrue
+ \everypar{\global\@nobreakfalse\everypar{}}%
+ \endgroup
+}
+\newcommand*\l@section[2]{%
+ \addpenalty\@secpenalty
+ \setlength\@tempdima{1.5em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \endgroup
+}
+\newcommand*\l@subsection{%
+ \@dottedtocline{1}{1.5em}{2.3em}%
+}
+\newcommand*\l@paragraph{%
+ \@dottedtocline{2}{3.8em}{3.2em}%
+}
+\newcommand\listoffigures{%
+ \section*{\listfigurename}%
+ \@mkboth{\listfigurename}{\listfigurename}%
+ \@starttoc{lof}%
+}
+\newcommand*\l@figure{\@dottedtocline{1}{0pt}{2.3em}}
+\newcommand\listoftables{%
+ \section*{\listtablename}%
+ \@mkboth{\listtablename}{\listtablename}%
+ \@starttoc{lot}%
+}
+\let\l@table\l@figure
+\newenvironment{thebibliography}[1]{%
+ \section*{\bibname}%
+ \@mkboth{\bibname}{\bibname}%
+ \addcontentsline{toc}{section}{\bibname}%
+ \list{\@biblabel{\@arabic\c@enumiv}}{%
+ \settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}%
+ }%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m
+}{%
+ \def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist
+}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\renewcommand\footnoterule{%
+ \kern-3\p@
+ \hrule\@width.25\columnwidth
+ \kern2.6\p@
+}
+\@addtoreset{footnote}{section}
+\newcommand\@makefntext[1]{%
+ \parindent 1em%
+ \noindent
+ \hb@xt@1.2em{\hss\@makefnmark}\hspace{.1em}#1
+}
+\endinput
+%%
+%% End of file `awcollection.clo'.
diff --git a/Master/texmf-dist/tex/latex/vxu/awmonograph.clo b/Master/texmf-dist/tex/latex/vxu/awmonograph.clo
new file mode 100644
index 00000000000..5a5c2aebce9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/vxu/awmonograph.clo
@@ -0,0 +1,391 @@
+%%
+%% This is file `awmonograph.clo',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% actawex.dtx (with options: `monograph')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Robert Nyqvist.
+%%
+%% Class for typesetting theses in Acta Wexionensia.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from awmonograph.clo.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesFile{awmonograph.clo}
+ [2007/02/12 3.2 Class for Acta Wexionensia]
+\newcommand{\ps@headings}{%
+ \renewcommand{\@oddhead}{\hfil\small\rightmark}%
+ \renewcommand{\@evenhead}{\small\leftmark\hfil}%
+ \renewcommand{\@oddfoot}{\hfil\thepage}%
+ \renewcommand{\@evenfoot}{\thepage\hfil}%
+ \let\@mkboth\markboth
+ \def\chaptermark##1{\markboth{\thechapter\hspace{.5em}##1}{}}%
+ \def\sectionmark##1{\markright{\thesection\hspace{.5em}##1}%
+ }%
+}
+\newcommand{\ps@noheadings}{%
+ \renewcommand{\@oddhead}{}%
+ \renewcommand{\@evenhead}{}%
+ \renewcommand{\@oddfoot}{\hfil\thepage}%
+ \renewcommand{\@evenfoot}{\thepage\hfil}%
+}
+\newcommand{\frontmatter}{%
+ \pagestyle{noheadings}%
+ \pagenumbering{roman}%
+ \setcounter{page}{5}%
+}
+\newcommand{\mainmatter}{%
+ \cleardoublepage
+ \pagestyle{headings}
+ \markboth{}{}%
+ \pagenumbering{arabic}%
+}
+\newcommand{\backmatter}{%
+ \pagestyle{empty}%
+}
+\def\cleardoublepage{%
+ \clearpage
+ \ifodd\c@page\else
+ \hbox{}\thispagestyle{empty}\newpage
+ \fi
+}
+\newcommand*{\chaptermark}[1]{}
+\setcounter{secnumdepth}{1}
+\setcounter{tocdepth}{1}
+\newcounter{part}
+\newcounter{chapter}
+\newcounter{section}[chapter]
+\newcounter{subsection}[section]
+\newcounter{paragraph}[subsection]
+\renewcommand\thepart{\@Roman\c@part}
+\renewcommand\thechapter{\@arabic\c@chapter}
+\renewcommand\thesection{\thechapter.\@arabic\c@section}
+\renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
+\renewcommand\theparagraph{\thesubsection.\@arabic\c@paragraph}
+\newcommand\@chapapp{\chaptername}
+\newcommand{\part}{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{empty}%
+ \secdef\@part\@spart
+}
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{.75em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \begin{flushright}
+ \null
+ \vskip2cm
+ \bfseries
+ \LARGE
+ \partname\nobreakspace\thepart
+ \par
+ \vskip3ex
+ \huge
+ #2
+ \end{flushright}
+ \@endpart
+}
+\def\@spart#1{%
+ \markboth{#1}{}%
+ \addcontentsline{toc}{part}{#1}%
+ \begin{flushright}
+ \null
+ \vskip2cm
+ \bfseries
+ \LARGE
+ \vphantom{\partname\nobreakspace\thepart}%
+ \par
+ \vskip3ex
+ \huge
+ #1
+ \end{flushright}
+ \@endpart
+}
+\def\@endpart{%
+ \vfil\newpage
+ \if@openright
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi
+}
+\newcommand{\chapter}{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{plain}%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@chapter\@schapter
+}
+\def\@chapter[#1]#2{%
+ \ifnum\c@secnumdepth>\m@ne
+ \refstepcounter{chapter}%
+ \typeout{\@chapapp\space\thechapter.}%
+ \addcontentsline{toc}{chapter}{%
+ \protect\numberline{\thechapter}#1%
+ }%
+ \else
+ \addcontentsline{toc}{chapter}{#1}%
+ \fi
+ \chaptermark{#1}%
+ \addtocontents{lof}{\protect\addvspace{4\p@}}%
+ \addtocontents{lot}{\protect\addvspace{4\p@}}%
+ \@makechapterhead{#2}%
+ \@afterheading
+}
+\def\@makechapterhead#1{%
+ \vspace*{40\p@}%
+ {\parindent \z@ \raggedright \normalfont\bfseries
+ \ifnum\c@secnumdepth>\m@ne
+ {\Large\slshape\@chapapp\space\thechapter}%
+ \else
+ \null
+ \fi
+ \par\nobreak
+ \vskip 10\p@
+ \interlinepenalty\@M
+ \LARGE #1\par\nobreak
+ \vskip 30\p@
+ }%
+}
+\def\@schapter#1{%
+ \@makeschapterhead{#1}%
+ \@afterheading
+}
+\def\@makeschapterhead#1{%
+ \vspace*{40\p@}%
+ {\parindent \z@ \raggedright \normalfont\bfseries
+ \null\par\nobreak
+ \vskip 10\p@
+ \interlinepenalty\@M
+ \LARGE #1\par\nobreak
+ \vskip 30\p@
+ }%
+}
+\newcommand{\section}{\@startsection{section}{1}{\z@}%
+ {-3ex \@plus -1ex \@minus -.2ex}%
+ {2ex \@plus .2ex}%
+ {\normalfont\Large\bfseries}%
+}
+\newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
+ {-2.25ex\@plus -1ex \@minus -.2ex}%
+ {1ex \@plus .2ex}%
+ {\normalfont\large\bfseries}%
+}
+\newcommand{\paragraph}{\@startsection{paragraph}{3}{\z@}%
+ {-1.75ex \@plus -.75ex \@minus -.2ex}%
+ {.7ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}%
+}
+\renewcommand\@seccntformat[1]{\csname the#1\endcsname\hspace{.5em}}
+\newenvironment{abstract*}{%
+ \begin{center}%
+ \bfseries\abstractname\vspace{-1.5ex}\vspace{\z@}
+ \end{center}%
+ \quotation
+ }{%
+ \ifx\@keywords\empty\else
+ \par\medskip
+ \noindent
+ \textbf{\keywordsname:} \@keywords
+ \fi
+ \endquotation
+}
+\newenvironment{abstract}{%
+ \begin{abstract*}%
+ \addcontentsline{toc}{chapter}{\abstractname}%
+ \thispagestyle{plain}%
+ }{%
+ \end{abstract*}%
+}
+\newcommand{\keywordsname}{Keywords}
+\def\@keywords{}
+\def\keywords#1{\gdef\@keywords{#1}}
+\newenvironment{acknowledgments*}{%
+ \begin{center}%
+ \bfseries\acknowledgmentsname\vspace{-1.5ex}\vspace{\z@}
+ \end{center}%
+ \quotation
+ }{%
+ \endquotation
+}
+\newenvironment{acknowledgments}{%
+ \begin{acknowledgments*}%
+ \addcontentsline{toc}{chapter}{\acknowledgmentsname}%
+ \thispagestyle{plain}%
+ }{%
+ \end{acknowledgments*}%
+}
+\newcommand{\acknowledgmentsname}{Acknowledgments}
+\@addtoreset{equation}{chapter}
+\renewcommand\theequation{%
+ \ifnum\c@chapter>\z@ \thechapter.\fi \@arabic\c@equation
+}
+\newcounter{figure}[chapter]
+\renewcommand\thefigure{%
+ \ifnum\c@chapter>\z@ \thechapter.\fi \@arabic\c@figure
+}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
+\newenvironment{figure}{%
+ \@float{figure}%
+}{%
+ \end@float
+}
+\newcounter{table}[chapter]
+\renewcommand\thetable{%
+ \ifnum\c@chapter>\z@ \thechapter.\fi \@arabic\c@table
+}
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{\tablename\nobreakspace\thetable}
+\newenvironment{table}{%
+ \@float{table}%
+}{%
+ \end@float
+}
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{4\p@}
+\setlength\belowcaptionskip{0\p@}
+\newlength\captionwidth
+\setlength{\captionwidth}{0.7\textwidth}
+\long\def\@makecaption#1#2{%
+ \vskip\abovecaptionskip
+ \sbox\@tempboxa{\small\textbf{#1:} #2}%
+ \ifdim \wd\@tempboxa >\captionwidth
+ \hb@xt@\hsize{\hfil
+ \parbox[t]{\captionwidth}{\small\textbf{#1:} #2}%
+ \hfil
+ }\par
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+ \vskip\belowcaptionskip
+}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\newcommand\tableofcontents{%
+ \chapter*{\contentsname}
+ \@mkboth{\contentsname}{\contentsname}%
+ \@starttoc{toc}%
+}
+\newcommand*\l@part[2]{%
+ \addpenalty\@secpenalty
+ \addvspace{.75em \@plus\p@}%
+ \setlength\@tempdima{3em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ {%
+ \leavevmode
+ \normalsize\bfseries
+ #1\hfil \hb@xt@\@pnumwidth{\hss #2}%
+ }\par
+ \nobreak
+ \global\@nobreaktrue
+ \everypar{\global\@nobreakfalse\everypar{}}%
+ \endgroup
+}
+\newcommand*\l@chapter[2]{%
+ \addpenalty\@secpenalty
+ \setlength\@tempdima{1.5em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \endgroup
+}
+\newcommand*\l@section{%
+ \@dottedtocline{1}{1.5em}{2.3em}%
+}
+\newcommand*\l@subsection{%
+ \@dottedtocline{2}{3.8em}{3.2em}%
+}
+\newcommand*\l@paragraph{\@dottedtocline{3}{10em}{5em}}
+\newcommand\listoffigures{%
+ \chapter*{\listfigurename}%
+ \@mkboth{\listfigurename}{\listfigurename}%
+ \@starttoc{lof}%
+}
+\newcommand*\l@figure{\@dottedtocline{1}{0pt}{2.3em}}
+\newcommand\listoftables{%
+ \chapter*{\listtablename}%
+ \@mkboth{\listtablename}{\listtablename}%
+ \@starttoc{lot}%
+}
+\let\l@table\l@figure
+\newenvironment{thebibliography}[1]{%
+ \chapter*{\bibname}%
+ \@mkboth{\bibname}{\bibname}%
+ \addcontentsline{toc}{chapter}{\bibname}%
+ \list{\@biblabel{\@arabic\c@enumiv}}{%
+ \settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}%
+ }%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m
+}{%
+ \def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist
+}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\renewcommand\footnoterule{%
+ \kern-3\p@
+ \hrule\@width.25\columnwidth
+ \kern2.6\p@
+}
+\@addtoreset{footnote}{chapter}
+\newcommand\@makefntext[1]{%
+ \parindent 1em%
+ \noindent
+ \hb@xt@1.2em{\hss\@makefnmark}\hspace{.1em}#1
+}
+\endinput
+%%
+%% End of file `awmonograph.clo'.
diff --git a/Master/texmf-dist/tex/latex/vxu/vxulicentiate.cls b/Master/texmf-dist/tex/latex/vxu/vxulicentiate.cls
new file mode 100644
index 00000000000..3bd591aaaa0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/vxu/vxulicentiate.cls
@@ -0,0 +1,383 @@
+%%
+%% Copyright (C) 2007 by Robert Nyqvist.
+%%
+%% Class for typesetting licentiate theses at Växjö University.
+%%
+%% Any modified versions of this file must be renamed with new
+%% filenames distinct from vxulicentiate.cls. It is better to
+%% use \renewcommand or similar control sequences, than change
+%% the code in this file.
+%%
+\NeedsTeXFormat{LaTeX2e}[2001/06/01]
+\ProvidesClass{vxulicentiate}%
+ [2007/05/17\space v2.0\space Class for Theses, Vaxjo University]
+\DeclareOption{twocolumn}
+ {\ClassError{vxulicentiate}{Option `twocolumn' is not supported}{}}
+\DeclareOption{oneside}
+ {\ClassError{vxulicentiate}{Option `oneside' is not supported}{}}
+\DeclareOption{11pt}
+ {\ClassError{vxulicentiate}{Option `11pt' is not supported}{}}
+\DeclareOption{12pt}
+ {\ClassError{vxulicentiate}{Option `12pt' is not supported}{}}
+\DeclareOption{a4paper}
+ {\ClassError{vxulicentiate}{Option `a4paper' is not supported}}
+\DeclareOption{a5paper}
+ {\ClassError{vxulicentiate}{Option `a5paper' is not supported}}
+\DeclareOption{b5paper}
+ {\ClassError{vxulicentiate}{Option `b5paper' is not supported}{}}
+\DeclareOption{letterpaper}
+ {\ClassError{vxulicentiate}{Option `letterpaper' is not supported}{}}
+\DeclareOption{legalpaper}
+ {\ClassError{vxulicentiate}{Option `legalpaper' is not supported}{}}
+\DeclareOption{executivepaper}
+ {\ClassError{vxulicentiate}{Option `executivepaper' is not supported}{}}
+\DeclareOption{landscape}
+ {\ClassError{vxulicentiate}{Option `landscape' is not supported}{}}
+\DeclareOption{notitlepage}
+ {\ClassError{vxulicentiate}{Option `notitlepage' is not supported}{}}
+\DeclareOption{titlepage}
+ {\ClassError{vxulicentiate}{Option `titlepage' is not supported}{}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
+\ProcessOptions\relax
+\LoadClass[10pt,onecolumn,openany,twoside]{book}
+\RequirePackage{geometry}
+\geometry{%
+ papersize={169mm,239mm},
+ textwidth=117mm,
+ lines=43,
+ inner=22mm,
+ top=25mm,
+ headheight=12pt,
+ headsep=15pt,
+ footskip=30pt
+}
+\RequirePackage{ifpdf}
+\ifpdf
+ \RequirePackage[pdftex]{graphicx,color}
+ \pdfadjustspacing 1
+ \AtBeginDocument{%
+ \DeclareGraphicsExtensions{.mps,.pdf,.jpg,.png}%
+ \DeclareGraphicsRule{*}{mps}{*}{}%
+ }
+\else
+ \RequirePackage[dvips]{graphicx,color}
+ \AtBeginDocument{%
+ \DeclareGraphicsExtensions{.mps,.eps}%
+ \DeclareGraphicsRule{*}{eps}{*}{}%
+ }
+\fi
+\RequirePackage{fancyhdr}
+\fancyfoot{}
+\fancyhead{}
+\fancyhead[RO]{\small\nouppercase\rightmark}
+\fancyhead[LE]{\small\nouppercase\leftmark}
+\fancyfoot[LE,RO]{\thepage}
+\renewcommand{\headrulewidth}{\z@}
+\pagestyle{fancy}
+\definecolor{vxucolor}{cmyk}{1,0.6,0,0.56}
+\newenvironment{pagecoords}{%
+ \vtop\bgroup%
+ \kern-\topskip
+ \kern-\topmargin
+ \kern-\headheight
+ \kern-\headsep
+ \kern-1in
+ \hbox\bgroup%
+ \ifodd\c@page
+ \kern-\oddsidemargin
+ \else
+ \kern-\evensidemargin
+ \fi
+ \kern-1in
+ \setlength{\unitlength}{1mm}%
+ \begin{picture}(0,0)(0,239)
+ }{%
+ \end{picture}%
+ \egroup
+ \egroup
+}
+\newcommand*{\wexio}{V\"{a}xj\"{o}}
+\newcommand*{\university}{University}
+\newcommand*{\department}{School of Mathematics and System Engineering}
+\newcommand*{\publication}{Reports from MSI}
+\newcommand*{\thesistype}{Licentiate Thesis}
+\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
+\let\@subtitle\@empty
+\newcommand*{\publyear}[1]{\gdef\@publyear{#1}}
+\def\@publyear{????}
+\newcommand*{\discipline}[1]{\gdef\@discipline{#1}}
+\def\@discipline{????}
+\newcommand{\information}{%
+ A thesis for the Degree of Licentiate of Philosophy in \@discipline.%
+}
+\newcommand*{\address}{SE\kern.1em-\kern.1em 351\kern.15em95 \wexio, Sweden}
+\newcommand*{\homepage}{http://www.vxu.se/msi/}
+\newcommand{\ISSN}{1650-2647}
+\newcommand{\ISRN}[2]{%
+ \gdef\@subject{#1}%
+ \gdef\@reportno{#2}%
+}
+\newcommand{\telephone}{+46\,(0)470\,70\,80\,00}
+\newcommand{\fax}{+46\,(0)470\,840\,04}
+\newcommand{\frontcover}{%
+ \thispagestyle{empty}
+ \begin{pagecoords}
+ \setlength{\fboxrule}{\z@}
+ \setlength{\fboxsep}{\z@}
+ \put(0,0){\makebox(0,0)[lb]{\color{vxucolor}{\rule{20mm}{239mm}}}}
+ \put(30,179){\makebox(0,0)[lb]{%
+ \parbox[t]{119mm}{%
+ \raggedright
+ \fontsize{17.28}{20.74}\usefont{T1}{phv}{m}{n}\@author
+ }%
+ }%
+ }
+ \put(30,167){\makebox(0,0)[lt]{%
+ \parbox[t]{119mm}{%
+ \raggedright
+ \fontsize{29.86}{37}\usefont{T1}{ppl}{m}{n}\@title
+ \ifx\@empty\@subtitle\else
+ \par\vspace{.75cm}
+ \fontsize{24.88}{29.86}\usefont{T1}{ppl}{m}{n}%
+ \@subtitle
+ \fi
+ \par\vspace{1.5cm}
+ \fontsize{12}{14.4}\usefont{T1}{phv}{m}{n}%
+ \thesistype
+ }%
+ }%
+ }
+ \put(94.5,229){%
+ \makebox(0,0)[ct]{%
+ \includegraphics[width=8mm]{vxusymbol.1}%
+ \kern0.5em\raisebox{\depth}{%
+ \fontsize{17.28}{20.74}\usefont{T1}{ppl}{m}{n}%
+ \wexio\space\university
+ }%
+ }%
+ }
+ \put(94.5,15){%
+ \makebox(0,0)[cb]{%
+ \parbox{9cm}{%
+ \centering\fontsize{8}{9.6}\selectfont%
+ \textbf{\department}\\[-0.4\baselineskip]
+ \rule{9cm}{0.3pt}\\
+ \textbf{\publication}
+ }%
+ }%
+ }
+ \end{pagecoords}
+ \newpage
+ \thispagestyle{empty}
+ \hbox{}\clearpage
+}
+\renewcommand{\maketitle}{%
+ \thispagestyle{empty}
+ \begin{center}
+ \fontsize{14.4}{17.28}\selectfont\@author\par\vspace{.5cm}%
+ \fontsize{20.74}{24.88}\selectfont\@title
+ \ifx\@empty\@subtitle\else
+ \par\vspace{0.25\baselineskip}%
+ \fontsize{17.28}{20.74}\selectfont\@subtitle
+ \fi
+ \par\vspace{1.5cm}%
+ \fontsize{12}{14.4}\selectfont\thesistype
+ \par\vspace{\baselineskip}%
+ \fontsize{12}{14.4}\selectfont\@discipline
+ \par\vspace{2\baselineskip}%
+ \fontsize{11}{12}\selectfont\oldstylenums{\@publyear}
+ \vfill
+ \includegraphics[width=9mm]{vxusymbol.1}%
+ \kern0.5em\hbox{%
+ \raisebox{\depth}{%
+ \fontsize{17.28}{20.74}\usefont{T1}{ppl}{m}{n}%
+ \wexio\space\university
+ }%
+ }%
+ \end{center}
+ \clearpage
+}
+\newcommand{\makecopyright}{%
+ \thispagestyle{empty}
+ \vspace*{\fill}%
+ \noindent
+ {
+ \fontsize{9}{10.8}\selectfont
+ \information
+ \par\vspace{2\baselineskip}\noindent
+ \textbf{\@title}%
+ \ifx\@empty\@subtitle\else
+ \\
+ \textbf{\@subtitle}
+ \fi
+ \\
+ \@author
+ \par\vspace{2\baselineskip}\noindent
+ \wexio\space\university\\
+ \department\\
+ \address\\
+ \homepage
+ \par\vspace{0.5\baselineskip}\noindent
+ \publication, no \@reportno/\@publyear\\
+ ISSN \ISSN\\
+ ISRN VXU/MSI/\@subject/R/--\@reportno--SE
+ }%
+ \clearpage
+}
+\newcommand{\dedication}[1]{%
+ \ifx\@dedication\empty\else
+ \thispagestyle{empty}
+ \vspace*{3cm}
+ \begin{center}
+ \fontsize{14.4}{17.28}\usefont{T1}{pzc}{m}{it}%
+ #1
+ \end{center}
+ \clearpage
+ \thispagestyle{empty}
+ \mbox{}
+ \clearpage
+ \fi
+}
+\newcommand{\backcover}{%
+ \clearpage
+ \thispagestyle{empty}
+ \mbox{}
+ \clearpage
+ \ifodd\c@page
+ \thispagestyle{empty}
+ \mbox{}
+ \clearpage
+ \fi
+ \thispagestyle{empty}
+ \begin{pagecoords}
+ \setlength{\fboxrule}{\z@}
+ \setlength{\fboxsep}{\z@}
+ \put(169,0){%
+ \makebox(0,0)[rb]{\color{vxucolor}{\rule{20mm}{239mm}}}%
+ }
+ \put(74.5,15){%
+ \makebox(0,0)[cb]{%
+ \parbox{9cm}{%
+ \centering
+ \includegraphics[width=8mm]{vxusymbol.1}\\
+ {%
+ \fontsize{17.28}{20.74}\usefont{T1}{ppl}{m}{n}%
+ \wexio\\\university
+ }\\[\baselineskip]
+ \fontsize{8}{9.6}\selectfont%
+ \textbf{\department}\\
+ \address\\[\baselineskip]
+ Telephone \telephone, fax \fax\\
+ \homepage
+ }%
+ }%
+ }
+ \end{pagecoords}
+}
+\newenvironment{keywords}[1][Key-words]{%
+ \par\vspace{.5\baselineskip}%
+ \noindent\textbf{#1:}
+}{}
+\newenvironment{abstract}[1][Abstract]{%
+ \clearpage
+ \thispagestyle{plain}
+ \addcontentsline{toc}{chapter}{#1}
+ \begin{center}
+ \Large\slshape\bfseries #1
+ \end{center}
+ \par%\vspace{.25\baselineskip}
+ \noindent\ignorespaces
+}{}
+\setcounter{secnumdepth}{1}
+\setcounter{tocdepth}{1}
+
+
+\renewcommand{\part}{%
+ \clearpage
+ \thispagestyle{empty}%
+ \@tempswafalse
+ \null\vfil
+ \secdef\@part\@spart
+}
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \markboth{}{}%
+ {%
+ \centering
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c@secnumdepth >-2\relax
+ \LARGE\bfseries \partname~\thepart
+ \par
+ \vskip 20\p@
+ \fi
+ \Huge \bfseries #2\par
+ }%
+ \@endpart
+}
+\def\@spart#1{%
+ {%
+ \centering
+ \interlinepenalty \@M
+ \normalfont
+ \Huge \bfseries #1\par
+ }%
+ \@endpart
+}
+\def\@makechapterhead#1{%
+ \vspace*{15\p@}%
+ {%
+ \parindent \z@ \raggedright \normalfont
+ \ifnum \c@secnumdepth >\m@ne
+ \Large\bfseries\slshape \@chapapp\space \thechapter
+ \par\nobreak
+ \vskip 10\p@
+ \fi
+ \interlinepenalty\@M
+ \huge \bfseries\upshape #1\par\nobreak
+ \vskip 30\p@
+ }%
+}
+\def\@makeschapterhead#1{%
+ \vspace*{15\p@}%
+ {%
+ \parindent \z@ \raggedright
+ \normalfont
+ \interlinepenalty\@M
+ \huge\bfseries #1\par\nobreak
+ \vskip 30\p@
+ }%
+}
+\renewcommand{\section}{%
+ \@startsection{section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\Large\bfseries\slshape}%
+}
+\renewcommand{\subsection}{%
+ \@startsection{subsection}{2}{\z@}%
+ {-2.5ex\@plus -1ex \@minus -.2ex}%
+ {1ex \@plus .2ex}%
+ {\normalfont\large\bfseries}%
+}
+\renewcommand{\subsubsection}{%
+ \@startsection{subsubsection}{2}{\z@}%
+ {-10pt plus 2pt minus 4pt}
+ {-12pt plus 2pt minus 2pt}%
+ {\normalsize\bfseries\slshape}%
+}
+\let\paragraph\relax
+\let\subparagraph\relax
+\setlength{\parindent}{.5cm}
+\@addtoreset{figure}{chapter}
+\@addtoreset{table}{chapter}
+\renewcommand{\thefigure}{\thechapter.\arabic{figure}}
+\renewcommand{\thetable}{\thechapter.\arabic{table}}
+\endinput
+%%
+%% End of file `vxulicentiate.cls'.
diff --git a/Master/texmf-dist/tex/latex/vxu/vxutentamen.sty b/Master/texmf-dist/tex/latex/vxu/vxutentamen.sty
new file mode 100644
index 00000000000..a7dbb39022d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/vxu/vxutentamen.sty
@@ -0,0 +1,441 @@
+%
+%% vxutentamen.sty
+%%
+%% (C) Robert Nyqvist, 2005-2007
+%%
+%% Du få ändra i denna fil förutsatt att du döper om filen.
+%%
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{vxutentamen}
+\DeclareOption{svenska}{%
+ \def\@vxu{V\"{a}xj\"{o} universitet}
+ \def\tentamens@typ{Tentamen}
+ \def\@kryssa{Kryssa f\"{o}r de uppgifter du l\"{a}mnar in}
+ \def\@uppgift{Uppgift}
+ \def\@png{Po\"{a}ng}
+ \def\@kryss{S\"{a}tt X}
+ \def\@Examinator{Examinator}
+ \def\@datum{Datum}
+ \def\@tid{Tid}
+ \def\@lokal{Plats}
+ \def\@Kurskod{Kurskod}
+ \def\@hjlp{Till{\aa}tna hj\"{a}lpmedel}
+ \def\@Meddelande{Meddelande fr{\aa}n l\"{a}raren}
+ \def\@betyg{Betyg}
+ \def\@klegitimation{Uppvisat k{\aa}rlegitimation}
+ \def\@legitimation{Uppvisat legitimation}
+ \def\@ja{Ja}
+ \def\@nej{Nej}
+ \def\@tidinlmn{Tid f\"{o}r inl\"{a}mmnande}
+ \def\@tvakt{Tentamensvaktens signatur}
+ \def\@tentanden{F\"{a}lten nedan fylls i av tentanden}
+ \def\@namn{Namn}
+ \def\@adress{Adress}
+ \def\@epost{E-post}
+ \def\@telefonnummer{Telefonnummer}
+ \def\@personnummer{Personnummer}
+ \def\@antalblad{Antal inl\"{a}mnade blad}
+ \def\tentamensdatum{%
+ \@dag dagen den
+ \oldstylenums{\@tday}
+ \ifcase\@tmonth\or
+ januari\or februari\or mars\or april\or maj\or juni\or juli\or
+ augusti\or september\or oktober\or november\or december%
+ \fi
+ \space
+ \oldstylenums{\@tyear}, klockan
+ \oldstylenums{\@start}.\oldstylenums{00}%
+ --\oldstylenums{\@slut}.\oldstylenums{00}
+ }
+ \def\@rubrik{\tentamens@typ\ i \@kursnamn, \@kurskod, \@kurspoang}
+ \def\@lrubrik{%
+ L\"{o}sningsf\"{o}rslag till \MakeLowercase{\tentamens@typ}
+ i \@kursnamn, \@kurskod, \@kurspoang
+ }
+}
+\DeclareOption{engelska}{%
+ \def\@vxu{V\"{a}xj\"{o} University}
+ \def\tentamens@typ{Examination}
+ \def\@kryssa{Tick the exercises you hand in}
+ \def\@uppgift{Exercises}
+ \def\@png{Points}
+ \def\@kryss{Put a tick}
+ \def\@Examinator{Examiner}
+ \def\@datum{Date}
+ \def\@tid{Time}
+ \def\@lokal{Place}
+ \def\@Kurskod{Course Code}
+ \def\@hjlp{Allowed aids}
+ \def\@Meddelande{Messages from the teacher}
+ \def\@betyg{Grade}
+ \def\@klegitimation{Uppvisat k{\aa}rlegitimation}
+ \def\@legitimation{Uppvisat legitimation}
+ \def\@ja{Ja}
+ \def\@nej{Nej}
+ \def\@tidinlmn{Tid f\"{o}r inl\"{a}mmnande}
+ \def\@tvakt{Tentamensvaktens signatur}
+ \def\@tentanden{The student complete the form below}
+ \def\@namn{Name}
+ \def\@adress{Address}
+ \def\@epost{E-mail}
+ \def\@telefonnummer{Telephone}
+ \def\@personnummer{Personal code number}
+ \def\@antalblad{The number of sheets handed in}
+ \def\tentamensdatum{%
+ \ifcase\@tmonth\or
+ January \or February \or March \or April \or May\or June\or
+ July\or August\or September\or October\or November\or
+ December%
+ \fi
+ \space
+ \oldstylenums{\@tday},
+ \oldstylenums{\@tyear} from
+ \oldstylenums{\@start}:\oldstylenums{00} to
+ \oldstylenums{\@slut}:\oldstylenums{00}
+ }
+ \def\@rubrik{\tentamens@typ\ in \@kursnamn, \@kurskod, \@kurspoang}
+ \def\@lrubrik{%
+ Solutions to \MakeLowercase{\tentamens@typ} in
+ \@kursnamn, \@kurskod, \@kurspoang
+ }
+}
+\ExecuteOptions{svenska}
+\ProcessOptions
+\RequirePackage{ifpdf}
+\ifpdf
+ \RequirePackage[pdftex]{graphicx,color}
+ \pdfcompresslevel 9
+ \pdfadjustspacing 1
+ \AtBeginDocument{%
+ \DeclareGraphicsExtensions{.mps,.pdf,.jpg,.png}%
+ \DeclareGraphicsRule{*}{mps}{*}{}%
+ }
+\else
+ \RequirePackage[dvips]{graphicx,color}
+ \AtBeginDocument{%
+ \DeclareGraphicsExtensions{.mps,.eps}%
+ \DeclareGraphicsRule{*}{eps}{*}{}%
+ }
+\fi
+\RequirePackage{geometry,calc,array}
+\geometry{width=16cm,height=24cm,nohead,nofoot}
+\pagestyle{empty}
+\def\tentamenstyp#1{\gdef\tentamens@typ{#1}}
+\def\examinator#1{\gdef\@examinator{#1}}
+\def\institution#1{\gdef\@institution{#1}}
+\def\kurs#1#2#3{%
+ \gdef\@kursnamn{#1}%
+ \gdef\@kurskod{#2}%
+ \gdef\@kurspoang{#3}%
+}
+\def\datum#1#2#3#4{%
+ \gdef\@tyear{#1}%
+ \gdef\@tmonth{#2}%
+ \gdef\@tday{#3}%
+ \gdef\@dag{#4}%
+}
+\def\@tday{}
+\def\@tmonth{}
+\def\@tyear{}
+\def\@dag{}
+\def\tid#1#2{\gdef\@start{#1}\gdef\@slut{#2}}
+\def\@start{}
+\def\@slut{}
+\def\plats#1{\gdef\@plats{#1}}
+\def\@meddelandei{}
+\def\@meddelandeii{}
+\def\@hjlpmedel{}
+\newif\if@meddelande
+\@meddelandefalse
+\newcommand{\meddelande}[3][\VF]{%
+ \def\VF{#2}%
+ \gdef\@meddelandei{#1}%
+ \gdef\@meddelandeii{#2}%
+ \gdef\@hjlpmedel{#3}%
+ \@meddelandetrue
+}
+\newcount\@antaluppgifter
+\def\antaluppgifter#1{\global\@antaluppgifter=#1}
+\def\@boxrubrik(#1,#2)#3{\put(#1,#2){\makebox(0,0)[lt]{%
+ \fontsize{7}{8}\usefont{T1}{phv}{b}{n}#3}}%
+}
+\def\@boxrubrikkursiv(#1,#2)#3{\put(#1,#2){\makebox(0,0)[lt]{%
+ \fontsize{7}{8}\usefont{T1}{phv}{m}{sl}#3}}%
+}
+\def\@boxtext(#1,#2)#3{\put(#1,#2){\makebox(0,0)[lt]{%
+ \usefont{T1}{phv}{m}{n}#3}}%
+}
+\def\@boxtextkursiv(#1,#2)#3{\put(#1,#2){\makebox(0,0)[lb]{%
+ \usefont{T1}{phv}{m}{sl}#3}}%
+}
+\def\@ruta{%
+ \begin{picture}(4,4)
+ \put(0,0){\line(1,0){4}}
+ \put(0,4){\line(1,0){4}}
+ \put(0,0){\line(0,1){4}}
+ \put(4,0){\line(0,1){4}}
+ \end{picture}%
+}
+\def\@uppgifter{%
+ \bgroup
+ \setlength{\unitlength}{6mm}%
+ \begin{picture}(0,12)(0,-12)
+ \@boxrubrikkursiv(0.2,1.3){\@kryssa}
+ \@boxtext(2.222,0.1){\makebox(0,0)[b]{%
+ \fontsize{8}{9}\usefont{T1}{phv}{m}{n}\@uppgift}%
+ }
+ \@boxtext(6.666,0.1){\makebox(0,0)[b]{%
+ \fontsize{8}{9}\usefont{T1}{phv}{b}{n}\@png}%
+ }
+ \@boxtextkursiv(11.1,0.1){\makebox(0,0)[b]{%
+ \fontsize{8}{9}\usefont{T1}{phv}{m}{sl}\@kryss}%
+ }
+ \put(0,1.45){\line(1,0){13.333}}
+ \put(4.444,0){\line(0,-1){12}}
+ \put(8.888,0){\line(0,-1){12}}
+ \newcount\@kvar
+ \@kvar=\@antaluppgifter
+ \ifnum\@kvar<12
+ \loop
+ \put(0,-\the\@kvar.5){%
+ \makebox(0,0)[l]{%
+ \textcolor[gray]{.8}{\rule{80mm}{6mm}}%
+ }%
+ }%
+ \advance\@kvar by 1
+ \ifnum\@kvar<12\repeat
+ \fi
+ \newcount\@y
+ \newcount\@nr
+ \newcount\@au
+ \@nr=1
+ \@au=\@antaluppgifter
+ \advance\@au by 1
+ \loop
+ \put(0,-\the\@y){\line(1,0){13.333}}
+ \ifnum\@nr<\@au
+ \put(2.222,-\the\@y.5){%
+ \makebox(0,0){\fontsize{12}{9}\usefont{T1}{phv}{m}{n}\the\@nr}%
+ }
+ \fi
+ \advance\@nr by 1
+ \advance\@y by 1
+ \ifnum\@y<\@au\repeat
+ \end{picture}
+ \egroup
+}
+\def\@ifyll(#1,#2)#3{%
+ \@boxtextkursiv(#1,#2){
+ \makebox(76,0)[bl]{#3\space\hrulefill}%
+ }%
+}
+\def\blankett{%
+ \noindent
+ \parbox[t]{.5\textwidth}{%
+ \fontsize{20.74}{20.74}\usefont{T1}{ppl}{m}{n}%
+ \includegraphics[width=1.4em]{vxusymbol.1}%
+ \kern.25em\hbox{\raisebox{\depth}{\@vxu}}\\
+ \mbox{}\kern1.65em\parbox{5cm}{%
+ \fontsize{10.37}{12.444}\usefont{T1}{ppl}{m}{n}\@institution}}
+ \hspace*{\fill}%
+ \bgroup
+ \fontsize{35}{25}\usefont{T1}{phv}{m}{n}\tentamens@typ
+ \egroup
+ \vskip7ex
+ \setlength{\unitlength}{1mm}
+ \noindent
+ \begin{picture}(160,190)(0,-190)
+ \put(80,-160){\makebox(0,0)[lb]{\@uppgifter}}
+ % Horisontella linjer
+ \put(0,0){\line(1,0){160}}
+ \put(0,-10){\line(1,0){80}}
+ \put(0,-20){\line(1,0){80}}
+ \put(0,-30){\line(1,0){80}}
+ \put(0,-40){\line(1,0){80}}
+ \put(0,-65){\line(1,0){80}}
+ \put(0,-142){\line(1,0){80}}
+ \put(0,-160){\line(1,0){160}}
+ \put(0,-170){\line(1,0){160}}
+ \put(0,-180){\line(1,0){160}}
+ \put(0,-190){\line(1,0){160}}
+ % Vertikala linjer
+ \put(0,0){\line(0,-1){190}}
+ \put(160,0){\line(0,-1){190}}
+ \put(80,0){\line(0,-1){160}}
+ \put(40,-142){\line(0,-1){18}}
+ \put(80,-180){\line(0,-1){10}}
+ % Text
+ \@boxrubrik(1,-1){\@Examinator}
+ \@boxtext(2,-5){\@examinator}
+ \@boxrubrik(1,-11){\@datum}
+ \@boxtext(2,-15){%
+ \@tyear--%
+ \ifnum\@tmonth<10\relax0\fi\@tmonth--%
+ \ifnum\@tday<10\relax0\fi\@tday
+ }
+ \@boxrubrik(60,-11){\@tid}
+ \@boxtext(61,-15){\@start--\@slut}
+ \@boxrubrik(1,-21){\@lokal}
+ \@boxtext(2,-25){\@plats}
+ \@boxrubrik(1,-31){\@Kurskod}
+ \@boxtext(2,-35){\@kurskod}
+ \@boxrubrik(1,-41){\@hjlp}
+ \@boxtext(2,-45){\parbox[t]{76mm}{\raggedright\@hjlpmedel}}
+ \@boxrubrik(1,-66){\@Meddelande}
+ \@boxtext(2,-70){\parbox[t]{76mm}{%
+ \raggedright\@meddelandei}}
+ \@boxrubrik(1,-143){\@png}
+ \@boxrubrik(41,-143){\@betyg}
+ \@boxtext(2,-163.5){\@klegitimation}
+ \put(60,-167){\@ruta}
+ \@boxtext(66,-163.5){\@ja}
+ \put(85,-167){\@ruta}
+ \@boxtext(91,-163.5){\@nej}
+ \@boxtext(2,-173.5){\@legitimation}
+ \put(60,-177){\@ruta}
+ \@boxtext(66,-173.5){\@ja}
+ \put(85,-177){\@ruta}
+ \@boxtext(91,-173.5){\@nej}
+ \@boxrubrik(1,-181){\@tidinlmn}
+ \@boxrubrik(81,-181){\@tvakt}
+ \@boxrubrikkursiv(81,-1){\@tentanden}
+ \@ifyll(82,-12){\@namn:}
+ \@ifyll(82,-22){\@adress:}
+ \@ifyll(82,-32){\phantom{\@adress:}}
+ \@ifyll(82,-42){\@epost:}
+ \@ifyll(82,-52){\@telefonnummer:}
+ \@ifyll(82,-62){\@personnummer:}
+ \@ifyll(82,-76){\@antalblad:}
+ \end{picture}
+ \newpage
+}
+\def\huvud{
+ \noindent\textbf{\large\@vxu}\\
+ \@institution\\
+ \textit{\@examinator}
+ \vskip4ex
+ \begin{center}
+ \textbf{\@rubrik}
+ \ifx\@tday\empty\else
+ \\
+ \tentamensdatum
+ \fi
+ \end{center}
+ \if@meddelande
+ \vskip3ex
+ \begin{center}
+ \setlength{\fboxsep}{2mm}
+ \setlength{\fboxrule}{.01mm}
+ \fbox{\parbox[l]{155.8mm}{\@meddelandeii
+ \ifx\@meddelandeii\@empty\else
+ \ifx\@hjlpmedel\@empty\else
+ \par
+ \fi
+ \fi
+ \ifx\@hjlpmedel\@empty\else
+ \textsl{\@hjlp:} \@hjlpmedel
+ \fi}%
+ }
+ \end{center}
+ \fi
+ \vskip3ex
+}
+\def\poang#1{\hspace*{\fill}(#1)}
+\newcounter{uppgift}
+\newenvironment{uppgifter}{%
+ \begin{list}{%
+ \hfill\textbf{\arabic{uppgift}.}%
+ }{%
+ \usecounter{uppgift}%
+ \settowidth{\labelwidth}{\textbf{22.}}%
+ \setlength{\labelsep}{1em}%
+ \setlength{\leftmargin}{\labelwidth+\labelsep}%
+ \setlength{\rightmargin}{0pt}%
+ }
+ }{%
+ \write\@auxout{\string\antaluppgifter{\theuppgift}}%
+ \end{list}
+}
+\newcounter{duppgift}
+\renewcommand{\theduppgift}{(\alph{duppgift})}
+\newenvironment{duppgifter}{%
+ \begin{list}{\theduppgift\hfill}{%
+ \usecounter{duppgift}%
+ \setlength{\leftmargin}{2em}%
+ \setlength{\rightmargin}{0pt}%
+ \setlength{\labelwidth}{2em}%
+ \setlength{\labelsep}{0pt}%
+ \setlength{\itemindent}{0pt}%
+ \setlength{\listparindent}{.75em}%
+ \setlength{\itemsep}{5pt}%
+ \setlength{\parsep}{0pt}%
+ \setlength{\topsep}{.5ex}%
+ }%
+ }{%
+ \end{list}
+}
+\newcounter{deluppgift}
+\renewcommand{\thedeluppgift}{(\alph{deluppgift})}
+\newlength{\koli}
+\setlength{\koli}{2em}
+\newlength{\kolii}
+\newcommand{\du}{%
+ \makebox[\koli][l]{\thedeluppgift}%
+ \refstepcounter{deluppgift}%
+}
+\newenvironment{deluppgifter}[1][2]{%
+ \par
+ \setlength{\kolii}{\linewidth}%
+ \addtolength{\kolii}{-#1\koli}%
+ \ifcase#1\or\or
+ \setlength{\kolii}{.5\kolii}% Om #1 = 2
+ \or
+ \setlength{\kolii}{.332\kolii}% Om #1 = 3
+ \or
+ \setlength{\kolii}{.25\kolii}% Om #1 = 4
+ \or
+ \setlength{\kolii}{.2\kolii}% Om #1 = 5
+ \fi
+ \setcounter{deluppgift}{1}%
+ \let\oldarraystretch=\arraystretch
+ \renewcommand{\arraystretch}{1.35}%
+ \noindent
+ \begin{tabular}[t]{*{#1}{@{\du}p{\kolii}}@{}}
+ }{%
+ \end{tabular}
+ \par
+ \renewcommand{\arraystretch}{\oldarraystretch}
+}
+\def\mvh#1{%
+ \vskip3ex
+ \begin{center}
+ \usefont{T1}{pzc}{m}{it}\Large#1
+ \end{center}%
+}
+\newcommand{\facit}{%
+ \clearpage
+ \noindent\textbf{\@vxu}\\
+ \@institution\\
+ \textit{\@examinator}
+ \vskip4ex
+ \begin{center}
+ \textbf{\@lrubrik}%
+ \ifx\@tday\empty\else
+ \\
+ \tentamensdatum
+ \fi
+ \end{center}
+ \vskip3ex
+ }
+\newenvironment{lsn}{%
+ \begin{list}{\hfill\textbf{\arabic{uppgift}.}}{%
+ \usecounter{uppgift}%
+ \settowidth{\labelwidth}{\textbf{22.}}%
+ \setlength{\labelsep}{1em}%
+ \setlength{\leftmargin}{\labelwidth+\labelsep}%
+ \setlength{\rightmargin}{0pt}%
+ }
+ }{%
+ \end{list}%
+}