\usepackage{txfonts} \usepackage{microtype} \usepackage[a4paper,body={170mm,250mm},top=25mm,left=25mm]{geometry} \usepackage[sf,bf,small]{titlesec} \usepackage{fancyhdr} \pagestyle{fancy} \lhead{\sffamily MLP Coursework 1} \rhead{\sffamily Due: 27 October 2016} \cfoot{\sffamily \thepage}