\documentclass[twoside]{book} \usepackage[a4paper, outer=1.625in, inner=1.625in, top=1.5in, bottom=1.5in]{geometry} \usepackage{ebgaramond-maths} \usepackage[scale = 0.78]{plex-mono} \usepackage[T1]{fontenc} \usepackage[final]{pdfpages} \usepackage{booktabs} \usepackage{microtype} \usepackage{hanging} % for bib indentations \usepackage{ragged2e} \usepackage{blindtext} \usepackage{gensymb} % For \degree \usepackage[hyphens]{url} \usepackage{hyperref} \usepackage{xcolor} \hypersetup{ colorlinks, linkcolor={red!50!black}, citecolor={blue!50!black}, urlcolor={blue!80!black} } \urlstyle{tt} \def \hangingindent {3em} \def \credgap {15pt} \def \ackgap {10pt} \interfootnotelinepenalty=10000 \title{Aporia XXIV} \author{The University of St Andrews Philosophy Society} \date{June 2024} \usepackage[raggedright]{titlesec} \usepackage{fancyhdr} \renewcommand\thesection{\arabic{section}} \titleformat{\chapter}[display]{\LARGE\bfseries\raggedright}{}{0em}{} \titlespacing*{\chapter}{0pt}{100pt}{40pt} \titleformat{\section}{\large\bfseries\raggedright}{{\sf\thesection}}{2em}{} \titleformat{\subsection}{\bfseries}{{\sf\thesubsection}}{1.5em}{} \titleformat{\subsubsection}{\bfseries}{{\sf\thesubsubsection}}{1.5em}{} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{% \markboth{#1}{}} \renewcommand{\headrulewidth}{0pt} % remove lines as well \fancyhead{} \fancyfoot{} \fancyhead[RO]{\thepage} \fancyhead[LE]{\thepage} \fancyhead[RE]{\small\sc\itshape\leftmark} \fancyhead[LO]{\small\sc The Fresh Loaf} \usepackage{suffix} \newcommand\chapterauthor[1]{\authortoc{#1}\printchapterauthor{#1}} \WithSuffix\newcommand\chapterauthor*[1]{\printchapterauthor{#1}} \makeatletter \newcommand{\printchapterauthor}[1]{% {\parindent0pt\vspace*{-25pt}% \linespread{1.1}\large\scshape#1% \par\nobreak\vspace*{35pt}} \@afterheading% } \newcommand{\authortoc}[1]{% \addtocontents{toc}{\vskip-00pt}% \addtocontents{toc}{% \protect\contentsline{chapter}% {\hskip1.3em\mdseries\scshape\protect\normalsize#1}{}{}} \addtocontents{toc}{\vskip5pt}% } \makeatother \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \def \refsection {\newpage\section*{Bibliography}} \counterwithin{figure}{section} \renewcommand\thefigure{\arabic{figure}} \begin{document} %includepdf{APORIA IV COVER.pdf} \frontmatter \tableofcontents \mainmatter \input{ include } \backmatter %\input{coverrear} \end{document}