\NeedsTeXFormat{LaTeX2e}

\LoadClass[a4paper,11pt]{article}

\RequirePackage{fancyhdr}
\RequirePackage{tabularx}
\RequirePackage{ifthen}

\RequirePackage[pdftex]{graphicx}
\RequirePackage{float}

\ProcessOptions


%%%%%%%%%%%%%%%%%%%% 

%% Use dedicated sub-figures and emphazising equations
\RequirePackage{subfigure}
\RequirePackage{empheq}

%% Include web url
\RequirePackage{url}

%% Fuse lines and vertical centering of the cells
\RequirePackage{multirow}
\RequirePackage{cellspace}

%% Matrices and \dfrac use
\RequirePackage{amsmath}
\RequirePackage{nccmath}

%% Other math packages
\RequirePackage{commath}
\RequirePackage{empheq}

%% Using colors
\RequirePackage{color}

%% Graphical packages
\RequirePackage{pgfplots}
\RequirePackage{epsfig}
\RequirePackage{braket}

%% Special spacing at the end of lines
\RequirePackage{xspace}

%% Draw with TikZ
\RequirePackage{tikz}
\usetikzlibrary{trees}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{arrows,snakes,shapes}
\usetikzlibrary{calc,through,backgrounds}


\tikzset{
 photon/.style={decorate, decoration={snake}, draw=red},
  electron/.style={draw=blue, postaction={decorate},
    decoration={markings,mark=at position .55 with {\arrow[draw=blue]{>}}}},
  neutrino/.style={draw=blue, postaction={decorate},    
    decoration={markings,mark=at position .55 with {\arrow[draw=blue]{<}}}},
  gluon/.style={decorate, draw=magenta,
    decoration={coil,amplitude=4pt, segment length=5pt}} 
}


%%%%%%%%%%%%%%%%%%%% 

\newcommand{\thepath}{.}
\newcommand{\imgpath}{\thepath/pictures}
\newcommand{\secpath}{\thepath/sections}
\newcommand{\temppath}{\thepath/templates}
\newcommand{\appendpath}{\thepath/appendicies}

%%%%%%%%%%%%%%%%%%%% 
