This is a typical latex template for homework. In this example, we’ll work on some basic math input and tables.
Copy the latex code below into a blank Overleaf document. Try to reproduce the material from the pdf example. Feel free to use google and talk to each other. If you get stuck, you can check the answers here.
\documentclass{article}
\usepackage{graphicx,fancyhdr,amsmath,amssymb,amsthm,subfig,url,hyperref,booktabs, multicol, multirow}
\usepackage[margin=1in]{geometry}
%----------------------- Macros and Definitions --------------------------
\newcommand{\studentname}{First Last}
\newcommand{\suid}{first.last}
\newcommand{\exerciseset}{Homework N}
\renewcommand{\theenumi}{\bf \Alph{enumi}}
%\theoremstyle{plain}
%\newtheorem{theorem}{Theorem}
%\newtheorem{lemma}[theorem]{Lemma}
\fancypagestyle{plain}{}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RO,LE]{\sffamily\bfseries\large School}
\fancyhead[LO,RE]{\sffamily\bfseries\large OPER ???}
\fancyfoot[LO,RE]{\sffamily\bfseries\large \studentname: \suid @school.edu}
\fancyfoot[RO,LE]{\sffamily\bfseries\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}
\graphicspath{{figures/}}
%-------------------------------- Title ----------------------------------
\title{OPER ???: Course \exerciseset}
\author{\studentname}
%--------------------------------- Text ----------------------------------
\begin{document}
\maketitle
\section*{Problem 1: Math}
\begin{enumerate}
\item %A
An in-line equation: %%% replace this comment with your answer
\item %B
A multi-line, aligned set of equations:
%%% replace this comment with your answer
\item %C
An equation with cases:
%%% replace this comment with your answer
\end{enumerate}
\section*{Problem 2: Tables}
\begin{enumerate}
\item %A
A simple table made in Latex:
%%% replace this comment with your answer
\item %B
A more complicated table using Excel2Latex:
%%% replace this comment with your answer
\end{enumerate}
\end{document}