%% %% This is file `relaycircuit.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% schule.dtx (with options: `relaycircuit.sty,package') %% Copyright (C) %% 2010, 2011, 2012, 2013, 2014 %% Johannes Pieper (johannes_pieper@yahoo.de) %% Johannes Kuhaupt (kujohann@seminar.ham.nw.schule.de) %% Andre Hilbig (mail@andrehilbig.de) %% %% %% 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/schule %% zur Verfügung. %% %% ----- BEGIN ------------------------------------------------------------------ %% %% ----- END ------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{relaycircuit}[2011/10/16 v0.1 % Relais-Schaltungen mit TikZ] \RequirePackage{tikz} \RequirePackage[siunitx,european]{circuitikz} \usetikzlibrary{arrows,shadows,shapes.misc,scopes} \pgfdeclareshape{ruhe relais}{ \savedanchor\northwest{ \pgf@y = 0.7cm \pgf@x = -1cm } \savedanchor\left{% \pgf@y=0pt } \savedanchor\inEingabe{% \pgf@y= 0.7cm \pgf@x= -0.7cm } \anchor{eingabe}{ \inEingabe } \anchor{anschluss}{ \inEingabe \pgf@x= -\pgf@x } \anchor{ausgabe} { \inEingabe \pgf@x= -\pgf@x \pgf@y= -\pgf@y } \anchor{center}{ \northwest \pgf@y=0pt \pgf@x=-.8\pgf@x } \anchor{east}{ \left \pgf@x=-.8\pgf@x } \anchor{west}{ \left } \anchor{south}{ \northwest \pgf@x=0pt \pgf@y=-\pgf@y } \anchor{north}{ \northwest \pgf@x=0pt } \anchor{south west}{ \northwest \pgf@y=-\pgf@y } \anchor{north east}{ \northwest \pgf@x=-\pgf@x } \anchor{north west}{ \northwest } \anchor{south east}{ \northwest \pgf@x=-\pgf@x \pgf@y=-\pgf@y } \backgroundpath{ \pgfpathmoveto{\pgfpoint{-0.7cm}{0.7cm}} \pgfpathlineto{\pgfpoint{-0.7cm}{-0.6cm}} \pgfpathmoveto{\pgfpoint{-0.8cm}{-0.6cm}} \pgfpathlineto{\pgfpoint{-0.6cm}{-0.6cm}} \pgfpathmoveto{\pgfpoint{0.7cm}{0.7cm}} \pgfpathlineto{\pgfpoint{0.7cm}{0.3cm}} \pgfpathlineto{\pgfpoint{0.6cm}{-0.35cm}} \pgfpathmoveto{\pgfpoint{0.7cm}{-0.7cm}} \pgfpathlineto{\pgfpoint{0.7cm}{-0.3cm}} \pgfpathlineto{\pgfpoint{0.6cm}{-0.3cm}} \pgfusepath{stroke} \pgfsetdash{{2pt}{2pt}}{1pt} \pgfpathmoveto{\pgfpoint{-0.7cm}{0cm}} \pgfpathlineto{\pgfpoint{0.65cm}{0cm}} \pgfusepath{stroke} \pgfsetdash{}{0pt} \pgfusepath{draw} \pgfsetlinewidth{2\pgflinewidth} \pgfpathrectanglecorners{\pgfpoint{1cm}{0.5cm}% }{\pgfpoint{-1cm}{-0.5cm}} \pgfusepath{draw} \pgftext[base,y=-0.4cm]{RK} } } \pgfdeclareshape{arbeits relais}{ \inheritsavedanchors[from=ruhe relais] \inheritanchor[from=ruhe relais]{center} \inheritanchor[from=ruhe relais]{north} \inheritanchor[from=ruhe relais]{south} \inheritanchor[from=ruhe relais]{west} \inheritanchor[from=ruhe relais]{east} \inheritanchor[from=ruhe relais]{north west} \inheritanchor[from=ruhe relais]{south west} \inheritanchor[from=ruhe relais]{north east} \inheritanchor[from=ruhe relais]{south east} \inheritanchor[from=ruhe relais]{eingabe} \inheritanchor[from=ruhe relais]{ausgabe} \inheritanchor[from=ruhe relais]{anschluss} \backgroundpath{ \pgfpathmoveto{\pgfpoint{-0.7cm}{0.7cm}} \pgfpathlineto{\pgfpoint{-0.7cm}{-0.6cm}} \pgfpathmoveto{\pgfpoint{-0.8cm}{-0.6cm}} \pgfpathlineto{\pgfpoint{-0.6cm}{-0.6cm}} \pgfpathmoveto{\pgfpoint{0.7cm}{0.7cm}} \pgfpathlineto{\pgfpoint{0.7cm}{0.3cm}} \pgfpathlineto{\pgfpoint{0.95cm}{-0.35cm}} \pgfpathmoveto{\pgfpoint{0.7cm}{-0.7cm}} \pgfpathlineto{\pgfpoint{0.7cm}{-0.3cm}} \pgfpathlineto{\pgfpoint{0.8cm}{-0.3cm}} \pgfusepath{stroke} \pgfsetdash{{2pt}{2pt}}{1pt} \pgfpathmoveto{\pgfpoint{-0.7cm}{0cm}} \pgfpathlineto{\pgfpoint{0.825cm}{0cm}} \pgfusepath{stroke} \pgfsetdash{}{0pt} \pgfusepath{draw} \pgfsetlinewidth{2\pgflinewidth} \pgfpathrectanglecorners{\pgfpoint{1cm}{0.5cm}}% {\pgfpoint{-1cm}{-0.5cm}} \pgfusepath{draw} \pgftext[base,y=-0.4cm]{AK} } } \endinput %% %% End of file `relaycircuit.sty'.