\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[]{fancyhdr}
\usepackage[]{verbatim}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{mathtools}
\usepackage[]{amsmath}
\usepackage{siunitx}
\sisetup{
  per-mode=symbol
}
\usepackage[]{caption}
%\usepackage{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Minted
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{minted}%[chapter]
%\usemintedstyle{emacs}
\usepackage{tcolorbox}
\usepackage{etoolbox}
% \BeforeBeginEnvironment{minted}{\begin{tcolorbox}}%    
% \AfterEndEnvironment{minted}{\end{tcolorbox}}% These packages give you a nice rounded box around the code, but messes up line numbers.
%\definecolor{bg}{rgb}{0.95,0.95,0.95}
\definecolor{bg}{rgb}{0.95,0.95,0.95}
\setminted{fontsize=\footnotesize, 
		   linenos,
		   numbersep=8pt,
		   % gobble=4,
		   frame=lines,
		   bgcolor=bg,
		   framesep=3mm
}
\renewcommand\listoflistingscaption{LIST OF CODE EXCERPTS}
\renewcommand\listingscaption{}
% Style Listings
%\AtBeginDocument{\renewcommand*{\thelstlisting}{\thesection.\arabic{lstlisting}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{geometry}
 \geometry{
 a4paper,
 total={170mm,240mm},
 left=20mm,
 top=30mm,
 }
 
\usepackage[at]{easylist}
\usepackage[rightcaption]{sidecap}

\pagestyle{fancy}
\fancyhf{}
\lhead{\textbf{Prelab Assignment Lab 2} \\ MCC092 Introduction to Integrated Circuit Design H18}
\rhead{John Croft | CID: croft \\ 25 sep 2018  }
\lfoot{}
\cfoot{Page \thepage}




\usepackage[siunitx, emptypmoscircle]{circuitikz} % Loads main Tikz library as well.
\usetikzlibrary{arrows, automata, positioning}

% example usage 
% \begin{center}\begin{circuitikz} \draw
% (0,0) node[#1,#2] (#3) {#4}
% ; \end{circuitikz} \end{center}

\usepackage{pst-circ}

\usepackage{csquotes}
\usepackage{biblatex}
\addbibresource{sources.bib}

\usepackage[hang,flushmargin]{footmisc}