\documentclass[11pt]{article}

%------------------------------------------------------------------------------
% Packages
%------------------------------------------------------------------------------
\usepackage{times}
\usepackage{indentfirst}
%\usepackage[dvips]{graphicx}
%\usepackage[dvipdfmx]{graphicx} 
\usepackage[pdftex]{graphicx}
\usepackage{fancyheadings}
\usepackage{array}
\usepackage{dcolumn}
\usepackage{datetime}
\usepackage[reqno,intlimits,sumlimits,centertags]{amsmath}
%\usepackage{amssymb}
\usepackage{eulervm}
%\usepackage{fancyhdr}
%\usepackage[plain]{fancyref}
\usepackage{natbib}
\usepackage{subeqnarray}
\usepackage[standard]{ntheorem}
\usepackage{expdlist}
\usepackage{url}
\usepackage{fancyvrb}
\usepackage{enumitem}
%\usepackage{indentfirst}
%\usepackage{datetime}
\usepackage[bottom]{footmisc}
\usepackage{tocloft}
\usepackage{titlesec}
\usepackage{framed} 
\usepackage{empheq}
\usepackage{lastpage}
\usepackage[makeroom]{cancel}
\usepackage{color}
\usepackage[dvipsnames]{xcolor}

% section title stuff

%\titleformat{\section}[runin]
%  {\normalfont\Large\bfseries}{\thesection}{1em}{}
%\titleformat{\subsection}[runin]
%  {\normalfont\large\bfseries}{\thesubsection}{1em}{}
  
\newcommand{\secref}[1]{{\footnotesize #1}\\}
\renewcommand{\baselinestretch}{1.5}
\renewcommand{\UrlFont}{\scriptsize}

% table of contents stuff
%------------------
%\cftsetindents{section}{1.5in}{2.3in}
%\cftsetindents{subsection}{2.5in}{2.5in}
%\cftsetindents{subsubsection}{0.5in}{0.5in}
%\cftsetindents{paragraph}{0.5in}{0.5in}

% page layout stuff (set as desired)
%------------------
\newlength{\lpgmargin} \setlength{\lpgmargin}{1.0in}
\newlength{\rpgmargin} \setlength{\rpgmargin}{1.0in}
\newlength{\tpgmargin} \setlength{\tpgmargin}{0.5in}
\newlength{\bpgmargin} \setlength{\bpgmargin}{0.5in}

\setlength{\headheight}{0.25in}
\setlength{\headsep}{0.25in}
\setlength{\footskip}{0.5in}

% page layout stuff (leave as is)
%------------------
\setlength{\hoffset}{-1in}
\setlength{\voffset}{-1in}
\setlength{\oddsidemargin}{\lpgmargin}
\setlength{\topmargin}{\tpgmargin}
\setlength{\marginparsep}{0in}
\setlength{\marginparwidth}{0in}
\setlength{\textwidth}{\paperwidth}
   \addtolength{\textwidth}{-\lpgmargin}
   \addtolength{\textwidth}{-\rpgmargin}
\setlength{\textheight}{\paperheight}
   \addtolength{\textheight}{-\tpgmargin}
   \addtolength{\textheight}{-\bpgmargin}
   \addtolength{\textheight}{-\headheight}
   \addtolength{\textheight}{-\headsep}
   \addtolength{\textheight}{-\footskip}

% page style stuff (set as desired)
%-----------------
\pagestyle{fancy}
%\renewcommand{\thepage}{\thesection-\arabic{page}}
\lhead[\textsl{CSU ATS601}]{\textsl{CSU ATS601}}
\rhead[\textsl{Fall 2017}]{\textsl{Fall 2017}}
%\cfoot[\thepage]{\thepage}
\cfoot[\thepage]{\thepage}
\rfoot{\scriptsize updated {\currenttime} on {\today}}
\lfoot{\scriptsize E. A. Barnes}

% equation/table/figure numbering
%--------------------------------
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\renewcommand{\thetable}{\thesection.\arabic{table}}
\renewcommand{\thefigure}{\thesection.\arabic{figure}}
\numberwithin{equation}{section}
\numberwithin{table}{section}
\numberwithin{figure}{section}
\newcommand{\enum}[1]{(\thesection.#1)}
\newcommand{\tnum}[1]{Table \thesection.#1}
\newcommand{\fnum}[1]{Fig.~\thesection.#1}
\newcommand{\Fnum}[1]{Figure \thesection.#1}

% lecture call-out
\newcommand{\lecturecall}[1]{\begin{boxedtext}#1\end{boxedtext}}

%----------------------------------------------------------------------------------------
%  Lists (paragraph option for examples)
%----------------------------------------------------------------------------------------

\usepackage{titlesec}
\setcounter{secnumdepth}{4}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}

%----------------------------------------------------------------------------------------
%  New commands
%----------------------------------------------------------------------------------------
\newcommand{\skiplec}[1]{{\color{Emerald} #1}}
%\newcommand{\skiplec}[1]{{\color{Periwinkle} #1}}

\input{MathPreamble.tex}



%=============================================================================

