diff options
author | Karl Berry <karl@freefriends.org> | 2014-07-23 22:05:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-07-23 22:05:08 +0000 |
commit | ad32167044ecf7374eaa397a2bc8f1b142f34c5c (patch) | |
tree | bd7f4247978534454d13f099f822b1048f3547c4 /Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | |
parent | f3e14f60640da99c60f8a344d2ce48d6cab12b8c (diff) |
pstricks-add (22jul14)
git-svn-id: svn://tug.org/texlive/trunk@34702 c570f23f-e606-0410-a88d-b1316a301751
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 | 56 |
1 files changed, 55 insertions, 1 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 ae7e83a0114..f45535b555e 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 933 2014-07-11 19:23:25Z herbert $ +%% $Id: pstricks-add-doc.tex 37 2014-07-22 13:52:12Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles @@ -1402,6 +1402,59 @@ of the special PostScript characters. \end{pspicture*} \end{LTXexample} +the following example was created by Patrice Mégret. + + +\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) +\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 +\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 +\psParallelLine[linewidth=1.5pt,arrows=->,linecolor=orange](0,0)(I1)(NIm1){-0.7}{NI1}\nbput{\tiny $-m\pmIc_2$}%m.I_2 +\pcline[linewidth=1.5pt,arrows=->,linecolor=orange](0,0)(NI1)\naput{\tiny $\pmIc_{1}$}%I_1 +\psParallelLine[linewidth=1.5pt,arrows=->,linecolor=blue](0,0)(NI1)(NUc){0.2}{NUd}\nbput{\tiny $R_1\pmIc_1$}%R_1 I_1 +\psRelLine[linewidth=1.5pt,arrows=->,angle=90,linecolor=blue](NUd)(NUc){-5}{NUe}\nbput{\tiny $j\omega L_{\sigma1}\pmIc_1$}%-j\omega I_2 +\pcline[linewidth=1.5pt,arrows=->,linecolor=blue](0,0)(NUe)\naput{$\pmUc_{1}$}%I_1 +\end{pspicture} + +\begin{lstlisting} +\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) +\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$} +\psRelLine[linewidth=1.5pt,arrows=->,angle=90](NUa)(U1){-5}{NUb}% + \nbput{\tiny $-j\omega L_{\sigma2}\pmIc_2$}%-j\omega I_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 +\psParallelLine[linewidth=1.5pt,arrows=->,linecolor=orange](0,0)(I1)(NIm1){-0.7}{NI1} + \nbput{\tiny $-m\pmIc_2$}%m.I_2 +\pcline[linewidth=1.5pt,arrows=->,linecolor=orange](0,0)(NI1)\naput{\tiny $\pmIc_{1}$}%I_1 +\psParallelLine[linewidth=1.5pt,arrows=->,linecolor=blue](0,0)(NI1)(NUc){0.2}{NUd} + \nbput{\tiny $R_1\pmIc_1$}%R_1 I_1 +\psRelLine[linewidth=1.5pt,arrows=->,angle=90,linecolor=blue](NUd)(NUc){-5}{NUe} + \nbput{\tiny $j\omega L_{\sigma1}\pmIc_1$}%-j\omega I_2 +\pcline[linewidth=1.5pt,arrows=->,linecolor=blue](0,0)(NUe)\naput{$\pmUc_{1}$}%I_1 +\end{pspicture} +\end{lstlisting} + %-------------------------------------------------------------------------------------- \section{\nxLcs{psIntersectionPoint}} @@ -5401,3 +5454,4 @@ This refers to all options of the packages \LPack{pstricks}, \end{document} + |