\documentclass{book} \usepackage{hyperref} \usepackage[pagestyles]{titlesec} \usepackage{etoolbox} % \usepackage{titleps} \usepackage{babel} \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \begin{document} \renewpagestyle{headings}{ \sethead[\thepage][\MakeUppercase{Trial by Jury.}][]% {}{\MakeUppercase{\sectiontitle}}{\thepage} } \title{An Essay on the Trial by Jury} \author{Lysander Spooner} \date{1852} \frontmatter \maketitle \tableofcontents \input{tex/note.tex} \mainmatter \input{tex/01.tex} \input{tex/02.tex} \input{tex/03.tex} \input{tex/04.tex} \input{tex/05.tex} \input{tex/06.tex} \input{tex/07.tex} \input{tex/08.tex} \input{tex/09.tex} \input{tex/10.tex} \input{tex/11.tex} \input{tex/12.tex} \input{tex/appendix.tex} \end{document}