
%%%%%%%%  DO NOT EDIT THIS FILE %%%%%%%%

\lhead{
	\begin{tikzpicture}
		\hspace{-1.4cm}\filldraw[black] (0,0) circle (5pt) node[anchor=west]{~};
	\end{tikzpicture} 
        \hspace{-7mm} Candidate Number:}
\pagestyle{fancyplain}

\definecolor{notepadrule}{RGB}{240,240,240}

% to show the page frame

\makeatletter
\renewcommand*{\Gm@vrules@mpi}{%
  \hb@xt@\@tempdima{\llap{\Gm@vrule}\ignorespaces
  \hskip \textwidth\Gm@vrule%\hskip \marginparsep
  % \llap{\Gm@vrule}%
  \hfil
  % \Gm@vrule%
  }}%
\renewcommand*{\Gm@vrules@mpii}{%
  \hb@xt@\@tempdima{\hskip-\marginparwidth\hskip-\marginparsep
  % \llap{\Gm@vrule}%
  \ignorespaces
  \hskip \marginparwidth
  % \rlap{\Gm@vrule}%
  \hskip \marginparsep
  \llap{\Gm@vrule}\hskip\textwidth\rlap{\Gm@vrule}\hss}}%
\renewcommand*{\Gm@pageframes}{%
  \vb@xt@\z@{%
   \ifGm@showcrop
    \vb@xt@\z@{\vskip-1\Gm@truedimen in\vskip\Gm@layoutvoffset%
     \hb@xt@\z@{\hskip-1\Gm@truedimen in\hskip\Gm@layouthoffset%
      \vb@xt@\Gm@layoutheight{%
       \let\protect\relax
       \hb@xt@\Gm@layoutwidth{\Gm@cropmark(-1,1,-3,3)\hfil\Gm@cropmark(1,1,3,3)}%
       \vfil
       \hb@xt@\Gm@layoutwidth{\Gm@cropmark(-1,-1,-3,-3)\hfil\Gm@cropmark(1,-1,3,-3)}}%
     \hss}%
    \vss}%
   \fi%
   \ifGm@showframe
    \if@twoside
     \ifodd\count\z@
       \let\@themargin\oddsidemargin
     \else
       \let\@themargin\evensidemargin
     \fi
    \fi
    \moveright\@themargin%
    \vb@xt@\z@{%
     \vskip\topmargin%\vb@xt@\z@{\vss\Gm@hrule}%
     \vskip\headheight%\vb@xt@\z@{\vss\Gm@hruled}%
     \vskip\headsep\vb@xt@\z@{\vss\Gm@hrule}%
     \@tempdima\textwidth
     \advance\@tempdima by \marginparsep
     \advance\@tempdima by \marginparwidth
     \if@mparswitch
      \ifodd\count\z@
       \Gm@vrules@mpi
      \else
       \Gm@vrules@mpii
      \fi
     \else
      \Gm@vrules@mpi
     \fi
     \vb@xt@\z@{\vss\Gm@hrule}%
     \vskip\footskip%\vb@xt@\z@{\vss\Gm@hruled}%
     \vss}%
    \fi%
  }}%
\makeatother

% Numbers (a bit more difficult)
\newcommand{\pageofnumberedlines}[1]{%
	\begingroup\offinterlineskip
	\count255=\vsize \dimen0=#1
	\divide\count255 by \dimen0
	\mathchardef\howmany=\count255
	\count255=0
	\loop\ifnum\count255<\howmany
	\advance\count255 by 1
	\hbox to\hsize{%
		\vrule height#1 width 0pt 
		\llap{\scriptsize\number\count255\space\space}%
		{ \color{notepadrule}     \hrulefill}
	}
	\repeat
	\endgroup
}

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