-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaaryan345h.sty
35 lines (29 loc) · 901 Bytes
/
aaryan345h.sty
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
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{aaryan362k}[2022/09/29 1.0.1 CS 345H Template]
\RequirePackage[utf8]{inputenc}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{amsthm}
\RequirePackage{fancyhdr}
\RequirePackage{listings}
\RequirePackage{mathdots}
\RequirePackage{mathtools}
\RequirePackage{parskip}
\RequirePackage{xurl}
\RequirePackage[margin=1in]{geometry}
% for setting title
\newcommand*{\assgnauthor}[1]{\newcommand*{\@assgnauthor}{#1}}
\newcommand*{\assgntitle}[1]{\newcommand*{\@assgntitle}{#1}}
\newcommand*{\assgnclass}[1]{\newcommand*{\@assgnclass}{#1}}
\pagestyle{fancy}
\lhead{\@assgnauthor}
\chead{\@assgnclass}
\rhead{\@assgntitle}
% program formatting
% https://tex.stackexchange.com/questions/172702/how-can-i-make-lstlisting-look-exactly-like-verbatim
\lstset{
basicstyle=\ttfamily,
columns=fullflexible,
keepspaces=true,
}
\endinput