summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-07 22:51:54 +0000
committerKarl Berry <karl@freefriends.org>2010-04-07 22:51:54 +0000
commit79b8f92068f3e6e6fca6bc7b0e79c178845da4ed (patch)
tree42734a161b191e7ec0a84adb7d2172679adab44e /Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx
parentf1ae0e2b17bb1ea576dcb3049e625db8eabbcd12 (diff)
mfpic4ode update (7apr10)
git-svn-id: svn://tug.org/texlive/trunk@17745 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx')
-rw-r--r--Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx26
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx b/Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx
index 82b78640c93..f8e337b3df7 100644
--- a/Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx
+++ b/Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx
@@ -57,20 +57,22 @@
% Right brace \} Tilde \~}
%
%
-% \changes{v0.2}{2008/01/03}{First public version}
+% \changes{v0.2}{2008/02/03}{First public version}
% \changes{v0.3}{2009/04/15}{Added connect environment to paths}
+% \changes{v0.4}{2010/04/07}{Updated documentations}
%
% \GetFileInfo{mfpic4ode.dtx}
%
% \DoNotIndex{\newcommand,\newenvironment}
%
-% \def\fileversion{0.3}
-% \def\filedate{2009/04/15}
+% \def\fileversion{0.4}
+% \def\filedate{2010/04/07}
%
% \title{The \textsf{mfpic4ode} package\thanks{This document
-% corresponds to \textsf{mfpic4ode}~\fileversion, dated \filedate.}}
-% \author{Robert Marik \\ \texttt{marik@mendelu.cz}}
-%
+% corresponds to \textsf{mfpic4ode}~\fileversion, dated
+% \filedate.}} \author{Robert Marik \\ \texttt{marik@mendelu.cz}
+% \thanks{Supported by the grant FRV\v{S} 99/2008 (Fund for
+% Developement of Czech Universities).}}
% \maketitle
%
% \section{Introduction}
@@ -79,9 +81,11 @@
% portraits and integral curves of differential equations and
% autonomous systems using |mfpic| macros. These macros have been used
% by the author to prepare some pictures for classrooms and the
-% results seem to be accptable for this purpouse, but always remember
+% results seem to be acceptable for this purpose, but always remember
% that due to the fixed points arithmetics in Metapost, the error in
-% computations could be significant.
+% computations could be significant. Another excellent tool which can
+% be used to draw trajectories is Sage\TeX{} which gives you full
+% power of computer algebra system Sage in \LaTeX.
%
% \section{Usage}
% You can load the package in \LaTeX{} using standard
@@ -155,7 +159,7 @@
% \DescribeMacro{\trajectoryRKF\{x0\}\{y0\}} The macros |\trajectory|,
% |\trajectoryRK| and |\trajectoryRKF| are used for drawing integral
% curves with initial condition $y(x_0)=y_0$ using Euler, second order
-% Runge-Kutta and fourth order Runge-Kutta methods, respectivelly.
+% Runge-Kutta and fourth order Runge-Kutta methods, respectively.
% The length of each step is stored in MetaPost variable
% |ODEstepcount|, the length of each step is in the MetaPost variable
% |ODEstep|. You can set these variables using |\mfsrc| macro as
@@ -326,7 +330,7 @@
\trajectoryRKF{#1}{#2}\relax\let\next\ODE@cycle@IC\fi\next}
\mfsrc{path p,q;color ODEcolorarrow;}
-%%% Onedimensional autonomous systems y'=f(y) where '=d/dx
+%%% One-dimensional autonomous systems y'=f(y) where '=d/dx
\def\ODEharrow#1{
\mfsrc{x1:=#1;
if ODErhs(0,x1)>0: x3:=x1+ODEarrowlength else: x3:=x1-ODEarrowlength fi;
@@ -352,7 +356,7 @@
\draw\arrow\lines{(0,x1),(0,x3)}
}
-%%% Twodimensional autonomous systems x'=f(x,y), y'=g(x,y) where '=d/dt
+%%% Two-dimensional autonomous systems x'=f(x,y), y'=g(x,y) where '=d/dt
\def\ASdefineequations#1#2{\fdef{ASf}{x,y}{#1}\fdef{ASg}{x,y}{#2}}
\def\AStrajectory#1#2{