Skip to content

Commit

Permalink
Deduplicate Thesis Data (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
pal03377 authored Jun 22, 2023
1 parent bc2c78b commit 7d4569b
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 44 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ For detailed installation instructions, please refer to the [official installati
Nix and Docker users, please refer to the official installation guide for detailed instructions.

## Usage
### Set thesis metadata
Fill in your thesis details in the `common/metadata.typ` file:
* Degree (Bachelor or Master)
* Your study program
* English and German title
* Advisor and supervisor
* Your name (without e-mail address or matriculation number)
* The start and submission date

### Build PDFs locally
Once you have installed Typst, you can use it like this:
```sh
# Creates `thesis.pdf` in working directory.
Expand Down
10 changes: 10 additions & 0 deletions common/metadata.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Enter your thesis data here:
#let titleEnglish = "(Title English)"
#let titleGerman = "(Title German)"
#let degree = "Bachelor"
#let program = "Information Systems"
#let supervisor = "Prof. Dr. Stephan Krusche"
#let advisors = ("Jolanda Krümelmonster, M.Sc.",)
#let author = "(Author)"
#let startDate = "(Start Date)"
#let submissionDate = "(Handover Date)"
38 changes: 20 additions & 18 deletions proposal.typ
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
#import "proposal_template.typ": *
#import "common/titlepage.typ": *
#import "common/metadata.typ": *


#titlepage(
title: "(Title English)",
titleGerman: "(Title German)",
degree: "Bachelor",
program: "Information Systems",
supervisor: "Prof. Dr. Stephan Krusche",
advisors: ("Jolanda Krümelmonster, M.Sc.",),
author: "(Author)",
startDate: "(Start Date)",
submissionDate: "(Handover Date)"
title: titleEnglish,
titleGerman: titleGerman,
degree: degree,
program: program,
supervisor: supervisor,
advisors: advisors,
author: author,
startDate: startDate,
submissionDate: submissionDate
)

#show: project.with(
title: "(Title English)",
titleGerman: "(Title German)",
degree: "Bachelor",
program: "Information Systems",
supervisor: "Prof. Dr. Stephan Krusche",
advisors: ("Jolanda Krümelmonster, M.Sc.",),
author: "(Author)",
startDate: "(Start Date)",
submissionDate: "(Handover Date)"
title: titleEnglish,
titleGerman: titleGerman,
degree: degree,
program: program,
supervisor: supervisor,
advisors: advisors,
author: author,
startDate: startDate,
submissionDate: submissionDate
)


Expand Down
53 changes: 27 additions & 26 deletions thesis.typ
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,33 @@
#import "thesis_typ/acknowledgement.typ": *
#import "thesis_typ/abstract_en.typ": *
#import "thesis_typ/abstract_de.typ": *
#import "common/metadata.typ": *


#cover(
title: "(Title English)",
degree: "Bachelor",
program: "Information Systems",
author: "(Author)",
title: titleEnglish,
degree: degree,
program: program,
author: author,
)

#titlepage(
title: "(Title English)",
titleGerman: "(Title German)",
degree: "Bachelor",
program: "Information Systems",
supervisor: "Prof. Dr. Stephan Krusche",
advisors: ("Jolanda Krümelmonster, M.Sc.",),
author: "(Author)",
startDate: "(Start Date)",
submissionDate: "(Handover Date)"
title: titleEnglish,
titleGerman: titleGerman,
degree: degree,
program: program,
supervisor: supervisor,
advisors: advisors,
author: author,
startDate: startDate,
submissionDate: submissionDate
)

#disclaimer(
title: "(Title English)",
degree: "Bachelor",
author: "(Author)",
submissionDate: "(Handover Date)"
title: titleEnglish,
degree: degree,
author: author,
submissionDate: submissionDate
)

#acknowledgement()
Expand All @@ -40,15 +41,15 @@
#abstract_de()

#show: project.with(
title: "(Title English)",
titleGerman: "(Title German)",
degree: "Bachelor",
program: "Information Systems",
supervisor: "Prof. Dr. Stephan Krusche",
advisors: ("Jolanda Krümelmonster, M.Sc.",),
author: "(Author)",
startDate: "(Start Date)",
submissionDate: "(Handover Date)"
title: titleEnglish,
titleGerman: titleGerman,
degree: degree,
program: program,
supervisor: supervisor,
advisors: advisors,
author: author,
startDate: startDate,
submissionDate: submissionDate
)

= Introduction
Expand Down

0 comments on commit 7d4569b

Please sign in to comment.