summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-02-03 01:26:19 +0000
committerKarl Berry <karl@freefriends.org>2009-02-03 01:26:19 +0000
commitb396e9795f300708e4296019397ba084a1a37ace (patch)
tree7a37c83a72338c984c2c30d299f5803d428a2d25 /Master/texmf-dist/doc/generic
parent8f110ef84fb7ea64a55198b28dd444c222e4aef7 (diff)
pst-circ 1.50 (2feb09)
git-svn-id: svn://tug.org/texlive/trunk@12055 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pst-circ/Changes5
-rw-r--r--Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.bib30
-rw-r--r--Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdfbin526482 -> 525727 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex829
4 files changed, 416 insertions, 448 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-circ/Changes b/Master/texmf-dist/doc/generic/pst-circ/Changes
index 66b7fc5a5f9..9761c52a5f2 100644
--- a/Master/texmf-dist/doc/generic/pst-circ/Changes
+++ b/Master/texmf-dist/doc/generic/pst-circ/Changes
@@ -1,3 +1,8 @@
+1.50 2009-02-01 - add RFLine symbol
+ - internal changes to the code
+ - make all microwave symbols work with
+ multinode
+ - fix several bugs in the documentation
1.49 2008-11-18 (hv) - fix bug with edge, renamed to circedge
- fixed bug with the current arrows of transsistor type
- renamed \next to \circnext
diff --git a/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.bib b/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.bib
index 85aea905da3..d4c75592e2a 100644
--- a/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.bib
@@ -38,24 +38,6 @@
}
-@Manual{pstlens:2001,
- Title = {PST-lens - {\PS} macros for Generic TeX},
- Author = {Denis Girou and Manuel Luque},
- Organization = {},
- Address = {\url{ftp://ftp.dante.de/tex-archive/graphics/pstricks/contrib/pst-lens/}},
- Note = {},
- year = 2001,
-}
-
-@Manual{vue3d:2002,
- Title = {Vue en 3D},
- Author = {Manuel Luque},
- Organization = {},
- Address = {\url{http://members.aol.com/Mluque5130/vue3d16112002.zip}},
- Note = {},
- year = 2002,
-}
-
@Article{dtk02.2:jackson.voss:plot-funktionen,
author = {Laura E. Jackson and Herbert Vo{\ss}},
title = {Die {P}lot-{F}unktionen von {\texttt{pst-plot}}},
@@ -113,16 +95,16 @@
author = {Herbert Vo\ss},
title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
edition = {5.},
- publisher = {DANTE -- Lehmanns},
+ publisher = {DANTE/Lehmanns Media},
year = {2008},
- address = {Heidelberg/Hamburg}
+ address = {Heidelberg/Berlin}
}
@Book{voss:math,
author = {Herbert Vo\ss},
- title = {\LaTeX\ in {M}athematik und {N}aturwissenschaften},
- publisher = {{Franzis-Verlag}},
- year = {2006},
- address = {Poing}
+ title = {Mathematik mit \LaTeX},
+ publisher = {{DANTE/Lehmanns Media}},
+ year = {2009},
+ address = {Heidelberg/Berlin}
}
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
index dd8513821bc..16a79365bc4 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
Binary files differ
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 d78873d2139..680995da294 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 76 2009-01-18 21:21:52Z herbert $
+%% $Id: pst-circ-doc.tex 91 2009-02-01 15:51:45Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\usepackage[utf8]{inputenc}
@@ -68,8 +68,9 @@ Thanks to: \\
\subsection{Parameters}
There are specific paramaters defined to change easily the behaviour of the pst-circ
-objects you are drawing.
+objects you are drawing. You'll find a list in Section~\ref{sec:para} on p.~\pageref{sec:para}.
+\iffalse
\begin{longtable}{@{}>{\ttfamily}l l l@{}}
\textrm{\emph{name}} & \emph{type} & \emph{default}\\\hline
\endhead
@@ -129,122 +130,131 @@ objects you are drawing.
\Lkeyword{transformerisecondarylabel} & string & \emph{ } \\
\Lkeyword{tripolestyle} & string & \emph{ normal}
\end{longtable}
+\fi
\subsection{Macros}
\subsubsection{Dipole macros}
-
-\psset{griddots=10,subgriddiv=0}
+\xLcs{resistor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}[showgrid=true](3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\resistor(A)(B){$R$}
\end{pspicture}
\end{LTXexample}
-
-
-\psset{griddots=10,subgriddiv=0}
+\xLcs{RFLine}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}[showgrid=true](3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\RFLine(A)(B){R}
\end{pspicture}
\end{LTXexample}
-
+\xLcs{capacitor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}[showgrid=true](3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\capacitor(A)(B){$C$}
\end{pspicture}
\end{LTXexample}
+\xLcs{battery}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\battery(A)(B){$E$}
\end{pspicture}
\end{LTXexample}
+\xLcs{coil}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil(A)(B){$L$}
\end{pspicture}
\end{LTXexample}
+\xLcs{Ucc}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\Ucc(A)(B){$E$}
\end{pspicture}
\end{LTXexample}
+\xLcs{Icc}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\Icc(A)(B){$\eta$}
\end{pspicture}
\end{LTXexample}
+\xLcs{switch}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\switch(A)(B){$K$}
\end{pspicture}
\end{LTXexample}
+\xLcs{diode}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\diode(A)(B){$D$}
\end{pspicture}
\end{LTXexample}
+\xLcs{Zener}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\Zener(A)(B){$D$}
\end{pspicture}
\end{LTXexample}
+\xLcs{lamp}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\lamp(A)(B){$\mathcal L$}
\end{pspicture}
\end{LTXexample}
+\xLcs{circledipole}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\circledipole(A)(B){$\mathcal G$}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{labeloffset}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}[showgrid=true](3,2)
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\circledipole[labeloffset=0](A)(B){\Large\textbf{A}}
\end{pspicture}
\end{LTXexample}
+\xLcs{LED}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\LED(A)(B){$\mathcal D$}
@@ -254,16 +264,15 @@ objects you are drawing.
\bigskip
\subsubsection{Tripole macros}
-Obviously, tripoles are not node connections. So \LPack{pst-circ} tries its best to adjust the
+Obviously, \Index{tripole}s are not node connections. So \LPack{pst-circ} tries its best to adjust the
position of the tripole regarding the three nodes. Internally, the connections are done by the
\Lcs{ncangle} pst-node macro. However, the auto-positionning and the auto-connections are not always
-well chosen\footnote{This is something we are working on. I think that auto-positionning and
-auto-connections should be done at PostScript level and not at PSTricks level. If someone has any
-ideas, please mail us.}, so don't try to use tripole macros in strange situations!
+well chosen, so don't try to use tripole macros in strange situations!
+\xLcs{OA}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,3)
+\begin{pspicture}(5,3)
\pnode(0,0){A}
\pnode(0,3){B}
\pnode(5,1.5){C}
@@ -271,8 +280,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLkeyword{OApower}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,3)
+\begin{pspicture}(5,3)
\pnode(0,0){A}
\pnode(0,3){B}
\pnode(5,1.5){C}
@@ -280,24 +290,27 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLcs{transistor}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](3,4)
+\begin{pspicture}(3,4)
\pnode(0,2){A}\pnode(3,1){B}
\pnode(3,3){C}
\transistor(A)(B)(C)
\end{pspicture}
\end{LTXexample}
+\xLkeyset{transistortype=PNP}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](3,4)
+\begin{pspicture}(3,4)
\pnode(0,2){A}\pnode(3,1){B}
\pnode(3,3){C}
\transistor[transistortype=PNP](A)(B)(C)
\end{pspicture}
\end{LTXexample}
+\xLkeyword{basesep}\xLkeyword{arrows}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,3)
+\begin{pspicture}(5,3)
\pnode(0,1.5){A}
\pnode(5,0){B}
\pnode(5,3){C}
@@ -305,8 +318,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLkeyword{basesep}\xLkeyword{transistoriemitter}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](3,4)
+\begin{pspicture}(3,4)
\pnode(0,2){A}\pnode(3,0.5){B}
\pnode(3,3.5){C}
\transistor[transistoriemitter=true,
@@ -314,8 +328,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLkeyword{basesep}\xLkeyword{transistorinvert}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](3,4)
+\begin{pspicture}(3,4)
\pnode(0,2){A}\pnode(3,1){B}
\pnode(3,3){C}
\transistor[transistorinvert,
@@ -323,8 +338,10 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLkeyset{transistortype=PNP}
+\xLkeyword{basesep}\xLnotation{Emitter}\xLkeyword{nodesep}\xLnotation{Collector}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,3)
+\begin{pspicture}(5,3)
\pnode(0,1.5){A}\psset{linewidth=1pt}
\transistor[transistortype=PNP,basesep=2cm,
arrows=o-o](A){Emitter}{Collector}
@@ -334,9 +351,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
-
+\xLcs{Tswitch}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,2)
+\begin{pspicture}(5,2)
\pnode(0,2){A}
\pnode(5,2){B}
\pnode(0,0){C}
@@ -344,8 +361,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLcs{potentiometer}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}[showgrid=true](3,3)
+\begin{pspicture}(3,3)
\pnode(0,1){A}
\pnode(3,1){B}
\pnode(3,2.25){C}
@@ -356,8 +374,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\bigskip
\subsubsection{Quadrupole macros}
+\xLcs{transformer}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,5)
+\begin{pspicture}(5,5)
\pnode(0,5){A}
\pnode(0,0){B}
\pnode(5,5){C}
@@ -366,8 +385,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+\xLcs{optoCoupler}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}[showgrid=true](5,3)
+\begin{pspicture}(5,3)
\pnode(0,2.5){A}
\pnode(0,0.5){B}
\pnode(4,2.5){C}
@@ -377,16 +397,16 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{LTXexample}
-\clearpage
\subsubsection{Multidipole}
\Lcs{multidipole} is a macro that allows multiple dipoles to be drawn between two specified nodes.
-\Lcs{multidipole} takes as many arguments as you want. \textbf{Note the \rnode{Dot}{dot} that is
-after the last dipole.}
+\Lcs{multidipole} takes as many arguments as you want. Note the \rnode{Dot}{dot} that is
+after the last dipole.
\bigskip
+\xLcs{diode}\xLcs{resistor}\xLcs{caoacitor}
\begin{minipage}{7cm}
-\begin{pspicture}[showgrid=true](7,7)
+\begin{pspicture}(7,7)
\pnode(0,0){A} \pnode(7,7){B}
\multidipole(A)(B)\resistor{$R$}%
\capacitor[linecolor=red]{$C$}%
@@ -394,7 +414,7 @@ after the last dipole.}
\end{pspicture}
\end{minipage}\hfill
\begin{minipage}{6cm}
-\verb+\begin{pspicture}[showgrid=true](7,7)+\\
+\verb+\begin{pspicture}(7,7)+\\
\verb+ \pnode(0,0){A}+\\
\verb+ \pnode(7,7){B}+\\
\verb+ \multidipole(A)(B)\resistor{$R$}%+\\
@@ -413,8 +433,9 @@ restore original values. We recommand not using it.
\bigskip
\subsubsection{Wire}
+\xLcs{wire}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\wire(A)(B)
@@ -424,8 +445,9 @@ restore original values. We recommand not using it.
\bigskip
\subsubsection{Potential}
+\xLcs{tension}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\tension(A)(B){$u$}
@@ -435,8 +457,9 @@ restore original values. We recommand not using it.
\bigskip
\subsubsection{ground}
+\xLcs{ground}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0.5,1){A}
\pnode(1,1){B}
\pnode(2.5,1){C}
@@ -452,17 +475,18 @@ restore original values. We recommand not using it.
\subsubsection{Label parameters}
-
+\xLcs{resitor}\xLkeyword{labeloffset}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,1)\psgrid
+\begin{pspicture}(3,1)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[labeloffset=0](A)(B){$R$}
\end{pspicture}
\end{LTXexample}
+\xLcs{resitor}\xLkeyset{labelangle=:U}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,0){A}
\pnode(3,2){B}
\resistor[labelangle=:U](A)(B){$R$}
@@ -470,15 +494,16 @@ restore original values. We recommand not using it.
\end{LTXexample}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,0){A}
\pnode(3,2){B}
\resistor[labelangle=0](A)(B){$R$}
\end{pspicture}
\end{LTXexample}
+\xLcs{transformer}\xLkeyword{primarylabel}\xLkeyword{secondarylabel}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,5)\psgrid
+\begin{pspicture}(5,5)
\pnode(0,5){A}
\pnode(0,0){B}
\pnode(5,5){C}
@@ -488,8 +513,9 @@ restore original values. We recommand not using it.
\end{pspicture}
\end{LTXexample}
+\xLkeyword{labelInside}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,4.5)\psgrid
+\begin{pspicture}(3,4.5)
\pnode(0,.5){A}
\pnode(3,.5){B}
\Ucc[labelInside=1](A)(B){$V$}
@@ -509,21 +535,23 @@ If the \Lkeyword{intensity} parameter is set to \true, an arrow is drawn on the
connecting one of the nodes to the dipole. If the \Lkeyword{tension} parameter is set to \true,
an arrow is drawn parallel to the dipole.
-The way those arrows are drawn is set by \Lkeyword{dipoleconvention} and \Lkeyword{directconvention}
+The way those \Index{arrows} are drawn is set by \Lkeyword{dipoleconvention} and \Lkeyword{directconvention}
parameters. \Lkeyword{dipoleconvention} can take two values~: \Lkeyval{generator} or \Lkeyval{receptor}.
\Lkeyword{directconvention} is a boolean.
+\xLkeyword{intensity}\xLkeyword{tension}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[intensity,tension](A)(B){}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{intensity}\xLkeyword{tension}\xLkeyset{dipoleconvention=generator}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[intensity,tension,
@@ -531,8 +559,9 @@ parameters. \Lkeyword{dipoleconvention} can take two values~: \Lkeyval{generator
\end{pspicture}
\end{LTXexample}
+\xLkeyword{intensity}\xLkeyword{tension}\xLkeyword{directconvention}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[intensity,tension,
@@ -540,8 +569,9 @@ parameters. \Lkeyword{dipoleconvention} can take two values~: \Lkeyval{generator
\end{pspicture}
\end{LTXexample}
+\xLkeyword{intensity}\xLkeyword{tension}\xLkeyset{dipoleconvention=generator}\xLkeyword{directconvention}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[intensity,tension,
@@ -554,15 +584,17 @@ set to true. If \Lkeyword{tensionlabel} is set to an non empty argument, then \L
automatically set to true.
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[intensitylabel=$i$,tensionlabel=$u$](A)(B){}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{intensitylabel}\xLkeyword{intensitylabeloffset}
+\xLkeyword{tensionlabel}\xLkeyword{tensionoffset}\xLkeyword{tensionlabeloffset}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1.5){A}
\pnode(3,1.5){B}
\resistor[intensitylabel=$i$,intensitylabeloffset=-0.5,
@@ -571,8 +603,10 @@ automatically set to true.
\end{pspicture}
\end{LTXexample}
+\xLkeyword{intensitycolor}\xLkeyword{intensitywidth}\xLkeyword{intensitylabel}\xLkeyword{intensitylabelcolor}
+\xLkeyword{tensionwidth}\xLkeyword{tensionlabel}\xLkeyword{tensioncolor}\xLkeyword{tensionlabelcolor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor[intensitylabel=$i$,intensitywidth=3\pslinewidth,
@@ -584,8 +618,9 @@ automatically set to true.
Some specific intensity parameters are available for \Index{tripole}s and \Index{quadrupole}s.
+\xLkeyword{OAiminuslabel}\xLkeyword{OAipluslabel}\xLkeyword{OAioutlabel}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}(5,3)
\pnode(0,0){A}
\pnode(0,3){B}
\pnode(5,1.5){C}
@@ -595,8 +630,9 @@ Some specific intensity parameters are available for \Index{tripole}s and \Index
\end{pspicture}
\end{LTXexample}
+\xLkeyword{basesep}\xLkeyword{transistoribaselabel}\xLkeyword{transistoricollectorlabel}\xLkeyword{transistoriemitterlabel}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}(5,3)
\pnode(0,1.5){A}
\pnode(5,0){B}
\pnode(5,3){C}
@@ -606,8 +642,10 @@ Some specific intensity parameters are available for \Index{tripole}s and \Index
\end{pspicture}
\end{LTXexample}
+\xLkeyword{transformerisecondarylabel}
+\xLkeyword{transformeriprimarylabel}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,5)\psgrid
+\begin{pspicture}(5,5)
\pnode(0,5){A}
\pnode(0,0){B}
\pnode(5,5){C}
@@ -625,7 +663,7 @@ If the \Lkeyword{parallel} parameter is set to \true, the dipole is drawn parall
connecting the nodes.
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}(3,3)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor(A)(B){}
@@ -634,7 +672,7 @@ connecting the nodes.
\end{LTXexample}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}(3,3)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor(A)(B){}
@@ -643,7 +681,7 @@ connecting the nodes.
\end{LTXexample}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}(3,3)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor(A)(B){}
@@ -653,7 +691,7 @@ connecting the nodes.
\end{LTXexample}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}(3,3)
\pnode(0,.5){A}
\pnode(3,.5){B}
\resistor(A)(B){}
@@ -663,7 +701,7 @@ connecting the nodes.
\end{LTXexample}
\begin{LTXexample}[width=8.5cm]
-\begin{pspicture}(8,8)\psgrid
+\begin{pspicture}(8,8)
\pnode(0,0){A}
\pnode(8,8){B}
\multidipole(A)(B)\resistor{$R$}%
@@ -681,7 +719,7 @@ must not be set for the first dipole.
\subsubsection{Wire intersections}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}(3,3)
\pnode(0,0){A}
\pnode(3,3){B}
\pnode(0,3){C}
@@ -694,7 +732,7 @@ must not be set for the first dipole.
Wire intersect parameters work also with \Lcs{multidipole}.
\begin{LTXexample}[width=6.5cm]
-\begin{pspicture}(7,7)\psgrid
+\begin{pspicture}(7,7)
\pnode(0,0){A}
\pnode(6,6){B}
\pnode(0,6){C}
@@ -710,163 +748,183 @@ Wire intersect parameters work also with \Lcs{multidipole}.
\bigskip
\subsubsection{Dipole style parameters}
+\xLkeyset{dipolestyle=twoCircles}\xLcs{ICC}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}[showgrid=true](3,2)
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\Icc[dipolestyle=twoCircles](A)(B){$I$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=zigzag}\xLcs{resistor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}[showgrid=true](3,2)
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\resistor[dipolestyle=zigzag](A)(B){$R$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=varistor}\xLcs{resistor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}[showgrid=true](3,2)
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\resistor[dipolestyle=varistor](A)(B){U}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=chemical}\xLcs{capacitor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}[showgrid=true](3,2)
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\capacitor[dipolestyle=chemical](A)(B){$C$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=elektor}\xLcs{capacitor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\capacitor[dipolestyle=elektor](A)(B){$C$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=elektorchemical}\xLcs{capacitor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\capacitor[dipolestyle=elektorchemical](A)(B){$C$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=crystal}\xLcs{capacitor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\capacitor[dipolestyle=crystal](A)(B){$Q$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=rectangle}\xLcs{coil}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil[dipolestyle=rectangle](A)(B){$L$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=curved}\xLcs{coil}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil[dipolestyle=curved](A)(B){$L$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=elektor}\xLcs{coil}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil[dipolestyle=elektor](A)(B){$L$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=elektorcurved}\xLcs{coil}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil[dipolestyle=elektorcurved](A)(B){$L$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=thyristor}\xLcs{diode}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\diode[dipolestyle=thyristor](A)(B){$T$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=GTO}\xLcs{diode}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\diode[dipolestyle=GTO](A)(B){$T$}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{dipolestyle=triac}\xLcs{diode}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\diode[dipolestyle=triac](A)(B){$T$}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{variable}\xLcs{resistor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\resistor[variable](A)(B){$R$}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{variable}\xLcs{capacitor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\capacitor[variable](A)(B){$C$}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{variable}\xLcs{coil}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil[variable](A)(B){$L$}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{variable}\xLcs{battery}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\battery[variable](A)(B){$U$}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{variable}\xLcs{coil}\xLkeyset{dipolestyle=elektor}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0,1){A}
\pnode(3,1){B}
\coil[dipolestyle=elektor,variable](A)(B){$L$}
\end{pspicture}
\end{LTXexample}
-In the following example the parameter \verb|dipolestyle| is used for a tripole and quadrupole, because
-the coils are drawn as rectangles and the resistor as a zigzag.
+In the following example the parameter \Lkeyword{dipolestyle} is used for a tripole and quadrupole, because
+the coils are drawn as rectangles and the resistor as a \Lkeyword{zigzag}.
+\xLkeyset{labelangle=:U}\xLcs{potentiometer}\xLkeyset{dipolestyle=zigzag}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}(3,3)
\pnode(0,0){A}
\pnode(3,3){B}
\pnode(3,1.5){C}
@@ -875,8 +933,9 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLcs{transformer}\xLkeyset{dipolestyle=rectangle}
\begin{LTXexample}[width=4.5cm]
-\begin{pspicture}(4,4)\psgrid
+\begin{pspicture}(4,4)
\pnode(0,4){A}
\pnode(0,0){B}
\pnode(4,4){C}
@@ -888,6 +947,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\subsubsection{Tripole style parameters}
+\xLcs{Tswitch}\xLkeyset{tripolestyle=left}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,2){A}
@@ -897,6 +957,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLcs{Tswitch}\xLkeyset{tripolestyle=right}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,2){A}
@@ -906,6 +967,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLcs{OA}\xLkeyset{tripolestyle=french}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,3){A}
@@ -917,8 +979,8 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\subsubsection{Potentiometer tripole}
+\xLcs{potentiometer}\xLkeyword{labeloffset}
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,1){A}
\pnode(3,1){B}
\pnode(3,2){C}
@@ -926,15 +988,14 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\hfill
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,2.5){A}
\pnode(3,2.5){B}
\pnode(0,1){C}
\potentiometer[labeloffset=0pt](A)(B)(C){P}
\end{pspicture}
\hfill
+\xLcs{potentiometer}\xLkeyword{labeloffset}\xLkeyset{labelangle=:U}
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,0){A}
\pnode(3,2){B}
\pnode(2.5,3){C}
@@ -943,8 +1004,8 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\vspace{1cm}
\noindent
+\xLcs{potentiometer}\xLkeyword{labeloffset}
\begin{pspicture}(3,3)
- \psgrid
\pnode(1,0){A}
\pnode(1,3){B}
\pnode(2.5,0){C}
@@ -952,7 +1013,6 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\hfill
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,3){A}
\pnode(3,0){B}
\pnode(2,0){C}
@@ -960,7 +1020,6 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\hfill
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,2){A}
\pnode(3,2){B}
\pnode(1.5,0){C}
@@ -971,7 +1030,6 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\vspace{1cm}
\noindent
\begin{pspicture}(3,3)
- \psgrid
\pnode(1,0){A}
\pnode(1,3){B}
\pnode(2.5,0){C}
@@ -979,7 +1037,6 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\hfill
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,3){A}
\pnode(3,0){B}
\pnode(2,0){C}
@@ -987,7 +1044,6 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\hfill
\begin{pspicture}(3,3)
- \psgrid
\pnode(0,2){A}
\pnode(3,2){B}
\pnode(1.5,0){C}
@@ -996,6 +1052,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\subsubsection{Other Parameters}
+\xLkeyword{OAinvert}\xLcs{OA}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,0){A}
@@ -1005,6 +1062,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLkeyword{OAperfect}\xLcs{OA}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,0){A}
@@ -1024,6 +1082,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLkeyset{transistortype=FET}\xLcs{transistor}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,1.5){A}\psset{linewidth=1pt}
@@ -1035,6 +1094,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLkeyset{transistortype=FET}\xLcs{transistor}\xLkeyset{FETchannel=P}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\pnode(0,1.5){A}\psset{linewidth=1pt}
@@ -1047,6 +1107,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\end{pspicture}
\end{LTXexample}
+\xLkeyset{transistortype=FET}\xLcs{transistor}\xLkeyword{FETmemory}
\begin{LTXexample}[width=5.5cm]
\begin{pspicture}(5,3)
\transistor[basesep=2cm,transistortype=FET,
@@ -1064,7 +1125,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\newcommand*\pswall[3]{% ll ur lr
\psframe[linecolor=white,fillstyle=hlines,hatchcolor=black](#1)(#2)% (ll)(ur)
\psline[linecolor=black](#1)(#3)}
-\begin{pspicture}[showgrid=true](0.5,1)(8,10)
+\begin{pspicture}(0.5,1)(8,10)
\rput(3,9.5){\sffamily \textbf{Viscoelasticity}}
% Kelvin-Voigt model (spring and dashpot parallel): ===========
\rput[c](1.75,8.85){\sffamily Kelvin-Voigt}
@@ -1096,7 +1157,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\begin{LTXexample}[pos=t]
\begin{pspicture}(-1.5,-1)(6,5)
-% \psgrid[subgriddiv=1,griddots=10]
+% [subgriddiv=1,griddots=10]
% Node definitions
\pnode(0,0){A}
\pnode(0,3){B}
@@ -1119,7 +1180,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\begin{LTXexample}[pos=t]
\begin{pspicture}(-0.5,0)(7,8)
-% \psgrid[subgriddiv=1,griddots=10]
+% [subgriddiv=1,griddots=10]
% Node definitions
\pnode(0.5,1){A}
\pnode(3.5,1){B}
@@ -1152,7 +1213,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\begin{LTXexample}[pos=t]
\begin{pspicture}(-1,0)(7,8)
-% \psgrid[subgriddiv=1,griddots=10]
+% [subgriddiv=1,griddots=10]
% Node definitions
\pnode(1,1){A}
\pnode(1,7){B}
@@ -1170,7 +1231,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\begin{LTXexample}[width=8.5cm]
\begin{pspicture}(-0.25,-0.25)(6,6)
-% \psgrid[subgriddiv=1,griddots=10]
+% [subgriddiv=1,griddots=10]
% Node definitions
\pnode(0,3){A}
\pnode(3,3){B}
@@ -1185,7 +1246,7 @@ the coils are drawn as rectangles and the resistor as a zigzag.
\begin{LTXexample}[pos=t]
\begin{pspicture}(6,6)
-% \psgrid[subgriddiv=1,griddots=10]
+% [subgriddiv=1,griddots=10]
% Node definitions
\pnode(0,0){A}\pnode(6,0){B}
\pnode(0.3,4){Cprime}\pnode(5.7,4){Dprime}
@@ -1321,7 +1382,7 @@ The following example was written by Manuel Luque.
\begin{LTXexample}[pos=t]
\begin{pspicture}(0,-0.5)(14,4)
-% \psgrid[subgriddiv=1,griddots=10]
+% [subgriddiv=1,griddots=10]
\pnode(0,0){B}\pnode(0,3){A}
\pnode(2.5,3.5){C}\pnode(2.5,-0.5){D}\pnode(5,3){E}\pnode(6.5,1.5){F}
\pnode(5,0){G}\pnode(3.5,1.5){H} \pnode(8,2.5){I}\pnode(8,1){J}
@@ -1377,7 +1438,7 @@ The following example was written by Christian Hoffmann.
\begin{LTXexample}[pos=t]
\SpecialCoor
- \begin{pspicture}(0,-1)(7,6.5)%\psgrid
+ \begin{pspicture}(0,-1)(7,6.5)%
\pnode(0,6){plus}
\pnode(3,3){basis}
\pnode([nodesep=-2] basis){schalter}
@@ -1426,19 +1487,13 @@ The value of theses parameters are left or right for the first one and true or f
\pcline[fillstyle=none,linestyle=none](#2)(#3)
\end{lstlisting}
+The last line is to correct some problems when I use colors (see example2)
+To add color in components (Monopole, tripole and Quadripole), there is a new
+argument.
+ \Lcs{multidipole} also works:
-
-
-The last line is to correct somme problems when I use colors (see example2)
-
-To add color in components (Monopole, tripole and Quadripole) I add a new
-argument since I don't know how to do this by another way. However,
-I think it is not the optimal solution. For dipole, to put commands for
-color in the first optionnal argument is ok.
-
-Finally, something doesn't work with multidipole: this following example works:
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(4,2)\psgrid
+\begin{pspicture}(4,2)
\pnode(0.5,1){A}
\pnode(3.5,1){B}
\multidipole(A)(B)\filter{BPF}%
@@ -1447,15 +1502,14 @@ Finally, something doesn't work with multidipole: this following example works:
\end{LTXexample}
\bigskip
-However, this following one doesn't work:
-\begin{lstlisting}
-\begin{pspicture}(4,2)\psgrid
+\begin{LTXexample}[width=3.5cm,rframe={}]
+\begin{pspicture}(4,2)
\pnode(0.5,1){A}
\pnode(3.5,1){B}
\multidipole(A)(B)\amplifier{LNA}%
\resistor{$R$}.
\end{pspicture}
-\end{lstlisting}
+\end{LTXexample}
\subsection{New monopole components}
@@ -1465,7 +1519,7 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(0.5,1){A}
\pnode(1,1){B}
\pnode(2.5,1){C}
@@ -1482,21 +1536,21 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,0.5){A}
\antenna[antennastyle=three](A)
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,0.5){A}
\antenna(A)
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,0.5){A}
\antenna[antennastyle=triangle](A)
\end{pspicture}
@@ -1512,7 +1566,7 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,1){A}
\oscillator[output=left,inputarrow=false](A)%
{$f_{LO}$}{}
@@ -1520,7 +1574,7 @@ However, this following one doesn't work:
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,1){A}
\oscillator[output=top,inputarrow=true,LOstyle=crystal](A)%
{f$_{\textrm{LO}}$}{}
@@ -1528,7 +1582,7 @@ However, this following one doesn't work:
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,1){A}
\oscillator[output=right,inputarrow=false](A)%
{$f_{LO}$}{fillstyle=solid,fillcolor=blue}
@@ -1536,7 +1590,7 @@ However, this following one doesn't work:
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
+\begin{pspicture}(3,2)
\pnode(1,1){A}
\oscillator[output=bottom,inputarrow=false](A)%
{$f_{LO}$}{}
@@ -1551,36 +1605,35 @@ However, this following one doesn't work:
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right}
\end{description}
+\xLcs{filter}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\filter(A)(B){BPF}
\end{pspicture}
\end{LTXexample}
+\xLcs{filter}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\filter[dipolestyle=lowpass,fillstyle=solid,%
fillcolor=red](A)(B){LPF}
\end{pspicture}
\end{LTXexample}
+\xLcs{filter}\xLkeyset{dipolestyle=highpass}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
- \filter[dipolestyle=highpass,dipoleinput=right,%
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
+ \filter[dipolestyle=highpass,dipoleinput=right,
inputarrow=true](A)(B){HPF}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\filter[dipolestyle=highpass,inputarrow=true](A)(B){BPF}
\end{pspicture}
\end{LTXexample}
@@ -1592,26 +1645,23 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\isolator[inputarrow=true](A)(B){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
- \isolator[dipoleinput=right,inputarrow=true,fillstyle=solid,%
- fillcolor=yellow](A)(B){Isolator}
+\begin{pspicture}(3,2)
+\pnode(0,1){A} \pnode(3,1){B}
+\isolator[dipoleinput=right,inputarrow=true,
+ fillstyle=solid,fillcolor=yellow](A)(B){Isolator}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A}\pnode(3,1){B}
\isolator[dipoleinput=left](A)(B){}
\end{pspicture}
\end{LTXexample}
@@ -1626,31 +1676,25 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A}\pnode(3,1){B}
\freqmult[dipolestyle=divider,inputarrow=true](A)(B){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A}\pnode(3,1){B}
\freqmult[dipolestyle=multiplier,value=10](A)(B){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,3)\psgrid
- \pnode(0,1.5){A}
- \pnode(3,1.5){B}
- \freqmult[dipolestyle=multiplier,programmable=true,%
- labeloffset=-1,%
- dipoleinput=right,%
- inputarrow=true,
- fillstyle=solid,
- fillcolor=green](A)(B){10<N<35}
+\begin{pspicture}(3,3)
+\pnode(0,1.5){A}\pnode(3,1.5){B}
+\freqmult[dipolestyle=multiplier,programmable=true,
+ labeloffset=-1,dipoleinput=right,inputarrow=true,
+ fillstyle=solid,fillcolor=green](A)(B){10<N<35}
\end{pspicture}
\end{LTXexample}
@@ -1661,20 +1705,17 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A1}
- \pnode(3,1){A2}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A1} \pnode(3,1){A2}
\phaseshifter(A1)(A2){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){B1}
- \pnode(3,1){B2}
- \phaseshifter[inputarrow=true,%
- dipoleinput=right,fillstyle=solid,fillcolor=red]%
- (B1)(B2){90\ensuremath{^\circ}}
+\begin{pspicture}(3,2)
+\pnode(0,1){B1} \pnode(3,1){B2}
+\phaseshifter[inputarrow=true,dipoleinput=right,
+ fillstyle=solid,fillcolor=red](B1)(B2){90$^\circ$}
\end{pspicture}
\end{LTXexample}
@@ -1685,17 +1726,15 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A1}
- \pnode(3,1){A2}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A1} \pnode(3,1){A2}
\vco[fillstyle=solid,fillcolor=yellow](A1)(A2){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){B1}
- \pnode(3,1){B2}
+\begin{pspicture}(3,2)
+ \pnode(0,1){B1} \pnode(3,1){B2}
\vco[dipoleinput=right,inputarrow=true](B1)(B2){VCO}
\end{pspicture}
\end{LTXexample}
@@ -1707,25 +1746,22 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\amplifier[inputarrow=true](A)(B){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\amplifier[dipoleinput=right,inputarrow=true](A)(B){PA}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\amplifier[dipoleinput=left](A)(B){LNA}
\end{pspicture}
\end{LTXexample}
@@ -1737,25 +1773,22 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\detector[inputarrow=true](A)(B){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\detector[dipoleinput=right,inputarrow=true](A)(B){}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1){A}
- \pnode(3,1){B}
+\begin{pspicture}(3,2)
+ \pnode(0,1){A} \pnode(3,1){B}
\detector[dipoleinput=left](A)(B){}
\end{pspicture}
\end{LTXexample}
@@ -1769,21 +1802,17 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,2){C}
+\begin{pspicture}(3,2)
+ \pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,2){C}
\mixer[tripolestyle=top,inputarrow=true](A)(B)(C)%
{Mixer}{}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,0){C}
- \mixer[inputarrow=true,tripoleinput=right](A)(B)(C)%
+\begin{pspicture}(3,2)
+ \pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C}
+ \mixer[inputarrow=true,tripoleinput=right](A)(B)(C)
{Mixer}{fillstyle=solid,fillcolor=yellow}
\end{pspicture}
\end{LTXexample}
@@ -1796,42 +1825,35 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,0){C}
+\begin{pspicture}(3,2)
+ \pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C}
\circulator{0}(A)(B)(C){Circulator}{}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,3)\psgrid
- \pnode(1.5,0.5){A}
- \pnode(1.5,2.5){B}
- \pnode(0.5,1.5){C}
+\begin{pspicture}(3,3)
+ \pnode(1.5,0.5){A}\pnode(1.5,2.5){B}\pnode(0.5,1.5){C}
\circulator[tripolestyle=isolator,inputarrow=true]{90}%
(A)(B)(C){Isolator}{}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,0){C}
- \circulator[tripoleconfig=right,tripolestyle=isolator,%
+\begin{pspicture}(3,2)
+\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C}
+\circulator[tripoleconfig=right,tripolestyle=isolator,
inputarrow=true,tripoleinput=right]{0}%
(B)(A)(C){Isolator}{}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,2){C}
- \circulator[tripoleconfig=right,inputarrow=true]{180}%
- (A)(B)(C){Isolator}{fillstyle=solid,fillcolor=red}
+\begin{pspicture}(3,2)
+\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,2){C}
+\circulator[tripoleconfig=right,
+ inputarrow=true]{180}(A)(B)(C){Isolator}%
+ {fillstyle=solid,fillcolor=red}
\end{pspicture}
\end{LTXexample}
@@ -1842,19 +1864,15 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,0){C}
+\begin{pspicture}(3,2)
+ \pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C}
\agc(A)(B)(C){AGC}{fillstyle=solid,fillcolor=yellow}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0.5,1){A}
- \pnode(2.5,1){B}
- \pnode(1.5,0){C}
+\begin{pspicture}(3,2)
+ \pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C}
\agc[tripoleinput=right,inputarrow=true](A)(B)(C)%
{AGC}{fillstyle=solid,fillcolor=blue}
\end{pspicture}
@@ -1869,11 +1887,9 @@ However, this following one doesn't work:
\end{description}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1.4){A}
- \pnode(0,0.6){B}
- \pnode(3,1.4){C}
- \pnode(3,0.6){D}
+\begin{pspicture}(3,2)
+ \pnode(0,1.4){A} \pnode(0,0.6){B}
+ \pnode(3,1.4){C} \pnode(3,0.6){D}
\coupler[couplerstyle=hybrid,inputarrow=true](A)(B)(C)(D)%
{Hyb. $180$\ensuremath{^\circ}}%
{fillstyle=solid,fillcolor=yellow}
@@ -1881,21 +1897,17 @@ However, this following one doesn't work:
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1.4){A}
- \pnode(0,0.6){B}
- \pnode(3,1.4){C}
- \pnode(3,0.6){D}
+\begin{pspicture}(3,2)
+ \pnode(0,1.4){A} \pnode(0,0.6){B}
+ \pnode(3,1.4){C} \pnode(3,0.6){D}
\coupler[couplerstyle=directional](A)(B)(C)(D){10~dB}{}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1.4){A}
- \pnode(0,0.6){B}
- \pnode(3,1.4){C}
- \pnode(3,0.6){D}
+\begin{pspicture}(3,2)
+ \pnode(0,1.4){A} \pnode(0,0.6){B}
+ \pnode(3,1.4){C} \pnode(3,0.6){D}
\coupler[couplerstyle=hybrid,inputarrow=true,%
quadripoleinput=right](A)(B)(C)(D)%
{Hyb. $180$\ensuremath{^\circ}}{}
@@ -1903,11 +1915,9 @@ However, this following one doesn't work:
\end{LTXexample}
\begin{LTXexample}[width=3.5cm,rframe={}]
-\begin{pspicture}(3,2)\psgrid
- \pnode(0,1.4){A}
- \pnode(0,0.6){B}
- \pnode(3,1.4){C}
- \pnode(3,0.6){D}
+\begin{pspicture}(3,2)
+ \pnode(0,1.4){A} \pnode(0,0.6){B}
+ \pnode(3,1.4){C} \pnode(3,0.6){D}
\coupler[couplerstyle=directional,quadripoleinput=right,%
inputarrow=true](A)(B)(C)(D){10~dB}{}
\end{pspicture}
@@ -1941,7 +1951,7 @@ From Chang, K., RF and Microwave Wireless Systems, Wiley InterScience, page 319,
Hot and Cold\\
loads for calibration
\end{tabular}}
- %%% Branche réception
+ %%% Branche reception
\pnode(6,8){R1}
\pnode(8,8){R2}
\pnode(7,7){X1}
@@ -2222,82 +2232,84 @@ NOT123a
\psset{subgriddiv=0,griddots=5,gridlabels=7pt}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-1,0)(3,3)
- \psgrid
\logic{AND1}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicChangeLR=true]{AND2}
+ \logic[logicChangeLR]{AND2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=and}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(-0.5,0)(4,5)
- \psgrid
- \logic[logicShowNode=true,%
- logicWidth=2,%
- logicHeight=4,%
- logicNInput=6,%
- logicChangeLR=true](1,1){AND3}
+ \logic[logicShowNode,%
+ logicWidth=2,
+ logicHeight=4,
+ logicNInput=6,
+ logicChangeLR](1,1){AND3}
\end{pspicture}
\end{LTXexample}
\subsubsection{NotAnd}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=nand",%
- logicShowNode=true]{NAND1}
+ \logic[logicType=nand,
+ logicShowNode]{NAND1}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=nand,%
- logicChangeLR=true]{NAND2}
+ \logic[logicType=nand,
+ logicChangeLR]{NAND2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=nand}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(4,5)
- \psgrid
- \logic[logicType=nand,%
- logicShowNode=true,%
- logicWidth=2,%
- logicHeight=4,%
- logicNInput=6,%
- logicChangeLR=true](1,1){NAND3}
+ \logic[logicType=nand,
+ logicShowNode,
+ logicWidth=2,
+ logicHeight=4,
+ logicNInput=6,
+ logicChangeLR](1,1){NAND3}
\end{pspicture}
\end{LTXexample}
\subsubsection{Or}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=or",%
- logicShowNode=true]{OR1}
+ \logic[logicType=or,
+ logicShowNode]{OR1}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=or,%
- logicChangeLR=true]{OR2}
+ \logic[logicType=or,
+ logicChangeLR]{OR2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=or}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(4,5)
- \psgrid
- \logic[logicType=or,%
- logicShowNode=true,%
- logicWidth=2,%
- logicHeight=4,%
- logicNInput=6,%
- logicChangeLR=true](1,1){OR3}
+ \logic[logicType=or,
+ logicShowNode,
+ logicWidth=2,
+ logicHeight=4,
+ logicNInput=6,
+ logicChangeLR](1,1){OR3}
\end{pspicture}
\end{LTXexample}
@@ -2306,28 +2318,29 @@ NOT123a
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=nor",%
- logicShowNode=true]{NOR1}
+ \logic[logicType=nor,
+ logicShowNode]{NOR1}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=nor,%
- logicChangeLR=true]{NOR2}
+ \logic[logicType=nor,
+ logicChangeLR]{NOR2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=nor}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(4,5)
- \psgrid
- \logic[logicType=nor,%
- logicShowNode=true,%
- logicWidth=2,%
- logicHeight=4,%
- logicNInput=6,%
- logicChangeLR=true](1,1){NOR3}
+ \logic[logicType=nor,
+ logicShowNode,
+ logicWidth=2,
+ logicHeight=4,
+ logicNInput=6,
+ logicChangeLR](1,1){NOR3}
\end{pspicture}
\end{LTXexample}
@@ -2336,27 +2349,28 @@ NOT123a
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=not",%
- logicShowNode=true]{NOT1}
+ \logic[logicType=not,
+ logicShowNode]{NOT1}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=not,%
- logicChangeLR=true]{NOT2}
+ \logic[logicType=not,
+ logicChangeLR]{NOT2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=not}\xLkeyword{logicChangeLR}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(4,5)
- \psgrid
- \logic[logicType=not,%
- logicShowNode=true,%
- logicWidth=2,%
- logicHeight=4,%
- logicChangeLR=true](1,1){NOT3}
+ \logic[logicType=not,
+ logicShowNode,
+ logicWidth=2,
+ logicHeight=4,
+ logicChangeLR](1,1){NOT3}
\end{pspicture}
\end{LTXexample}
@@ -2364,28 +2378,29 @@ NOT123a
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=exor",%
- logicShowNode=true]{ExOR1}
+ \logic[logicType=exor,
+ logicShowNode]{ExOR1}
\end{pspicture}
\end{LTXexample}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=exor,%
- logicChangeLR=true]{ExOR2}
+ \logic[logicType=exor,
+ logicChangeLR]{ExOR2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=exor}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(4,5)
- \psgrid
- \logic[logicType=exor,%
- logicShowNode=true,%
- logicNInput=6,%
- logicWidth=2,%
- logicHeight=4,%
- logicChangeLR=true](1,1){ExOR3}
+ \logic[logicType=exor,
+ logicShowNode,
+ logicNInput=6,
+ logicWidth=2,
+ logicHeight=4,
+ logicChangeLR](1,1){ExOR3}
\end{pspicture}
\end{LTXexample}
@@ -2393,49 +2408,54 @@ NOT123a
\clearpage
\subsubsection{Exclusive NOR}
+\xLkeyset{logicType=exnor}\xLkeyword{logicShowNode}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=exnor",%
- logicShowNode=true]{ExNOR1}
+ \logic[logicType=exnor,
+ logicShowNode]{ExNOR1}
\end{pspicture}
\end{LTXexample}
+\xLkeyset{logicType=exor}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,3)
- \logic[logicType=exnor,%
- logicChangeLR=true]{ExNOR2}
+ \logic[logicType=exnor,
+ logicChangeLR]{ExNOR2}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=exor}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput}
+\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](4,6)
\begin{pspicture}(4,5)
- \psgrid
- \logic[logicType=exnor,%
- logicShowNode=true,%
- logicNInput=6,%
- logicWidth=2,%
- logicHeight=4,%
- logicChangeLR=true](1,1){ExNOR3}
+ \logic[logicType=exnor,
+ logicShowNode,
+ logicNInput=6,
+ logicWidth=2,
+ logicHeight=4,
+ logicChangeLR](1,1){ExNOR3}
\end{pspicture}
\end{LTXexample}
\subsection{RS Flip Flop}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=RS}
\begin{LTXexample}[width=4.5cm](3,4.5)
\begin{pspicture}(-1,-1)(3,3)
- \logic[logicShowNode=true,%
- logicType=RS"]{RS1}
+ \logic[logicShowNode,
+ logicType=RS]{RS1}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=RS}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](3,4.5)
\begin{pspicture}(-1,-1)(3,3)
- \logic[logicShowNode=true,%
- logicType=RS,%
- logicChangeLR=true]{RS2}
+ \logic[logicShowNode,
+ logicType=RS,
+ logicChangeLR]{RS2}
\end{pspicture}
\end{LTXexample}
@@ -2444,51 +2464,55 @@ NOT123a
\begin{LTXexample}[width=4.5cm](3,4.5)
\begin{pspicture}(-1,-1)(3,3)
- \logic[logicShowNode=true,%
- logicType=D"]{D1}
+ \logic[logicShowNode,
+ logicType=D]{D1}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=D}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](3,4.5)
\begin{pspicture}(-1,-1)(3,3)
- \logic[logicShowNode=true,%
- logicType=D,%
- logicChangeLR=true]{D2}
+ \logic[logicShowNode=true,
+ logicType=D,
+ logicChangeLR]{D2}
\end{pspicture}
\end{LTXexample}
\subsection{JK Flip Flop}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=JK}\xLkeyword{logicJInput}\xLkeyword{logicKInput}
\begin{LTXexample}[width=4.5cm](3,4.5)
- \begin{pspicture}(-1,-1)(3,3)
- \logic[logicShowNode=true,%
- logicType=JK",%
- logicKInput=2,%
+\begin{pspicture}(-1,-1)(3,3)
+ \logic[logicShowNode,
+ logicType=JK,
+ logicKInput=2,
logicJInput=2]{JK1}
- \end{pspicture}
+\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicShowNode}\xLkeyset{logicType=JK}\xLkeyword{logicJInput}\xLkeyword{logicKInput}\xLkeyword{logicChangeLR}
\begin{LTXexample}[width=4.5cm](3,4.5)
\begin{pspicture}(-1,-1)(3,3)
- \logic[logicShowNode=true,%
- logicType=JK,%
- logicKInput=2, logicJInput=4,%
- logicChangeLR=true]{JK2}
+ \logic[logicShowNode,logicType=JK,
+ logicKInput=2, logicJInput=4,
+ logicChangeLR]{JK2}
\end{pspicture}
\end{LTXexample}
\subsection{Other Options}
+\xLkeyword{logicShowDot}
\begin{LTXexample}[width=3.5cm](3,3)
\begin{pspicture}(-0.5,0)(3,2.5)
- \logic[logicShowDot=true]{A0}
+ \logic[logicShowDot]{A0}
\end{pspicture}
\end{LTXexample}
+\xLkeyword{logicWireLength}
\begin{LTXexample}[width=4.5cm](4,3)
\begin{pspicture}(-1,0)(3,2.5)
- \logic[logicWireLength=1,%
- logicShowDot=true]{A1}
+ \logic[logicWireLength=1,
+ logicShowDot]{A1}
\end{pspicture}
\end{LTXexample}
@@ -2499,16 +2523,16 @@ the \Lkeyword{unit} option.
\subsection{The Node Names}
Every logic circuit is defined with its name, which should be a unique one.
If we have the following NAND circuit, then \LPack{pst-circ} defines the nodes
-\begin{verbatim}
+\begin{lstlisting}[style=syntax]
NAND11, NAND12, NAND13, NAND14, NAND1Q
-\end{verbatim}
+\end{lstlisting}
\noindent If there exists an inverted output, like for alle Flip Flops,
then the negated one gets the appendix \verb|neg| to the node name. For
example:
-\begin{verbatim}
+\begin{lstlisting}[style=syntax]
NAND1Q, NAND1Qneg
-\end{verbatim}
+\end{lstlisting}
\begin{LTXexample}[width=3cm](3,3.5)
\begin{pspicture}(-0.5,0)(2.5,3)
@@ -2526,9 +2550,9 @@ NAND1Q, NAND1Qneg
\vspace{0.5cm}
Now it is possible to draw a line from the output to the input
-\begin{verbatim}
+\begin{lstlisting}[style=syntax]
\ncbar[angleA=0,angleB=180]{<Node A>}{<Node B>}
-\end{verbatim}
+\end{lstlisting}
It may be easier to print a grid since the drawing phase and then comment it out if
all is finished.
@@ -2552,7 +2576,6 @@ all is finished.
\begin{LTXexample}[pos=t]
\begin{pspicture}(-1,0)(5,5)
- \psgrid
\psset{logicType=nor, logicLabelstyle=\normalsize,%
logicWidth=1, logicHeight=1.5, dotsize=0.15}
\logic(1.5,0){nor1}
@@ -2573,7 +2596,6 @@ all is finished.
\bigskip
\begin{LTXexample}[pos=t]
\begin{pspicture}(-4,0)(5,7)
- \psgrid
\psset{logicWidth=1, logicHeight=2, dotsize=0.15}
\logic[logicWireLength=0](-2,0){A0}
\logic[logicWireLength=0](-2,5){A1}
@@ -2598,11 +2620,6 @@ all is finished.
-
-
-
-
-
\section{Adding new components}
Adding new components is not simple. As a matter of fact, because of the complex
@@ -2652,18 +2669,11 @@ of \Lcs{pst@multidipole}, look for the last \Lcs{ifx} test
\begin{lstlisting}[language=TeX]
% ...
% Extract from \pst@multidipole
- \else
- \ifx\circledipole #4%
- \let\next\pst@multidipole@circledipole
- \else
- \ifx\LED #4%
- \let\next\pst@multidipole@LED
- \else
- % Put your modification here
- \let\next\ignorespaces
- \fi
- \fi
- \fi
+ \else\ifx\circledipole#4\let\next\pst@multidipole@circledipole
+ \else\ifx\LED #4\let\next\pst@multidipole@LED
+ \else % Put your modification here
+ \let\next\ignorespaces
+ \fi\fi\fi
% Extract form \pst@multidipole
% ...
\end{lstlisting}
@@ -2671,21 +2681,11 @@ and add (marked with \verb+%%%+)
\begin{lstlisting}[language=TeX]
% ...
% Extract from \pst@multidipole
- \else
- \ifx\circledipole #4%
- \let\next\pst@multidipole@circledipole
- \else
- \ifx\LED #4%
- \let\next\pst@multidipole@LED
- \else
- \ifx\component_name #4%%%
- \let\next\pst@multidipole@component_name%%%
- \else%%%
- \let\next\ignorespaces
- \fi%%%
- \fi
- \fi
- \fi
+ \else\ifx\circledipole #4\let\next\pst@multidipole@circledipole
+ \else\ifx\LED #4\let\next\pst@multidipole@LED
+ \else\ifx\component_name#4\let\next\pst@multidipole@component_name%%%
+ \else\let\next\ignorespaces
+ \fi\fi\fi\fi
% Extract form \pst@multidipole
% ...
\end{lstlisting}
@@ -2693,41 +2693,25 @@ Do the same in \verb+\pst@multidipole@+
\begin{lstlisting}[language=TeX]
% ...
% Extract from \pst@multidipole@
- \else
- \ifx\circledipole #1%
- \let\next\pst@multidipole@circledipole
- \else
- \ifx\LED #1%
- \let\next\pst@multidipole@LED
- \else
- \ifx\component_name #1%%%
- \let\next\pst@multidipole@component_name%%%
- \else%%%
- \let\next\ignorespaces
- \pst@multidipole@output
- \fi%%%
- \fi
- \fi
- \fi
+ \else\ifx\circledipole#1\let\next\pst@multidipole@circledipole
+ \else\ifx\LED #1\let\next\pst@multidipole@LED
+ \else\ifx\component_name#1\let\next\pst@multidipole@component_name%%%
+ \else\let\next\ignorespaces\pst@multidipole@output
+ \fi\fi\fi\fi
% Extract form \pst@multidipole@
% ...
\end{lstlisting}
and that's it! All you have to do then is send your modified \LFile{pst-circ.tex} to
me and it will become part of the official release of \LPack{pst-circ}.
-\textbf{Important:} Pay attention to the comment character \verb+%+
-at the end of lines. They are \emph{very} important in order to avoid spurious blanks.
-
-
-
\clearpage
-\section{List of all optional arguments for \texttt{pst-circ}}
+\section{List of all optional arguments for \texttt{pst-circ}}\label{sec:para}
+Note: the default for booleans is always false.
\xkvview{family=pst-circ,columns={key,type,default}}
-
\bgroup
\raggedright
\nocite{*}
@@ -2737,7 +2721,4 @@ at the end of lines. They are \emph{very} important in order to avoid spurious b
\printindex
-
-
-
\end{document}