Added word counter

This commit is contained in:
Marius Drechsler 2025-05-17 19:55:49 +02:00
parent 6242816d8a
commit cf302752ed
Signed by: marius
GPG key ID: 56D4131BA3104777

View file

@ -1,3 +1,5 @@
#import "@preview/wordometer:0.1.4": word-count, total-words
#set page( #set page(
paper: "a4", paper: "a4",
numbering: "-1-", numbering: "-1-",
@ -22,12 +24,10 @@ May 17th, 2025
justify: true, justify: true,
leading: 2em, leading: 2em,
spacing: 2em, spacing: 2em,
first-line-indent: (amount: 5em, all: true) first-line-indent: (amount: 3em, all: true)
) )
#lorem(200) #show: word-count
#lorem(200)
Have you ever wondered what really happens with your voice when you talking to someone on the phone? 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, 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. representation.
*/ */
#lorem(200) Essay has a total of #total-words words.
#pagebreak() #pagebreak()
#bibliography("bibliography.bib", style: "ieee", title: "References") #bibliography("bibliography.bib", style: "ieee", title: "References")