From c7fab3e9f9add9612794cf51ee1840e957cd4e4c Mon Sep 17 00:00:00 2001 From: Philipp Nagy Date: Mon, 15 Jul 2024 20:18:27 +0200 Subject: [PATCH] Add feedback log for presentations (#42) --- feedbacklog.typ | 24 ++++++++++++++ layout/feedbacklog_template.typ | 58 +++++++++++++++++++++++++++++++++ metadata.typ | 4 ++- utils/feedback.typ | 25 ++++++++++++++ 4 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 feedbacklog.typ create mode 100644 layout/feedbacklog_template.typ create mode 100644 utils/feedback.typ diff --git a/feedbacklog.typ b/feedbacklog.typ new file mode 100644 index 0000000..1f7dee1 --- /dev/null +++ b/feedbacklog.typ @@ -0,0 +1,24 @@ +#import "/layout/feedbacklog_template.typ": * +#import "/metadata.typ": * +#import "/utils/feedback.typ": * + +#set document(title: titleEnglish, author: author) + +#show: feedbacklog.with( + titleEnglish: titleEnglish, + supervisor: supervisor, + advisors: advisors, + author: author, + presentationDate: presentationDate, + feedbacklogSubmissionDate: feedbacklogSubmissionDate, +) + +#feedback( + feedback: "Since the attention span of the audience is rather short, try getting to the problem as fast as possible. Several slides in the presentation display redundant or repetitive information and could be deleted", + response: "To get to the problem earlier in the presentation as well as to present only relevant information, some of the slides are removed (Agenda) and some of them are merged (Context, Motivation and Objectives), therefore the “Problem” slide is now at slide 4." +) + +#feedback( + feedback: "The structure of the presentation is rather unique; it would be great if you could help the audience to follow it easier.", + response: "To help the audience to follow the presentation easier, a progress-bar was added at the bottom of the slides to show the milestones of the presentation and highlight the one that indicates the current slide." +) \ No newline at end of file diff --git a/layout/feedbacklog_template.typ b/layout/feedbacklog_template.typ new file mode 100644 index 0000000..89507b9 --- /dev/null +++ b/layout/feedbacklog_template.typ @@ -0,0 +1,58 @@ +#let feedbacklog( + titleEnglish: "", + supervisor: "", + advisors: (), + author: "", + presentationDate: datetime, + feedbacklogSubmissionDate: datetime, + body, +) = { + // Set the document's basic properties. + set page( + margin: (left: 30mm, right: 30mm, top: 40mm, bottom: 40mm), + numbering: "1", + number-align: center, + ) + + // Save heading and body font families in variables. + let body-font = "New Computer Modern" + let sans-font = "New Computer Modern Sans" + + // Set body font family. + set text( + font: body-font, + size: 12pt, + lang: "en" + ) + + align(center, text(font: "sans-font", 1.7em, weight: 700, "Presentation Feedbacklog" + linebreak() + titleEnglish)) + + v(7.5mm) + + align(center, text(font: "sans-font", 1.2em, weight: 400, feedbacklogSubmissionDate.display("[day]. [month repr:long] [year]"))) + + v(7.5mm) + + line(length: 100%, stroke: 0.5pt) + + align( + center, + box( + align( + left, + grid( + columns: 2, + gutter: 1em, + strong("Author: "), author, + strong("Supervisor: "), supervisor, + strong("Advisors: "), advisors.join(",\n"), + strong("Presentation Date: "), presentationDate.display("[day].[month].[year]"), + ) + ) + ) + ) + + line(length: 100%, stroke: 0.5pt) + + body +} diff --git a/metadata.typ b/metadata.typ index 4b01016..4f95a4a 100644 --- a/metadata.typ +++ b/metadata.typ @@ -8,4 +8,6 @@ #let author = "(Author)" #let birthdate = datetime(day: 01, month: 01, year: 2002) // only necessary for registration certificate #let startDate = datetime(day: 1, month: 1, year: 2024) -#let submissionDate = datetime(day: 1, month: 1, year: 2024) \ No newline at end of file +#let submissionDate = datetime(day: 1, month: 1, year: 2024) +#let presentationDate = datetime(day: 1, month: 1, year: 2024) +#let feedbacklogSubmissionDate = datetime(day: 1, month: 1, year: 2024) \ No newline at end of file diff --git a/utils/feedback.typ b/utils/feedback.typ new file mode 100644 index 0000000..d1fa870 --- /dev/null +++ b/utils/feedback.typ @@ -0,0 +1,25 @@ +#let feedback( + feedback: "", + response: "", +) = { + counter("feedback").step() + block( + breakable: false, + ( + par( + justify: true, + text(weight: 700, counter("feedback").display() + ". Feedback: ") + + feedback + + pad( + left: 5%, + top: 2mm, + bottom: 5mm, + text( + fill: blue, + text(weight: 700, "Response: ") + response + ) + ) + ) + ) + ) +} \ No newline at end of file