texlive[53595] Master/texmf-dist: curve2e (29jan20)
commits+karl at tug.org
commits+karl at tug.org
Wed Jan 29 23:38:53 CET 2020
Revision: 53595
http://tug.org/svn/texlive?view=revision&revision=53595
Author: karl
Date: 2020-01-29 23:38:52 +0100 (Wed, 29 Jan 2020)
Log Message:
-----------
curve2e (29jan20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/curve2e/README.txt
trunk/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.pdf
trunk/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex
trunk/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
Modified: trunk/Master/texmf-dist/doc/latex/curve2e/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/curve2e/README.txt 2020-01-29 22:38:39 UTC (rev 53594)
+++ trunk/Master/texmf-dist/doc/latex/curve2e/README.txt 2020-01-29 22:38:52 UTC (rev 53595)
@@ -10,7 +10,7 @@
%% License information appended
%%
File README.txt for package curve2e
- [2020-01-18 v.2.2.0 Extension package for pict2e]
+ [2020-01-29 v.2.2.1 Extension package for pict2e]
The package bundle curve2e is composed of the following files
curve2e.dtx
Modified: trunk/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex 2020-01-29 22:38:39 UTC (rev 53594)
+++ trunk/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex 2020-01-29 22:38:52 UTC (rev 53595)
@@ -1337,14 +1337,14 @@
and
\cs{fpdowhile}\meta{test}\meta{operations to be repeated}
\end{flushleft}
- The name of |\fptest| requires two further arguments that contain
+ The macro |\fptest| requires two further arguments that contain
what to do if the \meta{test} is true, and what to do if the
\meta{test} is false.
The \meta{test} is a logical expressions that connects math relation
- expressions, even floating pint ones, by means of \emph{logical
+ expressions, even floating point ones, by means of \emph{logical
operators}; such operators are \verb+||+, \verb|&&|, and \verb|!|,
respectively for OR, AND, NOT; for example \verb|!<| means “not lower
- than” which is equivalent to “equal or grater than”. The logical
+ than”, which is equivalent to “equal or grater than”. The logical
expression is parsed left to right and normal parentheses may be
used to alter this sequence. The logical operators work also
between logical variables, therefore the \meta{test} may contain
@@ -1415,11 +1415,11 @@
The syntax is the following:
\begin{flushleft}\obeylines
-\cs{Lissajous}\marg{t}\Oarg{\meta{$A_1$},\meta{$N_1$},\meta{$\phi_1$},\meta{$A_2$},\meta{$N_2$},\meta{$\phi_2$}}\meta{$P_{\mathrm{out}}$}
+\cs{Lissajous}\marg{in}\Oarg{\meta{$A_1$},\meta{$N_1$},\meta{$\phi_1$},\meta{$A_2$},\meta{$N_2$},\meta{$\phi_2$}}\meta{$P_{\mathrm{out}}$}
\end{flushleft}
where \meta{$P_{\mathrm{out}}$} is a macro that gets
defined with the cartesian coordinates of the computed output
- point.
+ point.Arguments \meta{in} (the $t$ parameter) and \meta{out} (the computed coordinates) need not be enclosed within braces if they are given as macros; actually the code shown in figure~\ref{fig:lissajous} shows such procedure that renders the input code simpler to read.
After this definition the diagram is plotted in
figure~\ref{fig:lissajous}.
@@ -1432,14 +1432,15 @@
\VECTOR(-50,0)(50,0)\Pbox(50,0)[tr]{x}[0]
\VECTOR(0,-50)(0,50)\Pbox(0,50)[tr]{y}[0]
\Pbox(0,0)[tr]{O}[2]
-\countdef\I=2560 \I=0
%
-\Lissajous\I[40,2,90,40,3,0]\Pout
-{\moveto(\Pout)\relax
+{\countdef\I=2560 \I=0
\fpdowhile{\I !> 360}{%
-\Lissajous\I\Pout
-\lineto(\Pout)\advance\I by1\relax}%
-\strokepath}
+ \fptest{\I=0}%
+ {\Lissajous\I[40,2,90,40,3,0]\Pout
+ \moveto(\Pout)}%
+ {\Lissajous\I\Pout
+ \lineto(\Pout)}%
+ \advance\I by1}\strokepath}%
\end{picture}
\end{Esempio}
\caption{A Lissajous diagram}\label{fig:lissajous}
@@ -1448,10 +1449,10 @@
For the independent variable $t$, the parameter of the Lissajous
parametric equations, it is better to work with degrees instead
of radians, and with integer numbers, so that the whole range
- from $0^\circ$ to $369^\circ$ is certainly spanned. Notice the
+ from $0^\circ$ to $360^\circ$ is certainly spanned. Notice the
braces that include the code for the Lissajous diagram; they may
be useful to render that group suitable to be |\put| somewhere
- else than with its center in the origin of the canvas axes,
+ else than with its center at the origin of the canvas axes,
and/or to be used as the second argument of a
\cs{rotatebox}\marg{angle} command so as to rotate the whole
diagram.
Modified: trunk/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx 2020-01-29 22:38:39 UTC (rev 53594)
+++ trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx 2020-01-29 22:38:52 UTC (rev 53595)
@@ -46,7 +46,7 @@
%<+package>\ProvidesPackage{curve2e}%
%<+readme>File README.txt for package curve2e
%<*package|readme>
- [2020-01-18 v.2.2.0 Extension package for pict2e]
+ [2020-01-29 v.2.2.1 Extension package for pict2e]
%</package|readme>
%<*driver>
\documentclass{ltxdoc}\errorcontextlines=9
@@ -1198,7 +1198,7 @@
\def\VVECTOR(#1)(#2){{\SubVect#1from#2to\@tempb
\ScaleVect\@tempb by0.5to\@tempb
\AddVect\@tempb and#1to\@tempb
-\VECTOR(\@tempb)(#2)\VECTOR(\@tempb)(#1)\ignorespaces}}
+\VECTOR(\@tempb)(#2)\VECTOR(\@tempb)(#1)}\ignorespaces}
% \end{macrocode}
%
% The \texttt{pict2e} documentation says that if the vector length is
Modified: trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty 2020-01-29 22:38:39 UTC (rev 53594)
+++ trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty 2020-01-29 22:38:52 UTC (rev 53595)
@@ -11,7 +11,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2019/01/01]
\ProvidesPackage{curve2e}%
- [2020-01-18 v.2.2.0 Extension package for pict2e]
+ [2020-01-29 v.2.2.1 Extension package for pict2e]
\IfFileExists{xfp.sty}{%
\RequirePackage{color}
\RequirePackageWithOptions{pict2e}[2014/01/01]
@@ -242,7 +242,7 @@
\def\VVECTOR(#1)(#2){{\SubVect#1from#2to\@tempb
\ScaleVect\@tempb by0.5to\@tempb
\AddVect\@tempb and#1to\@tempb
-\VECTOR(\@tempb)(#2)\VECTOR(\@tempb)(#1)\ignorespaces}}
+\VECTOR(\@tempb)(#2)\VECTOR(\@tempb)(#1)}\ignorespaces}
\let\lp at r( \let\rp at r)
\renewcommand*\polyline[1][\beveljoin]{\p at lylin@[#1]}
More information about the tex-live-commits
mailing list.