\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{chapters/tex/note.tex} \mainmatter \input{chapters/tex/01.tex} \input{chapters/tex/02.tex} \input{chapters/tex/03.tex} \input{chapters/tex/04.tex} \input{chapters/tex/05.tex} \input{chapters/tex/06.tex} \input{chapters/tex/07.tex} \input{chapters/tex/08.tex} \input{chapters/tex/09.tex} \input{chapters/tex/10.tex} \input{chapters/tex/11.tex} \input{chapters/tex/12.tex} \input{chapters/tex/appendix.tex}