summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/schule/relaycircuit.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-18 21:49:57 +0000
committerKarl Berry <karl@freefriends.org>2014-05-18 21:49:57 +0000
commit8fd402b27e75f8bf30f914730e0862dad082bc3c (patch)
tree49eca3f742b44688efe56be5dc7cab035bf326f2 /Master/texmf-dist/tex/latex/schule/relaycircuit.sty
parentf0dc0fdae8aa1b32825e19ab0fb6f08c41c02859 (diff)
schule (18may14)
git-svn-id: svn://tug.org/texlive/trunk@34107 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/schule/relaycircuit.sty')
-rw-r--r--Master/texmf-dist/tex/latex/schule/relaycircuit.sty211
1 files changed, 211 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/schule/relaycircuit.sty b/Master/texmf-dist/tex/latex/schule/relaycircuit.sty
new file mode 100644
index 00000000000..a8fe7336645
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/schule/relaycircuit.sty
@@ -0,0 +1,211 @@
+%%
+%% 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 \~}
+\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'.