Skip to content
Snippets Groups Projects
Commit 8e16018b authored by Ola Leifler's avatar Ola Leifler
Browse files

Made sure Swedish theses are typeset correctly by adding a new package option

parent 601aed07
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ exhibitpage - Produce an exhibit page (spikblad) and no thesis. Use
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.
......
No preview for this file type
......@@ -7,9 +7,9 @@
%% Created: Thu Oct 14 12:52:20 2010 (CEST)
%% Version: $Id$
%% Version:
%% Last-Updated: Wed May 25 16:55:08 2016 (+0200)
%% Last-Updated: Wed Jun 1 17:20:05 2016 (+0200)
%% By: Ola Leifler
%% Update #: 108
%% Update #: 118
%% URL:
%% Keywords:
%% Compatibility:
......@@ -29,7 +29,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%% Code:
\documentclass[bachelor,lith,showtrims,printerfriendly]{liuthesis}
\documentclass[bachelor,lith,showtrims,english]{liuthesis}
%% Settings go in settings.tex
\include{settings}
\usepackage{rotating}
......@@ -43,14 +43,15 @@
\examiner{Min examinator}
\titleenglish{A very very long title}
\thesissubject{Datateknik}
\thesislanguage{english}
% \thesislanguage{swedish}
\publicationyear{15}
\currentyearthesisnumber{001}
\dateofpublication{2015-05-08}
%\author{\texttt{\textbackslash author}}
\author{Ola Leifler}
\author{\parbox{\textwidth}{Ola Leifler\\
Alexander Sanner}}
\begin{document}
......
......@@ -6,9 +6,9 @@
%% Maintainer:
%% Created: Fri Mar 20 08:25:23 2009 (CET)
%% Version:
%% Last-Updated: Wed May 25 16:49:52 2016 (+0200)
%% Last-Updated: Wed Jun 1 17:19:35 2016 (+0200)
%% By: Ola Leifler
%% Update #: 1124
%% Update #: 1127
%% URL:
%% Keywords:
%% Compatibility:
......@@ -192,6 +192,14 @@
\printerfriendlytrue
}
\DeclareOption{swedish}{%
\thesislanguage{swedish}
}
\DeclareOption{english}{%
\thesislanguage{english}
}
\newif\ifexhibitpage
\exhibitpagefalse
......@@ -294,7 +302,7 @@
\RequirePackage{csquotes}
\ifxetex
\swedishenglish{
\RequirePackage[swedish,english]{polyglossia}
\RequirePackage{polyglossia}
\setmainlanguage{swedish}
\setotherlanguages{english}
}{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment