From 1fb9705daf98649849d539998e507620ee668570 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 1 Jul 2016 22:04:36 +0000 Subject: mandi (1jul16) git-svn-id: svn://tug.org/texlive/trunk@41598 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mandi/mandi.pdf | Bin 1274514 -> 1277991 bytes Master/texmf-dist/source/latex/mandi/mandi.dtx | 105 ++++++++++++++++--------- Master/texmf-dist/tex/latex/mandi/mandi.sty | 9 ++- 3 files changed, 77 insertions(+), 37 deletions(-) diff --git a/Master/texmf-dist/doc/latex/mandi/mandi.pdf b/Master/texmf-dist/doc/latex/mandi/mandi.pdf index 02030e5f658..7fd099d3fe3 100644 Binary files a/Master/texmf-dist/doc/latex/mandi/mandi.pdf and b/Master/texmf-dist/doc/latex/mandi/mandi.pdf differ diff --git a/Master/texmf-dist/source/latex/mandi/mandi.dtx b/Master/texmf-dist/source/latex/mandi/mandi.dtx index edc1e9747a3..b885828e801 100644 --- a/Master/texmf-dist/source/latex/mandi/mandi.dtx +++ b/Master/texmf-dist/source/latex/mandi/mandi.dtx @@ -32,7 +32,7 @@ % % %<*package> -\ProvidesPackage{mandi}[2016/06/29 2.6.0 Macros for physics and astronomy] +\ProvidesPackage{mandi}[2016/06/30 2.6.1 Macros for physics and astronomy] \NeedsTeXFormat{LaTeX2e}[1999/12/01] % % @@ -125,7 +125,7 @@ while 1: % package is indexed. There may be commands similar to indexed commands % described in relevant parts of the documentation.} % -% \CheckSum{6353} +% \CheckSum{6357} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -281,6 +281,8 @@ while 1: % \changes{v2.4.0}{2014/12/19}{Removed compatibility check for the \pkgname{physymb} % package.} % \changes{v2.6.0}{2016/05/20}{Documented \cs{mandiversion}.} +% \changes{v2.6.1}{2016/06/30}{Fixed \cs{mandiversion} so it displays correctly +% in math mode.} % %\iffalse %<*example> @@ -297,6 +299,7 @@ Gives the current package version number and build date. % % \changes{v2.6.0}{2016/05/16}{Extensive revisions to documentation.} % \changes{v2.6.0}{2016/05/02}{Created a student guide.} +% \changes{v2.6.1}{2016/06/30}{Fixed errors in Student Quick Guide documentation.} % \newpage % \section{Student Quick Guide} % Use \refCom{vect} to put an arrow over a symbol to make it the symbol for a vector. @@ -434,11 +437,11 @@ Gives the current package version number and build date. %\fi \begin{docCommand}{genericinteractionplaces} {\marg{const}\marg{thing1}\marg{thing2}\marg{dist}\marg{direction}} -Command for generic expression for an inverse square interaction. The required -arguments are, from left to right, a constant of proportionality, a physical -property of object 1, a physical property of object 2, the objects' mutual -separation, and a vector direction. In practice, these should all be provided -in numerical form. +Command for generic expression for an inverse square interaction. The five +required arguments are, from left to right, a constant of proportionality, a +physical property of object 1, a physical property of object 2, the objects' +mutual separation, and a vector direction. In practice, these should all be +provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \genericinteractionplaces{}{}{}{}{} @@ -452,13 +455,13 @@ in numerical form. %\fi \begin{docCommand}{genericfieldofparticleplaces} {\marg{const}\marg{thing}\marg{dist}\marg{direction}} -Command for generic expression for an inverse square field. The required +Command for generic expression for an inverse square field. The four required arguments are, from left to right, a constant of proportionality, a physical property, relative distance to field point, and a vector direction. In practice, these should all be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} -\genericfieldofparticleplaces{}{}{}{}{} +\genericfieldofparticleplaces{}{}{}{} \end{dispExample*} %\iffalse % @@ -469,13 +472,13 @@ these should all be provided in numerical form. %\fi \begin{docCommand}{genericpotentialenergyplaces} {\marg{const}\marg{thing1}\marg{thing2}\marg{dist}} -Command for generic expression for an inverse square energy. The required +Command for generic expression for an inverse square energy. The four required arguments are, from left to right, a constant of proportionality, a physical property of object 1, a physical property of object 2, and the objects' mutual separation. In practice, these should all be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} -\genericpotentialenergyplaces{}{}{}{}{} +\genericpotentialenergyplaces{}{}{}{} \end{dispExample*} %\iffalse % @@ -486,7 +489,10 @@ separation. In practice, these should all be provided in numerical form. %\fi \begin{docCommand}{gravitationalinteractionplaces} {\marg{mass1}\marg{mass2}\marg{distance}\marg{direction}} -Command for gravitational interaction. +Command for gravitational interaction. The four required arguments are, from +left to right, the first object's mass, the second object's mass, the objects' +mutual separation, and a vector direction. In practice, these should all be +provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \gravitationalinteractionplaces{}{}{}{} @@ -500,7 +506,10 @@ Command for gravitational interaction. %\fi \begin{docCommand}{gfieldofparticleplaces} {\marg{mass}\marg{distance}\marg{direction}} -Command for gravitational field of a particle. +Command for gravitational field of a particle. The three required arguments are, +from left to right, the object's mass, the distance from the source to the field +point, and a vector direction. In practice, these should all be provided in +numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \gfieldofparticleplaces{}{}{} @@ -514,7 +523,10 @@ Command for gravitational field of a particle. %\fi \begin{docCommand}{gravitationalpotentialenergyplaces} {\marg{mass1}\marg{mass2}\marg{distance}} -Command for gravitational potential energy. +Command for gravitational potential energy. The three required arguments are, +from left to right, the first object's mass, the second object's mass, and +the object's mutual distance. In practice, these should all be provided in +numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \gravitationalpotentialenergyplaces{}{}{} @@ -528,7 +540,9 @@ Command for gravitational potential energy. %\fi \begin{docCommand}{springinteractionplaces} {\marg{stiffness}\marg{stretch}\marg{direction}} -Command for a spring interaction. +Command for a spring interaction. The three required arguments are, from left +to right, the spring stiffness, the spring's stretch, and a vector direction. +In practice, these should all be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \springinteractionplaces{}{}{} @@ -542,7 +556,9 @@ Command for a spring interaction. %\fi \begin{docCommand}{springpotentialenergyplaces} {\marg{stiffness}\marg{stretch}} -Command for spring potential energy. +Command for spring potential energy. The two required arguments are, from left +to right, the spring stiffness and the spring stretch. In practice, these should +be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \springpotentialenergyplaces{}{} @@ -556,10 +572,10 @@ Command for spring potential energy. %\fi \begin{docCommand}{genericelectricdipoleonaxisplaces} {\marg{const}\marg{charge}\marg{separation}\marg{dist}\marg{direction}} -Command for generic expression for dipole field on the dipole's axis. The required -arguments are, from left to right, a constant of proportionality, a charge, a dipole -separation, the distance to the field point, and a vector direction. In practice, -these should all be provided in numerical form. +Command for generic expression for dipole field on the dipole's axis. The five +required arguments are, from left to right, a constant of proportionality, a charge, +a dipole separation, the distance to the field point, and a vector direction. In +practice, these should all be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \genericelectricdipoleonaxisplaces{}{}{}{}{} @@ -573,10 +589,10 @@ these should all be provided in numerical form. %\fi \begin{docCommand}{genericelectricdipoleplaces} {\marg{const}\marg{charge}\marg{separation}\marg{dist}\marg{direction}} -Command for generic expression for dipole field. The required arguments are, from -left to right, a constant of proportionality, a charge, a dipole separation, the -distance to the field point, and a vector direction. In practice, these should all -be provided in numerical form. +Command for generic expression for dipole field. The five required arguments are, +from left to right, a constant of proportionality, a charge, a dipole separation, +the distance to the field point, and a vector direction. In practice, these should +all be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \genericelectricdipoleplaces{}{}{}{}{} @@ -590,7 +606,10 @@ be provided in numerical form. %\fi \begin{docCommand}{electricinteractionplaces} {\marg{charge1}\marg{charge2}\marg{distance}\marg{direction}} -Command for electric interaction. +Command for electric interaction. The four required arguments are, from left to +right, the first object's charge, the second object's charge, the objects' mutual +separation, and a vector direction. In practice, these should all be provided in +numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \electricinteractionplaces{}{}{}{} @@ -604,7 +623,10 @@ Command for electric interaction. %\fi \begin{docCommand}{Efieldofparticleplaces} {\marg{charge}\marg{distance}\marg{direction}} -Command for electric field of a particle. +Command for electric field of a particle. The three required argument are, from +left to right, the particle's charge, the distance form the source to the field +point, and a vector direction. In practice, these should all be provided in +numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \Efieldofparticleplaces{}{}{} @@ -618,7 +640,11 @@ Command for electric field of a particle. %\fi \begin{docCommand}{Bfieldofparticleplaces} {\marg{charge}\marg{magvel}\marg{magr}\marg{vhat}\marg{rhat}} -Command for magnetic field of a particle. +Command for magnetic field of a particle. The five required arguments are, from +left to right, the particle's charge, the particle's velocity, the distance from +the source to the field point, the velocity's direction, and a direction vector +from the source to the field point. In practice, these should all be provided in +numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \Bfieldofparticleplaces{}{}{}{}{} @@ -632,7 +658,10 @@ Command for magnetic field of a particle. %\fi \begin{docCommand}{electricpotentialenergyplaces} {\marg{charge1}\marg{charge2}\marg{distance}} -Command for electric potential energy. +Command for electric potential energy. The three required arguments are, from +left to right, the first object's charge, the second object's charge, and the +objects' mutual distance. In practice, these should all be provided in numerical +form. \end{docCommand} \begin{dispExample*}{sidebyside} \electricpotentialenergyplaces{}{}{} @@ -646,9 +675,10 @@ Command for electric potential energy. %\fi \begin{docCommand}{electricdipoleonaxisplaces} {\marg{charge}\marg{separation}\marg{dist}\marg{direction}} -Command for dipole electric field on the dipole's axis. The required arguments are, -from left to right, a charge, a dipole separation, the distance to the field point, -and a vector direction. In practice, these should all be provided in numerical form. +Command for dipole electric field on the dipole's axis. The four required arguments +are, from left to right, a charge, a dipole separation, the distance to the field +point, and a vector direction. In practice, these should all be provided in numerical +form. \end{docCommand} \begin{dispExample*}{sidebyside} \electricdipoleonaxisplaces{}{}{}{} @@ -662,9 +692,9 @@ and a vector direction. In practice, these should all be provided in numerical f %\fi \begin{docCommand}{electricdipoleonbisectorplaces} {\marg{charge}\marg{separation}\marg{dist}\marg{direction}} -Command for dipole electric field. The required arguments are, from left to right, -a charge, a dipole separation, the distance to the field point, and a vector -direction. In practice, these should all be provided in numerical form. +Command for dipole electric field. The four required arguments are, from left +to right, a charge, a dipole separation, the distance to the field point, and +a vector direction. In practice, these should all be provided in numerical form. \end{docCommand} \begin{dispExample*}{sidebyside} \electricdipoleonbisectorplaces{}{}{}{} @@ -9351,7 +9381,12 @@ Command for QED symbol. % \end{macrocode} % % \begin{macrocode} -\newcommand*{\mandiversion}{2.6.0 dated 2016/06/29} +\newcommand*{\mandiversion}{\ifmmode% + 2.6.1\mbox{ dated }2016/06/30% + \else% + 2.6.1 dated 2016/06/30% + \fi + }% \typeout{mandi: You're using mandi version \mandiversion.} % \end{macrocode} % diff --git a/Master/texmf-dist/tex/latex/mandi/mandi.sty b/Master/texmf-dist/tex/latex/mandi/mandi.sty index d2e819cb89a..e0a8922ae84 100644 --- a/Master/texmf-dist/tex/latex/mandi/mandi.sty +++ b/Master/texmf-dist/tex/latex/mandi/mandi.sty @@ -28,7 +28,7 @@ %% vdemo.py. %% --------------------------------------------------------------------------- %% -\ProvidesPackage{mandi}[2016/06/29 2.6.0 Macros for physics and astronomy] +\ProvidesPackage{mandi}[2016/06/30 2.6.1 Macros for physics and astronomy] \NeedsTeXFormat{LaTeX2e}[1999/12/01] \RequirePackage{amsmath} @@ -120,7 +120,12 @@ \DeclareOption{approxconsts}{\setboolean{@optapproxconsts}{true}} \DeclareOption{useradians}{\setboolean{@optuseradians}{true}} \ProcessOptions\relax -\newcommand*{\mandiversion}{2.6.0 dated 2016/06/29} +\newcommand*{\mandiversion}{\ifmmode% + 2.6.1\mbox{ dated }2016/06/30% + \else% + 2.6.1 dated 2016/06/30% + \fi + }% \typeout{mandi: You're using mandi version \mandiversion.} \@ifpackageloaded{amssymb}{% \csundef{square} -- cgit v1.2.3