Background graphic
This commit is contained in:
parent
f421352446
commit
860a543032
3 changed files with 24 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,6 +2,7 @@ razpored*
|
||||||
|
|
||||||
# Don't commit the final PDF files
|
# Don't commit the final PDF files
|
||||||
*.pdf
|
*.pdf
|
||||||
|
!fri_background.pdf
|
||||||
|
|
||||||
# The seminarske/ folder should be left empty
|
# The seminarske/ folder should be left empty
|
||||||
seminarske/*
|
seminarske/*
|
||||||
|
|
|
||||||
BIN
fri_background.pdf
Normal file
BIN
fri_background.pdf
Normal file
Binary file not shown.
24
main.tex
24
main.tex
|
|
@ -12,6 +12,22 @@
|
||||||
linkcolor=black,
|
linkcolor=black,
|
||||||
urlcolor=black
|
urlcolor=black
|
||||||
}
|
}
|
||||||
|
% Title page background
|
||||||
|
\usepackage{background}
|
||||||
|
|
||||||
|
\newcommand{\backgroundon}{%
|
||||||
|
\backgroundsetup{
|
||||||
|
scale=1,
|
||||||
|
angle=0,
|
||||||
|
opacity=1,
|
||||||
|
contents={
|
||||||
|
\includegraphics[width=\paperwidth,height=\paperheight]{fri_background.pdf}
|
||||||
|
}
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\newcommand{\backgroundoff}{\backgroundsetup{contents={}}}
|
||||||
|
|
||||||
|
|
||||||
%----------------------------------------------------------------------------------------
|
%----------------------------------------------------------------------------------------
|
||||||
% PAGE DIMENSIONS
|
% PAGE DIMENSIONS
|
||||||
|
|
@ -35,6 +51,8 @@
|
||||||
%----------------------------------------------------------------------------------------
|
%----------------------------------------------------------------------------------------
|
||||||
\begin{titlepage}
|
\begin{titlepage}
|
||||||
|
|
||||||
|
\backgroundon
|
||||||
|
|
||||||
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
|
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
|
||||||
|
|
||||||
\center % Center everything on the page
|
\center % Center everything on the page
|
||||||
|
|
@ -44,7 +62,6 @@
|
||||||
%----------------------------------------------------------------------------------------
|
%----------------------------------------------------------------------------------------
|
||||||
\vspace*{30pt}
|
\vspace*{30pt}
|
||||||
|
|
||||||
% \includegraphics[width=0.3\textwidth]{ul_fri_logo.pdf}\\[1cm]
|
|
||||||
|
|
||||||
\textsc{\LARGE Univerza v Ljubljani}\\[0.4cm] %
|
\textsc{\LARGE Univerza v Ljubljani}\\[0.4cm] %
|
||||||
\textcolor{fri_red}{\textsc{\LARGE Fakulteta za računalništvo in informatiko}}\\[1cm]
|
\textcolor{fri_red}{\textsc{\LARGE Fakulteta za računalništvo in informatiko}}\\[1cm]
|
||||||
|
|
@ -70,6 +87,8 @@
|
||||||
|
|
||||||
\end{titlepage}
|
\end{titlepage}
|
||||||
|
|
||||||
|
\backgroundoff
|
||||||
|
|
||||||
%----------------------------------------------------------------------------------------
|
%----------------------------------------------------------------------------------------
|
||||||
% FOOTNOTE SECTION
|
% FOOTNOTE SECTION
|
||||||
%----------------------------------------------------------------------------------------
|
%----------------------------------------------------------------------------------------
|
||||||
|
|
@ -133,12 +152,15 @@ All rights reserved.}\\[0.5cm]
|
||||||
|
|
||||||
\newcommand{\worksection}[1]{%
|
\newcommand{\worksection}[1]{%
|
||||||
\newpage
|
\newpage
|
||||||
|
\backgroundon
|
||||||
\center % Center everything on the page
|
\center % Center everything on the page
|
||||||
\vspace*{60pt}
|
\vspace*{60pt}
|
||||||
|
|
||||||
\section{{#1}}
|
\section{{#1}}
|
||||||
|
|
||||||
\vfill % Fill the rest of the page with whitespace
|
\vfill % Fill the rest of the page with whitespace
|
||||||
|
\newpage
|
||||||
|
\backgroundoff
|
||||||
}
|
}
|
||||||
|
|
||||||
% Include all the PDFs
|
% Include all the PDFs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue