diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-28 23:15:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-28 23:15:25 +0000 |
commit | 033261fcba44fbe6578315c2ffa0064ce6339ff9 (patch) | |
tree | 0dd12cbfacc9d17b7dbfd031b04711f2ca732788 /Master/texmf-dist/doc/generic/pst-circ | |
parent | 2b533fb231e8b4119c77af37d548345bd3970697 (diff) |
pst-circ 2.0 (29jan11)
git-svn-id: svn://tug.org/texlive/trunk@21213 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-circ')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-circ/Changes | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdf | bin | 521293 -> 681174 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex | 869 |
3 files changed, 867 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-circ/Changes b/Master/texmf-dist/doc/generic/pst-circ/Changes index 59fdf605549..8ce23f50dca 100644 --- a/Master/texmf-dist/doc/generic/pst-circ/Changes +++ b/Master/texmf-dist/doc/generic/pst-circ/Changes @@ -1,3 +1,5 @@ +2.00 2011-01-28 - new IEEE symbols for integrated circuits + - some more new symbols 1.57 2010-11-06 - new optional argument for a schottky diode - improved FET transistor symbol 1.56 2010-09-18 - fixed bug with \circledipole diff --git a/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdf b/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdf Binary files differindex d83e24479e5..33fabbe8c3c 100644 --- a/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex b/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex index eedeebf889e..7ed0488cf7e 100644 --- a/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pst-circ-doc.tex 370 2010-08-15 08:30:39Z herbert $ +%% $Id: pst-circ-doc.tex 451 2011-01-28 13:09:13Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \usepackage[utf8]{inputenc} @@ -62,14 +62,16 @@ \end{tabular}} \end{pspicture}} } +\lstset{preset={\centering},vsep=5mm} \begin{document} \title{\texttt{pst-circ}} \subtitle{A PSTricks package for drawing electric circuits; v.\pstCircFV} -\author{Christoph Jorssen \\Herbert Vo\ss} -\docauthor{Herbert Vo\ss} +\author{%Christoph Jorssen \\ +Herbert Vo\ss} +%\docauthor{Herbert Vo\ss} \date{\today} \maketitle @@ -95,7 +97,7 @@ All should be already part of your local \TeX\ installation. If not, or in case of having older versions, go to \url{http://www.CTAN.org/} and load the newest version. \vfill\noindent -\begingroup\setlength\emergencystretch{3em} +\begingroup\setlength\emergencystretch{3em}\raggedright Thanks to: \\ \mbox{Rafal Bartczuk}, \mbox{Christoph Bersch}, @@ -106,9 +108,11 @@ Thanks to: \\ \mbox{Felix Gottwald}, \mbox{Markus Graube}, \mbox{Henning Heinze}, + \mbox{Christoph Jorssen}, \mbox{Bernd Landwehr}, \mbox{Michael Lauterbach}, \mbox{Manuel Luque}, + \mbox{Steven P. McPherson}, \mbox{Ted Pavlic}, \mbox{Alan Ristow}, \mbox{Douglas Waud}, and @@ -2818,6 +2822,863 @@ all is finished. \end{LTXexample} +\clearpage + +\section{Logical circuits in american style} + +\begin{longtable}{ll>{\ttfamily}l} +\toprule + \emph{macro} & \emph{option} & \emph{defaults} \\\midrule + \endfirsthead + \midrule + \emph{macro} & \emph{option} & \emph{defaults} \\\midrule + \endhead + \midrule + \small continued on next page $\dots$ & & \\ + \endfoot + \midrule + \endlastfoot + \Lcs{logicnot} & \Lkeyword{input} & true \\ + & \Lkeyword{invertinput} & false \\ + & \Lkeyword{invertoutput} & false \\ + & \Lkeyword{iec} & false \\ + & \Lkeyword{iecinvert} & false \\ + & \Lkeyword{bubblesize} & 0.2 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ + \midrule + \Lcs{logicand} & \Lkeyword{ninputs} & 2 \\ + & \nxLkeyword{input?} & true \\ + & \multicolumn{2}{l}{\quad where ? = a--d} \\ + & \nxLkeyword{invertinput?} & false \\ + & \multicolumn{2}{l}{\quad where ? = a--d} \\ + & \Lkeyword{invertoutput} & false \\ + & \Lkeyword{iec} & false \\ + & \Lkeyword{iecinvert} & false \\ + & \Lkeyword{bubblesize} & 0.2 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ + \midrule + \Lcs{logicor} & \Lkeyword{ninputs} & 2 \\ + & \nxLkeyword{input?} & true \\ + & \multicolumn{2}{l}{\quad where ? = 1--4} \\ + & \nxLkeyword{invertinput?} & false \\ + & \multicolumn{2}{l}{\quad where ? = a--d} \\ + & \Lkeyword{invertoutput} & false \\ + & \Lkeyword{iec} & false \\ + & \Lkeyword{iecinvert} & false \\ + & \Lkeyword{bubblesize} & 0.2 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ + \midrule + \Lcs{logicxor} & \Lkeyword{ninputs} & 2 \\ + & \nxLkeyword{input?} & true \\ + & \multicolumn{2}{l}{\quad where ? = 1--4} \\ + & \nxLkeyword{invertinput?} & false \\ + & \multicolumn{2}{l}{\quad where ? = a--d} \\ + & \Lkeyword{invertoutput} & false \\ + & \Lkeyword{iec} & false \\ + & \Lkeyword{iecinvert} & false \\ + & \Lkeyword{bubblesize} & 0.2 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ + \midrule + \Lcs{logicff} & \Lkeyword{inputa} & true \\ + & \Lkeyword{invertinputa} & false \\ + & \Lkeyword{inputalabel} & \\ + & \Lkeyword{inputb} & true \\ + & \Lkeyword{invertinputb} & false \\ + & \Lkeyword{inputblabel} & \\ + & \Lkeyword{enable} & false \\ + & \Lkeyword{invertenable} & false \\ + & \Lkeyword{clock} & false \\ + & \Lkeyword{invertclock} & false \\ + & \Lkeyword{set} & false \\ + & \Lkeyword{invertset} & false \\ + & \Lkeyword{reset} & false \\ + & \Lkeyword{invertreset} & false \\ + & \Lkeyword{bubblesize} & 0.2 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ + \midrule + \Lcs{logicic} & \Lkeyword{nicpins} & 8 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{8, 14, 16, 20, 32}} \\ + & \nxLkeyword{pin?} & true \\ + & \nxLkeyword{invertpin?} & false \\ + & \nxLkeyword{pin?label} & \\ + & \nxLkeyword{pin?number} & \\ + & \multicolumn{2}{@{}l}{\quad where \texttt{? = a--z,aa,ab,ac,ad,ae,af}} \\ + & \Lkeyword{bubblesize} & 0.2 \\ + & \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ + \midrule + \Lcs{xic} & \Lkeyword{plcaddress} & \\ + & \Lkeyword{plcsymbol} & \\ + \midrule + \Lcs{xio} & \Lkeyword{plcaddress} & \\ + & \Lkeyword{plcsymbol} & \\ + \midrule + \Lcs{ote} & \Lkeyword{plcaddress} & \\ + & \Lkeyword{plcsymbol} & \\ + & \Lkeyword{latch} & false \\ + & \Lkeyword{unlatch} & false \\ + \midrule + \Lcs{osr} & \Lkeyword{plcaddress} & \\ + & \Lkeyword{plcsymbol} & \\ + \midrule + \Lcs{res} & \Lkeyword{plcaddress} & \\ + & \Lkeyword{plcsymbol} & \\ + \midrule + \Lcs{swpb} & \Lkeyword{contactclosed} & false \\ + \midrule + \Lcs{swtog} & \Lkeyword{contactclosed} & false \\ + \midrule + \Lcs{contact} & \Lkeyword{contactclosed} & false \\ + \end{longtable} + + + +\subsection{Examples} + +% +% NOT Example +% + + +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(8.5,3) + \logicnot[invertoutput=true](0,0){IEEE} + \logicnot[invertoutput=true,iec=true,iecinvert=true](4,0){IEC} +\end{pspicture} +\end{LTXexample} + + +% +% AND Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(9.5,3) + \logicand[ninputs=2](0,0){IEEE} + \logicand[ninputs=2,iec=true](5,0){IEC} +\end{pspicture} +\end{LTXexample} + +% +% NAND Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(9.5,3) + \logicand[ninputs=2,invertoutput=true](0,0){IEEE} + \logicand[ninputs=2,invertoutput=true,iec=true,iecinvert=true](5,0){IEC} +\end{pspicture} +\end{LTXexample} + + +% +% Negative-AND Example +% +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,3) + \logicand[ninputs=2,invertinputa=true, + invertinputb=true](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% OR Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(9.5,3) + \logicor[ninputs=2](0,0){IEEE} + \logicor[ninputs=2,iec=true](5,0){IEC} +\end{pspicture} +\end{LTXexample} + +% +% NOR Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(9.5,3) + \logicor[ninputs=2,invertoutput=true](0,0){IEEE} + \logicor[ninputs=2,invertoutput=true,iec=true,iecinvert=true](5,0){IEC} +\end{pspicture} +\end{LTXexample} + +% +% Negative-OR Example +% +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,3) + \logicor[ninputs=2,invertinputa=true, + invertinputb=true](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% Exclusive-OR Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(9.5,3) + \logicxor[ninputs=2]{0}(0,0){IEEE} + \logicxor[ninputs=2,iec=true]{0}(5,0){IEC} +\end{pspicture} +\end{LTXexample} + +% +% Exclusive-NOR Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(9.5,3) + \logicxor[ninputs=2,invertoutput=true]{0}(0,0){IEEE} + \logicxor[ninputs=2,invertoutput=true,iec=true,iecinvert=true]{0}(5,0){IEC} +\end{pspicture} +\end{LTXexample} + +\subsubsection{$S$-$R$ Flip-Flop with Clock} +% +% FF Example +% +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \logicff[clock=true,inputalabel=$S$,inputblabel=$R$](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% FF Example +% +\subsubsection{$\bar{S}$-$\bar{R}$ Flip-Flop with Enable} %$ +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \logicff[enable=true,inputalabel=$\bar{S}$,inputblabel=$\bar{R}$](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% FF Example +% +\subsubsection{$J$-$K$ Flip-Flop} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \logicff[inputalabel=$J$,inputblabel=$K$](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% FF Example +% +\subsubsection{$J$-$K$ Flip-Flop with Set and Reset} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \logicff[set=true,reset=true,invertreset=true,% + inputalabel=$J$,inputblabel=$K$](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% FF Example +% +\subsubsection{$D$ Flip-Flop} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \logicff[inputb=false,inputalabel=$D$](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% FF Example +% +\subsubsection{Full Adder} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \logicff[enable=true,invertoutputb=false,inputalabel=$A$, + inputblabel=$C_{in}$,inputenlabel=$B$,outputalabel=$\Sigma$, + outputblabel=$C_{out}$](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +\subsubsection{7-Segment Display} +% +\begin{LTXexample}[pos=l] +\begin{pspicture}(6.5,5) + \sevensegmentdisplay(0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% 7-Segment Display Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(6.5,6) + \sevensegmentdisplay[pinld=false,pinle=false,pinrc=false,pinlalabel=a, + pinlblabel=f,pinlglabel=e,pinrglabel=d,pinrelabel=c,pinrdlabel=g, + pinrblabel=b,pinralabel={$V_{CC}$},pinlanumber=1,pinlbnumber=2, + pinlcnumber=3,pinlfnumber=6,pinlgnumber=7,pinrgnumber=8,pinrfnumber=9, + pinrenumber=10,pinrdnumber=11,pinrbnumber=13,pinranumber=14](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% 7-Segment Display Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(6.5,6) + \sevensegmentdisplay[segmentdisplay=5](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% 7-Segment Display Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(6.5,6) + \sevensegmentdisplay[segmentdisplay=0,segmentcolor=red,segmentlabels=false, + pinlalabel=la,pinlblabel=lb,pinlclabel=lc,pinldlabel=ld,pinlelabel=le, + pinlflabel=lf,pinlglabel=lg,pinrglabel=rg,pinrflabel=rf,pinrelabel=re, + pinrdlabel=rd,pinrclabel=rc,pinrblabel=rb,pinralabel=ra,pinlanumber=1, + pinlbnumber=2,pinlcnumber=3,pinldnumber=4,pinlenumber=5,pinlfnumber=6, + pinlgnumber=7,pinrgnumber=8,pinrfnumber=9,pinrenumber=10,pinrdnumber=11, + pinrcnumber=12,pinrbnumber=13,pinranumber=14,pinta=true,pintalabel=ta, + pintanumber=0,pintb=true,pintblabel=tb,pintbnumber=0,pintc=true, + pintclabel=tc,pintcnumber=0,pintd=true,pintdlabel=td,pintdnumber=0, + pinte=true,pintelabel=te,pintenumber=0,pinba=true,pinbalabel=ba, + pinbanumber=0,pinbb=true,pinbblabel=bb,pinbbnumber=0,pinbc=true, + pinbclabel=bc,pinbcnumber=0,pinbd=true,pinbdlabel=bd,pinbdnumber=0, + pinbe=true,pinbelabel=be,pinbenumber=0](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% 7-Segment Display Example +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(6.5,6) + \sevensegmentdisplay[segmentdisplay=10,pinla=false,pinlb=false, + pinlc=false,pinld=false,pinle=false,pinlf=false,pinlg=false,pinrg=false, + pinrf=false,pinre=false,pinrd=false,pinrc=false,pinrb=false,pinra=false, + pinta=true,pintalabel=g,pintanumber=0,pintb=true,pintblabel=f,pintbnumber=0, + pintc=true,pintclabel=$V_{cc}$,pintcnumber=0,pintd=true,pintdlabel=a, + pintdnumber=0,pinte=true,pintelabel=b,pintenumber=0,pinba=true,pinbalabel=e, + pinbanumber=0,pinbb=true,pinbblabel=d,pinbbnumber=0,pinbc=true, + pinbclabel=$V_{cc}$,pinbcnumber=0,pinbd=true,pinbdlabel=c,pinbdnumber=0, + pinbe=true,pinbelabel=dp,pinbenumber=0](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 8-pins +% +\subsubsection{8-Pin DIP IC} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,4) + \logicic[nicpins=8,bubblesize=0.1,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 8-pins all inverted +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,4) + \logicic[nicpins=8,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8,% + invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% + invertpine=true,invertpinf=true,invertping=true,invertpinh=true](0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 14-pin +% +\subsubsection{14-Pin DIP IC} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,6) + \logicic[nicpins=14,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +\subsubsection{14-Pin DIP IC all inverted} +% IC Example 14-pin all inverted +% +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,6) + \logicic[nicpins=14,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14, + invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% + invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% + invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% + invertpinm=true,invertpinn=true]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 16-pin +% +\subsubsection{16-Pin DIP IC} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,6) + \logicic[nicpins=16,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% IC Example 16-pin all inverted +% +\subsubsection{16-Pin DIP IC all inverted} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,6) + \logicic[nicpins=16,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16, + invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% + invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% + invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% + invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 20-pin +% +\subsubsection{20-Pin DIP IC} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,7) + \logicic[nicpins=20,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% + pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 20-pin all inverted +% +\subsubsection{20-Pin DIP IC all inverted} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(5,7) + \logicic[nicpins=20,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% + pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% + invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% + invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% + invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% + invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true,% + invertpinq=true,invertpinr=true,invertpins=true,invertpint=true]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 32-pin +% +\subsubsection{32-Pin DIP IC} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-2)(6,9.5) + \logicic[nicpins=32,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% + pinulabel=u,pinvlabel=v,pinwlabel=w,pinxlabel=x,% + pinylabel=y,pinzlabel=z,pinaalabel=aa,pinablabel=ab,% + pinaclabel=ac,pinadlabel=ad,pinaelabel=ae,pinaflabel=af,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% + pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% + pinunumber=21,pinvnumber=22,pinwnumber=23,pinxnumber=24,% + pinynumber=25,pinznumber=26,pinaanumber=27,pinabnumber=28,% + pinacnumber=29,pinadnumber=30,pinaenumber=31,pinafnumber=32]% + (0,0){Name} +\end{pspicture} +\end{LTXexample} + +% +% IC Example 32-pin all inverted +% +\subsubsection{32-Pin DIP IC all inverted} +\begin{center} +\begin{pspicture}(-1,-2)(6,9.5) + \logicic[nicpins=32,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% + pinulabel=u,pinvlabel=v,pinwlabel=w,pinxlabel=x,% + pinylabel=y,pinzlabel=z,pinaalabel=aa,pinablabel=ab,% + pinaclabel=ac,pinadlabel=ad,pinaelabel=ae,pinaflabel=af,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% + pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% + pinunumber=21,pinvnumber=22,pinwnumber=23,pinxnumber=24,% + pinynumber=25,pinznumber=26,pinaanumber=27,pinabnumber=28,% + pinacnumber=29,pinadnumber=30,pinaenumber=31,pinafnumber=32,% + invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% + invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% + invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% + invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true,% + invertpinq=true,invertpinr=true,invertpins=true,invertpint=true,% + invertpinu=true,invertpinv=true,invertpinw=true,invertpinx=true,% + invertpiny=true,invertpinz=true,invertpinaa=true,invertpinab=true,% + invertpinac=true,invertpinad=true,invertpinae=true,invertpinaf=true]% + (0,0){Name} +\end{pspicture} +\end{center} + + +\begin{lstlisting} +\begin{pspicture}(-1,-2)(6,9.5) + \logicic[nicpins=32,% + pintl=true,pintllabel=tl,pintlnumber=1,% + pintc=true,pintclabel=tc,pintcnumber=2,% + pintr=true,pintrlabel=tr,pintrnumber=3,% + invertpintl=true,invertpintc=true,invertpintr=true,% + pinbl=true,pinbllabel=bl,pinblnumber=1,% + pinbc=true,pinbclabel=bc,pinbcnumber=2,% + pinbr=true,pinbrlabel=br,pinbrnumber=3,% + invertpinbl=true,invertpinbc=true,invertpinbr=true,% + pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% + pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% + pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% + pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% + pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% + pinulabel=u,pinvlabel=v,pinwlabel=w,pinxlabel=x,% + pinylabel=y,pinzlabel=z,pinaalabel=aa,pinablabel=ab,% + pinaclabel=ac,pinadlabel=ad,pinaelabel=ae,pinaflabel=af,% + pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% + pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, + pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% + pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% + pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% + pinunumber=21,pinvnumber=22,pinwnumber=23,pinxnumber=24,% + pinynumber=25,pinznumber=26,pinaanumber=27,pinabnumber=28,% + pinacnumber=29,pinadnumber=30,pinaenumber=31,pinafnumber=32,% + invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% + invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% + invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% + invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true,% + invertpinq=true,invertpinr=true,invertpins=true,invertpint=true,% + invertpinu=true,invertpinv=true,invertpinw=true,invertpinx=true,% + invertpiny=true,invertpinz=true,invertpinaa=true,invertpinab=true,% + invertpinac=true,invertpinad=true,invertpinae=true,invertpinaf=true]% + (0,0){Name} +\end{pspicture} +\end{lstlisting} + + +% +% XIC +% +\subsubsection{XIC} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \xic[plcaddress=I:1/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% XIO +% +\subsubsection{XI0} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \xio[plcaddress=I:1/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% OTE +% +\subsubsection{OTE} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \ote[plcaddress=O:2/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% OTL +% +\subsubsection{OTL} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \ote[latch=true, + plcaddress=O:2/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% OTU +% +\subsubsection{OTE} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \ote[unlatch=true, + plcaddress=O:2/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% OSR +% +\subsubsection{OSR} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \osr[plcaddress=O:2/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% RES +% +\subsubsection{RES} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \res[plcaddress=O:2/0, + plcsymbol=Symbol](0,0) +\end{pspicture} +\end{LTXexample} + +% +% PB NO +% +\subsubsection{Switch PB NO} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \swpb(0,0) +\end{pspicture} +\end{LTXexample} + +% +% PB NC +% +\subsubsection{Switch PB NC} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \swpb[contactclosed=true](0,0) +\end{pspicture} +\end{LTXexample} + +% +% Switch Toggle NO +% +\subsubsection{Switch TOGGLE NO} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \swtog(0,0) +\end{pspicture} +\end{LTXexample} + +% +% Switch Toggle NC +% +\subsubsection{Switch PB NC} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \swtog[contactclosed=true](0,0) +\end{pspicture} +\end{LTXexample} + +% +% Contact NO +% +\subsubsection{Contact NO} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \contact(0,0) +\end{pspicture} +\end{LTXexample} + +% +% Contact NC +% +\subsubsection{Contact NC} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \contact[contactclosed=true](0,0) +\end{pspicture} +\end{LTXexample} + +% +% Motor Armature +% +\subsubsection{Motor Armature} +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(1,1) + \armature(0,0) +\end{pspicture} +\end{LTXexample} + +% +% Modified pst-circ Components +% +\subsubsection{Modified default symbols} +\begin{LTXexample}[pos=t] +\begin{pspicture}(-1,-1)(5,10) +\newdiode[labeloffset=-0.8](0,0)(4,0){$\backslash$newdiode} +\newLED[labeloffset=-0.8](0,2)(4,2){$\backslash$newLED} +\newZener[labeloffset=-0.8](0,4)(4,4){$\backslash$newZener} +\newcapacitor[labeloffset=-0.8](0,6)(4,6){$\backslash$newcapacitor} +\newcapacitor[labeloffset=-0.8](0,6)(4,6){$\backslash$newcapacitor} +\newcapacitor[labeloffset=-0.8](0,6)(4,6){$\backslash$newcapacitor} +\vdc[labeloffset=-0.8](0,8)(4,8){$\backslash$vdc} +\vac[labeloffset=-0.8](0,10)(4,10){$\backslash$vac} +\end{pspicture} +\end{LTXexample} + +% +% \vac +% +\begin{LTXexample}[pos=l] +\begin{pspicture}(-1,-1)(5,4) + \vac[labeloffset=-0.7](0,0)(4,0){$\backslash$vac} + \vac[labeloffset=1](0,0)(2,3.464){$\backslash$vac} + \vac[labeloffset=1](2,3.464)(4,0){$\backslash$vac} +\end{pspicture} +\end{LTXexample} + + \section{Adding new components} Adding new components is not simple unless you need only a simple dipole. For dipoles a macro is provided that generates all helping macros for a new component so that you need to write only the actual drawing code. |