LaTeX-template/LaTeX-template.tex

46 lines
1,012 B
TeX
Raw Normal View History

2022-02-03 14:27:39 -06:00
\documentclass[12pt]{article}
2022-02-13 19:49:02 -06:00
%gives us the ability to use colour
\usepackage[dvipsnames]{xcolor}
2022-02-03 14:27:39 -06:00
%to set margins
\usepackage[margin=2cm]{geometry}
%for math typing
\usepackage{latexsym, amssymb, amsfonts, mathtools, xfrac}
%for source code listings
\usepackage{listings}
2022-02-03 14:27:39 -06:00
%for algorithm typing
\usepackage[noEnd=false]{algpseudocodex}
2022-02-13 19:35:29 -06:00
%set some settings for listings package
\lstset{
backgroundcolor=\color{white},
basicstyle=\footnotesize\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
2022-02-13 19:49:02 -06:00
commentstyle=\color{Green},
2022-02-13 19:35:29 -06:00
frame=single,
keepspaces=true,
keywordstyle=\color{blue},
numbers=left,
numbersep=5pt,
numberstyle=\tiny\color{gray},
rulecolor=\color{black},
stepnumber=1,
stringstyle=\color{BurntOrange},
tabsize=2,
}
2022-02-03 14:27:39 -06:00
%turn off section below a specific depth
% \setcounter{secnumdepth}{0}
%makes subsections alphabetical.
% \renewcommand\thesubsection{\alph{subsection}).}
2022-02-03 14:27:39 -06:00
\title{REPLACE}
\date{REPLACE}
\author{Gabriel Venberg}
\begin{document}
\maketitle
\end{document}