\documentclass{book} \usepackage{hyperref} \usepackage{titleps} \hfuzz=7pt \newpagestyle{main}{ \sethead[\thepage][Trial by Jury.][][][(section title)][\thepage] } \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \begin{document} \title[Trial by Jury]{An Essay on the Trial by Jury} \author{Lysander Spooner} \date{1852} \pagestyle{main} \frontmatter \maketitle \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}