-
Notifications
You must be signed in to change notification settings - Fork 0
/
TemplateMathCoding.tex
57 lines (49 loc) · 1.6 KB
/
TemplateMathCoding.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
\documentclass{article}
\usepackage{titlesec}
\usepackage{fancyhdr}
\usepackage{listings}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage[inline]{enumitem}
\usepackage[letterpaper, portrait, margin=1in]{geometry}
\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=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
\pagestyle{fancy}
\lhead{Liam Frye-Mason}
\chead{CLASSNAME}
\rhead{DATE}
\setcounter{section}{8} %HOMEWORK # - 1
\titleformat{\section}
{\normalfont\Large\bfseries}
{}
{0pt}
{Homework \thesection:\quad}
\begin{document}
\section{}
%\lstinputlisting[language=Octave]{CODEFILE}
%\includegraphics[width=\linewidth]{PICTUREFILE}
\end{document}