This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hkn.sty
102 lines (88 loc) · 3.12 KB
/
hkn.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% .'\ /`.
% .'.-.`-'.-.`.
% ..._: .-. .-. :_...
% .' '-.(o ) (o ).-' `.
% : _ _ _`~(_)~`_ _ _ :
% : /: ' .-=_ _=-. ` ;\ :
% : :|-.._ ' ` _..-|: :
% : `:| |`:-:-.-:-:'| |:' :
% `. `.| | | | | | |.' .'
% `. `-:_| | |_:-' .'
% `-._ ```` _.-'
% ``-------''
%
% ,--. ,--.,--. ,--.,--. ,--.
% | '--' || .' /| ,'.| |
% | .--. || . ' | |' ' |
% | | | || |\ \| | ` |
% `--' `--'`--' '--'`--' `--'
%
%
% Significant inspiration taken from Simon Kuang ([email protected])
% and CS 170's cs170.sty file compiled by Aditya Baradwaj ([email protected]),
% which largely drew from CS 70's header.sty file compiled by
% Alvin Wan (http://alvinwan.com).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{hkn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Document Information
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\documenttitle{CS61C Notes}
\def\human{Gina Wu}
\def\semester{Spring 2022}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Style
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\chaptitlefont}{\normalfont\LARGE\bfseries}
\title{\textbf{\documenttitle}}
\author{\human}
\date{\semester}
\usepackage[protrusion, expansion, kerning, tracking, spacing]{microtype}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[final]{pdfpages}
\microtypecontext{spacing=nonfrench}
\nonfrenchspacing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{circuitikz}
\usepackage{color}
\usepackage{enumerate}
\usepackage{float}
\usepackage{framed}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{import}
\usepackage{latexsym}
\usepackage{listings}
\usepackage{lmodern}
\usepackage{mathtools}
\usepackage{minted}
\usepackage{multicol}
\usepackage{paralist}
\usepackage{physics}
\usepackage{xspace}
\usepackage{tabu}
\usepackage{tikz}
\usepackage{url}
\usepackage{verbatim}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Miscellaneous
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usemintedstyle{vs}
\renewcommand\labelitemi{-}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Commands (aka shortcuts for fancy letters)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\C{\mathbb{C}}
\def\F{\mathbb{F}}
\def\N{\mathbb{N}}
\def\P{\mathbb{P}}
\def\R{\mathbb{R}}
\def\Z{\mathbb{Z}}