%  \renewcommand{\encodingdefault}{cg}

\def\bull{\vrule height 0.8ex width .7ex depth -.1ex }
\newcommand{\area}[2]{\vspace*{-9pt} \begin{verse}\textbf{#1}   #2 \end{verse}  }
\newcommand{\lineunder}{\vspace*{-8pt} \\ \hspace*{-18pt} \hrulefill \\}
\newcommand{\header}[1]{{\hspace*{-15pt}\vspace*{6pt} \textsc{#1}} \vspace*{-6pt} \lineunder}
\newcommand{\employer}[3]{{ \textbf{#1} \hfill{#2}\\ {\textbf{\emph{#3}}}\\  }}
{\LARGE \scshape {#1}}\\
#2 \\
\newenvironment{achievements}{\begin{list}{$\bullet$}{\topsep 0pt \itemsep -2pt}}{\vspace*{4pt}\end{list}}
 \textbf{#1} #2 \hfill{#3} \\ #4\\ #5 \\
 \textbf{#1} #2 $\bullet$ #3\\ 
#4 \\
  • 1
    Welcome to TeX SX! Well, begin with not using the empty pagestyle. You can define your own headers and footers with a dedicated package, such as fancyhdr or titleps, which comes with titlesec. – Bernard Nov 27 '17 at 0:15
  • 1
    Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See minimal working example (MWE). – Henri Menke Nov 27 '17 at 0:46

Hello and welcome to stackexchange! Your preambel looks a bit chaotic and the provided MWE doesn't work. Furthermore, better use the scrlayer-scrpage-package instead of the sometimes problematic titlesec-package for customizing the header or footer.

You could create it like that:



\ihead{Your name}
\ohead{And the pagenumber \thepage}





The result looks like that:

enter image description here

Please write some short description of your request in future. It is difficult to understand what exactly you want to do. Furthermore, please mark your question as "answered" by clicking on the hook when you got a solution.

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.