mirror of
https://github.com/Rushilwiz/econ101.git
synced 2025-04-04 20:50:18 -04:00
123 lines
2.9 KiB
TeX
123 lines
2.9 KiB
TeX
\documentclass{article}
|
|
|
|
\usepackage{fancyhdr}
|
|
\usepackage{extramarks}
|
|
\usepackage{amsmath}
|
|
\usepackage{amsthm}
|
|
\usepackage{amsfonts}
|
|
\usepackage{tikz}
|
|
\usepackage[plain]{algorithm}
|
|
\usepackage{algpseudocode}
|
|
\usepackage[shortlabels]{enumitem}
|
|
\usepackage{mathtools}
|
|
\usepackage{amssymb}
|
|
\usepackage{hyperref}
|
|
\usepackage{tikz}
|
|
\usepackage{pgfplots}
|
|
|
|
\usetikzlibrary{automata,positioning}
|
|
|
|
%
|
|
% Basic Document Settings
|
|
%
|
|
|
|
\topmargin=-0.45in
|
|
\evensidemargin=0in
|
|
\oddsidemargin=0in
|
|
\textwidth=6.5in
|
|
\textheight=9.0in
|
|
\headsep=0.25in
|
|
|
|
\linespread{1.1}
|
|
|
|
\pagestyle{fancy}
|
|
\lhead{\hmwkAuthorName}
|
|
\chead{\hmwkClassTime (\hmwkClassInstructor): \hmwkTitle}
|
|
\lfoot{\lastxmark}
|
|
\cfoot{\thepage}
|
|
|
|
\renewcommand\headrulewidth{0.4pt}
|
|
\renewcommand\footrulewidth{0.4pt}
|
|
|
|
\setlength\parindent{0pt}
|
|
|
|
%
|
|
% Create Problem Sections
|
|
%
|
|
|
|
\newcommand{\enterProblemHeader}[1]{
|
|
\nobreak\extramarks{}{Problem \arabic{#1} continued on next page\ldots}\nobreak{}
|
|
\nobreak\extramarks{Problem \arabic{#1} (continued)}{Problem \arabic{#1} continued on next page\ldots}\nobreak{}
|
|
}
|
|
|
|
\newcommand{\exitProblemHeader}[1]{
|
|
\nobreak\extramarks{Problem \arabic{#1} (continued)}{Problem \arabic{#1} continued on next page\ldots}\nobreak{}
|
|
\stepcounter{#1}
|
|
\nobreak\extramarks{Problem \arabic{#1}}{}\nobreak{}
|
|
}
|
|
|
|
\setcounter{secnumdepth}{0}
|
|
\newcounter{partCounter}
|
|
\newcounter{homeworkProblemCounter}
|
|
\setcounter{homeworkProblemCounter}{1}
|
|
\nobreak\extramarks{Problem \arabic{homeworkProblemCounter}}{}\nobreak{}
|
|
|
|
\newcommand{\hmwkTitle}{Problem Set $number}
|
|
\newcommand{\hmwkDueDate}{$date, 2024}
|
|
\newcommand{\hmwkClass}{Introduction to Economics}
|
|
\newcommand{\hmwkClassTime}{ECON 101}
|
|
\newcommand{\hmwkClassInstructor}{Robert McDonough}
|
|
\newcommand{\hmwkAuthorName}{\textbf{Rushil Umaretiya}}
|
|
|
|
%
|
|
% Title Page
|
|
%
|
|
|
|
\title{
|
|
\vspace{2in}
|
|
\textmd{\textbf{\hmwkClass:\ \hmwkTitle}}\\
|
|
\normalsize\vspace{0.1in}\small{\textbf{Due\ on\ \hmwkDueDate\ at 11:59pm}}\\
|
|
\normalsize\text{Tuesday/Thursday 3:30-4:45, Genome Sciences 100}\\
|
|
\vspace{0.1in}\large{\textit{\hmwkClassInstructor\ - \hmwkClassTime}}
|
|
\vspace{3in}
|
|
}
|
|
|
|
\author{\hmwkAuthorName\\\small{rumareti@unc.edu}}
|
|
\date{}
|
|
|
|
\renewcommand{\part}[1]{\textbf{\large Part \Alph{partCounter}}\stepcounter{partCounter}\\}
|
|
|
|
%
|
|
% Various Helper Commands
|
|
%
|
|
|
|
% Useful for algorithms
|
|
\newcommand{\alg}[1]{\textsc{\bfseries \footnotesize #1}}
|
|
|
|
% For derivatives
|
|
\newcommand{\deriv}[1]{\frac{\mathrm{d}}{\mathrm{d}x} (#1)}
|
|
|
|
% For partial derivatives
|
|
\newcommand{\pderiv}[2]{\frac{\partial}{\partial #1} (#2)}
|
|
|
|
% Integral dx
|
|
\newcommand{\dx}{\mathrm{d}x}
|
|
|
|
% Alias for the Solution section header
|
|
\newcommand{\solution}{\textbf{\large Solution}}
|
|
|
|
\newcommand{\question}[1]{\pagebreak\section{Question #1}}
|
|
|
|
% Probability commands: Expectation, Variance, Covariance, Bias
|
|
\newcommand{\E}{\mathrm{E}}
|
|
\newcommand{\Var}{\mathrm{Var}}
|
|
\newcommand{\Cov}{\mathrm{Cov}}
|
|
\newcommand{\Bias}{\mathrm{Bias}}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\question{X}
|
|
|
|
\end{document} |