From 5724fb91f3e5f9d49fd0f5c0f4241840074c8dce Mon Sep 17 00:00:00 2001 From: Anthony Berg Date: Wed, 15 May 2024 17:32:41 +0100 Subject: [PATCH] feat(dissertation): add word count to title page --- pub/dissertation/dissertation.tex | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pub/dissertation/dissertation.tex b/pub/dissertation/dissertation.tex index 8380bc3..c6f64b7 100644 --- a/pub/dissertation/dissertation.tex +++ b/pub/dissertation/dissertation.tex @@ -59,16 +59,24 @@ \usepackage{graphicx} +\usepackage{verbatim} + +% For word counts +\immediate\write18{texcount -1 -sum -inc \jobname.tex -out=\jobname.sum} + +\newcommand\wordcount{\input{\jobname.sum}} + % For referencing \usepackage[citestyle=ieee]{biblatex} \addbibresource{references.bib} % This should be loaded last -\usepackage[colorlinks]{hyperref} +\usepackage[colorlinks,breaklinks]{hyperref} \usepackage{subfiles} \author{Anthony Berg (200871682)\\ -Supervisor: Dr Leo Freitas} +Supervisor: Dr Leo Freitas\\\\ +Word Count: \wordcount} \title{Testing Quick Reference Handbooks in Flight Simulators} \hypersetup{