Skip to content
Snippets Groups Projects

Replaced the artificial \baselinestretch linespacings with linespacing package.

Merged Iisakki Jaakkola requested to merge (removed):master into master
1 file
+ 8
7
Compare changes
  • Side-by-side
  • Inline
+ 8
7
@@ -41,6 +41,7 @@
@@ -41,6 +41,7 @@
\RequirePackage{fancyhdr} % customized headers/footers
\RequirePackage{fancyhdr} % customized headers/footers
\RequirePackage{xstring} % string comparison
\RequirePackage{xstring} % string comparison
\RequirePackage[lastpage,totpages,user]{zref} % page counting logic
\RequirePackage[lastpage,totpages,user]{zref} % page counting logic
 
\RequirePackage{setspace} % linespacing
%% Custom package options
%% Custom package options
%\DeclareStringOption[00]{year}
%\DeclareStringOption[00]{year}
@@ -373,7 +374,7 @@
@@ -373,7 +374,7 @@
%
%
% - fake 2 linespacing
% - fake 2 linespacing
%
%
\renewcommand{\baselinestretch}{1.655}
\doublespacing
%% Modify the \printbibliography command
%% Modify the \printbibliography command
\defbibheading{bibliography}[\refs]{
\defbibheading{bibliography}[\refs]{
@@ -458,14 +459,14 @@
@@ -458,14 +459,14 @@
\vspace{3mm}
\vspace{3mm}
\noindent
\noindent
\rule{\linewidth}{1 mm}
\rule{\linewidth}{1 mm}
\renewcommand{\baselinestretch}{1.05}\normalsize
\singlespacing\normalsize
\begin{flushright}
\begin{flushright}
\Huge{\@title}
\Huge{\@title}
\end{flushright}
\end{flushright}
\rule{\linewidth}{1 mm}
\rule{\linewidth}{1 mm}
\vspace*{\stretch{4}}
\vspace*{\stretch{4}}
\renewcommand{\baselinestretch}{1}\normalsize
\singlespacing\normalsize
\begin{adjustbox}{minipage=65mm,right}
\begin{adjustbox}{minipage=65mm,right}
\thesistype{\l@nguage}\\
\thesistype{\l@nguage}\\
\university{\l@nguage}\\
\university{\l@nguage}\\
@@ -492,7 +493,7 @@
@@ -492,7 +493,7 @@
\fi
\fi
\end{titlepage}
\end{titlepage}
\renewcommand{\baselinestretch}{1.655}\normalsize
\doublespacing\normalsize
\clearpage
\clearpage
}
}
@@ -502,7 +503,7 @@
@@ -502,7 +503,7 @@
\setlength{\headheight}{0 pt}
\setlength{\headheight}{0 pt}
\setlength{\headsep}{0 pt}
\setlength{\headsep}{0 pt}
\addtolength\topmargin{-0.54 cm}
\addtolength\topmargin{-0.54 cm}
\renewcommand{\baselinestretch}{1}\normalsize
\singlespacing\normalsize
\clearpage
\clearpage
\pagenumbering{alph}
\pagenumbering{alph}
\addtocounter{page}{#2}
\addtocounter{page}{#2}
@@ -535,7 +536,7 @@
@@ -535,7 +536,7 @@
\setlength{\headheight}{12 pt}%
\setlength{\headheight}{12 pt}%
\setlength{\headsep}{24 pt}%
\setlength{\headsep}{24 pt}%
\setlength{\topmargin}{0 mm}%
\setlength{\topmargin}{0 mm}%
\renewcommand{\baselinestretch}{1.655}%
\doublespacing
\normalsize%
\normalsize%
% roman numbering for table of contents etc.
% roman numbering for table of contents etc.
\pagenumbering{roman}
\pagenumbering{roman}
@@ -570,7 +571,7 @@
@@ -570,7 +571,7 @@
\fi
\fi
\pagenumbering{arabic}
\pagenumbering{arabic}
\setcounter{page}{1}
\setcounter{page}{1}
\renewcommand{\baselinestretch}{1.655}
\doublespacing
\pagestyle{fancy}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\chaptername\ \thechapter.\ ##1}}{}}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\chaptername\ \thechapter.\ ##1}}{}}
\lhead{\leftmark}
\lhead{\leftmark}
Loading