Skip to content

Commit e9df8e2

Browse files
committed
Add option for GPLv3 as source code license
1 parent 1120141 commit e9df8e2

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ The following options are supported:
1010

1111
- `f|m|fm` - gender used in the title: female, male, or both (required)
1212
- `seminar|proposal|bachelor|master` - seminar paper, proposal, bachelor's thesis, or master's thesis (required)
13-
- `scrreprt` - use the scrreprt documentclass instead of article (optional)
14-
- `group` - prints two statements after the cover page (optional)
15-
- `date` - prints the exact date instead of month and year (optional)
16-
- `times|palatino` - used font (only one can be applied at the same time, the default font is "Computer Modern") (optional)
17-
- `twoside` - layout for two-sided print (optional)
18-
- `binding` - adds 8mm on the left/right side for binding (optional)
19-
- `frames` - prints additional frames to check the document layout (optional)
13+
- `scrreprt` - use the scrreprt documentclass (optional, default: article class)
14+
- `group` - prints two statements after the cover page (optional, default: one statement)
15+
- `date` - prints the exact date (optional, default: month and year)
16+
- `times|palatino` - used font (optional, default: Computer Modern)
17+
- `twoside` - layout for two-sided print (optional, default: one-sided)
18+
- `binding` - adds 8mm on the left/right side for binding (optional, default: no binding)
19+
- `codegpl` - lists in the that the source code is available via a GNU General Public License (optional, default: CC license)
20+
- `frames` - prints additional frames to check the document layout (optional, default: no frames)
2021

2122
If the option `twoside` is activated, there are blank pages inserted after the cover page and its following statement(s).
2223

WeSTthesis.cls

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
\newif\ifframes{}
4747

48+
\newif\ifcodegpl{}
4849

4950
%--- Initialization of variables -----------------------------------------------
5051

@@ -73,6 +74,8 @@
7374

7475
\DeclareOption{frames}{\framestrue}
7576

77+
\DeclareOption{codegpl}{\codegpltrue}
78+
7679

7780
%--- Execution of options ------------------------------------------------------
7881

@@ -290,8 +293,13 @@
290293
stimme ich zu.& {} & $\square$ & $\square$\\[.5cm]
291294
Der Text dieser Arbeit ist unter einer Creative & {} & {} & {}\\
292295
Commons Lizenz (CC BY-SA 4.0) verf\"ugbar. & {} & $\square$ & $\square$\\[.5cm]
293-
Der Quellcode ist unter einer Creative Commons & {} & {} & {}\\
294-
Lizenz (CC BY-SA 4.0) verf\"ugbar. & {} & $\square$ & $\square$\\[.5cm]
296+
\ifcodegpl{}%
297+
Der Quellcode ist unter einer GNU General Public & {} & {} & {}\\
298+
License (GPLv3) verf\"ugbar. & {} & $\square$ & $\square$\\[.5cm]
299+
\else%
300+
Der Quellcode ist unter einer Creative Commons & {} & {} & {}\\
301+
Lizenz (CC BY-SA 4.0) verf\"ugbar. & {} & $\square$ & $\square$\\[.5cm]
302+
\fi%
295303
Die erhobenen Daten sind unter einer Creative & {} & {} & {}\\
296304
Commons Lizenz (CC BY-SA 4.0) verf\"ugbar. & {} & $\square$ & $\square$\\
297305
\end{tabular}\\[2cm]

0 commit comments

Comments
 (0)