% By zmienic jezyk na angielski/polski, dodaj opcje do klasy english lub polish
\documentclass[polish,12pt]{aghthesis}
\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{array}
\usepackage{subcaption}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\usepackage{enumitem}
\usepackage{tabularx}
\usepackage{float}
\usepackage{placeins}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{listings}
\usepackage{doi}
% Definiowanie customowych listingów kodów
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
% Definicja customowego listingu języka JavaScript
\lstdefinelanguage{JavaScript}{
keywords={break, case, catch, class, const, continue, debugger, default, delete, do, else, export, finally, for, function, if, import, in, instanceof, new, return, super, switch, this, throw, try, typeof, var, void, while, with, yield, async, await, let},
keywordstyle=\color{magenta}\bfseries,
ndkeywords={Promise, console, JSON, Error, Boolean, Number, String, Object, Function, Array, Date, RegExp, Map, Set, Infinity, NaN, undefined, null, eval, parseInt, parseFloat, escape, unescape},
ndkeywordstyle=\color{teal}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{//},
morecomment=[s]{/*}{*/},
commentstyle=\color{codegreen}\ttfamily,
stringstyle=\color{codepurple}\ttfamily,
morestring=[b]',
morestring=[b]",
basicstyle=\ttfamily\footnotesize, % Ustawienia ogólne stylu
}
\lstset{style=mystyle}
\author{Imię Nazwisko}
\titlePL{Tytuł projektu w języku polskim}
\titleEN{Tytuł projektu w języku angielskim}
\fieldofstudy{Kierunek studiów}
\supervisor{Opiekun pracy}
\date{rok wydania}
\begin{document}
\maketitle
\tableofcontents
% Możliwość wypisania spisu rysunków i tabel
%\listoffigures
%\listoftables
% Definicja wszystkich rozdziałów
\input{Chapters/Wstęp, cel i założenia projektu}
\input{Chapters/Przegląd zagadnień}
\input{Chapters/Szczegóły implementacyjne}
\input{Chapters/Testy}
\input{Chapters/Wykorzystanie narzędzi GenAI}
\input{bibliography}
\end{document}