summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-10 00:06:53 +0000
committerKarl Berry <karl@freefriends.org>2010-07-10 00:06:53 +0000
commitcb02a75d8a40f5c0f829fad0235477685f3591b8 (patch)
tree8061ee5de5620a60d41937a95281b9b580767ad6 /Master
parent0062f2dde6fe9e690fe436bff55f7edb88c78403 (diff)
pst-electricfield update (3jul10)
git-svn-id: svn://tug.org/texlive/trunk@19320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/README2
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-doc.bib1
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.pdfbin1260388 -> 2740822 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.tex73
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.pdfbin2648253 -> 2656046 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex45
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.pdfbin2732546 -> 2740170 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.tex55
-rw-r--r--Master/texmf-dist/source/generic/pst-electricfield/Makefile6
-rw-r--r--Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex3
-rw-r--r--Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf3
-rw-r--r--Master/texmf-dist/tex/generic/pst-electricfield/pst-electricfield.tex1
-rw-r--r--Master/texmf-dist/tex/latex/pst-electricfield/pst-electricfield.sty1
13 files changed, 107 insertions, 83 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/README b/Master/texmf-dist/doc/generic/pst-electricfield/README
index 6cfb61ebb0f..5b3858bbd62 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/README
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/README
@@ -18,8 +18,6 @@ ps2pdf. The pdf file is saved as yfile>-pdf.pdf.
When running the documentation in a traditional way, then
uncomment the line (in the preamble)
-%\newenvironment{postscript}{}{} % uncomment, when running with latex
-
You can also use the Makefile.latex to create all three languages
of the document, or alternatively Makefile.pst2pdf to create them
with png imgaes to get smaller file sizes.
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-doc.bib b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-doc.bib
index 14a8466e948..c273769cac4 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-doc.bib
@@ -1,4 +1,3 @@
-%% -*-bibtex-*-
@STRING{tugboat = {TUGboat} }
@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} }
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.pdf b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.pdf
index dfaba8bfff1..1e83530fedf 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.pdf
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.tex b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.tex
index 5a7397bf027..66a86881985 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.tex
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docDE.tex
@@ -1,12 +1,16 @@
-%% $Id: pst-electricfield-docDE.tex 342 2010-06-10 07:39:20Z herbert $
-\documentclass[11pt,english,french,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
+%% $Id: pst-electricfield-docDE.tex 354 2010-06-18 17:18:01Z herbert $
+\documentclass[11pt,english,ngerman,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\usepackage[latin1]{inputenc}
\usepackage{pst-electricfield}
+\let\pstEFfv\fileversion
\usepackage{pst-func}
\usepackage{pst-exa}% only when running pst2pdf
+%\let\PSTexample\LTXexample % when not running pst2pdf
+%\let\endPSTexample\endLTXexample % when not running pst2pdf
+
+
\usepackage{esint}
-\let\pstEFfv\fileversion
\lstset{pos=t,language=PSTricks,
morekeywords={psElectricfield,psEquipotential},basicstyle=\footnotesize\ttfamily}
\newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}}
@@ -276,11 +280,15 @@ oder
E_x=-\frac{\partial V}{\partial x}\\
E_y=-\frac{\partial V}{\partial y}
\end{align*}
+
\textbf{\"{A}quipotentiallinien}
+
\begin{equation*}
-V=\text{Cste}
+V=\text{Const}
\end{equation*}
+
\"{A}quipotentiallinien stehen stets senkrecht auf den Feldlinien.
+
\begin{equation*}
\frac{\text{d}y}{\text{d}x}=-\frac{E_x}{E_y}
\end{equation*}
@@ -312,24 +320,31 @@ Dies ist eine einfache Methode, jedoch mit einem nicht befriedigendenden Resulta
\section{Feldlinien}
-Das Zeichnen der Feldlininen wird mit dem Befehl \Lcs{psElectricfield}\OptArgs\ aufgerufen. Dieser besitzt folgende Parameter:
+Das Zeichnen der Feldlininen wird mit dem Befehl \Lcs{psElectricfield}\OptArgs\ aufgerufen.
+Dieser besitzt folgende Parameter:
\begin{enumerate}
- \item Die Ladungen, ihre Ortskoordinaten und die Anzahl der Linien, die von jeder einzelnen ausgeht (oder bei ihr endet) werden mit mit demselben Parameter aufgerufen $\mathsf{Q=\{[q_1\, x_1\, y_1\, N_1] [q_2\, x_2\, y_2\, N_2]\ldots[q_i\, x_i\, y_i\, N_i]\ldots [q_n\, x_n\, y_n\, N_n]\}}$. Die Anzahl der Linien ist hierbei optional -- wenn diese Angabe weggelassen wird, wird ein vordefinierter Wert \textsf{N=19} genommen, der sich aus 360/18=20\degres{} ergibt (zwischen zwei Feldlinien, die von jeder einzelnen Ladung ausgeht oder dort endet).
+ \item Die Ladungen, ihre Ortskoordinaten und die Anzahl der Linien, die von jeder einzelnen ausgeht (oder bei ihr endet) werden mit mit demselben Parameter aufgerufen $\mathsf{Q=\{[q_1\, x_1\, y_1\, N_1] [q_2\, x_2\, y_2\, N_2]\ldots[q_i\, x_i\, y_i\, N_i]\ldots [q_n\, x_n\, y_n\, N_n]\}}$. Die Anzahl der Linien ist hierbei optional -- wenn diese Angabe weggelassen wird, wird ein vordefinierter Wert \textsf{N=19} genommen, der sich aus
+ $360^\circ/18=20^\circ$ ergibt (zwischen zwei Feldlinien, die von jeder einzelnen Ladung ausgeht oder dort endet).
\item Die Farbe und Linienst\"{a}rke kann mit den g\"{a}ngigen Parametern von PSTricks gesetzt werden: \textsf{linecolor} und \textsf{linewidth}.
\item Die Anzahl der Berechnungspunkte einer jeden Linie ist vordefiniert mit \textsf{points=400} und die Schrittweite ist \textsf{Pas=0.025}. Sollten diese Voreinstellungen nicht optimal f\"{u}r eine Zeichnung sein, dann muss man sie \"{a}ndern.
\item Die Position eines Pfeils auf einer Feldlinie kann mit dem Parameter \textsf{posArrow=0.25} gesetzt werden, der das Verh\"{a}ltnis der Punktanzahl angibt, jeweils beginnend bei der Ladung.
\end{enumerate}
\section{\"{A}quipotentiallinien}
-Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEquipotential[options](xmin,ymin)(xmax,ymax)+. Die Option f\"{u}r die Ladungen \textsf{Q} ist dieselbe wie bei den Feldlinien, es ist jedoch \"{u}berfl\"{u}ssig~\textsf{N} anzugeben.
+Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet:
+
+\verb+\psEquipotential[options](xmin,ymin)(xmax,ymax)+.
+
+Die Option f\"{u}r die Ladungen \textsf{Q} ist dieselbe wie bei den Feldlinien, es ist jedoch \"{u}berfl\"{u}ssig~\textsf{N} anzugeben.
\begin{enumerate}
\item Man muss den Maximal- und Minimalwert des Potential vorab berechnen: \textsf{Vmax=3} und \textsf{Vmin=-1} sind die voreingestellten Werte.
\item Intervall zwischen zwei Werten des Potentials \textsf{stepV=0.5}, dies bestimmt die Anzahl der \"{A}quipotentiallinien.
\item Die Farbe und Linienst\"{a}rke kann mit den g\"{a}ngigen Parametern von PSTricks gesetzt werden: \textsf{linecolor} und \textsf{linewidth}.
\end{enumerate}
+\clearpage
\section{Beispiele}
-
-\begin{LTXexample}[pos=t]
+\xLcs{psElectricfield}\xLcs{psEquipotential}
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-6,-6)(6,6)
\psframe*[linecolor=lightgray!50](-6,-6)(6,6)
\psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
@@ -337,9 +352,10 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=blue](-6.1,-6.1)(6.1,6.1)
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=green,linewidth=2\pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t]
+\xLkeyword{Q}\xLkeyword{Vmin}\xLkeyword{Vmax}
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-6,-6)(6,6)
\psframe*[linecolor=lightgray!50](-6,-6)(6,6)
\psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
@@ -347,10 +363,11 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=blue](-6,-6)(6,6)
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=green,linewidth=2\pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t]
+\xLkeyword{Pas}\xLkeyword{points}\xLkeyword{posArrow}\xLkeyword{N}
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=lightgray!40](-5,-5)(5,5)
\psgrid[subgriddiv=0,gridcolor=lightgray,griddots=10]
@@ -358,11 +375,11 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psEquipotential[Q={[-1 -3 1][1 1 -3][-1 2 2]},linecolor=blue](-6,-6)(6,6)
\psEquipotential[Q={[-1 -3 1][1 1 -3][-1 2 2]},linecolor=green,Vmin=-5,Vmax=-5,linewidth=2\pslinewidth](-6,-6)(6,6)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -371,9 +388,9 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psEquipotential[Q={[1 -2 0][-1 2 0]},linecolor=blue](-5,-5)(5,5)
\psEquipotential[Q={[1 -2 0][-1 2 0]},linecolor=green,Vmin=0,Vmax=0](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -382,9 +399,9 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psEquipotential[Q={[1 -2 0][1 2 0]},linecolor=blue,Vmin=0,Vmax=20,stepV=2](-5,-5)(5,5)
\psEquipotential[Q={[1 -2 0][1 2 0]},linecolor=green,Vmin=9,Vmax=9](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-10,-5)(6,5)
\psframe*[linecolor=lightgray!40](-10,-5)(6,5)
@@ -395,9 +412,9 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\rput(0,0){\textcolor{white}{\large$-$}}
\multido{\rA=4.75+-0.5}{20}{\rput(-9.75,\rA){\textcolor{white}{\large$+$}}}
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-6,-5)(6,5)
@@ -405,9 +422,9 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psElectricfield[Q={[1 -2 -2][1 -2 2][1 2 2][1 2 -2]},linecolor={[HTML]{006633}}]
\psEquipotential[Q={[1 -2 -2][1 -2 2][1 2 2][1 2 -2]},Vmax=15,Vmin=0,stepV=1,linecolor=blue](-6,-6)(6,6)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -415,9 +432,9 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psElectricfield[Q={[1 2 0][1 1 1.732][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732]},linecolor=red]
\psEquipotential[Q={[1 2 0][1 1 1.732 12][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732]},linecolor=blue,Vmax=50,Vmin=0,stepV=5](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -425,9 +442,9 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psElectricfield[Q={[1 2 0][1 1 1.732][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732][-1 0 0]},linecolor=red]
\psEquipotential[Q={[1 2 0][1 1 1.732 12][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732][-1 0 0]},Vmax=40,Vmin=-10,stepV=5,linecolor=blue](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-6,-5)(6,5)
\psframe*[linecolor=green!20](-6,-5)(6,5)
@@ -435,7 +452,7 @@ Die \"{A}quipotentiallinien werden mit folgendem Befehl gezeichnet: \verb+\psEqu
\psElectricfield[Q={[1 -4 0][1 -2 0 12][1 0 0][1 2 0][1 4 0]},linecolor=red]
\psEquipotential[Q={[1 -4 0][1 -2 0][1 0 0][1 2 0][1 4 0]},linecolor=blue,Vmax=30,Vmin=0,stepV=2](-7,-5)(7,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.pdf b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.pdf
index 404bfd094b4..f09d3d8ca9d 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.pdf
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex
index 1aab052e4bf..07730861d0e 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex
@@ -3,14 +3,15 @@
headexclude,footexclude,oneside]{pst-doc}
\usepackage[latin1]{inputenc}
\usepackage{pst-electricfield}
+\let\pstEFfv\fileversion
-\usepackage{pst-electricfield}
\usepackage{pst-func}
\usepackage{pst-exa}% only when running pst2pdf
+%\let\PSTexample\LTXexample % when not running pst2pdf
+%\let\endPSTexample\endLTXexample % when not running pst2pdf
\usepackage{esint}
-\let\pstEFfv\fileversion
\lstset{pos=t,language=PSTricks,
morekeywords={psElectricfield,psEquipotential},basicstyle=\footnotesize\ttfamily}
\newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}}
@@ -197,7 +198,7 @@ The superposition is perfect, but the method of implicit function is quite slow.
\section{Examples}
-\begin{LTXexample}[pos=t]
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-6,-6)(6,6)
\psframe*[linecolor=lightgray!50](-6,-6)(6,6)
\psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
@@ -205,9 +206,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=blue](-6.1,-6.1)(6.1,6.1)
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=green,linewidth=2\pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t]
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-6,-6)(6,6)
\psframe*[linecolor=lightgray!50](-6,-6)(6,6)
\psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
@@ -215,10 +216,10 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=blue](-6,-6)(6,6)
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=green,linewidth=2\pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t]
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=lightgray!40](-5,-5)(5,5)
\psgrid[subgriddiv=0,gridcolor=lightgray,griddots=10]
@@ -226,11 +227,11 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psEquipotential[Q={[-1 -3 1][1 1 -3][-1 2 2]},linecolor=blue](-6,-6)(6,6)
\psEquipotential[Q={[-1 -3 1][1 1 -3][-1 2 2]},linecolor=green,Vmin=-5,Vmax=-5,linewidth=2\pslinewidth](-6,-6)(6,6)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -239,9 +240,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psEquipotential[Q={[1 -2 0][-1 2 0]},linecolor=blue](-5,-5)(5,5)
\psEquipotential[Q={[1 -2 0][-1 2 0]},linecolor=green,Vmin=0,Vmax=0](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -250,9 +251,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psEquipotential[Q={[1 -2 0][1 2 0]},linecolor=blue,Vmin=0,Vmax=20,stepV=2](-5,-5)(5,5)
\psEquipotential[Q={[1 -2 0][1 2 0]},linecolor=green,Vmin=9,Vmax=9](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-10,-5)(6,5)
\psframe*[linecolor=lightgray!40](-10,-5)(6,5)
@@ -263,9 +264,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\rput(0,0){\textcolor{white}{\large$-$}}
\multido{\rA=4.75+-0.5}{20}{\rput(-9.75,\rA){\textcolor{white}{\large$+$}}}
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-6,-5)(6,5)
@@ -273,9 +274,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psElectricfield[Q={[1 -2 -2][1 -2 2][1 2 2][1 2 -2]},linecolor={[HTML]{006633}}]
\psEquipotential[Q={[1 -2 -2][1 -2 2][1 2 2][1 2 -2]},Vmax=15,Vmin=0,stepV=1,linecolor=blue](-6,-6)(6,6)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -283,9 +284,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psElectricfield[Q={[1 2 0][1 1 1.732][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732]},linecolor=red]
\psEquipotential[Q={[1 2 0][1 1 1.732 12][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732]},linecolor=blue,Vmax=50,Vmin=0,stepV=5](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -293,9 +294,9 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psElectricfield[Q={[1 2 0][1 1 1.732][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732][-1 0 0]},linecolor=red]
\psEquipotential[Q={[1 2 0][1 1 1.732 12][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732][-1 0 0]},Vmax=40,Vmin=-10,stepV=5,linecolor=blue](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-6,-5)(6,5)
\psframe*[linecolor=green!20](-6,-5)(6,5)
@@ -303,7 +304,7 @@ The superposition is perfect, but the method of implicit function is quite slow.
\psElectricfield[Q={[1 -4 0][1 -2 0 12][1 0 0][1 2 0][1 4 0]},linecolor=red]
\psEquipotential[Q={[1 -4 0][1 -2 0][1 0 0][1 2 0][1 4 0]},linecolor=blue,Vmax=30,Vmin=0,stepV=2](-7,-5)(7,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.pdf b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.pdf
index 135289389e6..a7be3b5b412 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.pdf
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.tex b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.tex
index 921a3513ae6..7290e8ee1b4 100644
--- a/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.tex
+++ b/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.tex
@@ -1,16 +1,18 @@
-%% $Id: pst-electricfield-docFR.tex 336 2010-05-29 18:38:59Z herbert $
+%% $Id: pst-electricfield-docFR.tex 354 2010-06-18 17:18:01Z herbert $
\documentclass[11pt,english,french,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\usepackage[latin1]{inputenc}
\usepackage{pst-electricfield}
\usepackage{pst-electricfield}
+\let\pstEFfv\fileversion
\usepackage{pst-func}
\usepackage{pst-exa}% only when running pst2pdf
-\usepackage{esint}
+%\let\PSTexample\LTXexample % when not running pst2pdf
+%\let\endPSTexample\endLTXexample % when not running pst2pdf
+\usepackage{esint}
-\let\pstEFfv\fileversion
\lstset{pos=t,language=PSTricks,
morekeywords={psElectricfield,psEquipotential},basicstyle=\footnotesize\ttfamily}
\newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}}
@@ -307,7 +309,8 @@ Les équipotentielles sont orthogonales aux lignes de champ.
\begin{equation*}
\frac{\text{d}y}{\text{d}x}=-\frac{E_x}{E_y}
\end{equation*}
-C'est une \'{e}quation différentielle d'ordre 1. On utilise encore : \verb!\psplotDiffEqn! pour tracer les équipotentielles.
+C'est une \'{e}quation différentielle d'ordre 1. On utilise encore : \verb!\psplotDiffEqn! pour
+tracer les équipotentielles.
\begin{verbatim}
\pstVerb{%
/q1 1 def
@@ -351,7 +354,8 @@ Elles se tracent avec la commande : \verb+\psElectricfield[options]+, les paramè
relation, il suffit de positionner le booléen \textsf{chargeradius} à \textsf{false} : \textsf{chargeradius=false}. Le rayon de la charge est lié à \textsf{runit}, c'est donc cette valeur qu'il faudra modifier pour agrandir ou diminuer ce rayon.
\end{enumerate}
\section{Les équipotentielles}
-Elles se tracent avec la commande : \Lcs{psEquipotential}[options](xmin,ymin)(xmax,ymax)+. Les options de charge comprennent
+Elles se tracent avec la commande : \Lcs{psEquipotential}[options](xmin,ymin)(xmax,ymax)+. Les options
+de charge comprennent
les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'indiquer~\textsf{N}.
\begin{enumerate}
\item Il faut prévoir les valeurs maximale et minimale du potentiel : \textsf{Vmax=3} et \textsf{Vmin=-1} : valeurs par défaut.
@@ -363,9 +367,10 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\textsf{Vmax=0} et \textsf{Vmin=0} et de choisir une couleur différente des autres.
\end{enumerate}
+\clearpage
\section{Exemples}
-\begin{LTXexample}[pos=t]
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-6,-6)(6,6)
\psframe*[linecolor=lightgray!50](-6,-6)(6,6)
\psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
@@ -373,9 +378,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=blue](-6.1,-6.1)(6.1,6.1)
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=green,linewidth=2\pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t]
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-6,-6)(6,6)
\psframe*[linecolor=lightgray!50](-6,-6)(6,6)
\psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
@@ -383,10 +388,10 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=blue](-6,-6)(6,6)
\psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=green,linewidth=2\pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t]
+\begin{PSTexample}[pos=t]
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=lightgray!40](-5,-5)(5,5)
\psgrid[subgriddiv=0,gridcolor=lightgray,griddots=10]
@@ -394,11 +399,11 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psEquipotential[Q={[-1 -3 1][1 1 -3][-1 2 2]},linecolor=blue](-6,-6)(6,6)
\psEquipotential[Q={[-1 -3 1][1 1 -3][-1 2 2]},linecolor=green,Vmin=-5,Vmax=-5,linewidth=2\pslinewidth](-6,-6)(6,6)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -407,9 +412,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psEquipotential[Q={[1 -2 0][-1 2 0]},linecolor=blue](-5,-5)(5,5)
\psEquipotential[Q={[1 -2 0][-1 2 0]},linecolor=green,Vmin=0,Vmax=0](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -418,9 +423,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psEquipotential[Q={[1 -2 0][1 2 0]},linecolor=blue,Vmin=0,Vmax=20,stepV=2](-5,-5)(5,5)
\psEquipotential[Q={[1 -2 0][1 2 0]},linecolor=green,Vmin=9,Vmax=9](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-10,-5)(6,5)
\psframe*[linecolor=lightgray!40](-10,-5)(6,5)
@@ -431,9 +436,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\rput(0,0){\textcolor{white}{\large$-$}}
\multido{\rA=4.75+-0.5}{20}{\rput(-9.75,\rA){\textcolor{white}{\large$+$}}}
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-6,-5)(6,5)
@@ -441,9 +446,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psElectricfield[Q={[1 -2 -2][1 -2 2][1 2 2][1 2 -2]},linecolor={[HTML]{006633}}]
\psEquipotential[Q={[1 -2 -2][1 -2 2][1 2 2][1 2 -2]},Vmax=15,Vmin=0,stepV=1,linecolor=blue](-6,-6)(6,6)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -451,9 +456,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psElectricfield[Q={[1 2 0][1 1 1.732][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732]},linecolor=red]
\psEquipotential[Q={[1 2 0][1 1 1.732 12][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732]},linecolor=blue,Vmax=50,Vmin=0,stepV=5](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-5,-5)(5,5)
\psframe*[linecolor=green!20](-5,-5)(5,5)
@@ -461,9 +466,9 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psElectricfield[Q={[1 2 0][1 1 1.732][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732][-1 0 0]},linecolor=red]
\psEquipotential[Q={[1 2 0][1 1 1.732 12][1 -1 1.732][1 -2 0][1 -1 -1.732][1 1 -1.732][-1 0 0]},Vmax=40,Vmin=-10,stepV=5,linecolor=blue](-5,-5)(5,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
-\begin{LTXexample}[pos=t,vsep=5mm]
+\begin{PSTexample}[pos=t,vsep=5mm]
\psset{unit=0.75cm}
\begin{pspicture*}(-6,-5)(6,5)
\psframe*[linecolor=green!20](-6,-5)(6,5)
@@ -471,7 +476,7 @@ les mêmes paramètres \textsf{Q} que pour les lignes de champ, il est inutile d'i
\psElectricfield[Q={[1 -4 0][1 -2 0 12][1 0 0][1 2 0][1 4 0]},linecolor=red]
\psEquipotential[Q={[1 -4 0][1 -2 0][1 0 0][1 2 0][1 4 0]},linecolor=blue,Vmax=30,Vmin=0,stepV=2](-7,-5)(7,5)
\end{pspicture*}
-\end{LTXexample}
+\end{PSTexample}
\clearpage
diff --git a/Master/texmf-dist/source/generic/pst-electricfield/Makefile b/Master/texmf-dist/source/generic/pst-electricfield/Makefile
index ecb4d158cd3..b3b7ea7a91a 100644
--- a/Master/texmf-dist/source/generic/pst-electricfield/Makefile
+++ b/Master/texmf-dist/source/generic/pst-electricfield/Makefile
@@ -1,5 +1,6 @@
+# $Id: Makefile 354 2010-06-18 17:18:01Z herbert $
-# `Makefile' for `pst-magneticfield.pdf', Rolf Niepraschk, 2010/05/21
+# `Makefile' for `pst-electricfield.pdf', Rolf Niepraschk, 2010/05/21
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .pro
@@ -19,8 +20,7 @@ TDS = ~/PSTricks/PSTricks-TDS
LATEX = pst2pdf
PDFLATEX = pdflatex
-OPTIONS= --Iext=.png --Iscale=0.5 --DPI=150
-#--noImages
+OPTIONS= --Iext=.png --Iscale=0.5 --DPI=150 --noImages
ARCHNAME = $(PACKAGE)-$(shell date +%Y%m%d)
diff --git a/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex
index c2f5fb548b9..3ff18a4b713 100644
--- a/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex
+++ b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex
@@ -1,5 +1,6 @@
+# $Id: Makefile.latex 351 2010-06-18 05:47:11Z herbert $
-# `Makefile' for `pst-electricfield-doc.pdf', hv, 201?/??/??
+# `Makefile' for `pst-electricfield-doc.pdf', hv/RN 2010/06/12
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .pro
diff --git a/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf
index ecb4d158cd3..e32ab64ebab 100644
--- a/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf
+++ b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf
@@ -1,5 +1,6 @@
+# $Id: Makefile.pst2pdf 351 2010-06-18 05:47:11Z herbert $
-# `Makefile' for `pst-magneticfield.pdf', Rolf Niepraschk, 2010/05/21
+# `Makefile' , hv/Rolf Niepraschk, 2010/05/21
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .pro
diff --git a/Master/texmf-dist/tex/generic/pst-electricfield/pst-electricfield.tex b/Master/texmf-dist/tex/generic/pst-electricfield/pst-electricfield.tex
index d4fae4a2202..72095ebb09d 100644
--- a/Master/texmf-dist/tex/generic/pst-electricfield/pst-electricfield.tex
+++ b/Master/texmf-dist/tex/generic/pst-electricfield/pst-electricfield.tex
@@ -1,3 +1,4 @@
+% $Id: pst-electricfield.tex 351 2010-06-18 05:47:11Z herbert $
%% Package `pst-electricfield.tex'
%%
%% Manuel Luque
diff --git a/Master/texmf-dist/tex/latex/pst-electricfield/pst-electricfield.sty b/Master/texmf-dist/tex/latex/pst-electricfield/pst-electricfield.sty
index ebfe4b8fa6b..5ec57b4a2d9 100644
--- a/Master/texmf-dist/tex/latex/pst-electricfield/pst-electricfield.sty
+++ b/Master/texmf-dist/tex/latex/pst-electricfield/pst-electricfield.sty
@@ -9,3 +9,4 @@
\ProvidesFile{pst-electricfield.tex}
[\filedate\space v\fileversion\space `pst-electricfield' (ml&jg&pm&hv)]
\endinput
+% $Id: pst-electricfield.sty 351 2010-06-18 05:47:11Z herbert $