Template 2: electric boogaloo

This commit is contained in:
Miha Frangež 2025-08-31 13:41:11 +02:00
parent 85d1332d58
commit c033998e95
9 changed files with 336 additions and 34 deletions

113
main.tex
View file

@ -4,22 +4,54 @@
\usepackage{pdfpages}
\usepackage{tabu}
\usepackage[top=2cm, bottom=2cm, outer=1.5cm, inner=1.5cm]{geometry}
% Make TOC clickable
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\usepackage{etoolbox} % for \ifstrequal
%----------------------------------------------------------------------------------------
% NOTE TO EDITORS:
% Anything that you need to edit is marked with "EDIT THIS"
% grep/CTRL+F is your friend
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% VARIABLES
%----------------------------------------------------------------------------------------
\include{edit_this/10-variables}
\newcommand{\nextyear}{\the\numexpr\currentyear+1\relax}
\definecolor{fri_red}{RGB}{225, 48, 41}
\renewcommand{\contentsname}{Kazalo / Contents}
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
\center % Center everything on the page
%----------------------------------------------------------------------------------------
% HEADING SECTIONS
%----------------------------------------------------------------------------------------
\vspace*{70pt}
\vspace*{30pt}
% \includegraphics[width=0.3\textwidth]{ul_fri_logo.pdf}\\[1cm]
\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] %
@ -34,21 +66,20 @@
{ \Huge \bfseries Seminarske naloge,}\\[0.4cm] % Title of your document
{ \Huge \bfseries (leto)/(leto+1)}\\[0.4cm] % Title of your document
{ \Huge \bfseries \currentyear/\nextyear}\\[0.4cm] % Title of your document
%----------------------------------------------------------------------------------------
% DATE SECTION
%----------------------------------------------------------------------------------------
\vspace*{300pt}
{\large Ljubljana, (leto)}\\[2cm] % Date, change the \today to a set date if you want to be precise
{\large Ljubljana, \currentyear}\\[2cm]
%----------------------------------------------------------------------------------------
\vfill % Fill the rest of the page with whitespace
\AddToShipoutPictureBG*{\includegraphics[width=\paperwidth,height=\paperheight]{ozadjeA4.png}}
% \AddToShipoutPictureBG*{\includegraphics[width=\paperwidth,height=\paperheight]{ozadjeA4.png}}
\end{titlepage}
%----------------------------------------------------------------------------------------
@ -59,55 +90,69 @@
\noindent\rule{\textwidth}{0.4pt}
\\[0.5cm]
{\large Zbornik}\\[0.5cm]
{\large Digitalna forenzika, Seminarske naloge (leto)/(leto+1)}\\[0.5cm]
{\large Editors: Andrej Brodnik, (tvoje ime), študenti}\\[0.5cm]
{\large Template author: David Klemenc}\\[0.5cm]
{\large Ljubljana : Univerza v Ljubljani, Fakulteta za računalništvo in informatiko (leto).}\\[0.5cm]
{\large Digitalna forenzika, Seminarske naloge \currentyear/\nextyear}\\[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 \currentyear.}\\[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
%
\tableofcontents
\newpage
%----------------------------------------------------------------------------------------
% THE ACTUAL CONTENT
%%----------------------------------------------------------------------------------------
\section{Uvod / Introduction}
Prvi odstavek uvoda.
\par
Drugi odstavek uvoda.
\par
...
\input{edit_this/30-introduction}
\vspace*{\fill}
\begin{tabu} to \textwidth{ X[l] X[r] }
Ljubljana, (leto) & (tvoje ime)
Ljubljana, \currentyear & \introauthor
\end{tabu}
\newpage
\section{Povzetki / Summaries}
\subsection{Naslov povzetka}
Vsebina povzetka (abstract)
\subsection{Naslov povzetka 2}
Vsebina povzetka 2 (abstract)
...
\input{edit_this/50-summaries}
\includepdf[pages=-, addtotoc={
1,section,1,Metodologija / Methodology,forenzika_metodologija,
1,subsection,1, Programming\, investigation and documentation in digital investigation ,forenzika_metodologija_1}]{./seminarske/DigFor_2018_paper_3.pdf}
\includepdf[pages=-, addtotoc={
1,subsection,1, SCARF: Skaliranje digitalnega forenzičnega procesiranja z uporabo vsebniških tehnologij v oblaku ,forenzika_metodologija_2}]{./seminarske/DigFor_2018_paper_8.pdf}
\newcommand{\lastsection}{} % stores last section name
\includepdf[pages=-, addtotoc={
1,section,1,Razno / Misc,forenzika_razno,
1,subsection,1, DROP (DRone Open source Parser): Forenzična analiza modela DJI Phantom III ,forenzika_razno_1}]{./seminarske/DigFor_2018_paper_17.pdf}
\newcommand{\includework}[3]{%
\ifstrequal{#1}{\lastsection}{%
% same as last → only add subsection
\includepdf[
pages=-,
pagecommand={\thispagestyle{plain}},
addtotoc={1,subsection,1,{#3},{#3}}
]{#2}%
}{%
% different → add both section and subsection
\renewcommand{\lastsection}{#1}%
\includepdf[
pages=-,
pagecommand={\thispagestyle{plain}},
addtotoc={
1,section,1,{#1},{#1},
1,subsection,1,{#3},{#3}
}
]{#2}%
}%
}
\end{document}
\input{edit_this/70-pdf-includes}
\end{document}