summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex')
-rw-r--r--macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex73
1 files changed, 73 insertions, 0 deletions
diff --git a/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex b/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex
new file mode 100644
index 0000000000..28f5fa7c5e
--- /dev/null
+++ b/macros/latex/contrib/schule/latex/schule.mod.Lizenzen.code.tex
@@ -0,0 +1,73 @@
+% ********************************************************************
+% Lizenz des Dokuments *
+% ********************************************************************
+
+% Metadaten inkludieren
+% ********************************************************************
+\includexmp{lizenz-\schule@lizenz}
+
+% Lizenzname
+% ********************************************************************
+% Kurz
+\newcommand{\lizenzNameKurz}{ %
+ \IfEqCase{\schule@lizenz}{ %
+ % Lizenz: CC-BY-NC-SA 4.0
+ {cc-by-nc-sa-4}{ %
+ CC-BY-NC-SA 4.0\xspace %
+ }%
+ % Lizenz: CC-BY-SA 4.0
+ {cc-by-sa-4}{ %
+ CC-BY-SA 4.0\xspace %
+ }%
+ % Lizenz: CC-BY 4.0
+ {cc-by-4}{ %
+ CC-BY 4.0\xspace %
+ }%
+ }[%
+ % Sonstiges
+
+ ]
+}
+
+% Lang
+\newcommand{\lizenzName}{ %
+ \IfEqCase{\schule@lizenz}{ %
+ % Lizenz: CC-BY-NC-SA 4.0
+ {cc-by-nc-sa-4}{ %
+ Creative Commons Namensnennung - Nicht-kommerziell - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz\xspace %
+ }%
+ % Lizenz: CC-BY-SA 4.0
+ {cc-by-sa-4}{ %
+ Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz\xspace %
+ }%
+ % Lizenz: CC-BY 4.0
+ {cc-by-4}{ %
+ Creative Commons Namensnennung 4.0 International Lizenz\xspace %
+ }%
+ }[%
+ % Sonstiges
+
+ ]
+}
+
+% Symbole
+% ********************************************************************
+\newcommand{\lizenzSymbol}{ %
+ \IfEqCase{\schule@lizenz}{ %
+ % Lizenz: CC-BY-NC-SA 4.0
+ {cc-by-nc-sa-4}{ %
+ \ccbyncsa %
+ }%
+ % Lizenz: CC-BY-SA 4.0
+ {cc-by-sa-4}{ %
+ \ccbysa %
+ }%
+ % Lizenz: CC-BY 4.0
+ {cc-by-4}{ %
+ \ccby %
+ }%
+ }[%
+ % Sonstiges
+
+ ]
+} \ No newline at end of file