\usepackage{times}
\usepackage{sectsty}
\usepackage{tikz}
\tikzstyle{ov}=[shape=rectangle,
                draw=black!80,
                minimum height=0.6cm,
                minimum width=0.6cm,
                thick]

\tikzstyle{av}=[shape=rectangle,
                draw=black!80,
                fill=black!10,
                minimum height=0.6cm,
                minimum width=0.6cm,
                thick]

\tikzstyle{lv}=[shape=circle,draw=black!80,thick,minimum width=0.7cm]


\newcommand{\pkg}[1]{{\normalfont\fontseries{b}\selectfont #1}}
\let\proglang=\textsf
\let\code=\texttt

\usepackage{bm}
\newcommand{\vet}[1]{\ensuremath{\bm{\mathrm{#1}}}}


% colors
\definecolor{darkred}{rgb}{.4, .0, .0}
\definecolor{darkblue}{rgb}{.0, .0, .4}
\definecolor{darkgreen}{rgb}{.0, .3, .0}
\definecolor{darkgray}{rgb}{.6, .6, .6}
\definecolor{brown}{rgb}{.3, .3, .0}
\subsectionfont{\color{darkgreen}}
\sectionfont{\color{darkblue}}
\subsubsectionfont{\sffamily\color{brown}}

\usepackage{geometry}
\geometry{paperwidth=12.8cm, paperheight=9.6cm,
          includeheadfoot,
          scale={0.90,0.95},
          headsep=0.3cm,footskip=0.4cm
         }
\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.1mm}
\renewcommand{\footrulewidth}{0.1mm}
\lhead{}
\chead{}
\rhead{}
\lfoot{\tiny \sffamily Ed Merkle}
\cfoot{\tiny \sffamily \titel}
\rfoot{\tiny \sffamily \thepage\ / {\normalcolor \pageref{LastPage}}}

\usepackage{booktabs}
\renewcommand{\arraystretch}{1.2}

\usepackage[hypertexnames=false,
            hyperfootnotes=false,
            colorlinks,
            linkcolor={blue},
            citecolor={blue},
            urlcolor={red},
            pdfauthor={Ed Merkle, Yves Rosseel},
            pdfpagemode=UseNone,bookmarks=false
            ]{hyperref}

\usepackage{fancyvrb}
\fvset{fontfamily=courier}
\DefineVerbatimEnvironment{Sinput}{Verbatim}
{fontseries=b, fontsize=\scriptsize, xleftmargin=0.5cm}
\DefineVerbatimEnvironment{Routput}{Verbatim}
{fontsize=\scriptsize, xleftmargin=1cm}
\DefineVerbatimEnvironment{Routput}{Verbatim}
{fontseries=b,fontsize=\scriptsize, xleftmargin=0.5cm}
\DefineVerbatimEnvironment{Binput}{Verbatim}
{fontseries=b, fontsize=\scriptsize,frame=single, label=\fbox{lavaan model syntax}, framesep=2mm}
%\DefineShortVerb{\!} %%% generates error!
\DefineVerbatimEnvironment{Rinput}{Verbatim}
{fontseries=b, fontsize=\scriptsize, frame=single, label=\fbox{R code}, framesep=5mm}
            
\DefineVerbatimEnvironment{Link}{Verbatim}
{fontseries=b, fontsize=\small, formatcom=\color{darkgreen}, xleftmargin=1.0cm}



\author{Ed Merkle\\
Department of Psychological Sciences\\
University of Missouri}
\date{CRMDA Stats Camp 2017}
\title{\titel}

\newcommand{\sss}[1]{\subsubsection*{#1}}
\newcommand{\lijn}{\mbox{}\\*[0.04\textheight]}


