diff --git a/calendar/calendar.tex b/calendar/calendar.tex index 4edfffc..3acce6a 100644 --- a/calendar/calendar.tex +++ b/calendar/calendar.tex @@ -64,7 +64,18 @@ } } -\begin{schulkalendar}{Schulkalendar} - \schulkal{\jahrEins-08-01 to \jahrZwei-01-31}{first} - \schulkal{\jahrZwei-02-01 to \jahrZwei-07-31}{second} -\end{schulkalendar} +\ifthenelse{\boolean{printKalendar}}{% + \begin{schulkalendar}{Schulkalendar} + \schulkal{\jahrEins-08-01 to \jahrZwei-01-31}{first} + \schulkal{\jahrZwei-02-01 to \jahrZwei-07-31}{second} + \end{schulkalendar} +}{ + \begin{center} + \Huge{Kalendar 1} + \end{center} + \clearpage + \begin{center} + \Huge{Kalendar 2} + \end{center} + \clearpage +} diff --git a/conf.tex b/conf.tex index bd4a9e8..abdf27a 100644 --- a/conf.tex +++ b/conf.tex @@ -15,9 +15,15 @@ \genordAI{--} \genordAII{Herr Häberle} \genordDL{Frau Dorsch} + \genordSek{Frau Braatz} +\genordSekZeiten{7:30--14:00\,Uhr} + \genordSP{Herr Burt} +\genordBerAI{Frau Meyer-Kuczera} +\genordBerAII{--} + \hypersetup{% pdftitle = {\Title},% pdfsubject = {},% diff --git a/logbuch.pdf b/logbuch.pdf index 3df41cd..a975dc2 100644 Binary files a/logbuch.pdf and b/logbuch.pdf differ diff --git a/logbuch.tex b/logbuch.tex index 6563f80..92e8b01 100644 --- a/logbuch.tex +++ b/logbuch.tex @@ -41,8 +41,13 @@ \date{\today} %\onehalfspacing +% printDraft true: keine Kalendar berechnet +% printDraft false: Kalendar werden gesetzt (zeitaufwendig) +\setboolean{printDraft}{false} \input{conf.tex} +\procOpts + \begin{document} \front \maketitle diff --git a/schuleModul/GENordLogbuch/code.tex b/schuleModul/GENordLogbuch/code.tex index 8fddf9c..f96a360 100644 --- a/schuleModul/GENordLogbuch/code.tex +++ b/schuleModul/GENordLogbuch/code.tex @@ -39,6 +39,15 @@ \huge{\bfseries #2} } +\providecommand{\procOpts}{% + \ifthenelse{\boolean{printDraft}}{% + \setboolean{printKalendar}{false} + \setboolean{printWochen}{false} + }{ + \setboolean{printKalendar}{true} + \setboolean{printWochen}{true} + } +} \providecommand{\front}{% \frontmatter @@ -78,15 +87,24 @@ \WithSuffix\providecommand\mkUrl*[2][]{% \hyperlink{#1#2}{#2} } -\ProvideDocumentCommand{\mkUrlCode}{O{} m o}{% - \begin{minipage}{5em} +\ProvideDocumentCommand{\mkUrlCode}{O{} m o O{5em} O{4em}}{% + \begin{minipage}{#4} \centering - \qrcode[height=4em,nolinks]{#1#2} + \qrcode[height=#5,nolinks]{#1#2} \IfNoValueF{#3}{ \tiny #3 } \end{minipage} } +% ********************************************************************** +% Macros für Kontakt +% ********************************************************************** +\newtcolorbox{kontaktbox}[2][]{% + left=2mm, + fonttitle=\bfseries, + title={#2}, + #1 +} % ********************************************************************** % Macros für Wochenübersicht @@ -120,6 +138,21 @@ \end{logbuchTag} \end{minipage} } +\providecommand{\printLogbuchZiel}{% + %\vspace{-0.25em}% + \begin{center} + \tcbox[% + enhanced, + attach boxed title to top left = {xshift=2mm,yshift=-2mm}, + colback=white!98!black,% + height=1.5cm, + left=1mm, + right=1mm, + fonttitle=\bfseries, + title={Mein Wochenziel:}, + ]{\hspace{0.95\linewidth} }% + \end{center}\vspace*{-3em}% +} \newtcolorbox{logbuchZusatz}[1]{% colback=white!98!black,% left=1mm, @@ -139,6 +172,10 @@ attach boxed title to top left = {xshift=2mm,yshift=-2mm}, sharp corners=downhill, colback=white!93!black, + sidebyside=true, + righthand width=0.8cm, + sidebyside gap=3mm, + flushright lower, left=1mm, right=1mm, top=4mm, @@ -154,10 +191,16 @@ \begin{logbuchFach}{\n.\,Stunde} \textbf{Fach:} - \feldLin[0.6cm]{2} - + \feldLin[0.6cm]{3} + \vspace{-0.5cm} \tcblower - \usym{1F641} \hfil \usym{1F610} \hfil \usym{1F642} \hfil \usym{1F603} + \usym{1F641} + + \usym{1F610} + + \usym{1F642} + + \usym{1F603} \end{logbuchFach} } } diff --git a/schuleModul/GENordLogbuch/optionen.tex b/schuleModul/GENordLogbuch/optionen.tex index 967542a..d6f58a6 100644 --- a/schuleModul/GENordLogbuch/optionen.tex +++ b/schuleModul/GENordLogbuch/optionen.tex @@ -1,3 +1,6 @@ +\newboolean{printWochen} +\newboolean{printKalendar} +\newboolean{printDraft} % ALLGEMEINE OPTIONEN \providecommand{\Title}{Logbuch\xspace} @@ -39,6 +42,8 @@ \providecommand{\genordMail}[1]{\renewcommand{\GenordMail}{#1}} \providecommand{\GenordUrl}{http://www.ge-nord.de} \providecommand{\genordUrl}[1]{\renewcommand{\GenordUrl}{#1}} +\providecommand{\GenordUrlABC}{http://www.ge-nord.de/ABC} +\providecommand{\genordUrlABC}[1]{\renewcommand{\GenordUrlABC}{#1}} \providecommand{\GenordSL}{--} \providecommand{\genordSL}[1]{\renewcommand{\GenordSL}{#1}} @@ -50,7 +55,16 @@ \providecommand{\genordAII}[1]{\renewcommand{\GenordAII}{#1}} \providecommand{\GenordDL}{--} \providecommand{\genordDL}[1]{\renewcommand{\GenordDL}{#1}} + \providecommand{\GenordSek}{--} \providecommand{\genordSek}[1]{\renewcommand{\GenordSek}{#1}} +\providecommand{\GenordSekZeiten}{--} +\providecommand{\genordSekZeiten}[1]{\renewcommand{\GenordSekZeiten}{#1}} + \providecommand{\GenordSP}{--} \providecommand{\genordSP}[1]{\renewcommand{\GenordSP}{#1}} + +\providecommand{\GenordBerAI}{--} +\providecommand{\genordBerAI}[1]{\renewcommand{\GenordBerAI}{#1}} +\providecommand{\GenordBerAII}{--} +\providecommand{\genordBerAII}[1]{\renewcommand{\GenordBerAII}{#1}} diff --git a/schuleModul/GENordLogbuch/pakete.tex b/schuleModul/GENordLogbuch/pakete.tex index 7f233dd..92b50dc 100644 --- a/schuleModul/GENordLogbuch/pakete.tex +++ b/schuleModul/GENordLogbuch/pakete.tex @@ -1,5 +1,5 @@ \RequirePackage{tcolorbox} -\tcbuselibrary{skins,breakable} +\tcbuselibrary{skins,breakable,xparse,raster} \RequirePackage{translator} % German Month and Day names \usetikzlibrary{calc} diff --git a/wochenUebersicht.tex b/wochenUebersicht.tex index a43aaff..27dea53 100644 --- a/wochenUebersicht.tex +++ b/wochenUebersicht.tex @@ -1,26 +1,52 @@ -\newgeometry{%includefoot,includehead, - top=0.75cm, - bottom=0.75cm, - inner=1.5cm, - outer=1cm, -} -\pagestyle{empty} +\ifthenelse{\boolean{printWochen}}{% + \newgeometry{%includefoot,includehead, + top=0.75cm, + bottom=0.75cm, + inner=1.5cm, + outer=1cm, + } + \pagestyle{empty} -%\printLogbuchWoche{\jahrEins-09-04}{\jahrEins-09-09} -\pgfcalendar{}{\jahrEins-09-04}{\jahrEins-09-16} -{\ifdate{workday}{\ifdate{Tuesday}{\printLogbuchTagDi{% + %\printLogbuchWoche{\jahrEins-09-04}{\jahrEins-09-09} + \pgfcalendar{}{\jahrEins-09-04}{\jahrEins-09-16} + {\ifdate{Monday}{\printLogbuchZiel\printLogbuchTag{% \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% \pgfcalendarcurrentday.\pgfcalendarcurrentmonth% - } - }{\printLogbuchTag{% - \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% - \pgfcalendarcurrentday.\pgfcalendarcurrentmonth% - }% - }\ifdate{Wednesday}{\pagebreak}{\hfil}% - }{}% - \ifdate{Friday}{\printLogbuchSpalte{Rest}\pagebreak}{}% -} + }\hfil% + }{}% + \ifdate{Tuesday}{\printLogbuchTagDi{% + \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% + \pgfcalendarcurrentday.\pgfcalendarcurrentmonth% + }\hfil% + }{}% + \ifdate{Wednesday}{\printLogbuchTag{% + \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% + \pgfcalendarcurrentday.\pgfcalendarcurrentmonth% + }\pagebreak% + }{}% + \ifdate{Thursday}{\printLogbuchTag{% + \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% + \pgfcalendarcurrentday.\pgfcalendarcurrentmonth% + }\hfil% + }{}% + \ifdate{Friday}{\printLogbuchTag{% + \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% + \pgfcalendarcurrentday.\pgfcalendarcurrentmonth% + }\hfil% + \printLogbuchSpalte{Rest}\pagebreak}{}% + } -\clearpage -\pagestyle{scrheadings} -\restoregeometry + \clearpage + \pagestyle{scrheadings} + \restoregeometry +}{ + \clearpage + \begin{center} + \Huge{Wochenübersicht 1} + \end{center} + \clearpage + \begin{center} + \Huge{Wochenübersicht 2} + \end{center} + \clearpage +}