From aba207a41253dce1613c03e6fb4784060b89d8d9 Mon Sep 17 00:00:00 2001 From: Jan Heiland Date: Sun, 19 Sep 2021 14:26:13 +0200 Subject: [PATCH 1/2] german option --- lecture.cls | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lecture.cls b/lecture.cls index 44796d5..f69e574 100644 --- a/lecture.cls +++ b/lecture.cls @@ -64,6 +64,24 @@ \newcommand{\notes@notationname}{notazione} \newcommand{\notes@morelinkname}{Per ulteriori informazioni visita}} % +\DeclareOption{german}{ + \newcommand{\notes@lang}{german} + \newcommand{\notes@lecturename}{Vorlesung} + \newcommand{\notes@theoremname}{Theorem} + \newcommand{\notes@propositionname}{Proposition} + \newcommand{\notes@lemmaname}{Lemma} + \newcommand{\notes@corollaryname}{Korollar} + \newcommand{\notes@definitionname}{Definition} + \newcommand{\notes@examplename}{Beispiel} + \newcommand{\notes@exercisename}{\"Ubung} + \newcommand{\notes@remarkname}{Bemerkung} + \newcommand{\notes@factname}{Fakt} + \newcommand{\notes@problemname}{Problem} + \newcommand{\notes@conjecturename}{Vermutung} + \newcommand{\notes@claimname}{Behauptung} + \newcommand{\notes@notationname}{Notation} + \newcommand{\notes@morelinkname}{F\"ur mehr Information siehe}} + % \DeclareOption{french}{ \newcommand{\notes@lang}{french} \datefrench From 1058fae391ff704587e9077a3b481f8d8ad7dbb9 Mon Sep 17 00:00:00 2001 From: Jan Heiland Date: Fri, 24 Sep 2021 11:26:52 +0200 Subject: [PATCH 2/2] capitalization of `commons` and manual increase of `headheight` --> no more warnings from the class file --- lecture.cls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lecture.cls b/lecture.cls index f69e574..9e6ff84 100644 --- a/lecture.cls +++ b/lecture.cls @@ -229,10 +229,11 @@ \RequirePackage{booktabs} \RequirePackage{multirow} \RequirePackage[fixlanguage]{babelbib} -\RequirePackage{commons} +\RequirePackage{Commons} \RequirePackage{csquotes} \addtolength{\jot}{0.5em} %Add row spacing to align environment \RequirePackage[verbose,a4paper,top=1.45in,bottom=1.35in,left=1.15in,right=2in,asymmetric,twoside]{geometry} +\setlength\headheight{14pt} %\SetUnicodeOption{mathletters} %\SetUnicodeOption{autogenerated}