summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-30 00:05:10 +0000
committerKarl Berry <karl@freefriends.org>2009-01-30 00:05:10 +0000
commit41385d6ac9ae8bcf6f4b97607babb55681255e43 (patch)
tree327270bdedfce5e96fa3512ce8be18303bd87b16 /Master/texmf-dist/doc
parent308a0af8573a8c98d928c70da0ae23af2a9efc9c (diff)
pst-circ update (29jan09)
git-svn-id: svn://tug.org/texlive/trunk@12010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.pdfbin520104 -> 526482 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-circ/pst-circ-doc.tex103
2 files changed, 79 insertions, 24 deletions
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 0b5a1e676aa..dd8513821bc 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 332d2a17772..d78873d2139 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 70 2008-12-22 13:03:24Z herbert $
+%% $Id: pst-circ-doc.tex 76 2009-01-18 21:21:52Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\usepackage[utf8]{inputenc}
@@ -21,7 +21,7 @@
\title{\texttt{pst-circ}}
\subtitle{A PSTricks package for drawing electric circuits; v.\pstCircFV}
\author{Christoph Jorssen \\Herbert Vo\ss}
-\docauthor{}
+\docauthor{Herbert Vo\ss}
\date{\today}
\maketitle
@@ -47,16 +47,19 @@ 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}
Thanks to: \\
-Rafal Bartczuk,
-Fran\c{c}ois Boone,
- Jean-C\^ome Charpentier,
- Patrick Drechsler,
- Manuel Luque,
- Ted Pavlic,
- Alan Ristow,
-Douglas Waud, and
-Richard Weissnar.
+\mbox{Rafal Bartczuk},
+\mbox{Fran\c{c}ois Boone},
+ \mbox{Jean-C\^ome Charpentier},
+ \mbox{Patrick Drechsler},
+ \mbox{Henning Heinze},
+ \mbox{Manuel Luque},
+ \mbox{Ted Pavlic},
+ \mbox{Alan Ristow},
+\mbox{Douglas Waud}, and
+\mbox{Richard Weissnar}.
+\endgroup
\end{abstract}
@@ -140,6 +143,18 @@ objects you are drawing.
\end{pspicture}
\end{LTXexample}
+
+
+\psset{griddots=10,subgriddiv=0}
+\begin{LTXexample}[width=3.5cm]
+\begin{pspicture}(3,2)\psgrid
+ \pnode(0,1){A}
+ \pnode(3,1){B}
+ \RFLine(A)(B){R}
+\end{pspicture}
+\end{LTXexample}
+
+
\begin{LTXexample}[width=3.5cm]
\begin{pspicture}(3,2)\psgrid
\pnode(0,1){A}
@@ -247,9 +262,8 @@ auto-connections should be done at PostScript level and not at PSTricks level. I
ideas, please mail us.}, so don't try to use tripole macros in strange situations!
-
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}[showgrid=true](5,3)
\pnode(0,0){A}
\pnode(0,3){B}
\pnode(5,1.5){C}
@@ -258,7 +272,7 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{LTXexample}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}[showgrid=true](5,3)
\pnode(0,0){A}
\pnode(0,3){B}
\pnode(5,1.5){C}
@@ -267,7 +281,23 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{LTXexample}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}[showgrid=true](3,4)
+\pnode(0,2){A}\pnode(3,1){B}
+\pnode(3,3){C}
+\transistor(A)(B)(C)
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[width=5.5cm]
+\begin{pspicture}[showgrid=true](3,4)
+\pnode(0,2){A}\pnode(3,1){B}
+\pnode(3,3){C}
+\transistor[transistortype=PNP](A)(B)(C)
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[width=5.5cm]
+\begin{pspicture}[showgrid=true](5,3)
\pnode(0,1.5){A}
\pnode(5,0){B}
\pnode(5,3){C}
@@ -276,7 +306,25 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{LTXexample}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}[showgrid=true](3,4)
+\pnode(0,2){A}\pnode(3,0.5){B}
+\pnode(3,3.5){C}
+\transistor[transistoriemitter=true,
+ basesep=1cm](A)(B)(C)
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[width=5.5cm]
+\begin{pspicture}[showgrid=true](3,4)
+\pnode(0,2){A}\pnode(3,1){B}
+\pnode(3,3){C}
+\transistor[transistorinvert,
+ basesep=1cm](A)(B)(C)
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[width=5.5cm]
+\begin{pspicture}[showgrid=true](5,3)
\pnode(0,1.5){A}\psset{linewidth=1pt}
\transistor[transistortype=PNP,basesep=2cm,
arrows=o-o](A){Emitter}{Collector}
@@ -286,8 +334,9 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\end{LTXexample}
+
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,2)\psgrid
+\begin{pspicture}[showgrid=true](5,2)
\pnode(0,2){A}
\pnode(5,2){B}
\pnode(0,0){C}
@@ -296,7 +345,7 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{LTXexample}
\begin{LTXexample}[width=3.5cm]
-\begin{pspicture}(3,3)\psgrid
+\begin{pspicture}[showgrid=true](3,3)
\pnode(0,1){A}
\pnode(3,1){B}
\pnode(3,2.25){C}
@@ -308,7 +357,7 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\subsubsection{Quadrupole macros}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,5)\psgrid
+\begin{pspicture}[showgrid=true](5,5)
\pnode(0,5){A}
\pnode(0,0){B}
\pnode(5,5){C}
@@ -318,7 +367,7 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{LTXexample}
\begin{LTXexample}[width=5.5cm]
-\begin{pspicture}(5,3)\psgrid
+\begin{pspicture}[showgrid=true](5,3)
\pnode(0,2.5){A}
\pnode(0,0.5){B}
\pnode(4,2.5){C}
@@ -327,10 +376,10 @@ ideas, please mail us.}, so don't try to use tripole macros in strange situation
\end{pspicture}
\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.}
@@ -338,8 +387,7 @@ after the last dipole.}
\bigskip
\begin{minipage}{7cm}
\begin{pspicture}[showgrid=true](7,7)
- \pnode(0,0){A}
- \pnode(7,7){B}
+ \pnode(0,0){A} \pnode(7,7){B}
\multidipole(A)(B)\resistor{$R$}%
\capacitor[linecolor=red]{$C$}%
\diode{$D$}{}\rnode{Dot2}{}.
@@ -355,6 +403,7 @@ after the last dipole.}
\verb+\end{pspicture}+
\end{minipage}
+
\bigskip
\ncangles[linestyle=dashed,linecolor=gray,nodesep=3pt,armA=.5cm,angleA=-90,armB=4cm,angleB=0]{->}{Dot}{Dot2}
Important: for the time being, \Lcs{multidipole} takes optional arguments but does not
@@ -402,6 +451,8 @@ restore original values. We recommand not using it.
\subsubsection{Label parameters}
+
+
\begin{LTXexample}[width=3.5cm]
\begin{pspicture}(3,1)\psgrid
\pnode(0,.5){A}
@@ -1357,7 +1408,7 @@ The following example was written by Christian Hoffmann.
Since for microwave signal, the direction in which the signal spreads is very important,
There are dipoleinput or tripoleinput or quadripoleinput and arrowinput parameters.
The value of theses parameters are left or right for the first one and true or false for second one.
-%
+
\xLcs{ifPst@inputarrow}\xLcs{pcline}
\begin{lstlisting}[style=code]
\ifPst@inputarrow
@@ -1374,6 +1425,10 @@ The value of theses parameters are left or right for the first one and true or f
\fi
\pcline[fillstyle=none,linestyle=none](#2)(#3)
\end{lstlisting}
+
+
+
+
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