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

Changed default font from Calibri to Georgia

parent 4f2c9be1
No related branches found
No related tags found
No related merge requests found
...@@ -556,26 +556,26 @@ ...@@ -556,26 +556,26 @@
}{} }{}
} }
\AtBeginDocument{ \AtBeginDocument{
\@makefont{\@calibri}{Calibri,Carlito} \@makefont{\@georgia}{Georgia}
\ifexhibitpage\iflith\relax\else \ifexhibitpage\iflith\relax\else
\@makefont{\@korolev}{KorolevLiU,\@calibri} \@makefont{\@korolev}{KorolevLiU,\@georgia}
\fi\fi \fi\fi
} }
\else \else
\ClassWarning{liuthesis}{Please use XeTeX and install Calibri for correct typesetting} \ClassWarning{liuthesis}{Please use XeTeX and install Georgia for correct typesetting}
\AtBeginDocument{ \AtBeginDocument{
\IfFileExists{carlito.sty}{ \IfFileExists{carlito.sty}{
\let\old@sf\sfdefault \let\old@sf\sfdefault
\RequirePackage{carlito} % Changes \sfdefault to \carlito \RequirePackage{carlito} % Changes \sfdefault to \carlito
\let\sfdefault\old@sf \let\sfdefault\old@sf
\newcommand*{\@calibri}{\carlito} \newcommand*{\@georgia}{\carlito}
}{ }{
\ClassWarning{liuthesis}{Package "carlito" not found} \ClassWarning{liuthesis}{Package "carlito" not found}
\newcommand*{\@calibri}{} \newcommand*{\@georgia}{}
} }
\ifexhibitpage\iflith\relax\else \ifexhibitpage\iflith\relax\else
\let\@korolev\@calibri \let\@korolev\@georgia
\fi\fi \fi\fi
} }
...@@ -588,7 +588,7 @@ ...@@ -588,7 +588,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\exhibitpagelith}{% \newcommand{\exhibitpagelith}{%
\@calibri \@georgia
\thispagestyle{empty} \thispagestyle{empty}
\begin{center} \begin{center}
{\footnotesize \@publicationseries}\\ {\footnotesize \@publicationseries}\\
...@@ -704,7 +704,7 @@ ...@@ -704,7 +704,7 @@
\fi \fi
\newcommand\makeundergraduatetitle{% \newcommand\makeundergraduatetitle{%
{\@calibri {\@georgia
{\raggedleft% {\raggedleft%
\sffamily% \sffamily%
\swedishenglish{% \swedishenglish{%
...@@ -738,17 +738,17 @@ ...@@ -738,17 +738,17 @@
-- {\fontsize{13pt}{15pt}\selectfont\swedishenglish{\@subtitleswedish}{\@subtitleenglish}\par}% -- {\fontsize{13pt}{15pt}\selectfont\swedishenglish{\@subtitleswedish}{\@subtitleenglish}\par}%
\hrulefill{} \hrulefill{}
\\{} \\{}
{\@calibri{% {\@georgia{%
\fontsize{13pt}{15pt}\selectfont% \fontsize{13pt}{15pt}\selectfont%
\textit{\swedishenglish{\@titleenglish}{\@titleswedish}}\par}% \textit{\swedishenglish{\@titleenglish}{\@titleswedish}}\par}%
-- --
{\fontsize{13pt}{15pt}\textit{\selectfont\swedishenglish{\@subtitleenglish}{\@subtitleswedish}}\par} {\fontsize{13pt}{15pt}\textit{\selectfont\swedishenglish{\@subtitleenglish}{\@subtitleswedish}}\par}
}% }%
\vspace*{10mm}% \vspace*{10mm}%
{\@calibri\fontsize{12pt}{13pt}\selectfont\textbf{\@author}\par {\@georgia\fontsize{12pt}{13pt}\selectfont\textbf{\@author}\par
}% }%
\vspace*{10mm}% \vspace*{10mm}%
{\@calibri\fontsize{10pt}{11pt}\selectfont {\@georgia\fontsize{10pt}{11pt}\selectfont
\parbox{\textwidth}{\swedishenglish{Handledare}{Supervisor}: \@supervisor\\ \parbox{\textwidth}{\swedishenglish{Handledare}{Supervisor}: \@supervisor\\
\swedishenglish{Examinator}{Examiner}: \@examiner\\[2\baselineskip] \swedishenglish{Examinator}{Examiner}: \@examiner\\[2\baselineskip]
\ifexternalsupervisor \swedishenglish{Extern \ifexternalsupervisor \swedishenglish{Extern
...@@ -769,7 +769,7 @@ ...@@ -769,7 +769,7 @@
} }
\newcommand{\makegraduatetitle}{ \newcommand{\makegraduatetitle}{
\@calibri \@georgia
{\center {\center
{\footnotesize\centerline\@publicationseries{}%\\ {\footnotesize\centerline\@publicationseries{}%\\
\ifphd \ifphd
...@@ -893,7 +893,7 @@ ...@@ -893,7 +893,7 @@
% Intro page for MSC theses % Intro page for MSC theses
\newcommand{\makeinsidepage}{ \newcommand{\makeinsidepage}{
\thispagestyle{empty} \thispagestyle{empty}
{\@calibri\selectfont {\@georgia\selectfont
\vspace*{2cm} \vspace*{2cm}
\section*{Upphovsrätt} \section*{Upphovsrätt}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment