diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex index f45535b555e..fdc449c34ee 100644 --- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex +++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pstricks-add-doc.tex 37 2014-07-22 13:52:12Z herbert $ +%% $Id: pstricks-add-doc.tex 101 2014-09-02 14:37:17Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles @@ -1404,18 +1404,18 @@ of the special PostScript characters. the following example was created by Patrice Mégret. - +\psset{unit=1cm} \newcommand\pmsc[1]{\ensuremath{\underline{#1}}} \newcommand\pmIc{\pmsc{I}} \newcommand\pmUc{\pmsc{U}} \newcommand\pmEc{\pmsc{E}} -\begin{pspicture}[showgrid=true](-5,-5)(5,8) +\begin{pspicture}[showgrid=true](-5,-2)(3,8) \psStartPoint[I](0,0) \psVector[linewidth=1.5pt,linecolor=red](1.5;235)\ncput*{$\pmIc_2$}%I_2 \psStartPoint[U](0,0) \psVector[linewidth=1.5pt](2;90)\ncput*{$\pmUc_2$}%U_2 \psParallelLine[linewidth=1.5pt,arrows=->](0,0)(I1)(U1){-0.3}{NUa}\nbput{\tiny $-R_2\pmIc_2$}%-R_2.I_2 -\psRelLine[linewidth=1.5pt,arrows=->,angle=90](NUa)(U1){-5}{NUb}\nbput{\tiny $-j\omega L_{\sigma2}\pmIc_2$}%-j\omega I_2 +\psRelLine[linewidth=1.5pt,arrows=->,angle=90](NUa)(U1){-5}{NUb}\nbput{\tiny $-j\omega L_{\sigma2}\pmIc_2$} %$ \pcline[linewidth=3.5pt,arrows=->](0,0)(NUb)\naput{$\pmEc_2$}%E_2 \psParallelLine[linewidth=1.5pt,arrows=->,linecolor=blue](0,0)(NUb)(0,0){1.428}{NUc}\nbput[npos=0.8]{$\pmEc_1$}%E_1 (m=0.7) \psRelLine[linewidth=1.5pt,arrows=->,angle=-85,linecolor=orange](0,0)(NUc){0.2}{NIm1}\nbput{\tiny $\pmIc_{m1}$}%I_m1 @@ -1426,12 +1426,15 @@ the following example was created by Patrice Mégret. \pcline[linewidth=1.5pt,arrows=->,linecolor=blue](0,0)(NUe)\naput{$\pmUc_{1}$}%I_1 \end{pspicture} -\begin{lstlisting} +%$ + + +\begin{lstlisting}[basicstyle=\footnotesize\ttfamily] \newcommand\pmsc[1]{\ensuremath{\underline{#1}}} \newcommand\pmIc{\pmsc{I}} \newcommand\pmUc{\pmsc{U}} \newcommand\pmEc{\pmsc{E}} -\begin{pspicture}[showgrid=true](-5,-5)(5,8) +\begin{pspicture}[showgrid=true](-5,-2)(3,8) \psStartPoint[I](0,0) \psVector[linewidth=1.5pt,linecolor=red](1.5;235)\ncput*{$\pmIc_2$}%I_2 \psStartPoint[U](0,0) |