diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-21 21:38:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-21 21:38:48 +0000 |
commit | 91aa931525e507848d433e92ccbc6cbb537cc081 (patch) | |
tree | faad636d1536497c12d87ed7c8b0cdd8abe500c4 /Master/texmf-dist/doc/generic/pst-magneticfield | |
parent | 2b4c38730bdadc6587967470347fd61a7bdd4c6d (diff) |
pst-magneticfield (21jan19)
git-svn-id: svn://tug.org/texlive/trunk@49780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-magneticfield')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-magneticfield/Changes | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf (renamed from Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf) | bin | 29922691 -> 29875894 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex (renamed from Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex) | 24 |
3 files changed, 16 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes b/Master/texmf-dist/doc/generic/pst-magneticfield/Changes index 38ac4bcbc41..7db4a1f61a6 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/Changes @@ -3,6 +3,7 @@ pst-magneticfield.sty -------- pst-magneticfield.tex -------- +1.16 2019-01-21 - fix for linewidtht 1.15 2019-01-17 - added bar magnet 1.14 2011-05-01 - allow arrow definition for the current 1.13 2010-06-08 - fixed aspurious blank in \pstmageneticfield diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf Binary files differindex 9f418f3c532..3cb0021fa78 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex index 7332ee4e06d..cec15ab89c7 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pst-magneticfield-docEN.tex 912 2019-01-17 10:46:15Z herbert $ +%% $Id: pst-magneticfield-doc.tex 916 2019-01-20 19:52:57Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings, headexclude,footexclude,oneside]{pst-doc} \usepackage{pst-magneticfield} @@ -12,7 +12,7 @@ \newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}} \def\bgImage{} -\addbibresource{pst-magneticfield-doc.bib} +\addbibresource{\jobname.bib} \begin{document} @@ -588,45 +588,51 @@ Bar magnet and field can be put of the other by single commands: \begin{LTXexample} -\begin{pspicture*}[showgrid=false](-5,-8)(5,8) +\begin{pspicture*}[showgrid=false](-7,-8)(7,8) \psset{linecolor=blue} -\psscalebox{0.8 1.2}{\psmagneticfield[R=1,L=5,N=5,pointsS=200,nL=9,nS=0,PasB=0.1,numSpires=0](-8,-10)(8,10)} +\psscalebox{0.8 1.2}{\psmagneticfield[R=1,L=5,N=5,pointsS=200,nL=18,nS=0,PasB=0.1,numSpires=0](-8,-10)(8,10)} \rput(0,0){\psscalebox{2.2 3.0}{\psBarMagnet}} \end{pspicture*} \end{LTXexample} +\clearpage or by using the optional argument \Lkeyword{showField}: \begin{LTXexample} -\begin{pspicture*}(-5,-8)(5,8) +\begin{pspicture*}(-7,-8)(7,8) \psBarMagnet[showField](0,0) \end{pspicture*} \end{LTXexample} + +\clearpage + A rotation has to be done with the command \Lcs{rotatebox} from package \LPack{graphicx}: \begin{LTXexample} -\begin{pspicture*}(-5,-8)(5,8) +\begin{pspicture*}(-7,-8)(7,8) \rotatebox{180}{\psBarMagnet[showField](0,0)} \end{pspicture*} \end{LTXexample} +\clearpage + + Scaling is possible with the optional argument \Lkeyword{magnetscale} and all options which are valid for \begin{LTXexample} -\begin{pspicture*}(-5,-8)(5,8) -\psBarMagnet[showField,nL=18,magnetScale=1 1.5](0,0) +\begin{pspicture*}(-7,-8)(7,8) +\psBarMagnet[showField,magnetScale=1 2](0,0) \end{pspicture*} \end{LTXexample} - \clearpage \section{List of all optional arguments for \texttt{pst-magneticfield}} |