zbornik_latex/main.tex
2025-09-04 16:04:52 +02:00

169 lines
5.5 KiB
TeX

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{eso-pic,graphicx}
\usepackage{pdfpages}
\usepackage{tabu}
% Make TOC clickable
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=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
%%----------------------------------------------------------------------------------------
\usepackage[top=2cm, bottom=2cm, outer=1.5cm, inner=1.5cm]{geometry}
%----------------------------------------------------------------------------------------
% VARIABLES
%----------------------------------------------------------------------------------------
\input{edit_this/10-variables}
\newcommand{\yearend}{\the\numexpr\yearstart+1\relax}
\definecolor{fri_red}{RGB}{225, 48, 41}
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\backgroundon
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
\center % Center everything on the page
%----------------------------------------------------------------------------------------
% TITLE PAGE: HEADING SECTIONS
%----------------------------------------------------------------------------------------
\vspace*{30pt}
\textsc{\LARGE Univerza v Ljubljani}\\[0.4cm] %
\textcolor{fri_red}{\textsc{\LARGE Fakulteta za računalništvo in informatiko}}\\[1cm]
\textsc{\LARGE University of Ljubljana}\\[0.4cm] %
\textcolor{fri_red}{\textsc{\LARGE Faculty of Computer and Information Science}}\\[1.5cm]%Name of your university/college
\textsc{\large Zbornik}\\[0.5cm] % Minor heading such as course title
\textsc{\Large Digitalna forenzika}\\[0.5cm] % Major heading such as course name
%----------------------------------------------------------------------------------------
% TITLE PAGE: TITLE SECTION
%----------------------------------------------------------------------------------------
{ \Huge \bfseries Seminarske naloge,}\\[0.4cm] % Title of your document
{ \Huge \bfseries \yearstart/\yearend}\\[0.4cm] % Title of your document
%----------------------------------------------------------------------------------------
% TITLE PAGE: DATE SECTION
%----------------------------------------------------------------------------------------
\vspace*{300pt}
{\large Ljubljana, \yearend}\\[2cm]
%----------------------------------------------------------------------------------------
\vfill % Fill the rest of the page with whitespace
\end{titlepage}
\backgroundoff
%----------------------------------------------------------------------------------------
% FOOTNOTE SECTION
%----------------------------------------------------------------------------------------
\pagenumbering{gobble}
\vspace*{\fill}
\noindent\rule{\textwidth}{0.4pt}
\\[0.5cm]
{\large Zbornik}\\[0.5cm]
{\large Digitalna forenzika, Seminarske naloge \yearstart/\yearend}\\[0.5cm]
{\large Editors: \editors, študenti}\\[0.5cm]
{\large Template authors: David Klemenc, Miha Frangež}\\[0.5cm]
{\large Ljubljana : Univerza v Ljubljani, Fakulteta za računalništvo in informatiko \yearend.}\\[0.5cm]
{\textcopyright These proceedings are for internal purposes and under copyright of University of Ljubljana, Faculty of Computer and Information Science. Any redistribution of the contents in any form is prohibited.
All rights reserved.}\\[0.5cm]
\noindent\rule{\textwidth}{0.4pt}
\clearpage
\pagenumbering{arabic}
%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS
%----------------------------------------------------------------------------------------
\renewcommand{\contentsname}{Kazalo / Contents}
\tableofcontents
\newpage
%----------------------------------------------------------------------------------------
% INTRODUCTION
%----------------------------------------------------------------------------------------
\section{Uvod / Introduction}
\input{edit_this/30-introduction}
\vspace*{\fill}
\begin{tabu} to \textwidth{ X[l] X[r] }
Ljubljana, \yearend & \introauthor
\end{tabu}
\newpage
%----------------------------------------------------------------------------------------
% ABSTRACTS
%----------------------------------------------------------------------------------------
\section{Povzetki / Summaries}
\input{edit_this/50-summaries}
%----------------------------------------------------------------------------------------
% INCLUDE ALL THE PDFs
%----------------------------------------------------------------------------------------
\newcommand{\includework}[2]{%
\includepdf[
pages=-,
pagecommand={},
addtotoc={1,subsection,1,{#2},{#2}}
]{#1}%
}
\newcommand{\worksection}[1]{%
\newpage
\backgroundon
\center % Center everything on the page
\vspace*{60pt}
\section{{#1}}
\vfill % Fill the rest of the page with whitespace
\newpage
\backgroundoff
}
% Include all the PDFs
\input{edit_this/70-pdf-includes}
\end{document}