diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-07 22:51:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-07 22:51:54 +0000 |
commit | 79b8f92068f3e6e6fca6bc7b0e79c178845da4ed (patch) | |
tree | 42734a161b191e7ec0a84adb7d2172679adab44e | |
parent | f1ae0e2b17bb1ea576dcb3049e625db8eabbcd12 (diff) |
mfpic4ode update (7apr10)
git-svn-id: svn://tug.org/texlive/trunk@17745 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/mfpic4ode/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mfpic4ode/mfpic4ode.pdf | bin | 113843 -> 231163 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/mfpic4ode/mfpic4ode.dtx | 26 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mfpic4ode/mfpic4ode.tex | 4 |
4 files changed, 21 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/mfpic4ode/README b/Master/texmf-dist/doc/latex/mfpic4ode/README index 7c2a95786f6..12f93d2aa0a 100644 --- a/Master/texmf-dist/doc/latex/mfpic4ode/README +++ b/Master/texmf-dist/doc/latex/mfpic4ode/README @@ -4,10 +4,13 @@ dimensional autonomous systems. The Euler, Runge-Kutta and 4th order Runge-Kutta algorithms are available to solve the ODE's. The picture is translated into mfpic macros and MetaPost is used to create the final drawing. The package is intended for LaTeX, but it can be used -in plainTeX as well. +in plainTeX as well. Online demonstration of the mfpic4ode macros is available on http://wood.mendelu.cz/math/mfpicpreviewer/ as Example 6. You can get the documentation but compiling mfpic4ode.dtx file and the files for installation by compiling mfpic4ode.ins by LaTeX. + +The author is supported by the grant FRVS 99/2008 (Fund for +Developement of Czech Universities).
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/mfpic4ode/mfpic4ode.pdf b/Master/texmf-dist/doc/latex/mfpic4ode/mfpic4ode.pdf Binary files differindex 1d6364ccfec..ff9a1739618 100644 --- a/Master/texmf-dist/doc/latex/mfpic4ode/mfpic4ode.pdf +++ b/Master/texmf-dist/doc/latex/mfpic4ode/mfpic4ode.pdf 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{ diff --git a/Master/texmf-dist/tex/latex/mfpic4ode/mfpic4ode.tex b/Master/texmf-dist/tex/latex/mfpic4ode/mfpic4ode.tex index a20dcb81c35..6fe2928ca67 100644 --- a/Master/texmf-dist/tex/latex/mfpic4ode/mfpic4ode.tex +++ b/Master/texmf-dist/tex/latex/mfpic4ode/mfpic4ode.tex @@ -114,7 +114,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; @@ -140,7 +140,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{ |