diff options
| -rw-r--r-- | main.tex | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..a3beeaa --- /dev/null +++ b/main.tex @@ -0,0 +1,94 @@ +% APORIA 2025 +% For licence: see LICENSE + +\documentclass[twoside]{book} + +\title{Aporia 25} +\author{University of St Andrews Philosophy Society} +\date{2025} + +% Paper size +\usepackage[ + a4paper, + outer=1.625in, + inner=1.125in, + top=1.5in, + bottom=1.5in +]{geometry} +% Fonts +\usepackage{ebgaramond-maths} +\usepackage[scale=0.78]{plex-mono} % Monospace font +\usepackage[T1]{fontenc} % T1 character encoding +\usepackage{microtype} +\usepackage{hanging} % For bibliographies +\usepackage{ragged2e} +% Include PDFs +\usepackage[final]{pdfpages} +% Links +\usepackage[anythingbreaks]{breakurl} +\usepackage[hyphens]{url} +\usepackage{hyperref} +\hypersetup{ + colorlinks, + linkcolor={red!50!black}, + citecolor={blue!50!black}, + urlcolor={blue!80!black} + } +\urlstyle{tt} +% Headers +\usepackage{fancyhdr} +% Headings +\usepackage[raggedright]{titlesec} +% for WithSuffix +\usepackage{suffix} + +% Gap definitions +\def \hangingindent {3em} +\def \credgap {15pt} +\def \ackgap {10pt} +% Table of contents +% depth = 0 ; only display article entries in ToC (not other +% headings) +\setcounter{tocdepth}{0} +% Heading styles +\renewcommand\thesection{\arabic{section}} + +\titleformat{\chapter}[display]{\sffamily\LARGE\bfseries\raggedright}{}{0em}{} +\titlespacing*{\chapter}{0pt}{-50pt}{40pt} +\titleformat{\section}{\large\bfseries\raggedright}{{\sf\thesection}}{2em}{} +\titleformat{\subsection}{\bfseries}{{\sf\thesubsection}}{1.5em}{} +% Header style +\pagestyle{fancy} +\renewcommand{\chaptermark}[1]{% +\markboth{#1}{}} +\renewcommand{\headrulewidth}{0pt} % remove line under header +% Define chapterauthor +\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 + + +% MAIN +\begin{document} +\frontmatter +\tableofcontents + +\mainmatter + +\backmatter +\end{document} |
