summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex
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/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex
parent0062f2dde6fe9e690fe436bff55f7edb88c78403 (diff)
pst-electricfield update (3jul10)
git-svn-id: svn://tug.org/texlive/trunk@19320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docEN.tex45
1 files changed, 23 insertions, 22 deletions
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}