Skip to content
Snippets Groups Projects
Commit ebaf86ec authored by Jari-Matti Mäkelä's avatar Jari-Matti Mäkelä
Browse files

Updated the front page style & month name macro

parent 78fdd492
No related branches found
No related tags found
No related merge requests found
Pipeline #64702 passed
......@@ -234,10 +234,8 @@
\RequirePackage{csquotes} % quotations
% month names
\langfin{
\RequirePackage[fi,en-US]{datetime2}
}{
\RequirePackage[en-US,fi]{datetime2}
\AtEndPreamble{
\RequirePackage[useregional,calc]{datetime2}
}
......@@ -294,14 +292,6 @@
\default{\p@btype}%
\end{switch}}
%% constructs a month name for datetime2
%% @see TeX Book, Chapter 7: How TeX Reads What You Type (p 40)
%% @see http://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/datetime2/datetime2.pdf
%% note: for some languages (en), need to provide a macro such as
%% DTM<language>Monthname -> DTM<language>monthname
\newcommand{\DTMenglishMonthname}[1]{\DTMenglishmonthname{#1}}
\newcommand{\monthname}[1]{\csname DTM#1Monthname\endcsname}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% setup document appearance
......@@ -436,28 +426,30 @@
\vspace*{\stretch{1}}
\vspace{3mm}
\noindent
\rule{\linewidth}{1 mm}
%\rule{\linewidth}{1 mm}
\singlespacing\normalsize
\begin{flushright}
\begin{center}
\Huge{\@title}
\end{flushright}
\rule{\linewidth}{1 mm}
\end{center}
%\rule{\linewidth}{1 mm}
\vspace*{\stretch{4}}
\singlespacing\normalsize
\begin{adjustbox}{minipage=65mm,right}
\thesistype{\l@nguage}\\
\university{\l@nguage}\\
%\begin{adjustbox}{minipage=65mm,right}
\begin{flushright}
\textsc{\university{\l@nguage}}\\
\department{\l@nguage}\\
\thesistype{\l@nguage}\\
\labname{\l@nguage}\\
\ye@r\\
\@author
\ifdefstring{\s@pervisors}{none}{}{\\
\DTMMonthname{\m@nth} \ye@r \\
\@author{}%
\ifdefstring{\s@pervisors}{none}{}{\break
\\
\supervisorstext:
\expandafter\forcsvlist\expandafter\\\expandafter{\s@pervisors}
}
\end{adjustbox}
\end{flushright}
%\end{adjustbox}
\vspace*{\stretch{1}}%
\ifutuftthesis@turnitinchecked
\ifutuftthesis@turnitinnewpage
......@@ -465,9 +457,9 @@
\thispagestyle{empty}
\vspace*{\stretch{1}}
\else
\\
\par
\fi
\scriptsize \noindent{\turnitin}
\scriptsize \begin{center} \noindent{\turnitin} \end{center}
\fi
\end{titlepage}
......@@ -496,7 +488,7 @@
\thesistype{#1}, %
\pagecounttext{#1} \\
\labname{#1} \\
\monthname{#1}{\m@nth} \ye@r\\
\DTMMonthname{\m@nth} \ye@r\\
\rule{\linewidth}{1 pt}%
\setlength{\parindent}{0em}%
\\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment