Init
This commit is contained in:
96
Grafiken/OrANSICompleteStandAlone.tex
Normal file
96
Grafiken/OrANSICompleteStandAlone.tex
Normal file
@@ -0,0 +1,96 @@
|
||||
%!tikz editor 1.0
|
||||
\documentclass{article}
|
||||
\usepackage{tikz}
|
||||
\usepackage[graphics, active, tightpage]{preview}
|
||||
\usepackage{circuitikz}
|
||||
\PreviewEnvironment{tikzpicture}
|
||||
|
||||
%!tikz preamble begin
|
||||
\usepackage{circuitikz}
|
||||
\usetikzlibrary{angles, arrows.meta, quotes, calc, babel, fadings,quotes}
|
||||
\usetikzlibrary{backgrounds}
|
||||
\usetikzlibrary{intersections}
|
||||
\usetikzlibrary{through,calc,decorations.markings,positioning,angles}
|
||||
\usepackage{fp}
|
||||
\usepgflibrary{fixedpointarithmetic}
|
||||
|
||||
%!tikz preamble end
|
||||
|
||||
|
||||
\begin{document}
|
||||
%!tikz source begin
|
||||
\begin{tikzpicture}[scale=4,transform shape]
|
||||
\ctikzset{
|
||||
logic ports=ieee,
|
||||
logic ports/scale=1,
|
||||
% logic ports/fill=lightgray
|
||||
% Koordinaten für Kreuzpunkte
|
||||
}
|
||||
|
||||
|
||||
% \node (x2) at (0.15,0.2814) {b};
|
||||
% \node (x1) at (0.15,0.841) {a};
|
||||
|
||||
% Ausgangsvariable
|
||||
% \node (y) at (5.75,0.841-0.2814) {out};
|
||||
|
||||
% Gatter
|
||||
% \node[nand port] at (1.5,0.56) (n1) {};
|
||||
% \node[nand port] at (4,0.56) (n2) {};
|
||||
|
||||
|
||||
%\draw (0,0) to[grid with coordinates] (7,4);
|
||||
|
||||
\node[nand port] at (1.75,0.56)(nota){};
|
||||
\node[nand port] at (1.75,4*0.56)(notb){};
|
||||
\node[nand port] at (4.,2.5*0.56)(n2){};
|
||||
|
||||
|
||||
\draw (nota.out) |- (n2.in 2);
|
||||
\draw (notb.out) |- (n2.in 1);
|
||||
|
||||
\node (a) at (0,0.56) {$a$};
|
||||
\node (b) at (0,2.2384) {$b$};
|
||||
%\node (out1) at (2.,2) {};
|
||||
\node (y) at (5.5,2.5*0.56) {$out$};
|
||||
|
||||
\coordinate (A) at (0.45,0.841-0.2814);
|
||||
\fill (A) circle (1.5pt);
|
||||
|
||||
\draw[name path = a1] (A) |- (nota.in 1);
|
||||
\draw[name path = a2] (A) |- (nota.in 2);
|
||||
\draw (A) --++ (-.25,0);
|
||||
|
||||
|
||||
\coordinate (B) at (0.45,2.2384);
|
||||
\fill (B) circle (1.5pt);
|
||||
|
||||
\draw (B) |- (notb.in 1);
|
||||
\draw (B) |- (notb.in 2);
|
||||
\draw (B) --++ (-.25,0);
|
||||
|
||||
|
||||
\draw (nota.out) |- node[below, yshift=-15pt, xshift=5pt]{\small$nota$}(n2.in 2);
|
||||
\draw (notb.out) |- node[above, yshift=15pt, xshift=5pt]{\small$notb$}(n2.in 1);
|
||||
|
||||
|
||||
%\draw[name path = a1](nota.in 1) --++ (-0.25,0)|- (a);
|
||||
%\draw[name path = a2](nota.in 2) --++ (-0.25,0)|- (a);
|
||||
%\path[name intersections={of=a1 and a2,by=e}];
|
||||
%\fill (e) circle[radius=1pt];
|
||||
|
||||
%\draw[name path = b1](notb.input 1) --++ (-0.25,0)|- (b);
|
||||
%\draw[name path = b2](notb.input 2) --++ (-0.25,0)|- (b);
|
||||
%\path[name intersections={of=b1 and b2,by=e}];
|
||||
%\fill (e) circle[radius=1pt];
|
||||
|
||||
%\draw(nota.output) --++ (0.5,0) --++ (0,0.9)-| ($(n2.input 2)$);
|
||||
%\draw(notb.output) --++ (0.5,0) --++ (0,-0.9)-| ($(n2.input 1)$);
|
||||
|
||||
|
||||
%\draw(n2.output) -- (y);
|
||||
|
||||
\end{tikzpicture}
|
||||
%!tikz source end
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user