LaTeX-template/article-template.tex

52 lines
1.1 KiB
TeX
Raw Normal View History

2022-02-03 21:27:39 +01:00
\documentclass[12pt]{article}
2022-02-14 02:49:02 +01:00
%gives us the ability to use colour
\usepackage[dvipsnames]{xcolor}
2022-02-03 21:27:39 +01:00
%to set margins
\usepackage[margin=2cm]{geometry}
2022-04-14 06:10:30 +02:00
%lets us add pics
\usepackage{graphicx}
2022-02-18 23:43:11 +01:00
% adds newline after paragraph, removes indent
\usepackage{parskip}
2022-02-03 21:27:39 +01:00
%for math typing
\usepackage{latexsym, amssymb, amsfonts, mathtools, xfrac}
2022-03-09 00:47:36 +01:00
%for making pretty trees
\usepackage{forest}
%for source code listings
\usepackage{listings}
2022-02-03 21:27:39 +01:00
%for algorithm typing
\usepackage[noEnd=false]{algpseudocodex}
2022-02-14 02:35:29 +01:00
%set some settings for listings package
\lstset{
backgroundcolor=\color{white},
basicstyle=\footnotesize\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
2022-02-14 02:49:02 +01:00
commentstyle=\color{Green},
2022-02-14 02:35:29 +01: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 21:27:39 +01:00
%turn off section below a specific depth
% \setcounter{secnumdepth}{0}
%makes subsections alphabetical.
% \renewcommand\thesubsection{\alph{subsection}).}
2022-02-03 21:27:39 +01:00
\title{REPLACE}
\date{REPLACE}
\author{Gabriel Venberg}
\begin{document}
\maketitle
\end{document}