-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnaslovna.sty
44 lines (42 loc) · 1.48 KB
/
naslovna.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\ProvidesPackage{naslovna}[]
\RequirePackage{graphicx}
\RequirePackage{tikz}
\def\@mentor{}
\newcommand{\mentor}[1]{\def\@mentor{#1}}
\def\@department{}
\newcommand{\department}[1]{\def\@department{#1}}
\def\@faculty{}
\newcommand{\faculty}[1]{\def\@faculty{#1}}
\def\@university{}
\newcommand{\university}[1]{\def\@university{#1}}
\def\@thesistype{}
\newcommand{\thesistype}[1]{\def\@thesistype{#1}}
\renewcommand*{\maketitle}{%
\begin{titlepage}
\begin{tikzpicture}[overlay,remember picture]
% \node[anchor=north west, outer sep=3.5em] at (current page.north west)
% {\includegraphics[width=7cm]{material/etf_logo.png}};
\node[anchor=north east, outer sep=3em] at (current page.north east)
{};
\end{tikzpicture}
\begin{center}
% \vspace*{1cm}
% {\LARGE\sffamily\scshape\@faculty\par}
% {\LARGE\sffamily\scshape\@university\unskip\strut\par}
\vspace*{1.2cm}
\includegraphics[width=5cm]{material/unsa.png}\par
\vspace*{2cm}
{\Huge\bfseries\sffamily\@title\unskip\strut\par}
{\scshape\huge\sffamily\@thesistype\unskip\strut\uppercase\par}
\vspace*{1cm}
{\Large\sffamily\itshape Autor:} {\Large\sffamily\@author\unskip\strut\par}
{\Large\sffamily\@department\unskip\strut\par}
{\Large\sffamily\scshape\@faculty\unskip\strut\par}
\vspace*{1cm}
{\Large\sffamily\itshape Mentor:} {\Large\sffamily\@mentor\unskip\strut\par}
\vspace*{2.1cm}
{\Large\sffamily\@date\par}
\end{center}
\end{titlepage}
}
\endinput