mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-18 19:18:21 +02:00
The commands find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ and find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ were used to do so.
18 lines
478 B
TeX
18 lines
478 B
TeX
\documentclass{article}
|
|
\usepackage[pdftex,active,tightpage]{preview}
|
|
\setlength\PreviewBorder{0mm}
|
|
|
|
\usepackage{circuitikz}
|
|
|
|
\begin{document}
|
|
\begin{preview}
|
|
\begin{circuitikz}
|
|
\draw (0,0) node[european and port] (myand){}
|
|
(myand.in 1) node[anchor=east]{P}
|
|
(myand.in 2) node[anchor=east]{Q}
|
|
(1.8,0) node[european not port] (mynot){}
|
|
(mynot.out) node[anchor=west]{S}
|
|
(myand.out) -- (mynot.in);
|
|
\end{circuitikz}
|
|
\end{preview}
|
|
\end{document}
|