From cb02a75d8a40f5c0f829fad0235477685f3591b8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 10 Jul 2010 00:06:53 +0000 Subject: pst-electricfield update (3jul10) git-svn-id: svn://tug.org/texlive/trunk@19320 c570f23f-e606-0410-a88d-b1316a301751 --- .../pst-electricfield/pst-electricfield-docFR.tex | 55 ++++++++++++---------- 1 file changed, 30 insertions(+), 25 deletions(-) (limited to 'Master/texmf-dist/doc/generic/pst-electricfield/pst-electricfield-docFR.tex') 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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 -- cgit v1.2.3