homework-and-stuffs/templates/homework.tex

54 lines
1.1 KiB
TeX
Raw Normal View History

2020-12-04 20:02:43 -08:00
\documentclass{article}
\usepackage{mathrsfs,amsmath}
\usepackage{xcolor}
\usepackage{titlesec}
\usepackage{minted}
\usepackage[margin=1.4in]{geometry}
\title{Notes \#1 | CS 332 Databases}
\author{Jared Dyreson (CWID EXT: 6529)\\
California State University, Fullerton}
\date
\DeclareRobustCommand{\bowtie}{%
\mathrel\triangleright\joinrel\mathrel\triangleleft}
\usepackage [english]{babel}
\usepackage [autostyle, english = american]{csquotes}
\MakeOuterQuote{"}
\titlespacing*{\section}
{0pt}{5.5ex plus 1ex minus .2ex}{4.3ex plus .2ex}
\titlespacing*{\subsection}
{0pt}{5.5ex plus 1ex minus .2ex}{4.3ex plus .2ex}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\begin{document}
\maketitle
\tableofcontents
\newpage
\section{Relational Algebra}
\textbf{Example:}
\begin{center}
RD: $\leftarrow \sigma_{\textrm{DNAME='research'}}$(DEPARTMENT) \\ \vspace{5px}
Result: $\leftarrow \pi_{\textrm{FNAME, LNAME, ADDRESS}}$ (EMPLOYEE $\bowtie_{\textrm{DNO=DNUMBER}}$RD)
\end{center}
\end{document}