|
|
@@ -1,32 +1,25 @@ |
|
|
|
% PAGE LAYOUT |
|
|
|
% PAGE |
|
|
|
\usepackage[margin=2cm]{geometry} % Margins |
|
|
|
|
|
|
|
% FONT STYLE |
|
|
|
% FONT |
|
|
|
\usepackage[T1, T2A]{fontenc} % Font rendering |
|
|
|
\usepackage[utf8]{inputenc} % Input encoding |
|
|
|
\usepackage[english, serbianc]{babel} |
|
|
|
% \usepackage[defaultsans]{droidsans} % main font |
|
|
|
% \usepackage[p,osf,space]{erewhon} % main font |
|
|
|
% \usepackage[erewhon,vvarbb,bigdelims]{newtxmath} % math font |
|
|
|
\usepackage{microtype} |
|
|
|
|
|
|
|
% PARAGRAPH SETTINGS |
|
|
|
% PARAGRAPH |
|
|
|
\widowpenalty10000 % Prevent widows |
|
|
|
\clubpenalty10000 % Prevent orphans |
|
|
|
\setlength{\parindent}{0pt} % Paragraph indentation |
|
|
|
\setlength{\parskip}{12pt} % Space between paragraphs |
|
|
|
\usepackage[doublespacing]{setspace} |
|
|
|
\setlength{\jot}{2ex} % Line spacing inside equation env |
|
|
|
\setcounter{secnumdepth}{5} % Depth of section numbering |
|
|
|
|
|
|
|
\usepackage{comment} % Comment env for orgtbl exports |
|
|
|
|
|
|
|
% CHAPTER STYLE |
|
|
|
% CHAPTER |
|
|
|
\usepackage{titlesec} % Modify titles style |
|
|
|
\titleformat{\chapter}[hang]{\singlespacing\Huge\bfseries}{\thechapter% |
|
|
|
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter% |
|
|
|
\hspace{20pt}}{0pt}{} % Modify chapter style |
|
|
|
|
|
|
|
% continuous numbering |
|
|
|
% NUMBERING |
|
|
|
\setcounter{secnumdepth}{5} % Depth of section numbering |
|
|
|
\usepackage{chngcntr} |
|
|
|
\counterwithout{figure}{chapter} |
|
|
|
\counterwithout{table}{chapter} |
|
|
@@ -40,10 +33,10 @@ |
|
|
|
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}} |
|
|
|
\fancypagestyle{mainmatter}{ |
|
|
|
\fancyhf{} |
|
|
|
\lhead{\textsf{\nouppercase{\removelinebreaks\@naslov}}} |
|
|
|
\lhead{\nouppercase{\removelinebreaks\@naslov}} |
|
|
|
\rhead{} |
|
|
|
\ifbsc \lfoot{\textsf{\nouppercase{\removelinebreaks\@student} - Дипломски рад}} \fi |
|
|
|
\ifmsc \lfoot{\textsf{\nouppercase{\removelinebreaks\@student} - Мастер рад}} \fi |
|
|
|
\ifbsc \lfoot{\nouppercase{\removelinebreaks\@student} - Дипломски рад} \fi |
|
|
|
\ifmsc \lfoot{\nouppercase{\removelinebreaks\@student} - Мастер рад} \fi |
|
|
|
\cfoot{} |
|
|
|
\rfoot{\thepage} |
|
|
|
} |
|
|
@@ -55,10 +48,10 @@ |
|
|
|
\rfoot{} |
|
|
|
} |
|
|
|
\fancypagestyle{plain}{ |
|
|
|
\lhead{\textsf{\nouppercase{\removelinebreaks\@naslov}}} |
|
|
|
\lhead{\nouppercase{\removelinebreaks\@naslov}} |
|
|
|
\rhead{} |
|
|
|
\ifbsc \lfoot{\textsf{\nouppercase{\removelinebreaks\@student} - Дипломски рад}} \fi |
|
|
|
\ifmsc \lfoot{\textsf{\nouppercase{\removelinebreaks\@student} - Мастер рад}} \fi |
|
|
|
\ifbsc \lfoot{\nouppercase{\removelinebreaks\@student} - Дипломски рад} \fi |
|
|
|
\ifmsc \lfoot{\nouppercase{\removelinebreaks\@student} - Мастер рад} \fi |
|
|
|
\cfoot{} |
|
|
|
\rfoot{\thepage} |
|
|
|
} |
|
|
@@ -72,85 +65,16 @@ |
|
|
|
% QUOTES |
|
|
|
\usepackage[style=german]{csquotes} |
|
|
|
|
|
|
|
% SUPPRESS PAGE NUMBER RESET |
|
|
|
% \makeatletter |
|
|
|
% \def\pagenumbering#1{% |
|
|
|
% \gdef\thepage{\csname @#1\endcsname \c@page}} |
|
|
|
% \makeatother |
|
|
|
|
|
|
|
% FIGURES |
|
|
|
\usepackage[inkscapepath=svgsubdir]{svg} |
|
|
|
\usepackage{pgfplots, etoolbox} % Plot directly from csv |
|
|
|
\usepackage{tikz-3dplot} |
|
|
|
\usepackage{tikz-dimline} |
|
|
|
\usepackage[mode=buildnew]{standalone} |
|
|
|
\usepackage{xstring} |
|
|
|
\usepackage{calc} |
|
|
|
|
|
|
|
\usepackage{tikzscale} |
|
|
|
\usetikzlibrary{pgfplots.groupplots} |
|
|
|
\usetikzlibrary{arrows.meta, bending, positioning, matrix} |
|
|
|
\pgfplotsset{ |
|
|
|
compat=1.15, |
|
|
|
table/search path={csv}, |
|
|
|
every axis/.append style={ |
|
|
|
thick, |
|
|
|
cycle list name=black white, |
|
|
|
% ylabel style={rotate=-90} |
|
|
|
} |
|
|
|
} |
|
|
|
% \usetikzlibrary{external} |
|
|
|
% \tikzexternalize[prefix=tikz-external/] |
|
|
|
|
|
|
|
% MATH |
|
|
|
\usepackage{amsmath} |
|
|
|
\usepackage{amssymb} |
|
|
|
\usepackage{amsbsy} |
|
|
|
\usepackage{mathtools} |
|
|
|
\usepackage{physics} |
|
|
|
\usepackage{commath} % differentials |
|
|
|
\usepackage{interval} % Intervals definitions |
|
|
|
\intervalconfig{soft open fences, separator symbol=;} |
|
|
|
\usepackage{xfrac} % Nicer fractions |
|
|
|
\usepackage{siunitx} % Nicer units |
|
|
|
\usepackage{arydshln} % Dashes in matrices |
|
|
|
\usepackage[Symbol]{upgreek} % Straight Greek symbols |
|
|
|
|
|
|
|
\newcommand\mat[1]{\boldsymbol{\mathrm{#1}}} |
|
|
|
\renewcommand\vec[1]{\boldsymbol{#1}} |
|
|
|
|
|
|
|
\newcommand{\myfourier}{\mbox{\unitlength1em |
|
|
|
\begin{picture}(2,0.5) |
|
|
|
\put(0.5,0.25){\circle{0.4}} |
|
|
|
\put(0.7,0.25){\thicklines \line(1,0){0.6}} |
|
|
|
\put(1.5,0.25){\circle*{0.4}} |
|
|
|
\end{picture}}} |
|
|
|
|
|
|
|
\newcommand{\myinvfourier}{\mbox{\unitlength1em |
|
|
|
\begin{picture}(2,0.5) |
|
|
|
\put(0.5,0.25){\circle*{0.4}} |
|
|
|
\put(0.7,0.25){\thicklines \line(1,0){0.6}} |
|
|
|
\put(1.5,0.25){\circle{0.4}} |
|
|
|
\end{picture}}} |
|
|
|
\usepackage{siunitx} |
|
|
|
|
|
|
|
% REFERENCES & CAPTIONS |
|
|
|
\usepackage{hyperref} % use [hidelinks] to hide links |
|
|
|
\usepackage{subcaption} |
|
|
|
\captionsetup{justification=centering} |
|
|
|
|
|
|
|
% NOMENCLATURE |
|
|
|
\usepackage[intoc]{nomencl} |
|
|
|
\renewcommand*{\pagedeclaration}[1]{\unskip, page \hyperpage{#1}} |
|
|
|
\newcommand{\nomunit}[1]{% |
|
|
|
\renewcommand{\nomentryend}{\hspace*{\fill}#1}} |
|
|
|
\makenomenclature |
|
|
|
\makeatletter |
|
|
|
\patchcmd{\thenomenclature}{\section*}{\section}{}{} |
|
|
|
\makeatother |
|
|
|
|
|
|
|
% ACRONYMS |
|
|
|
\usepackage{acronym} |
|
|
|
|
|
|
|
% ITEMIZE |
|
|
|
\usepackage{enumitem} |
|
|
|
\setlist[itemize]{noitemsep, topsep=0pt} |
|
|
@@ -158,10 +82,7 @@ |
|
|
|
% TABLES |
|
|
|
\usepackage{booktabs} |
|
|
|
|
|
|
|
%% DEBUGGING |
|
|
|
|
|
|
|
% SHOW LABELS |
|
|
|
% \usepackage[draft,inline]{showlabels} |
|
|
|
% TITLE PAGE |
|
|
|
\makeatletter |
|
|
|
\newcommand{\naslov}[1]{\gdef\@naslov{#1}} |
|
|
|
\newcommand{\naslove}[1]{\gdef\@naslove{#1}} |
|
|
@@ -173,17 +94,19 @@ |
|
|
|
\newif\ifbsc |
|
|
|
\newif\ifmsc |
|
|
|
\newcommand{\removelinebreaks}[1]{% |
|
|
|
\begingroup\def\\{}#1\endgroup} |
|
|
|
\begingroup\def\n{ }#1\endgroup} |
|
|
|
|
|
|
|
\newcommand{\n}{\vadjust{\vspace{12pt}}\nolinebreak\hspace{\fill}\linebreak} |
|
|
|
|
|
|
|
\renewcommand{\maketitle}{ |
|
|
|
\begin{titlepage} |
|
|
|
\begin{center} |
|
|
|
{\fontsize{16}{\baselineskip}\selectfont УНИВЕРЗИТЕТ У БЕОГРАДУ\\ ГРАЂЕВИНСКИ ФАКУЛТЕТ} |
|
|
|
{\fontsize{16}{\baselineskip}\selectfont УНИВЕРЗИТЕТ У БЕОГРАДУ\\[6pt] ГРАЂЕВИНСКИ ФАКУЛТЕТ} |
|
|
|
|
|
|
|
\includegraphics[width=46mm]{img/grf.png} |
|
|
|
\vspace{2cm} |
|
|
|
|
|
|
|
{\linespread{2}\fontsize{20}{10}\selectfont\bfseries\MakeUppercase{\@naslov}} |
|
|
|
{\fontsize{20}{\baselineskip}\selectfont\bfseries\MakeUppercase{\@naslov}} |
|
|
|
|
|
|
|
\vspace{1cm} |
|
|
|
|
|
|
@@ -193,26 +116,18 @@ |
|
|
|
} |
|
|
|
\vfill |
|
|
|
|
|
|
|
{ \fontsize{16}{0.8\baselineskip}\selectfont |
|
|
|
{ \fontsize{16}{\baselineskip}\selectfont |
|
|
|
|
|
|
|
\begin{minipage}{0.5\linewidth} |
|
|
|
\textbf{Ментор:} \\ |
|
|
|
\@mentor |
|
|
|
\end{minipage}% |
|
|
|
\begin{minipage}{0.5\linewidth} |
|
|
|
\textbf{Кандидат:} \\ |
|
|
|
\@student |
|
|
|
\end{minipage} |
|
|
|
\begin{tabular*}{\textwidth}{l @{\extracolsep{\fill}} l} |
|
|
|
\textbf{Ментор:} & \textbf{Кандидат:} \\[12pt] |
|
|
|
\@mentor & \@student \\ |
|
|
|
\end{tabular*} |
|
|
|
} |
|
|
|
|
|
|
|
\vspace{1cm} |
|
|
|
|
|
|
|
{ \fontsize{16}{\baselineskip}\selectfont Београд, \@godina } |
|
|
|
\end{center} |
|
|
|
\end{titlepage} |
|
|
|
} |
|
|
|
\makeatother |
|
|
|
|
|
|
|
%%% Local Variables: |
|
|
|
%%% mode: latex |
|
|
|
%%% TeX-master: "main" |
|
|
|
%%% End: |
|
|
|
|
|
|
|
\makeatother |