From cf302752ed4e70502f930fde41201f05509f267c Mon Sep 17 00:00:00 2001 From: Marius Drechsler Date: Sat, 17 May 2025 19:55:49 +0200 Subject: [PATCH] Added word counter --- main.typ | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.typ b/main.typ index e2301eb..602bf52 100644 --- a/main.typ +++ b/main.typ @@ -1,3 +1,5 @@ +#import "@preview/wordometer:0.1.4": word-count, total-words + #set page( paper: "a4", numbering: "-1-", @@ -22,12 +24,10 @@ May 17th, 2025 justify: true, leading: 2em, spacing: 2em, - first-line-indent: (amount: 5em, all: true) + first-line-indent: (amount: 3em, all: true) ) -#lorem(200) - -#lorem(200) +#show: word-count Have you ever wondered what really happens with your voice when you talking to someone on the phone? From the instant the soundwaves leave your throat until they reach the ear of the person you are talking to, @@ -61,7 +61,7 @@ With the analogue signal established, we can go on and discuss the way our signa representation. */ -#lorem(200) +Essay has a total of #total-words words. #pagebreak() #bibliography("bibliography.bib", style: "ieee", title: "References")