Gestaltung überarbeitet und an neue Vorgaben angepasst

This commit is contained in:
André Hilbig 2016-11-26 16:38:22 +01:00
parent c1f563d981
commit 4c1b33ff67
8 changed files with 138 additions and 33 deletions

View file

@ -64,7 +64,18 @@
} }
} }
\begin{schulkalendar}{Schulkalendar} \ifthenelse{\boolean{printKalendar}}{%
\begin{schulkalendar}{Schulkalendar}
\schulkal{\jahrEins-08-01 to \jahrZwei-01-31}{first} \schulkal{\jahrEins-08-01 to \jahrZwei-01-31}{first}
\schulkal{\jahrZwei-02-01 to \jahrZwei-07-31}{second} \schulkal{\jahrZwei-02-01 to \jahrZwei-07-31}{second}
\end{schulkalendar} \end{schulkalendar}
}{
\begin{center}
\Huge{Kalendar 1}
\end{center}
\clearpage
\begin{center}
\Huge{Kalendar 2}
\end{center}
\clearpage
}

View file

@ -15,9 +15,15 @@
\genordAI{--} \genordAI{--}
\genordAII{Herr Häberle} \genordAII{Herr Häberle}
\genordDL{Frau Dorsch} \genordDL{Frau Dorsch}
\genordSek{Frau Braatz} \genordSek{Frau Braatz}
\genordSekZeiten{7:30--14:00\,Uhr}
\genordSP{Herr Burt} \genordSP{Herr Burt}
\genordBerAI{Frau Meyer-Kuczera}
\genordBerAII{--}
\hypersetup{% \hypersetup{%
pdftitle = {\Title},% pdftitle = {\Title},%
pdfsubject = {},% pdfsubject = {},%

Binary file not shown.

View file

@ -41,8 +41,13 @@
\date{\today} \date{\today}
%\onehalfspacing %\onehalfspacing
% printDraft true: keine Kalendar berechnet
% printDraft false: Kalendar werden gesetzt (zeitaufwendig)
\setboolean{printDraft}{false}
\input{conf.tex} \input{conf.tex}
\procOpts
\begin{document} \begin{document}
\front \front
\maketitle \maketitle

View file

@ -39,6 +39,15 @@
\huge{\bfseries #2} \huge{\bfseries #2}
} }
\providecommand{\procOpts}{%
\ifthenelse{\boolean{printDraft}}{%
\setboolean{printKalendar}{false}
\setboolean{printWochen}{false}
}{
\setboolean{printKalendar}{true}
\setboolean{printWochen}{true}
}
}
\providecommand{\front}{% \providecommand{\front}{%
\frontmatter \frontmatter
@ -78,15 +87,24 @@
\WithSuffix\providecommand\mkUrl*[2][]{% \WithSuffix\providecommand\mkUrl*[2][]{%
\hyperlink{#1#2}{#2} \hyperlink{#1#2}{#2}
} }
\ProvideDocumentCommand{\mkUrlCode}{O{} m o}{% \ProvideDocumentCommand{\mkUrlCode}{O{} m o O{5em} O{4em}}{%
\begin{minipage}{5em} \begin{minipage}{#4}
\centering \centering
\qrcode[height=4em,nolinks]{#1#2} \qrcode[height=#5,nolinks]{#1#2}
\IfNoValueF{#3}{ \IfNoValueF{#3}{
\tiny #3 \tiny #3
} }
\end{minipage} \end{minipage}
} }
% **********************************************************************
% Macros für Kontakt
% **********************************************************************
\newtcolorbox{kontaktbox}[2][]{%
left=2mm,
fonttitle=\bfseries,
title={#2},
#1
}
% ********************************************************************** % **********************************************************************
% Macros für Wochenübersicht % Macros für Wochenübersicht
@ -120,6 +138,21 @@
\end{logbuchTag} \end{logbuchTag}
\end{minipage} \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]{% \newtcolorbox{logbuchZusatz}[1]{%
colback=white!98!black,% colback=white!98!black,%
left=1mm, left=1mm,
@ -139,6 +172,10 @@
attach boxed title to top left = {xshift=2mm,yshift=-2mm}, attach boxed title to top left = {xshift=2mm,yshift=-2mm},
sharp corners=downhill, sharp corners=downhill,
colback=white!93!black, colback=white!93!black,
sidebyside=true,
righthand width=0.8cm,
sidebyside gap=3mm,
flushright lower,
left=1mm, left=1mm,
right=1mm, right=1mm,
top=4mm, top=4mm,
@ -154,10 +191,16 @@
\begin{logbuchFach}{\n.\,Stunde} \begin{logbuchFach}{\n.\,Stunde}
\textbf{Fach:} \textbf{Fach:}
\feldLin[0.6cm]{2} \feldLin[0.6cm]{3}
\vspace{-0.5cm}
\tcblower \tcblower
\usym{1F641} \hfil \usym{1F610} \hfil \usym{1F642} \hfil \usym{1F603} \usym{1F641}
\usym{1F610}
\usym{1F642}
\usym{1F603}
\end{logbuchFach} \end{logbuchFach}
} }
} }

View file

@ -1,3 +1,6 @@
\newboolean{printWochen}
\newboolean{printKalendar}
\newboolean{printDraft}
% ALLGEMEINE OPTIONEN % ALLGEMEINE OPTIONEN
\providecommand{\Title}{Logbuch\xspace} \providecommand{\Title}{Logbuch\xspace}
@ -39,6 +42,8 @@
\providecommand{\genordMail}[1]{\renewcommand{\GenordMail}{#1}} \providecommand{\genordMail}[1]{\renewcommand{\GenordMail}{#1}}
\providecommand{\GenordUrl}{http://www.ge-nord.de} \providecommand{\GenordUrl}{http://www.ge-nord.de}
\providecommand{\genordUrl}[1]{\renewcommand{\GenordUrl}{#1}} \providecommand{\genordUrl}[1]{\renewcommand{\GenordUrl}{#1}}
\providecommand{\GenordUrlABC}{http://www.ge-nord.de/ABC}
\providecommand{\genordUrlABC}[1]{\renewcommand{\GenordUrlABC}{#1}}
\providecommand{\GenordSL}{--} \providecommand{\GenordSL}{--}
\providecommand{\genordSL}[1]{\renewcommand{\GenordSL}{#1}} \providecommand{\genordSL}[1]{\renewcommand{\GenordSL}{#1}}
@ -50,7 +55,16 @@
\providecommand{\genordAII}[1]{\renewcommand{\GenordAII}{#1}} \providecommand{\genordAII}[1]{\renewcommand{\GenordAII}{#1}}
\providecommand{\GenordDL}{--} \providecommand{\GenordDL}{--}
\providecommand{\genordDL}[1]{\renewcommand{\GenordDL}{#1}} \providecommand{\genordDL}[1]{\renewcommand{\GenordDL}{#1}}
\providecommand{\GenordSek}{--} \providecommand{\GenordSek}{--}
\providecommand{\genordSek}[1]{\renewcommand{\GenordSek}{#1}} \providecommand{\genordSek}[1]{\renewcommand{\GenordSek}{#1}}
\providecommand{\GenordSekZeiten}{--}
\providecommand{\genordSekZeiten}[1]{\renewcommand{\GenordSekZeiten}{#1}}
\providecommand{\GenordSP}{--} \providecommand{\GenordSP}{--}
\providecommand{\genordSP}[1]{\renewcommand{\GenordSP}{#1}} \providecommand{\genordSP}[1]{\renewcommand{\GenordSP}{#1}}
\providecommand{\GenordBerAI}{--}
\providecommand{\genordBerAI}[1]{\renewcommand{\GenordBerAI}{#1}}
\providecommand{\GenordBerAII}{--}
\providecommand{\genordBerAII}[1]{\renewcommand{\GenordBerAII}{#1}}

View file

@ -1,5 +1,5 @@
\RequirePackage{tcolorbox} \RequirePackage{tcolorbox}
\tcbuselibrary{skins,breakable} \tcbuselibrary{skins,breakable,xparse,raster}
\RequirePackage{translator} % German Month and Day names \RequirePackage{translator} % German Month and Day names
\usetikzlibrary{calc} \usetikzlibrary{calc}

View file

@ -1,26 +1,52 @@
\newgeometry{%includefoot,includehead, \ifthenelse{\boolean{printWochen}}{%
\newgeometry{%includefoot,includehead,
top=0.75cm, top=0.75cm,
bottom=0.75cm, bottom=0.75cm,
inner=1.5cm, inner=1.5cm,
outer=1cm, outer=1cm,
}
\pagestyle{empty}
%\printLogbuchWoche{\jahrEins-09-04}{\jahrEins-09-09}
\pgfcalendar{}{\jahrEins-09-04}{\jahrEins-09-16}
{\ifdate{workday}{\ifdate{Tuesday}{\printLogbuchTagDi{%
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
} }
}{\printLogbuchTag{% \pagestyle{empty}
%\printLogbuchWoche{\jahrEins-09-04}{\jahrEins-09-09}
\pgfcalendar{}{\jahrEins-09-04}{\jahrEins-09-16}
{\ifdate{Monday}{\printLogbuchZiel\printLogbuchTag{%
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},% \pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth% \pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
}% }\hfil%
}\ifdate{Wednesday}{\pagebreak}{\hfil}%
}{}% }{}%
\ifdate{Friday}{\printLogbuchSpalte{Rest}\pagebreak}{}% \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 \clearpage
\pagestyle{scrheadings} \pagestyle{scrheadings}
\restoregeometry \restoregeometry
}{
\clearpage
\begin{center}
\Huge{Wochenübersicht 1}
\end{center}
\clearpage
\begin{center}
\Huge{Wochenübersicht 2}
\end{center}
\clearpage
}