-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.tex
111 lines (92 loc) · 3.19 KB
/
main.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
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
103
104
105
106
107
108
109
110
111
\documentclass[a4paper,12pt]{article}
\usepackage{answers}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{enumitem}
\usepackage{multicol}
\usepackage{mathrsfs}
\usepackage{minted}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, total={5in, 10in}]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{newclude}
\usepackage{parskip}
\usepackage{listings}
\usepackage{color}
\usepackage[hyphens]{url}
\usepackage{xspace}
\usepackage{textcomp}
\usepackage{courier}
\usepackage{titlesec}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage{fancyvrb}
\usepackage[titletoc,toc,page]{appendix}
\usepackage[super,negative]{nth}
\usepackage{hyperref}
\usepackage{tabularx}
\usepackage{ltablex}
\usepackage{longtable}
\usepackage{makecell}
% Set chapter title size
\titleformat{\chapter}{\normalfont\huge\bfseries}{\thechapter.}{20pt}{\Huge}
% Line spacing
\renewcommand{\baselinestretch}{1.1}
% Footer spacing
\addtolength{\skip\footins}{2pc plus 2pt}
% Set assets folder
\graphicspath{{assets/}}
% Bibliography%
% Clickable Table of Contents
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\R}{\mathbb{R}}
\DeclareMathOperator{\sech}{sech}
\DeclareMathOperator{\csch}{csch}
\newenvironment{theorem}[2][Theorem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{definition}[2][Definition]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{proposition}[2][Proposition]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{lemma}[2][Lemma]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{exercise}[2][Exercise]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{solution}[2][Solution]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newenvironment{problem}[2][Problem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{question}[2][Question]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\newenvironment{corollary}[2][Corollary]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\begin{document}
% --------------------------------------------------------------
% Start here
% --------------------------------------------------------------
\title{Homework Template}%replace with the appropriate homework number
\author{Your Name, Roll Number\\ %replace with your name
Course-Semester} %if necessary, replace with your course title
\maketitle
\begin{figure}[htp]
\centering
%\includegraphics[width=3cm]{example}
\caption{Example figure}
\label{fig:example}
\end{figure}
\section{Conclusion}
\nocite{*}
\bibliographystyle{acm}
\bibliography{references}
\end{document}