\documentclass[]{thesisclass}
\usepackage{url}
\urlstyle{same}
\AtBeginDocument{\urlstyle{APACsame}}

\hypersetup{
	hidelinks,linkcolor=black,citecolor=black,
	colorlinks=true,
	urlcolor=black,%
	urlbordercolor=black, %
	breaklinks=true,
	citebordercolor= white,
	linkbordercolor=white
}


\AtBeginDocument{
	\hypersetup{
		breaklinks=true,
		pdfborder={1 1 1},
		pdfborderstyle={/S/U/W 0}   
}}

\usepackage{blindtext}
\AtBeginDocument[apacite-localisation]{%
	\renewcommand{\BOthers}[1]{vd.\hbox{}}%
	\renewcommand{\BOthersPeriod}[1]{vd.\hbox{}}%
	\renewcommand{\BBAA}{ve}
	\renewcommand{\BBAB}{ve}
	\renewcommand{\BAnd}{ve}
}

%\renewcommand{\labelitemi}{$\circ$}
%\renewcommand{\labelitemii}{$\bullet$}
%\renewcommand{\labelitemiii}{$\circ$}
%\renewcommand{\labelitemiv}{$\circ$}
\newcommand{\R}{{\textit{R}}}
\newcommand{\B}{\textcolor{red}}
\newcommand{\N}{{\mathbb N}}
\newcommand{\Ze}{{\mathbb Z}}
\newcommand{\Ad}{{\textbf{Ad}}}
\newcommand{\s}{\textbf{{s}}}
\newcommand{\Ri}{{\mathbb \Re}}
\newcommand{\is}{{\textbf{c}}}
\newcommand{\U}{{\textbf{U}}}
\newcommand{\D}{{\mathbb R}}
\newcommand{\x}{\sout}
\usepackage[operators,sets]{cryptocode}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{float}
\usepackage{caption}
\usepackage{algpseudocode}
\usepackage{listings}
\usepackage{rotating}
\usepackage{booktabs}
\usepackage{adjustbox}
\usepackage{lscape}
\usepackage{graphicx}
\usepackage{tabularx}
\makeatletter
\renewcommand{\ALG@name}{Algoritma}
\makeatother
\title{Tez Başlığı}
\author{Yazar Adı}
\date{15/01/2026}

% custom defined variables
% before deleting any variable, make sure to delete every variable call in the pages! 
% especially in custom pages like abstract, covers, approval, ... etc.
\def \defenseDate {15/01/2026}
\def \supervisor {Prof. Dr. Danışman Adı}
%\def \secondSupervisor {Second SUPERVISOR}
\def \department {BİLGİSAYAR MÜHENDİSLİĞİ}

%------------------------------------------------------------------------------------------------%
\begin{document}
%------------------------------------------------------------------------------------------------%

% including main and inner covers
\include{00_custom_pages/main_cover}
\include{00_custom_pages/inner_cover}

% start numbering with roman number before introduction section
\frontmatter

% start paging from number 1
\setcounter{page}{1}

% set the line hight between lines to 1
\setstretch{1}

% its very important to use this approach in order to make hyperlinks point to the correct page
% its also adds a record in "table of contents"
\phantomsection
\addcontentsline{toc}{chapter}{TEZ KABUL VE ONAYI}
\include{00_custom_pages/approval}
\clearpage


\include{00_custom_pages/ethics}
\clearpage



\phantomsection
\addcontentsline{toc}{chapter}{Özet}
\include{00_custom_pages/ozet}
\clearpage

\phantomsection
\addcontentsline{toc}{chapter}{Abstract}
\include{00_custom_pages/abstract}
\clearpage

% set the line hight between lines to 1.5
\setstretch{1.5}

\phantomsection
\addcontentsline{toc}{chapter}{ÖN SÖZ VE TEŞEKKÜR}
\include{00_custom_pages/acknowledgements}
\clearpage

% set the line hight between lines to 1
\setstretch{1}

% generate table of contents
% search for " \renewcommand{\contentsname}{CONTENTS} " in "thesisclass.cls" file
% if you want to change the label of the table of contents
\phantomsection
\addcontentsline{toc}{chapter}{İÇİNDEKİLER}
\small
\tableofcontents
\clearpage

\phantomsection
\addcontentsline{toc}{chapter}{S\.{I}MGELER VE KISALTMALAR}
\normalsize
\include{00_custom_pages/similirs}
\clearpage

% generate list of figures
% search for " \renewcommand{\listfigurename}{FIGURES LEGENDS} " in "thesisclass.cls" file
% if you want to change the label of the list of figures
\phantomsection
\addcontentsline{toc}{chapter}{ŞEKİLLER DİZİNİ}
\small
\listoffigures
\clearpage

% generate list of tables
% search for " \renewcommand{\listtablename}{TABLES LEGENDS} " in "thesisclass.cls" file
% if you want to change the label of the list of tables
\phantomsection
\addcontentsline{toc}{chapter}{TABLOLAR DİZİNİ}
\small
\listoftables
\clearpage

% start numbering with normal arabic numbers
\mainmatter
\normalsize

% set the line hight between lines to 1.5
\setstretch{1.5}

% Here you can include your sections
% its better to use separate files then including them here than writing directly here!
\input{01_introduction/introduction}
\clearpage

% set the line hight between lines to 1
\setstretch{1}

% referece section, it uses APA style
\thispagestyle{empty}
\phantomsection
\addcontentsline{toc}{chapter}{KAYNAKÇA}
\include{00_custom_pages/references}
\clearpage

% appendix section
%\include{00_custom_pages/appendix}
%\clearpage

% C.V section
\phantomsection
\addcontentsline{toc}{chapter}{ÖZ GEÇMİŞ}
\include{00_custom_pages/cv}
\clearpage

\end{document}