Last active
November 21, 2021 23:41
-
-
Save yashsavani/4e7c331adeff53e9f6aa4901e507f827 to your computer and use it in GitHub Desktop.
Latex Skeleton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{ysavani} | |
\title{} | |
\author{ | |
Yash Savani \\ | |
Computer Science Department \\ | |
Carnegie Mellon University \\ | |
Pittsburgh, PA 15213 \\ | |
[email protected] | |
} | |
\begin{document} | |
\maketitle | |
\end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{amsmath,amssymb,amsthm} | |
\topmargin 0pt | |
\advance \topmargin by -\headheight | |
\advance \topmargin by -\headsep | |
\textheight 8.9in | |
\oddsidemargin 0pt | |
\evensidemargin \oddsidemargin | |
\marginparwidth 0.5in | |
\textwidth 6.5in | |
\parindent 0in | |
\parskip 1.5ex | |
\usepackage[utf8]{inputenc} % allow utf-8 input | |
\usepackage[T1]{fontenc} % use 8-bit T1 fonts | |
\usepackage{hyperref} % hyperlinks | |
\usepackage{url} % simple URL typesetting | |
\usepackage{booktabs} % professional-quality tables | |
\usepackage{nicefrac} % compact symbols for 1/2, etc. | |
\usepackage{microtype} % microtypography | |
\usepackage{titlesec} | |
\usepackage{overpic} | |
\usepackage{titling} | |
\usepackage{verbatim} | |
\usepackage{float} | |
\usepackage{amssymb,amsfonts,amsmath} | |
\usepackage{enumerate} | |
\usepackage[shortlabels]{enumitem} | |
\usepackage{graphicx,wrapfig,lipsum} | |
\usepackage{color} | |
\usepackage{colortbl} | |
\usepackage{makecell} | |
\usepackage{multirow} | |
\usepackage{tabularx} | |
\usepackage{tikz} | |
\usepackage{amsthm} | |
\usepackage{caption} | |
\usepackage{subfigure} | |
\usepackage{algpseudocode,algorithm,algorithmicx} | |
\usepackage{cancel} | |
\usepackage{listings} | |
\DeclareMathOperator*{\E}{\mathbb{E}} | |
\let\Pr\relax | |
\DeclareMathOperator*{\Pr}{\mathbb{P}} | |
\bibliographystyle{plainurl} | |
\newfloat{Figure}{tbp}{loa} | |
\floatname{Figure}{Figure} | |
\setlength{\droptitle}{-10em} | |
\definecolor{codeblue}{rgb}{0.25, 0.5, 0.5} | |
\definecolor{codekw}{rgb}{0.35, 0.35, 0.75} | |
\lstdefinestyle{Pytorch}{ | |
language = Python, | |
backgroundcolor = \color{white}, | |
basicstyle = \ttfamily\footnotesize, | |
columns = fullflexible, | |
breaklines = true, | |
captionpos = b, | |
commentstyle = \fontsize{4pt}{4pt}\color{codeblue}, | |
keywordstyle = \fontsize{4pt}{4pt}\color{codekw}, | |
morekeywords = with, | |
} | |
\newcommand{\eps}{\varepsilon} | |
\renewcommand\qedsymbol{$\blacksquare$} | |
\newcommand{\problem}[1]{\section{#1}} % Problem. | |
\newcommand{\new}[1]{{\em #1\/}} % New term (set in italics). | |
\newcommand{\set}[1]{\{#1\}} % Set (as in \set{1,2,3}) | |
\newcommand{\setof}[2]{\{\,{#1}|~{#2}\,\}} % Set (as in \setof{x}{x > 0}) | |
\newcommand{\C}{\mathbb{C}} % Complex numbers. | |
\newcommand{\N}{\mathbb{N}} % Positive integers. | |
\newcommand{\Q}{\mathbb{Q}} % Rationals. | |
\newcommand{\R}{\mathbb{R}} % Reals. | |
\newcommand{\Z}{\mathbb{Z}} % Integers. | |
\newcommand{\LL}{\mathcal{L}} | |
\newcommand{\compl}[1]{\overline{#1}} | |
\renewcommand{\vec}[1]{\boldsymbol{#1}} | |
\renewcommand{\exp}[1]{\textt{exp}\left({#1}\right)} | |
\newcommand{\pr}[1]{\text{\bf Pr}\normalfont\lbrack #1 \rbrack} %probability | |
\newcommand{\ex}[1]{\mathbb{E}\normalfont\lbrack #1 \rbrack}%expectation | |
\newcommand{\exof}[2]{\mathbb{E}_{#1}\normalfont\lbrack #2 \rbrack}%expectation | |
\newcommand{\bpr}[1]{\text{\bf Pr}\normalfont \Big[#1 \Big]} %probability | |
\newcommand{\bex}[1]{\mathbb{E}\normalfont \Big[#1 \Big]} | |
\newcommand{\ang}[1]{\langle #1 \rangle} | |
\newcommand{\ind}[1]{\mathbb{I}\left\{#1\right\}} | |
\newcommand{\m}{\mathfrak{m}} | |
\newcommand{\p}{\mathfrak{p}} | |
\newcommand{\PP}{\mathbb{P}} | |
\newcommand{\G}{\mathcal{G}} | |
\newcommand{\tx}[1]{\text{#1}} | |
\newcommand{\ttx}[1]{\texttt{#1}} | |
\widowpenalty=10000 | |
\clubpenalty=10000 | |
\flushbottom | |
\sloppy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment