mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-06-01 00:53:36 +00:00
55 lines
1.4 KiB
TeX
55 lines
1.4 KiB
TeX
% Math packages (load before fonts to avoid conflicts)
|
||
\usepackage{amsmath}
|
||
\usepackage{amsthm}
|
||
|
||
% Define theorem environments
|
||
\newtheorem{theorem}{Theorem}
|
||
\newtheorem{definition}{Definition}
|
||
\newtheorem{lemma}{Lemma}
|
||
\newtheorem{corollary}{Corollary}
|
||
|
||
% Font and spacing
|
||
\usepackage{newtxtext,newtxmath}
|
||
\usepackage{setspace}
|
||
\doublespacing
|
||
|
||
% Page geometry
|
||
\usepackage[margin=1in]{geometry}
|
||
|
||
% Essential packages
|
||
\usepackage{graphicx}
|
||
\usepackage{hyperref}
|
||
\usepackage{booktabs}
|
||
\usepackage{csquotes}
|
||
\usepackage{subcaption}
|
||
\usepackage{siunitx}
|
||
\usepackage{tikz}
|
||
\usepackage{listings}
|
||
\usepackage{xcolor}
|
||
\usepackage[ruled,vlined]{algorithm2e}
|
||
\usepackage{cleveref}
|
||
|
||
% Configure cleveref for algorithm2e
|
||
\crefname{algocf}{Algorithm}{Algorithms}
|
||
|
||
\usetikzlibrary{positioning, shapes, arrows.meta, fit, backgrounds}
|
||
\lstset{
|
||
basicstyle=\ttfamily\footnotesize,
|
||
breaklines=true,
|
||
frame=single,
|
||
numbers=left,
|
||
numberstyle=\tiny\color{gray},
|
||
keywordstyle=\color{blue},
|
||
commentstyle=\color{green!60!black},
|
||
stringstyle=\color{red},
|
||
showstringspaces=false,
|
||
captionpos=b,
|
||
inputencoding=utf8,
|
||
extendedchars=true,
|
||
literate={·}{{\textperiodcentered}}1 {−}{{\textminus}}1 {—}{{---}}1 {–}{{--}}1
|
||
}
|
||
|
||
% Use biblatex with APA style for in-text citations like (Author, Year)
|
||
\usepackage[backend=bibtex,style=apa,natbib=true]{biblatex}
|
||
\addbibresource{bib/references.bib}
|