\usepackage{footnote}
\usepackage{tablefootnote}
\usepackage{scrpage2}
% Height of Headnote
\setlength{\headheight}{1.5\baselineskip}
% Settings
\renewcommand*{\headfont}{\normalfont}
\clearscrheadings
\clearscrplain
\ofoot[\pagemark]{\pagemark}
\pagestyle{scrheadings}
\automark{chapter}
\renewcommand{\chaptermark}[1]%
{\markboth{{\thechapter.\ #1}}{}}
\renewcommand{\sectionmark}[1]%
{\markright{{\thesection.\ #1}}}
These are my settings for the header to display chapter names in even pages and section names in odd pages and corresponding page numbers.
The problem is, both the headers and the page number are being displayed in the inside of the page. How to display them at the outer end ?
