Debian Codegraph @

texmf-dist/doc/latex/schule/source/Module/GENordLogbuch/code.tex

raw
1 \renewcommand{\maketitle}[1][top=6cm,bottom=4cm,inner=1.5cm,outer=1.5cm]{%
2 \begin{titlepage}
3 \newgeometry{#1}
4 % \begin{minipage}{0.5\textwidth}
5 \begin{flushright}
6 \includegraphics[width=0.33\textwidth]{\LogoFront}
7 \end{flushright}
8 % \end{minipage}
9 % \hfil
10 % \begin{minipage}{0.45\textwidth}
11 % \huge{\bfseries \GenordForm\linebreak \GenordName}
12 % \end{minipage}
13
14 \vspace{2em}
15
16 \begin{center}
17 \Huge{\bfseries\Title}
18
19 \vspace{3em}
20
21 \begin{minipage}{0.7\textwidth}
22 \Large{Name:} \luecke{8cm}
23
24 \vspace{2em}
25
26 \Large{Klasse:} \luecke{4cm}
27 \end{minipage}
28
29 \vspace{2em}
30
31 \Large{Schuljahr \Schuljahr}
32 \end{center}
33
34 %\vfil
35 %\hrule
36 %\vspace{2em}
37
38 \end{titlepage}
39 \restoregeometry
40 }
41
42 \renewcommand{\addchap}[2][]{%
43 \addcontentsline{toc}{chapter}{#2}
44 \huge{\bfseries #2}
45 }
46
47 \newcommand{\procOpts}{%
48 \ifthenelse{\boolean{printDraft}}{%
49 \setboolean{printKalendar}{false}
50 \setboolean{printWochen}{false}
51 }{
52 \setboolean{printKalendar}{true}
53 \setboolean{printWochen}{true}
54 }
55 }
56
57 \newcommand{\front}{%
58 \frontmatter
59 \chead{}
60 \ihead{\chaptermark}
61 \ohead{\normalfont\Title}
62 \cfoot{}
63 }
64 \newcommand{\hauptteil}{%
65 \clearpage
66 {
67 %\let\cleardoublepage\relax
68 %\let\clearpage\relax
69
70 \mainmatter
71 }
72 }
73 \newcommand{\anhang}{%
74 \clearpage
75 \appendix
76 }
77
78 \newcommand{\wochen}[2][]{%
79 %\clearpage
80 %\addcontentsline{toc}{chapter}{Wochenübersichten}
81 \chapter{Wochenübersichten}
82 \,
83 \clearpage
84 \input{#2}
85 }
86
87 \ProvideDocumentCommand{\mkUrl}{O{} m o}{%
88 \url{#1#2} \marginpar{%
89 \qrcode[height=4em,nolinks]{#1#2}
90 \IfNoValueF{#3}{
91 \tiny #3
92 }
93 }
94 }
95
96 \WithSuffix\newcommand\mkUrl*[2][]{%
97 \hyperlink{#1#2}{#2}
98 }
99 \ProvideDocumentCommand{\mkUrlCode}{O{} m o O{5em} O{4em}}{%
100 \begin{minipage}{#4}
101 \centering
102 \qrcode[height=#5,nolinks]{#1#2}
103 \IfNoValueF{#3}{
104 \tiny #3
105 }
106 \end{minipage}
107 }
108 % **********************************************************************
109 % Macros für Kontakt
110 % **********************************************************************
111 \newtcolorbox{kontaktbox}[2][]{%
112 left=2mm,
113 fonttitle=\bfseries,
114 title={#2},
115 #1
116 }
117
118 % **********************************************************************
119 % Macros für Wochenübersicht
120 % **********************************************************************
121 \newcommand{\printWochenuebersicht}[3][Wochenübersicht]{%
122 \ifthenelse{\boolean{printWochen}}{%
123 \newgeometry{%includefoot,includehead,
124 top=0.75cm,
125 bottom=0.5cm,
126 inner=1.5cm,
127 outer=1cm,
128 }
129 \pagestyle{empty}
130
131 %\printLogbuchWoche{\jahrEins-09-04}{\jahrEins-09-09}
132 \pgfcalendar{}{#2}{#3}
133 {\ifdate{Monday}{\printLogbuchTagMo{%
134 \pgfcalendarweekdayname{\pgfcalendarcurrentweekday}, %
135 \pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
136 }\hfil%
137 }{}%
138 \ifdate{Tuesday}{\printLogbuchTagDi{%
139 \pgfcalendarweekdayname{\pgfcalendarcurrentweekday}, %
140 \pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
141 }\hfil%
142 }{}%
143 \ifdate{Wednesday}{\printLogbuchTagMi{%
144 \pgfcalendarweekdayname{\pgfcalendarcurrentweekday}, %
145 \pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
146 }\pagebreak%
147 }{}%
148 \ifdate{Thursday}{\printLogbuchTagDo{%
149 \pgfcalendarweekdayname{\pgfcalendarcurrentweekday}, %
150 \pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
151 }\hfil%
152 }{}%
153 \ifdate{Friday}{\printLogbuchTagFr{%
154 \pgfcalendarweekdayname{\pgfcalendarcurrentweekday}, %
155 \pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
156 }%
157 }{}%
158 }
159
160 \clearpage
161 \pagestyle{scrheadings}
162 \restoregeometry
163 }{
164 \clearpage
165 \begin{center}
166 \Huge{#1 1}
167 \end{center}
168 \clearpage
169 \begin{center}
170 \Huge{#1 2}
171 \end{center}
172 \clearpage
173 }
174 }
175 \newcommand{\printLogbuchTagMo}[2][]{%
176 \begin{minipage}{\textwidth}
177 \printLogbuchZiel
178 \end{minipage}\\[0.5em]
179 \begin{minipage}[t]{0.32\textwidth}
180 \centering
181 \begin{logbuchTag}{#2}
182 \faecher
183 \end{logbuchTag}
184 \end{minipage}
185 }
186 \newcommand{\printLogbuchTagDi}[2][]{%
187 \begin{minipage}[b]{0.32\textwidth}
188 \centering
189 \begin{logbuchTag}{#2}
190 \faecher[5]
191 \end{logbuchTag}
192 \begin{logbuchZusatz}{Notizen}
193 %something awesome will appear here
194 \vspace*{2.36cm}
195 \end{logbuchZusatz}
196 \end{minipage}
197 }
198 \newcommand{\printLogbuchTagMi}[2][]{%
199 \begin{minipage}[t]{0.32\textwidth}
200 \centering
201 \begin{logbuchTag}{#2}
202 \faecher
203 \end{logbuchTag}
204 \end{minipage}
205 }
206 \newcommand{\printLogbuchTagDo}[2][]{%
207 \begin{minipage}[b]{0.32\textwidth}
208 \centering
209 \begin{logbuchTag}{#2}
210 \faecher
211 \end{logbuchTag}
212 \begin{logbuchZusatz}[height=1.5cm,]{Kenntnissnahme}
213 \vspace{0.5cm}
214
215 \begin{minipage}[t]{0.31\textwidth}
216 \centering
217 \luecke{\linewidth}
218
219 \footnotesize Schüler\_in
220 \end{minipage}\hfil
221 \begin{minipage}[t]{0.31\textwidth}
222 \centering
223 \luecke{\linewidth}
224
225 \footnotesize Lehrkraft
226 \end{minipage}\hfil
227 \begin{minipage}[t]{0.31\textwidth}
228 \centering
229 \luecke{\linewidth}
230 \footnotesize Eltern
231 \end{minipage}
232 \end{logbuchZusatz}
233 \end{minipage}
234 }
235 \newcommand{\printLogbuchTagFr}[2][]{%
236 \begin{minipage}[b]{0.32\textwidth}
237 \centering
238 \begin{logbuchTag}{#2}
239 \faecher[5]
240 \end{logbuchTag}
241 \begin{logbuchZusatz}[width=2.04\textwidth]{Wochenfeedback}
242 \feldLin[0.77cm]{6}
243 \end{logbuchZusatz}
244 \end{minipage}\hfil
245 \printLogbuchSpalte
246 }
247 \newcommand{\printLogbuchSpalte}{%
248 \begin{minipage}[b]{0.32\textwidth}
249 \centering
250 \begin{logbuchZusatz}{Mitteilungen Eltern}
251 \feldLin[0.8cm]{8}
252 \vspace{-0.4cm}
253 \chb\ Weitere Mitteilungen S.\,\pageref{mitteilungen}
254 \vspace{0.4cm}
255 \end{logbuchZusatz}
256
257 \vspace{0.2cm}
258
259 \begin{logbuchZusatz}{Vereinbarungen Logbuchgespräch}
260 \feldLin[0.8cm]{6}
261 \vspace{-0.5cm}
262 \end{logbuchZusatz}
263
264 \vspace{0.25cm}
265
266 \begin{logbuchZusatz}{Feedback}
267 \begin{smallitemize}
268 \item Arbeitshaltung
269
270 \arbeitshaltungEmojis
271 \item Freundlich und fair
272
273 \arbeitshaltungEmojis
274 \item Material
275
276 \arbeitshaltungEmojis
277 % \item Logbuch
278 %
279 % \arbeitshaltungEmojis
280 \end{smallitemize}
281 \end{logbuchZusatz}
282 \begin{logbuchZusatz}[upperbox=invisible,tikz={opacity=0,transparency group}]{Wochenfeedback}
283 \feldLin[0.77cm]{6}
284 \end{logbuchZusatz}
285 \end{minipage}
286 }
287 \newcommand{\arbeitshaltungEmojis}{%
288 \usym{1F603} \hspace{0.5em} \usym{1F642} \hspace{0.5em} \usym{1F610} \hspace{0.5em} \usym{1F641}
289 }
290 \newcommand{\printLogbuchZiel}{%
291 \begin{center}
292 \tcbox[%
293 enhanced,
294 attach boxed title to top left = {xshift=2mm,yshift=-2mm},
295 colback=white!98!black,%
296 height=1.5cm,
297 left=1mm,
298 right=1mm,
299 drop lifted shadow,
300 fonttitle=\bfseries,
301 title={Mein Wochenziel:},
302 width=0.95\linewidth,
303 valign=center,
304 ]{%
305 \begin{minipage}{0.8\linewidth}
306 \
307 \end{minipage}
308 \begin{minipage}{0.15\linewidth}
309 \chb\ erreicht\\
310 \chb\ nicht erreicht
311 \end{minipage}
312 %\hspace*{0.9\linewidth}\chb\ erreicht}%
313 }%
314 \end{center}
315 }
316 \newtcolorbox{logbuchZusatz}[2][]{%
317 enhanced,
318 attach boxed title to top left = {xshift=2mm,yshift=-2mm},
319 colback=white!98!black,%
320 drop lifted shadow,
321 left=1mm,
322 right=1mm,
323 fonttitle=\bfseries,
324 center title,
325 minipage boxed title=3.5cm,
326 %colback=white!98!black,%
327 title={#2},
328 #1
329 }
330 \newtcolorbox{logbuchTag}[1]{%
331 colback=white,%
332 drop shadow southeast,
333 left=1mm,
334 right=1mm,
335 fonttitle=\bfseries\Large,
336 title={#1},
337 }
338 \newtcolorbox{logbuchFach}[1]{%
339 enhanced,
340 attach boxed title to top left = {xshift=2mm,yshift=-2mm},
341 sharp corners=downhill,
342 drop small lifted shadow,
343 colback=white!93!black,
344 sidebyside=true,
345 righthand width=0.8cm,
346 sidebyside gap=3mm,
347 flushright lower,
348 left=1mm,
349 right=1mm,
350 top=4mm,
351 skin=bicolor,
352 colbacklower=white!85!black,
353 halign lower=center,
354 leftlower=4mm,
355 rightlower=4mm,
356 title=#1,
357 fonttitle=\bfseries,
358 }
359 \newcommand{\faecher}[1][6]{%
360 \foreach\n in {1,...,#1}{%
361 \begin{logbuchFach}{\n.\,Stunde}
362 \textbf{Fach:}
363
364 \feldLin[0.6cm]{3}
365 \vspace{-0.5cm}
366 \tcblower
367 \usym{1F603}
368
369 \vspace{0.5em}
370
371 \usym{1F642}
372
373 \vspace{0.5em}
374
375 \usym{1F610}
376
377 \vspace{0.5em}
378
379 \usym{1F641}
380
381 \end{logbuchFach}
382 }
383 }
384 \newcommand{\logbuchWoche}[6][3]{%
385 \newcounter{logbuchTagNummer}
386 \setcounter{logbuchTagNummer}{0}
387 \foreach\name in {#2,#3,#4,#5,#6}{%
388 \refstepcounter{logbuchTagNummer}
389 \begin{minipage}{0.32\textwidth}
390 \centering
391 \begin{logbuchTag}{\name}
392 \faecher
393 \end{logbuchTag}
394 \end{minipage}
395 \ifthenelse{\value{logbuchTagNummer}<#1\OR\(\value{logbuchTagNummer}>#1\AND\value{logbuchTagNummer}<5\)}{%
396 \hfil
397 }{}
398 }
399 }
400 % **********************************************************************
401 % Macros für Kompetenznachweis
402 % **********************************************************************
403 \newcommand{\reiheGross}[1][1.1cm]{%
404 \begin{minipage}{0.1cm}
405 \vspace*{#1}
406 \end{minipage}
407 }
408 \newcommand{\kompnachweisLB}[4][]{%
409 \renewcommand{\arraystretch}{1.35}
410 \begin{tabularx}{\linewidth}{cc|X|c|c|c|c}
411 \rowcolor{gray!40!white}
412 &
413 {\bfseries Datum} &
414 {\bfseries Thema} &
415 {\bfseries\footnotesize Note} &
416 {\bfseries\footnotesize E|G} &
417 \multicolumn{2}{|c}{\bfseries Unterschriften} \\
418 \rowcolor{gray!40!white}
419 & & & & & {\tiny Fachlehrer\_in} &
420 {\tiny Tutor\_in}\\
421 \hline
422 \rowcolor{white}
423 \multicolumn{7}{c}{\bfseries Lernbüro #2}\\\hline
424 \rowcolor{gray!20!white}
425 1 & \reiheGross & & & & &\\
426 \rowcolor{gray!10!white}
427 2 & \reiheGross & & & & &\\
428 \rowcolor{gray!20!white}
429 3 & \reiheGross & & & & &\\
430 \rowcolor{gray!10!white}
431 4 & \reiheGross & & & & &\\
432 \rowcolor{gray!20!white}
433 5 & \reiheGross & & & & &\\
434 \rowcolor{gray!10!white}
435 6 & \reiheGross & & & & &\\\hline
436 \rowcolor{white}
437 \multicolumn{7}{c}{\bfseries Lernbüro #3}\\\hline
438 \rowcolor{gray!20!white}
439 1 & \reiheGross & & & & &\\
440 \rowcolor{gray!10!white}
441 2 & \reiheGross & & & & &\\
442 \rowcolor{gray!20!white}
443 3 & \reiheGross & & & & &\\
444 \rowcolor{gray!10!white}
445 4 & \reiheGross & & & & &\\
446 \rowcolor{gray!20!white}
447 5 & \reiheGross & & & & &\\
448 \rowcolor{gray!10!white}
449 6 & \reiheGross & & & & &\\\hline
450 \rowcolor{white}
451 \multicolumn{7}{c}{\bfseries Lernbüro #4}\\\hline
452 \rowcolor{gray!20!white}
453 1 & \reiheGross & & & & &\\
454 \rowcolor{gray!10!white}
455 2 & \reiheGross & & & & &\\
456 \rowcolor{gray!20!white}
457 3 & \reiheGross & & & & &\\
458 \rowcolor{gray!10!white}
459 4 & \reiheGross & & & & &\\
460 \rowcolor{gray!20!white}
461 5 & \reiheGross & & & & &\\
462 \rowcolor{gray!10!white}
463 6 & \reiheGross & & & & &\\
464 \end{tabularx}
465 \renewcommand{\arraystretch}{1}
466 }
467 \newcommand{\kompnachweisProj}[3][\luecke{5cm}]{%
468 \renewcommand{\arraystretch}{1.35}
469 \begin{tabularx}{\linewidth}{cc|X|c|c|c|c}
470 \rowcolor{gray!40!white}
471 &
472 {\bfseries Datum} &
473 {\bfseries Thema} &
474 {\bfseries\footnotesize Note} &
475 {\bfseries\footnotesize E|G} &
476 \multicolumn{2}{|c}{\bfseries Unterschriften} \\
477 \rowcolor{gray!40!white}
478 & & & & & {\tiny Fachlehrer\_in} &
479 {\tiny Tutor\_in}\\
480 \hline
481 \rowcolor{white}
482 \multicolumn{7}{c}{\bfseries Wahlpflichtfach: #1}\\\hline
483 \rowcolor{gray!20!white}
484 1 & \reiheGross & & & & &\\
485 \rowcolor{gray!10!white}
486 2 & \reiheGross & & & & &\\
487 \rowcolor{gray!20!white}
488 3 & \reiheGross & & & & &\\
489 \rowcolor{gray!10!white}
490 4 & \reiheGross & & & & &\\
491 \rowcolor{gray!20!white}
492 5 & \reiheGross & & & & &\\
493 \rowcolor{gray!10!white}
494 6 & \reiheGross & & & & &\\\hline
495 \rowcolor{white}
496 \multicolumn{7}{c}{\bfseries Projekte (#2) }\\\hline
497 \rowcolor{gray!20!white}
498 1 & \reiheGross[1.4cm] & & & & &\\
499 \rowcolor{gray!10!white}
500 2 & \reiheGross[1.4cm] & & & & &\\
501 \rowcolor{gray!20!white}
502 3 & \reiheGross[1.4cm] & & & & &\\ \hline
503 %\rowcolor{gray!10!white}
504 % 4 & \reiheGross[1.4cm] & & & & &\\\hline
505 \rowcolor{white}
506 \multicolumn{7}{c}{\bfseries Projekte (#3) }\\\hline
507 \rowcolor{gray!20!white}
508 1 & \reiheGross[1.4cm] & & & & &\\
509 \rowcolor{gray!10!white}
510 2 & \reiheGross[1.4cm] & & & & &\\
511 \rowcolor{gray!20!white}
512 3 & \reiheGross[1.4cm] & & & & &\\ \hline
513 %\rowcolor{gray!10!white}
514 % 4 & \reiheGross[1.4cm] & & & & &\\\hline
515 %\rowcolor{gray!20!white}
516 % & \reiheGross[1.4cm] & & & & &\\
517 %\rowcolor{gray!10!white}
518 % & \reiheGross[1.4cm] & & & & &\\
519 \rowcolor{white}
520 \multicolumn{7}{c}{\bfseries #1 }\\\hline
521 \rowcolor{gray!20!white}
522 1 & \reiheGross[1.4cm] & & & & &\\
523 \rowcolor{gray!10!white}
524 2 & \reiheGross[1.4cm] & & & & &\\
525 \rowcolor{gray!20!white}
526 3 & \reiheGross[1.4cm] & & & & &\\
527 \rowcolor{gray!10!white}
528 4 & \reiheGross[1.4cm] & & & & &\\\hline
529 \end{tabularx}
530 \renewcommand{\arraystretch}{1}
531 }
532 % **********************************************************************
533 % Macros für Mitteilungen
534 % **********************************************************************
535 \newcommand{\mitteilungen}[1][22cm]{%
536 \begin{center}
537 \renewcommand{\arraystretch}{1.75}
538 \begin{tabularx}{\linewidth}{p{3cm}|p{3cm}|X}
539 \textbf{Datum} & \textbf{Lehrkraft} & \textbf{Mitteilung}\\\hline
540 \begin{minipage}{2cm} \vspace{#1} \end{minipage} & & \\
541 \end{tabularx}
542 \renewcommand{\arraystretch}{1}
543 \end{center}
544 }
545 % **********************************************************************
546 % Macros für Entschuldigungen
547 % **********************************************************************
548 \newcommand{\abwesenheitBox}[1][11]{%
549 \foreach\lauf in {1,...,#1}{%
550 \begin{tcolorbox}[%
551 %left=2mm,
552 ]
553 \centering\doublespacing
554 Mein Kind war/wird vom \luecke{2.6cm} bis \luecke{2.6cm} aus folgendem Grund
555
556 \luecke{0.9\linewidth}
557
558 abwesend (sein).
559 \hfil
560 \begin{minipage}{0.5\textwidth}
561 \centering
562 \vspace{2.25em}
563 \luecke{\linewidth}
564 \footnotesize Unterschrift Erziehungsberechtigte(r), Datum
565 \end{minipage}
566 \end{tcolorbox}
567
568 \vfil
569 }
570 }
571 % **********************************************************************
572 % Macros für Beratung
573 % **********************************************************************
574 \newtcolorbox{beratungEintrag}[2][]{%
575 enhanced,attach boxed title to top left=
576 {xshift=2mm,yshift=-2mm},
577 boxrule=0.5pt,
578 colback=white!93!black,,
579 skin=bicolor,
580 colbacklower=white!85!black,
581 halign lower=flush right,
582 title={#2},
583 fonttitle=\bfseries,
584 #1
585 }
586 \newtcolorbox{beratungEintragZ}[2][]{%
587 enhanced,attach boxed title to top center=
588 {xshift=0mm,yshift=-3mm},
589 boxrule=0.5pt,
590 colback=white!94!black,
591 coltitle=black,
592 colbacktitle=white!80!black,
593 skin=bicolor,
594 colbacklower=white!85!black,
595 halign lower=flush right,
596 title={#2},
597 fonttitle=\bfseries,
598 #1
599 }
600 \newcommand{\beratung}[1][4]{%
601 %\addcontentsline{toc}{chapter}{Beratung}
602 \foreach\lauf in {1,...,#1}{%
603 \begin{tcolorbox}[%
604 fonttitle={\Large},
605 title={\textbf{Zielvereinbarung} -- Gespräch vom \luecke{3cm} mit \luecke{2.2cm}},%
606 colback=white!98!black,%
607 ]
608 \begin{tcbraster}[raster columns=2,raster rows=2]
609 \begin{beratungEintrag}{\symDaumenHoch\hspace{0.2cm} Das kann ich schon}
610 \vspace{5cm}
611 \end{beratungEintrag}
612 \begin{beratungEintrag}{\symDaumenRunter\hspace{0.2cm} Das möchte ich verbessern}
613 \vspace{5cm}
614 \end{beratungEintrag}
615 \end{tcbraster}
616 \begin{beratungEintrag}{\symZielflagge\hspace{0.2cm} Mein Ziel}
617 \vspace{4cm}
618 \tcblower
619 bis zum: \luecke{4cm}
620 \end{beratungEintrag}
621 \begin{beratungEintrag}{\symZeigefinger\hspace{0.2cm} Unsere Unterstützung}
622 \vspace{0.2cm}
623 \begin{tcbraster}[raster columns=2,raster rows=2]
624 \begin{beratungEintragZ}{Schule}
625 \vspace{3cm}
626 \end{beratungEintragZ}
627 \begin{beratungEintragZ}{Zu Hause}
628 \vspace{3cm}
629 \end{beratungEintragZ}
630 \end{tcbraster}
631 \end{beratungEintrag}
632
633 \vspace{0.2cm}
634
635 \begin{beratungEintrag}{}
636 \vspace{1.25cm}
637
638 \begin{minipage}[t]{0.31\textwidth}
639 \centering
640 \luecke{\linewidth}
641
642 \footnotesize Schüler\_in
643 \end{minipage}\hfil
644 \begin{minipage}[t]{0.31\textwidth}
645 \centering
646 \luecke{\linewidth}
647
648 \footnotesize Eltern
649 \end{minipage}\hfil
650 \begin{minipage}[t]{0.31\textwidth}
651 \centering
652 \luecke{\linewidth}
653 \footnotesize Lehrkraft
654 \end{minipage}
655 \end{beratungEintrag}
656 \end{tcolorbox}
657 \clearpage
658 }
659 }
660 % **********************************************************************
661 % Macros für den Abspann
662 % **********************************************************************
663 \newcommand{\abspann}[1][]{%
664 \chapter{Notizen}
665 \feldLin[1.25cm]{18}
666 \clearpage
667 \feldLin[1.25cm]{18}
668
669 % \begin{center}
670 % \begin{tcolorbox}[
671 % bicolor,
672 % sidebyside=true,
673 % righthand width=1.6cm,
674 % sidebyside gap=4mm,
675 % leftlower=1mm,
676 % rightlower=1mm,
677 % width=0.9\linewidth,
678 % ]
679 % \centering
680 % \ccbyncsa\\[0.5em]
681 % Dieses Dokument steht unter einer CCbyncsa-Lizenz.
682
683 % Es darf zu nicht-kommerziellen Zwecken beliebig weiter verwendet werden, so lange auf die
684 % ursprünglichen Autoren verwiesen wird und eine ähnliche Lizenz verwendet wird.
685
686 % \url{https://creativecommons.org/licenses/by-nc-sa/4.0/}
687 % \tcblower
688 % \mkUrlCode[mailto:]{https://creativecommons.org/licenses/by-nc-sa/4.0/}[Lizenz][1.3cm][1.2cm]
689
690 % \end{tcolorbox}
691 % \end{center}
692 \clearpage
693 \thispagestyle{empty}
694
695 %\vspace*{17cm}
696 \
697
698 \vfill
699
700 \begin{kontaktbox}[%
701 bicolor,
702 sidebyside=true,
703 righthand width=1.6cm,
704 sidebyside gap=4mm,
705 leftlower=1mm,
706 rightlower=1mm,
707 width=0.6\linewidth,
708 %colbacklower=black!95!white,
709 ]{\GenordForm\ \GenordName}
710 \begin{itemize}
711 \item[\Letter] \GenordStr
712
713 \GenordPlz\ \GenordOrt
714 \item[\Telefon] \GenordTel
715 \item[\Faxmachine] \GenordFax
716 \item[@] \mkUrl*[mailto:]{\GenordMail}
717 \item[\usym{1F30E}] \mkUrl*{\GenordUrl}
718 \end{itemize}
719 \tcblower
720 \begin{center}
721 \mkUrlCode[mailto:]{\GenordMail}[E-Mail][1.3cm][1.2cm]
722
723 \vspace{2em}
724
725 \mkUrlCode{\GenordUrl}[Website][1.3cm][1.2cm]
726 \end{center}
727 \end{kontaktbox}
728 }
729 % **********************************************************************
730 % Macros für den Kalendar
731 % **********************************************************************
732 \newcommand{\ferien}{}
733 \newcommand{\feiertage}{}
734 \newcommand{\termine}{}
735 \newenvironment{schulkalendar}[2][top=0.5cm,bottom=0.5cm,outer=1.5cm]{%
736 \newgeometry{#1}
737 \pagestyle{empty}
738 \addcontentsline{toc}{chapter}{#2}
739 \newboolean{schulkalendarSeiteOne}
740 \setboolean{schulkalendarSeiteOne}{true}
741 \newcommand{\calName}{}
742 }{%
743 \restoregeometry
744 \pagestyle{scrheadings}
745 }
746 \newcommand{\schulkal}[3][0.96]{%
747 \rotatebox{90}{%
748 \scalebox{#1}{%
749 \begin{tikzpicture}[every day/.style={anchor = north}]
750 \ifthenelse{\boolean{schulkalendarSeiteOne}}{%
751 \renewcommand{\calName}{first}
752 }{%
753 \renewcommand{\calName}{scnd}
754 }
755 \calendar[%
756 dates=#2,
757 name=\calName,
758 day yshift = 3em,
759 day code=
760 {
761 \node[name=\pgfcalendarsuggestedname,every day,shape=rectangle,
762 minimum height= .53cm, text width = 4.4cm, draw = gray]{\tikzdaytext};
763 \draw (-1.8cm, -.1ex) node[anchor = west]{\footnotesize%
764 \pgfcalendarweekdayshortname{\pgfcalendarcurrentweekday}};
765 },
766 execute before day scope=
767 {
768 \ifdate{day of month=1}
769 {
770 % Shift right
771 \pgftransformxshift{4.8cm}
772 % Print month name
773 \draw (0,0)node [shape=rectangle, minimum height= .53cm,
774 text width = 4.4cm, fill = red, text= white, draw = red, text centered]
775 {\textbf{\pgfcalendarmonthname{\pgfcalendarcurrentmonth}}};
776 }{}
777 \ifdate{workday}
778 {
779 \ferien
780 }{}
781 \ifdate{Saturday}{\tikzset{every day/.style={fill=red!10}}}{}
782 \ifdate{Sunday}{\tikzset{every day/.style={fill=red!20}}}{}
783 \feiertage
784 },
785 execute at begin day scope=
786 {
787 % each day is shifted down according to the day of month
788 \pgftransformyshift{-.53*\pgfcalendarcurrentday cm}
789 }
790 ];
791
792 \termine
793 \end{tikzpicture}
794 }
795 }
796 \setboolean{schulkalendarSeiteOne}{false}
797 \clearpage
798 }
799 % Names of Holidays are inserted by employing this macro
800 \newcommand{\termin}[3][]{
801 \ifthenelse{\boolean{schulkalendarSeiteOne}}{%
802 \node [anchor=north west, text width= 3.4cm] at
803 ($(first-#2.north west)+(3em, 0em)$) {\tiny{#3}};
804 }{%
805 \node [anchor=north west, text width= 3.4cm] at
806 ($(scnd-#2.north west)+(3em, 0em)$) {\tiny{#3}};
807 }
808 }