%% %% This is file `schuleit.cls', %% generated with the docstrip utility. %% %% The original source files were: %% %% schule.dtx (with options: `schuleit.cls,package') %% Copyright (C) %% 2010, 2011, 2012, 2013, 2014, 2015 %% Johannes Pieper (johannes_pieper@yahoo.de) %% Johannes Kuhaupt (kujohann@seminar.ham.nw.schule.de) %% Daniel Spittank (kontakt@daniel.spittank.net) %% André Hilbig (mail@andrehilbig.de) %% Adrian Salamon (adriansalamon@gmail.com) %% %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is Johannes Pieper. %% %% This work consists of the files schule.dtx and schule.ins, readme %% and the derived files schule.sty, schulinf.sty, syntaxdi.sty, %% relaycircuit.sty, schulphy.sty, schulekl.cls, schuleub.cls, %% schullzk.cls, schuleab.cls, schulein.cls, schuleue.cls, %% schullsg.cls, schulit.cls, schulekl.sty, schulelzk.sty. %% %% Dies ist der dokumentierte Makrocode zur Erzeugung und Dokumentation %% des LaTeX-Paket `schule'. %% %% This is the documented Macrocode to build the LaTeX-Package `schule' %% and its documentation. %% %% Some of the examples in the documentation have different copyright %% notes. %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% Der folgende kenntlich gemachte Abschnitt ist in der Zusammenarbeit %% von Informatikreferendaren und ehemaligen Informatikreferendaren %% der Studienseminare (heute ZfsL) Arnsberg, Hamm und Solingen %% entstanden. %% %% Der Abschnitt steht unter der Lizenz: Creative Commons by-nc-sa %% Version 4.0 %% http://creativecommons.org/licenses/by-nc-sa/4.0/deed.de %% %% Nach dieser Lizenz darf der Abschnitt beliebig kopiert und %% bearbeitet werden, sofern das Folgeprodukt wiederum unter %% gleichen Lizenzbedingungen vertrieben und auf die ursprünglichen %% Urheber verwiesen wird. Eine kommerzielle Nutzung ist %% ausdrücklich ausgeschlossen. %% %% Die Namensnennung durch einen Verweis und die Lizenzangabe der %% ursprünglichen Urheber auf den Materialien für Schülerinnen und %% Schüler ist erforderlich. %% %% Die vollständige Sammlung der Dokumente steht unter %% http://ddi.uni-wuppertal.de/material/materialsammlung/ zur %% Verfügung. %% %% Das LaTeX-Paket zum Setzen der Dokumente der Sammlung steht unter %% http://www.ctan.org/pkg/ zur Verfügung. %% %% ----- BEGIN ------------------------------------------------------ %% %% ----- END --------------------------------------------------------- %% Der folgende kenntlich gemachte Abschnitt ist in der Zusammenarbeit %% von Informatikreferendaren und ehemaligen Informatikreferendaren %% der Studienseminare (heute ZfsL) Arnsberg, Hamm und Solingen %% entstanden. %% %% Der Abschnitt steht unter der Lizenz: Creative Commons by-nc-sa %% Version 4.0 %% http://creativecommons.org/licenses/by-nc-sa/4.0/deed.de %% %% Nach dieser Lizenz darf der Abschnitt beliebig kopiert und %% bearbeitet werden, sofern das Folgeprodukt wiederum unter %% gleichen Lizenzbedingungen vertrieben und auf die ursprünglichen %% Urheber verwiesen wird. Eine kommerzielle Nutzung ist %% ausdrücklich ausgeschlossen. %% %% Die Namensnennung durch einen Verweis und die Lizenzangabe der %% ursprünglichen Urheber auf den Materialien für Schülerinnen und %% Schüler ist erforderlich. %% %% Die vollständige Sammlung der Dokumente steht unter %% http://ddi.uni-wuppertal.de/material/materialsammlung/ zur %% Verfügung. %% %% Das LaTeX-Paket zum Setzen der Dokumente der Sammlung steht unter %% http://www.ctan.org/pkg/ zur Verfügung. %% %% ----- BEGIN ------------------------------------------------------ %% Der String Version: Version: 0.6 respektive 2015-05-07 wird beim Aufruf %% des build-scripts durch die passende Nummer bzw. das passende %% Datum ersetzt. \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{schuleit}[2015/05/07 v0.6 % Vorlage fuer ein Leitprogramm] \usepackage{warning} \addglobalwarning{% \ClassWarningNoLine{schuleit}{Diese Klasse stammt aus dem Paket 'schule' in der Version 0.6, die nicht weiterentwickelt wird. Bitte aktualisieren Sie Ihr Dokument.}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrreprt}} \ProcessOptions\relax \LoadClass[12pt,a4paper,openany, chapterprefix, bibliography=totoc, numbers=noendperiod, parskip=half] {scrreprt} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage{schulealt} \RequirePackage{mdframed} \RequirePackage{scrlayer-scrpage} \RequirePackage{paralist} \RequirePackage{xargs} \RequirePackage{xparse} \pagestyle{scrheadings} \clearscrheadfoot \cfoot[\pagemark]{\pagemark} \renewcommand{\chaptermark}[1]{ \markboth{#1}{} } \renewcommand{\sectionmark}[1]{ \markright{#1}{} } \ihead{ {\normalfont\leftmark\ --} \textit{\rightmark} } \definecolor{chapter}{rgb}{0,0.25,0.56} \definecolor{section}{rgb}{0.27,0.33,0.90} \definecolor{subsection}{rgb}{0.54,0.66,0.90} \definecolor{subsubsection}{rgb}{0.14,0.17,0.95} \definecolor{paragraph}{cmyk}{0.5,0,.1,.39} \definecolor{LightGrey}{rgb}{0.9,0.9,0.9} \definecolor{grey1}{rgb}{.1,.1,.1} \definecolor{grey2}{rgb}{.2,.2,.2} \definecolor{grey3}{rgb}{.3,.3,.3} \definecolor{grey4}{rgb}{.4,.4,.4} \definecolor{grey5}{rgb}{.5,.5,.5} \definecolor{grey7}{rgb}{.7,.7,.7} \definecolor{grey8}{rgb}{.8,.8,.8} \definecolor{grey9}{rgb}{.9,.9,.9} \newcommand{\uebungBild}{ \begin{tikzpicture}[y=0.80pt, x=0.8pt,yscale=-1, inner sep=0pt, outer sep=0pt] \path[draw=grey5,fill=grey7,line join=miter,line cap=butt,line width=0.209pt] (12.0208,0.5895) -- (1.3666,3.8375) -- (3.3843,20.6431) -- (20.4113,14.4179) -- cycle; \path[draw=grey1,fill=grey9,line join=round,line cap=butt,line width=0.209pt] (7.1932,6.1991) -- (15.9622,12.7759) -- (16.8321,11.7667) -- (7.8544,5.3292) -- cycle; \path[draw=grey1,fill=grey3,line join=round,line cap=butt,line width=0.209pt] (7.8544,5.3292) -- (5.9231,4.7550) -- (7.1932,6.1991) -- cycle; \end{tikzpicture} } \newcommand{\hinweisBild}{ \begin{tikzpicture}[y=0.80pt, x=0.8pt,yscale=-1, inner sep=0pt, outer sep=0pt] \path[draw=black,fill=grey2,line join=miter,line cap=butt,miter limit=4.00,line width=0.160pt] (6.4521,1.4334) -- (7.4295,0.4560) .. controls (7.9473,0.7196) and (8.1724,0.8553) .. (9.3447,1.4053) .. controls (9.3447,1.4053) and (9.4550,2.1225) .. (9.7278,3.7868) .. controls (9.7547,3.9511) and (10.4938,7.4506) .. (10.4938,7.4506) .. controls (10.4938,7.4506) and (11.0227,10.4067) .. (11.5264,11.8139) .. controls (11.7222,12.3609) and (12.1912,12.8073) .. (12.2925,13.3794) .. controls (12.3294,13.5882) and (12.2747,13.8058) .. (12.2258,14.0122) .. controls (12.1526,14.3214) and (12.0628,14.5394) .. (11.8899,14.9041) .. controls (11.5477,15.6258) and (10.6101,16.3538) .. (10.6271,16.2438); \path[draw=black,fill=grey8,line join=round,line cap=butt,line width=0.200pt] (5.8974,0.5893) -- (7.4295,0.4519) .. controls (8.0049,6.9583) and (10.9185,15.1671) .. (10.8935,15.6401) .. controls (10.8820,15.8585) and (10.8157,16.1331) .. (10.6271,16.2438) .. controls (10.4156,16.3680) and (10.0239,16.3854) .. (9.8943,16.1772) .. controls (8.7782,14.3840) and (8.5425,12.9279) .. (8.0291,11.2477) .. controls (7.4491,9.3496) and (7.0458,7.3997) .. (6.6635,5.4522) .. controls (6.3474,3.8419) and (5.8974,0.5893) .. (5.8974,0.5893) -- cycle; \path[draw=black,fill=black,line join=round,line cap=butt,miter limit=4.00,line width=0.160pt] (13.0918,15.9107) -- (13.6664,17.7926) -- (13.0575,20.6334) -- (11.7179,19.3081) -- (13.0918,15.9107); \path[draw=black,fill=grey4,line join=round,line cap=butt,miter limit=4.00,line width=0.160pt] (13.0918,15.9107) -- (12.1925,18.0424) -- (10.8935,18.0424) -- (12.3258,15.7775) -- cycle; \path[draw=black,fill=grey8,line join=round,line cap=butt,miter limit=4.00,line width=0.160pt] (10.8935,18.0424) .. controls (10.8935,18.0424) and (11.1714,19.7148) .. (11.1600,19.6412) .. controls (11.0947,19.2217) and (11.1324,20.0124) .. (11.7262,20.8070) .. controls (11.9101,21.0529) and (12.7921,20.8070) .. (12.9586,20.7403) .. controls (13.1251,20.6737) and (12.9586,19.3414) .. (12.9586,19.3414) -- (12.1925,18.0424) -- cycle; \end{tikzpicture} } \addtokomafont{chapter}{\color{chapter}} \addtokomafont{section}{\color{section}} \addtokomafont{subsection}{\color{subsection}} \addtokomafont{subsubsection}{\color{subsubsection}} \addtokomafont{paragraph}{\color{paragraph}} \newmdenv[backgroundcolor=LightGrey,linewidth=0pt]{grey@Frame} \makeatletter% siehe FAQ (aber wirklich nachsehen!) \newcommand*{\headingpar}{\par\nobreak\@afterheading} \makeatother% siehe FAQ \newenvironment{greyFrame}[2]% {\begin{grey@Frame}#1 \raisebox{+0.9ex}{ \begin{large}#2\end{large} }\vspace*{-0.2cm}\headingpar}% {\end{grey@Frame}} \newcounter{aufgabe}[chapter] \newenvironment{Aufgabe} {\stepcounter{aufgabe}\label{aufg\arabic{chapter}\arabic{aufgabe}} \begin{greyFrame}{\uebungBild{}}{Aufgabe % \arabic{chapter}.\arabic{aufgabe}}}% {\end{greyFrame}}% \NewDocumentEnvironment{Aufgaben}{o o}% {% \stepcounter{aufgabe}\label{aufg\arabic{chapter}\arabic{aufgabe}}% %\setcounter{aufgabennr}{1} \begin{greyFrame}{\uebungBild{}}{Aufgaben % \arabic{chapter}.\arabic{aufgabe}}% \headingpar\begin{Form}\headingpar% \IfNoValueTF{#2}{}{#2}% \ifthenelse{\equal{#1}{}}{% \begin{compactenum}[a)]% }{% \IfNoValueTF{#1}{% \begin{compactenum}[a)]% }{% \begin{compactenum}[#1]% }% }% %\setcounter{enumi}{\theaufgabennr} %\renewcommand{\labelenumi}{\arabic{chapter}.\arabic{aufgabe}.\roman{enumi}} }% {% \end{compactenum}% \end{Form}% \end{greyFrame}% }% \newenvironment{Hinweis} {\begin{greyFrame}{\hinweisBild{}}{Hinweis}}% {\end{greyFrame}}% \newcommand{\TextFeld}[1]{% \vspace*{3pt}\newline\TextField[width=.93\textwidth,% height=#1,multiline=true,borderwidth=0]{}% }% \newcounter{loesungnr} \newcommand{\AufgabeLoesung}[2][]{% \label{loesungback\theloesungnr}% \global\expandafter\edef\csname% loesungname\theloesungnr\endcsname{% \arabic{chapter}.\arabic{aufgabe}% }% \ifthenelse{\isempty{#1}}{% \global\expandafter\edef\csname% loesungref\theloesungnr\endcsname{__NONE__}% }{% \global\expandafter\edef\csname% loesungref\theloesungnr\endcsname{loesungback\theloesungnr}% }% \global\expandafter\def\csname loesung\theloesungnr\endcsname{#2}% \hyperref[loesung\theloesungnr]{% \colorbox{black!30}{\color{blue!90}L}% }% \addtocounter{loesungnr}{1}% } \newcommand{\AufgabenLoesung}[1]{% \AufgabeLoesung[ref]{#1}% } \newcounter{zeigenr}% \newcommand{\loesungzeigen}{% \setcounter{zeigenr}{0}% \ifthenelse{\value{loesungnr}>0}{% \setboolean{@loesunganzeigen}{true} \begin{description}% \whiledo {\value{zeigenr} < \value{loesungnr}}{% \item[\expandafter\csname loesungname\thezeigenr\endcsname% \ifthenelse{% \equal{\expandafter\csname loesungref\thezeigenr\endcsname}% {__NONE__}% }{}{\,\ref{\expandafter\csname loesungref\thezeigenr\endcsname}}% ]% \label{loesung\thezeigenr}% \expandafter\csname loesung\thezeigenr\endcsname% \xspace\hyperref[loesungback\thezeigenr]{% \colorbox{black!30}{\color{blue!90}Zurück}% }% \stepcounter {zeigenr}% }% \end{description}% \setboolean{@loesunganzeigen}{false} }{}% }% \newcounter{hinweisnr} \newcommand{\AufgabeHinweis}[2][]{% \label{hinweisback\thehinweisnr}% \ifthenelse{\isempty{#1}}{% \global\expandafter\edef\csname% hinweisref\thehinweisnr\endcsname{__NONE__}% }{% \global\expandafter\edef\csname% hinweisref\thehinweisnr\endcsname{hinweisback\thehinweisnr}% }% \global\expandafter\edef\csname% hinweisname\thehinweisnr\endcsname{\arabic{chapter}.\arabic{aufgabe}}% \global\expandafter\def\csname hinweis\thehinweisnr\endcsname{#2}% \hyperref[hinweis\thehinweisnr]{% \colorbox{black!30}{\color{blue!90}H}% }% \addtocounter{hinweisnr}{1}% }% \newcommand{\AufgabenHinweis}[1]{% \AufgabeHinweis[ref]{#1}% }% \newcommand{\hinweiszeigen}{% \setcounter{zeigenr}{0}% \ifthenelse{\value{hinweisnr} > 0}{% \begin{description}% \whiledo {\value{zeigenr} < \value{hinweisnr}}{% \item[\expandafter\csname hinweisname\thezeigenr\endcsname% \ifthenelse{% \equal{\expandafter\csname hinweisref\thezeigenr\endcsname}% {__NONE__}% }{}{\,\ref{\expandafter\csname hinweisref\thezeigenr\endcsname}}% ]% \label{hinweis\thezeigenr}% \expandafter\csname% hinweis\thezeigenr\endcsname% \xspace\hyperref[hinweisback\thezeigenr]{% \colorbox{black!30}{\color{blue!90}Zurück}% }% \stepcounter {zeigenr}% }% \end{description}% }{}% }% \endinput %% %% End of file `schuleit.cls'.