summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex')
-rw-r--r--Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex165
1 files changed, 109 insertions, 56 deletions
diff --git a/Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex b/Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex
index f2fece34741..1432b0ef180 100644
--- a/Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex
+++ b/Master/texmf-dist/doc/support/ketcindy/source/ketmanual/KeTCindyReferenceE.tex
@@ -66,6 +66,22 @@
This function should be written at the first line on Draw slot page. In case of space figure (KeTCindy's 3D-mode), write it in the initialization slot page \verb|ketlib|.
\end{cmd}
+%----------Initglist,Setglist,Addglist----------------------------------
+\begin{cmd}{Initglist}{initglist}
+\itemket{Usage}Initglist(), Setglist(), Addglist()
+\itemket{Description}Add the list generated in \verb|"ketlib"| slot to that of \verb|"ketlib"| slot.
+\itemket{Examples}\mbox{}
+
+\begin{verbatim}
+ Initglist(); // in ketlib slot
+ Implicitplot(''1'',fun,rng);
+ Setglist();
+
+ Ketinit(); // in figures slot
+ Addglist();
+\end{verbatim}
+\end{cmd}
+
%-----------Setfiles---------------------------------
\begin{cmd}{Setfiles}{setfiles}
\itemket{Usage}Setfiles(filename)
@@ -1213,7 +1229,7 @@ Extra options is :\\
\itemket{Usage}Circledata(name, list, options)
\itemket{Description}Draw a circle or polygon.
\itemket{Details}
-The list consists of the central point and some point on the circle.
+The list consists of the central point and some point on the circle or the radius.
It is also permitted that three points on the circle are given in the list.
The name can be omitted when the central point and a point on the circle
are given with the names of their geometric components.\\
@@ -1228,8 +1244,8 @@ When this number is small, the corresponding polygon is drawn.
The circle with center \verb|[0,0]| or A and radius 2 ( draw A by drawing tool)
-\verb| Circledata("1",[[0,0],[2,0]]);|\\
-\verb| Circledata("1",[A,A+[2,0]]);|\\
+\verb| Circledata("1",[[0,0],[2,0]]);|(or \verb|[[0,0],2]|)\\
+\verb| Circledata("1",[A,A+[2,0]]);|(or \verb|[A,2]|)\\
The circle with center A and radius AB
@@ -1968,30 +1984,36 @@ and keep them from being drawn on \TeX\ final output.
\end{cmd}
-%--------AddGraph ------------------------------------
-\begin{cmd}{AddGraph}{addgraph}
+%--------Drawfigures ------------------------------------
+\begin{cmd}{Drawfigures}{drawfigures}
-\itemket{Usage}AddGraph(name,List of PD,options)
-\itemket{Description}Manipulate more than one PD all together.
-\itemket{Remark} PD name should be passed as a character string, for example, pass "cr1"' for PD name cr1.
+\itemket{Usage}Drawfigures(or Drwfigs)(name,List of PDs,List of Options)
+\itemket{Description}Manipulate a plural number of PDs together.
+\itemket{Remark} List of Options should corrensponds to that of PDs.
%\itemket{Details}
\itemket{Examples}\mbox{}
After manipulating PDs of a circle and a point on the circle by AddGraph, you can translate or rotate them together.\\
-\verb|Setpt(3); |\\
-\verb|Circledata("1",[[0,1],[0,0]]); |\\
-\verb|Pointdata("1",[0,0]); |\\
-\verb|AddGraph("1",["[pt1]","cr1"],["nodisp"]); |\\
-\verb|nn=32; |\\
-\verb|forall(1..nn, |\\
-\verb| t=2*pi/nn*#; |\\
-\verb| Rotatedata(text(#),"ad1",-t,[[0,1],"nodisp"]); |\\
-\verb| Translatedata(text(#),"rt"+text(#),[t,0],["dr,0.3"]); |\\
-\verb|); |
+\begin{verbatim}
+opcr=["dr"];
+oppt=["Size=2","Color=red"];
+Circledata("1",[[0,1],[0,0]],opcr);
+Pointdata("1",[0,0],oppt);
+ad1=["cr1","pt1"];
+dt=2*pi/32;
+opcr=["dr,0.3"];
+nn=32;
+forall(1..nn,
+ t=dt*#;
+ Rotatedata(2,ad1,-t,[[0,1],"nodisp"]);
+ Translatedata(2,"rt2",[t,0],["nodisp"]);
+ Drawfigures(text(#),["tr2_1","tr2_2"],[opcr,oppt]);
+);
+\end{verbatim}
\begin{center}
- \input{Fig/addgraph}
+ \input{Fig/drawfigures1}
\end{center}
\end{cmd}
@@ -2705,11 +2727,15 @@ The written data is as follows.
%------------Tabledata--------------------------------
\begin{cmd}{Tabledata}{tabledata}
-\itemket{Usage}Tabledata("",a list of widths, a list of height,a list of removals,[options]);
+\itemket{Usage}Tabledata(a list of widths, a list of height,a list of removals,[options]);
\item[Descritption]Table function to draw rules of a table.
\itemket{Details}
The lower left is the origin.\\
-The options are "Rng=y/n"(if "n", command setwindow is not executed) and as usual.\\
+The options are\\
+\hspace*{10mm}''Setwindow=y/n''\ if "n", command setwindow is not executed.\\
+\hspace*{10mm}''Move=point''\ The lower left changes to the point.\\
+\hspace*{10mm}''Geo=n/y''\ if ''y'', geometric points are created.\\
+\hspace*{10mm}integer\ decides to put names par each interval.\\
The unit of length is 1/10 of the grid of Euclidean view. The default is 1mm.\\
Control points are put on the row and column. The names are r0,r1,... and c0,c1,....\\
The points are movable.
@@ -2718,39 +2744,27 @@ The points are movable.
\verb|xL=[20,20,20,20];|\\
\verb|yL=[10,10,10,10,10];|\\
-\verb|Tabledata("",xL,yL,[]);|
+\verb|Tabledata(xL,yL,["Geo=y"]);|
\begin{center}
\includegraphics[bb=0.00 0.00 403.52 249.51,height=30mm]{Fig/table01.pdf}\hspace{10mm}\input{Fig/table02}
\end{center}
\verb|Rmv=["r1c0c1","c3r0r1","c3r3r5","r4c2c4"];|\\
-\verb|Tabledata("",xL,yL,Rmv);|
+\verb|Tabledata(xL,yL,Rmv);|
\begin{center}
\includegraphics[bb=0.00 0.00 392.02 251.51, height=36mm]{Fig/table03.pdf}
\end{center}
\end{cmd}
-%--------------Tabledatalight------------------------------
-\begin{cmd}{Tabledatalight}{tabledatalight}
-\itemket{Usage}Tabledata("",a list of widths, a list of height,a list of removals,[options]);
-\itemket{Description}Table function to make a table without geometric points.
-\itemket{Details}interval option decides to put names par each interval.
-\itemket{Examples}\mbox{}
-
-\verb|xL=[20,20,20,20];|\\
-\verb|yL=[10,10,10,10,10];|\\
-\verb|Tabledatalight("",xL,yL,[],[2]);|\\
-\end{cmd}
-
%--------Changetablestyle------------------------------------
\begin{cmd}{Changetablestyle}{changetablestyle}
\itemket{Usage}ChangeTablestyle(a list of Rules, [changed style]);
\itemket{Description}Table function to change line styles of rules.
\itemket{Examples}\mbox{}
-\verb|Tabledatalight("",[10,20,10,20],[10,10,10],[]);|\\
+\verb|Tabledata([10,20,10,20],[10,10,10],[]);|\\
\verb|ChangeTablestyle(["r1c0c4"],["da"]);|\\
\verb|ChangeTablestyle(["r2c0c2","c1r0r3"],["nodisp"]);|
@@ -2770,13 +2784,13 @@ The result is a list of center, half of width, half of height.
\itemket{Examples}\mbox{}
-\verb|Tabledatalight("",[10,20,10,20],[10,10,10],[]);|\\
+\verb|Tabledata([10,20,10,20],[10,10,10],[]);|\\
\verb|tmp=Findcell("c2r0","c3r1");| The return is [[3.5,2.5],0.5,0.5].\\
\verb|tmp=Findcell("c0r1","c2r3");| The return is [[1.5,1],1.5,1] .
\end{cmd}
%------------Putcell--------------------------------
-\begin{cmd}{Putcell}{putcell}
+\begin{cmd}{Putcell, Putcellexpr}{putcell}
\itemket{Usage}Putcell(grid name of upper left, grid name of lower right, postion, a string);
\itemket{Description}Table function to put a string at the cell.
\itemket{Details}
@@ -2788,7 +2802,7 @@ Minute movements can be added.
\verb|xL=apply(1..5,20);|\\
\verb|yL=apply(1..2,20);|\\
\verb|rL=["c2r2r3","c5r2r3"];|\\
-\verb|Tabledatalight("",xL,yL,rL);|\\
+\verb|Tabledata(xL,yL,rL);|\\
\verb|Putcell("c0r0","c1r1","c","A");|\\
\verb|Putcell("c1r0","c3r1","l2","B");|\\
\verb|Putcell("c0r1","c2r2","rt","C");|\\
@@ -2799,9 +2813,9 @@ Minute movements can be added.
\end{center}
\end{cmd}
-%----------PutcoL----------------------------------
-\begin{cmd}{PutcoL}{putcoL}
-\itemket{Usage}PutcoL (column number, position, a list of strings);
+%----------Putcol----------------------------------
+\begin{cmd}{Putcol}{putcol}
+\itemket{Usage}Putcol (column number, position, a list of strings);
\itemket{Description}Table function to put strings to a column.
\itemket{Details}
The position is as \verb|Putcell|.\\
@@ -2810,9 +2824,9 @@ Null string is available.
\itemket{Reference} \hyperlink{putrow}{Putrow}.
\end{cmd}
-%--------------PutcoLexpr------------------------------
-\begin{cmd}{PutcoLexpr}{putcoLexpr}
-\itemket{Usage}PutcoLexpr (column number, position, a list of mathematical expressions);
+%--------------Putcolexpr------------------------------
+\begin{cmd}{Putcolexpr}{putcolexpr}
+\itemket{Usage}Putcolexpr (column number, position, a list of mathematical expressions);
\itemket{Description}Table function to put strings to a column.
\itemket{Reference} \hyperlink{putrowexpr}{Putrowexpr}.
\end{cmd}
@@ -2821,7 +2835,7 @@ Null string is available.
\begin{cmd}{Putrow}{putrow}
\itemket{Usage}Putrow (row number, position, a list of strings);
\itemket{Description}Table function to put strings to a row.
-\itemket{Reference} \hyperlink{putcoL}{PutcoL}.
+\itemket{Reference} \hyperlink{putcol}{Putcol}.
\end{cmd}
%--------------Putrowexpr------------------------------
@@ -2830,11 +2844,13 @@ Null string is available.
\itemket{Description}Table function to put strings to a row.
\itemket{Examples}
-In PutcoLexpr (), Putrowexpr (), formulas and general \TeX sentences can be entered.
+In Putcolexpr (), Putrowexpr (), formulas and general \TeX sentences can be entered.
-\verb|Tabledata("",5,3,100,45,["c1r1r2","r1c2c3","r2c2c3"]);|\\
-\verb|PutcoL(3,"c",["A","B","C"]);|\\
-\verb|PutcoLexpr(4,"l",["x^2","y=\sqrt{x^3}"]);|\\
+\verb|xL=apply(1..5,20);|\\
+\verb|xL=apply(1..3,15);|\\
+\verb|Tabledata(xL,yL,["c1r1r2","r1c2c3","r2c2c3"]);|\\
+\verb|Putcol(3,"c",["A","B","C"]);|\\
+\verb|Putcolexpr(4,"l",["x^2","y=\sqrt{x^3}"]);|\\
\verb|Putrow(1,"c",[1,"two"]);|\\
\verb|Putrowexpr(3,"c",["","\frac{\pi}{2}","","","\sum{x^2}"]);|\\
@@ -3331,7 +3347,40 @@ Cindyscript has a function \verb|format(value, number)|, like as Textformat.
%\verb|Windispg();|
\end{cmd}
+%----------Windispg----------------------------------
+\begin{cmd}{Windispg}{windispg}
+\itemket{Usage}Windispg();
+\itemket{Description}Generic function to display all graphs on Euclidean view.
+\itemket{Remark}This command must be put on the final line.
+%\itemket{Examples}\mbox{}
+
+%\verb|Windispg();|
+\end{cmd}
+%----------Fracform----------------------------------
+\begin{cmd}{Fracform}{fracform}
+\itemket{Usage}Fracform(number,list of denominators)
+\itemket{Description}returns Tex-like form of the fraction
+\itemket{Examples}\verb|Fracform(0.33,[2,3]); => fr(1,3)|
+
+\end{cmd}
+
+%----------Totexform----------------------------------
+\begin{cmd}{Totexform}{totexform}
+\itemket{Usage}Totexform(Tex-like form)
+\itemket{Description}returns TeX form
+\itemket{Examples}\verb|Totexform(fr(1,3)); => frac{1}{3}|
+
+\end{cmd}
+
+%----------Totexform----------------------------------
+\begin{cmd}{Tocindyform}{tocindyform}
+\itemket{Usage}Tocindyform(Tex-like form)
+\itemket{Description}returns Cindy form
+\itemket{Examples}\verb|Tocindyform(fr(1,3)); => (1)/(3)|
+\end{cmd}
+
\newpage
+
%==== Calling Other Softwares =========
\section{Calling Other Softwares}
\subsection{R}
@@ -4033,7 +4082,7 @@ When we make the animation, comment out \verb|//mf(C.x);| and click the Anime bu
The animation is continued for 5 seconds with the following options.\\
\verb| Setpara("middle","mf(t)","t=[0,4*pi]",["Div=30"],["Frate=6"]);|\\
-A smooth-looking animation is achieved with the options: \verb|["Div=150"],["Frage=30"]|.
+A smooth-looking animation is achieved with the options: \verb|["Div=150"],["Frate=30"]|.
\end{cmd}
\newpage
@@ -5607,6 +5656,7 @@ Find on the screen (not in the space) intersection points (\verb|tmp_1|, \verb|t
\hyperlink{drwxy}{Drwxy} \> draw axis in the \TeX\ figure.\\
\hyperlink{fontsize}{Fontsize} \> define the font size in the \TeX\ figure.\\
\hyperlink{ketinit}{Ketinit} \> initialize \ketcindy.\\
+\hyperlink{initglist}{Initglist} \> add the list in ketlib slot to that of figures slot.\\
\hyperlink{ptsize}{Ptsize} \> set the size of points.\\
\hyperlink{setarrow}{Setarrow} \> set the style of arrow.\\
\hyperlink{setax}{Setax} \> set the style of axis.\\
@@ -5624,7 +5674,7 @@ Find on the screen (not in the space) intersection points (\verb|tmp_1|, \verb|t
\hyperlink{usegraphics}{Usegraphics} \> change to pict2e.\\
{\bf Drawing} \> \\
-\hyperlink{addgraph}{AddGraph} \> manipulate more than one PD all together.\\
+\hyperlink{drawfigures}{Drawfigures} \> manipulate a plural number of PDs together.\\
\hyperlink{anglemark}{Anglemark} \> draw an angle mark.\\
\hyperlink{setarrow}{Setarrowdata} \> set styles of arrows.\\
\hyperlink{arrowdata}{Arrowdata} \> draw an arrow line between two points.\\
@@ -5720,12 +5770,12 @@ Find on the screen (not in the space) intersection points (\verb|tmp_1|, \verb|t
\hyperlink{changetablestyle}{Changetablestyle} \> change line styles of rules.\\
\hyperlink{findcell}{Findcell} \> return the information of a cell.\\
\hyperlink{putcell}{Putcell} \> put a string at the cell.\\
-\hyperlink{putcoL}{PutcoL} \> put strings to a column.\\
-\hyperlink{putcoLexpr}{PutcoLexpr} \> put strings to a column.\\
+\hyperlink{putcell}{Putcellexpr} \> put a math expression at the cell.\\
+\hyperlink{putcol}{Putcol} \> put strings to a column.\\
+\hyperlink{putcolexpr}{Putcolexpr} \> put math expressions to a column.\\
\hyperlink{putrow}{Putrow} \> put strings to a row.\\
-\hyperlink{putrowexpr}{Putrowexpr} \> put strings to a row.\\
+\hyperlink{putrowexpr}{Putrowexpr} \> put math expressions to a row.\\
\hyperlink{tabledata}{Tabledata} \> draw rules of a table.\\
-\hyperlink{tabledatalight}{Tabledatalight} \> make a table without geometric points.\\
\hyperlink{tgrid}{Tgrid} \> return the coordinates of the grid name.\\
\hyperlink{tlistplot}{Tlistplot} \> connect two lattice points by line segments.\\
@@ -5753,6 +5803,9 @@ Find on the screen (not in the space) intersection points (\verb|tmp_1|, \verb|t
\hyperlink{textformat}{Textformat} \> converts a real number to a string.\\
\hyperlink{toupper}{Toupper} \> return the upper case letters of a string.\\
\hyperlink{windispg}{Windispg} \> display all graphs on Euclidean view.\\
+\hyperlink{fracform}{Fracform} \>return TeX-like form of the fraction.\\
+\hyperlink{totexform}{Totexform} \> return TeX form.\\
+\hyperlink{tocindyform}{Tocindyform} \> return Cindy form.\\
{\bf R} \> \\
\hyperlink{boxplot}{Boxplot} \> draw boxplots.\\