I tried to use fancyhdr
package and the result I have with the output is as shown here. The screenshot shows the junction between pages (bottom of) 3 and (top of) 4 (both header and footer being the same; with lfoot and lhead being "Lecture 1" and rfoot and rhead being "Handout 1").
As you might notice, both header and footer are placed leftwards (taking the page number along with them).
Also, they do not appear on the title page whereas unlike most other cases, I would like them to be present on it.
MWE below:
\documentclass[10pt]{article}
\usepackage{soul}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{Lecture 1}
\rhead{Handout 1}
\lfoot{Lecture 1}
\rfoot{Handout 1}
\usepackage[margin=0.5in]{geometry}
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\title{\ul{Proper positioning of headers and footers}}
\usepackage{lipsum}
\begin{document}
\maketitle
\lipsum[4-57]
\end{document}
geometry
package beforefancyhdr
?