Commits

mdelgado  committed f99c639

Version 0.0.9 : the first public release

  • Participants
  • Parent commits 088eeda

Comments (0)

Files changed (11)

 ##
 #############################################################################
 ##
+=============
+ Version 0.0.9  (21/6/13)
+=============
+  - The first public version
 
 =============
  Version 0.0.0  (11/6/13)
-gap> s:=NumericalSemigroup(3,7);
-<Modular numerical semigroup satisfying 7x mod 21 <= x >
-
-gap> SmallElementsOfNumericalSemigroup(s);
-[ 0, 3, 6, 7, 9, 10, 12 ]
-
-gap> FrobeniusNumber(s);
-11
-
-gap> IsModularNumericalSemigroup(s);
-true
-
-gap> Display(s);
-[ [ 0 ], [ 3 ], [ 6, 7 ], [ 9, 10 ], [ 12, "->" ] ]
-
-gap> Print(s);
-ModularNumericalSemigroup( [ 7, 21 ] )
-
-gap> s;
-<Modular numerical semigroup satisfying 5x mod 14 <= x >
-
-gap> AperyListOfNumericalSemigroupWRTElement(s,30);
-[ 0, 31, 32, 3, 34, 35, 6, 7, 38, 9, 10, 41, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
-  23, 24, 25, 26, 27, 28, 29 ]
-
-gap> t:=NumericalSemigroupByAperyList(last);
-<Numerical semigroup>
-
-gap> GeneratorsOfNumericalSemigroup(t);
-[ 3, 7 ]
-
-gap> s=t;
-true
-
-gap> QuotientOfNumericalSemigroup(s,31);
-<Numerical semigroup with 1 generators>
-
-gap> GeneratorsOfNumericalSemigroup(last);
-[ 1 ]
-
-gap> MinimalPresentationOfNumericalSemigroup(s);
-[ [ [ 7, 0 ], [ 0, 3 ] ] ]
-
-gap> FactorizationsElementWRTNumericalSemigroup(200,s);
-[ [ 6, 26 ], [ 13, 23 ], [ 20, 20 ], [ 27, 17 ], [ 34, 14 ], [ 41, 11 ], 
-  [ 48, 8 ], [ 55, 5 ], [ 62, 2 ] ]
-
-gap> OmegaPrimalityOfNumericalSemigroup(s);
-7
-
-gap> 3+s;
-<Ideal of numerical semigroup>
-
-gap> SmallElementsOfIdealOfNumericalSemigroup(last);
-[ 3, 6, 9, 10, 12, 13, 15 ]
-
-gap> u:=NumericalSemigroup(11,35,79,83);
-<Numerical semigroup with 4 generators>
-
-gap> GeneratorsOfNumericalSemigroup(u);
-[ 11, 35, 79, 83 ]
-
-gap> MinimalGeneratingSystemOfNumericalSemigroup(u);
-[ 11, 35, 83 ]
+For examples, please check the manual, the file "examples.g" or even the file "intpic_banner.g".

File PackageInfo.g

 ##  See '?Extending: Version Numbers' in GAP help for an explanation
 ##  of valid version numbers. For an automatic package distribution update
 ##  you must provide a new version number even after small changes.
-Version := "0.1.0",
+Version := "0.0.9",
 
 ##  Release date of the current version in dd/mm/yyyy format.
 # 
-Date := "01/07/2013",
+Date := "21/06/2013",
         
 ##  Optional: if the package manual uses GAPDoc, you may duplicate the 
 ##  version and the release date as shown below to read them while building
 ##  the manual using GAPDoc facilities to distibute documents across files.
 ##  <#GAPDoc Label="PKGVERSIONDATA">
-##  <!ENTITY VERSION "0.1.0">
-##  <!ENTITY RELEASEDATE "1 July 2013">
+##  <!ENTITY VERSION "0.0.9">
+##  <!ENTITY RELEASEDATE "21 June 2013">
 ##  <#/GAPDoc>
 
 PackageWWWHome :=
 
 		README          	this file
 
-		EXAMPLES		some examples
+		examples.g		some examples
 
 		CHANGES 		changelog
 

File doc/intro.xml

 <!--  <Index>&IntPic; - Overview</Index>-->	
   <Section>
     <Heading>Overview and Introduction</Heading>
-    The &IntPic; package has as its main goal producing <C>Tikz</C> code for arrays of integers to be included in a &LaTeX; file, which can then be processed. Some of the integers are emphasized by using different colors for the cells.
+    The &IntPic; package has as its main goal producing <C>Tikz</C> code for arrays of integers to be included in a &LaTeX; file, which can then be processed. Some of the integers are emphasized, by using different colors for the cells.
 <!--      When used in conjunction with the package &Viz; <Cite Key="DelgadoEgri-NagyMitchellPfeiffer2012-Viz"></Cite>, &IntPic; provides an immediate visualization.-->
     <P />
-    &IntPic; grew up from my will to have a pictorial view of some sets of integers. I wanted, in particular, get a pictorial view of the results produced by <Alt Not='Text'><URL
+    &IntPic; grew up from my will to have a pictorial view of some sets of integers. I wanted, in particular, get a pictorial view of the results produced by the <Alt Not='Text'><URL
    Text='NumericalSgps'>http://www.fc.up.pt/cmup/mdelgado/numericalsgps</URL></Alt><Alt Only='Text'><Package>NumericalSgps</Package></Alt> package <Cite Key="DelgadoGarcia-SanchezMorais:numericalsgps"></Cite>. Effort has then been made to serve a slightly more general purpose.
     For instance, if the user wants to have a pictorial idea of how many primes there are between 800 and 1000, or show it to his students and, perhaps, which among these primes are twin primes, he will probably be happy by producing a picture like the following
     <P />
       &#60;br&#62;&#60;center&#62;&#60;img src=&#34;../images/primesandtwins.jpg&#34;&#62;&#60;/center&#62;&#60;br&#62;
     </Alt>
     
-    It has clearly too much information, given through the different colors. The twin primes in the given range are in red-green, while the remaining primes in the same range are in red. 
+    It has clearly too much information, given through the different colors. The twin primes in the given range are in red-blue, while the remaining primes in the same range are in red. 
     <P />
     This package contains relatively few lines of code. The heavier part is the documentation, where many examples are presented.
     <P />
     The design of this greatly benefits from my long experience on producing visualization tools for &GAP; objects. The package <Package>sgpviz</Package> <Cite Key="DelgadoMorais:sgpviz"></Cite> is the visible part. More recently, I got involved in a more general project, the &Viz; package <Cite Key="DelgadoEgri-NagyMitchellPfeiffer2012-Viz"></Cite>.
-    The experience gained there, especially through long and fruitful discussions with J. Mitchell, influenced me a lot. This package will probably be part of that more general project. For the moment it is independent, but its use in conjunction with the &Viz; is recommended since in this case an immediate visualization is provided.
+    The experience gained there, especially through long and fruitful discussions with J. Mitchell, influenced me a lot. This package will probably be part of that more general project. For the moment it is independent, but its use in conjunction with the &Viz; package is recommended since in this case an immediate visualization is provided.
     <P />
     The package produces <C>tikz</C> code that the user may then use at his wish. In particular, he can use it in publications. But prior to obtaining results that lead to a publication, the user may benefit of viewing thousands of images. There is a (almost platform independent) function in &Viz; that is intended to make this task easy. It benefits from the &GAP; stuff on creating a temporary directory where the computations occur. The cleaning task is also left to &GAP;, which leaves the user free of the need of collecting the garbage.
     
     In order to produce the drawings, &LaTeX;, as well as some &LaTeX; packages, in particular <C>tikz</C> and <C>pgf</C>, must be installed and working. I will assume that this is the case.
     
-    All the images in <Cite Key="fengraoab"></Cite> have been produced by using this package.
+    All the images in <Cite Key="fengraoab"></Cite> have been produced by using the &IntPic; package.
     <P />
-    This package consists basically of a function with many options associated. The purpose of the manual is to illustrate the use of the options. Many examples are presented. A file, named <F>examples.g</F> contains the &GAP; code, including to save the <C>tikz</C> code, to produce the examples in the manual. 
+    This package consists basically of a function with many options associated. The purpose of the manual is to illustrate the use of the options. Many examples are presented. A file, named <F>examples.g</F> contains the &GAP; code, including the one to save the <C>tikz</C> code, to produce the examples in the manual. 
    
   </Section>
   

File doc/options.xml

   </Heading>
   <Section>
     <Heading>Available options</Heading>
-    The list of allowed options,some of which already familiar from the examples, can be obtained as follows:
+    The list of allowed options, some of which already familiar from the examples, can be obtained as follows:
     <Example><![CDATA[
 gap> RecNames(IP_TikzDefaultOptionsForArraysOfIntegers);
 [ "other", "colors", "highlights", "shape_only", "colsep", "rowsep", 
          <A>colors</A>: any list of colors (to be used with the &LaTeX; package <Package>xcolor</Package>)
       </Item>
       <Item>
-         <A>highlights</A>: a list of lists of integers -- the elements of the first are colored by using the first color, etc. In cases of elements that appear in more than one list a kind of gradient (made with 3 colors) is used for the background; the number may be printed with a fourth color and a fifth color may be used in the border. 
+         <A>highlights</A>: a list of lists of integers -- the elements of the first are colored by using the first color, etc. In cases of elements that appear in more than one list a kind of gradient (made with 4 colors at most) is used to fill the cell; the number may be printed with a fifth color and a sixt color may be used for the border. 
       </Item>
       <Item>
-         <A>shape_only </A>: an option to be used when only the shape is important when <A>true</A> is used, the nodes are empty; using a symbol, for instance a <M>*</M>, the nodes are filled with this symbol  
+         <A>shape_only</A>: an option to be used when only the shape is important. When <A>true</A> or " " is used, all the nodes are empty; using a symbol, for instance a <M>*</M>, this symbol is printed in all the nodes.  
       </Item>
       <Item>
          <A>colsep</A>: the <Package>tikz</Package> matrix option <A>column sep</A>
       <Item>
          <A>other</A>: if non empty, the complete <C>tikz</C> code has to be written (it may be useful when several images are to be produced - otherwise, changing the <C>tikz</C> code would be enough)
         <Example><![CDATA[
-other := ["\draw[postaction={draw,line width=1pt,red}] (-80pt,-8pt) 
-rectangle (16pt,40pt);","\draw[postaction={draw,line width=1pt,blue}] 
+other := ["\\draw[postaction={draw,line width=1pt,red}] (-80pt,-8pt) 
+rectangle (16pt,40pt);","\\draw[postaction={draw,line width=1pt,blue}] 
 (-16pt,8pt) rectangle (80pt,-40pt);"]]]></Example>
 </Item>
 </List>
+Adding this option to one of the preceding examples, one obtains the following:
+    <Alt Only="LaTeX">
+      \begin{center}
+      \includegraphics[width=0.80\textwidth]{../images/table_axis_ground_shape_other_option}
+      \end{center}
+    </Alt>
+    <Alt Only="HTML">
+      &#60;br&#62;&#60;center&#62;&#60;img src=&#34;../images/table_axis_ground_shape_other_option.jpg&#34;&#62;&#60;/center&#62;&#60;br&#62;
+    </Alt>
+
  </Section>
  <Section><Heading>Default options</Heading>
 The defaults for the available options are as follows

File doc/visualisation.xml

 
 <Chapter Label="visualisation">
   <Heading>Visualization of the pictures created</Heading>
-  This chapter describes two easy ways to visualize the images created by using the &IntPic; package. Both require &LaTeX; and some &LaTeX; packages, such as <Package>Tikz</Package> and <Package>pgf</Package>, to be installed. One of the ways we will describe is almost completely automatic, but requires the <Package>Viz</Package> package. The other is not so automatic but has the advantage of not requiring other packages, besides the &LaTeX; ones.
+  This chapter describes two easy ways to visualize the images created by using the &IntPic; package. Both require &LaTeX; and some &LaTeX; packages, such as <Package>Tikz</Package> and <Package>pgf</Package>, to be installed and working. One of the ways we will describe is almost completely automatic, but requires the &Viz; package. The other is not so automatic but has the advantage of not requiring other packages, besides the &LaTeX; ones.
   
   <P />
 <!--  <Section>
     <Heading>Visualization</Heading>-->
     <Section>
-      <Heading>Viewing using &Viz;</Heading>
+      <Heading>Viewing using <Package>Viz</Package></Heading>
       If you have a working copy of the &Viz; package, you may produce and display a picture from a <C>tikz</C> string <A>tkz</A> just by typing the following:
     <P />
     <P />
     <Listing Type="Splash"><![CDATA[
 Splash(tkz);
 ]]></Listing>
-    A picture is popped up after this use of the function <Ref Func="Splash" BookName="viz"/>. To see which is the temporary directory used to perform the computations, and thus being able to copy the files involved to any other place one should, set the info level <C>InfoViz</C> to <M>1</M> or more. The following example illustrates the use of some options of the <Ref Func="Splash" BookName="viz"/>
-     of the &Viz; package. Setting the option <C>papersize</C> to "a0paper" may be convenient for the visualization of large images. The <C>pdf</C> viewer can also be changed.   
+    A picture is popped up after this use of the function <Ref Func="Splash" BookName="viz"/>. To see the name of the temporary directory created to perform the computations, and thus being able to copy the files involved to any other place, one should set the info level <C>InfoViz</C> to <M>1</M> or more. The following example illustrates this and the use of some options of the <Ref Func="Splash" BookName="viz"/> function of the &Viz; package. Setting the option <C>papersize</C> to "a0paper" may be convenient for the visualization of large images. The <C>pdf</C> viewer can also be changed.   
     
     <Listing Type="infoviz: temporary directory"><![CDATA[
 gap> SetInfoLevel(InfoViz,1);
      function. 
    </Section>    
     <Section>
-      <Heading>Viewing without using&Viz;</Heading>
-      This section describes a way to visualize images without sing &Viz;. Besides being useful in the case of not having a working copy of &Viz;, it is rather convenient when the decision of where to save the pictures is made. In this case, you may start your gap session in the desired place. Furthermore, if your intention is, for instance, to  include the images in a document, you may just decide the name for the file containing the <C>tikz</C> code and let your document input it.
+      <Heading>Viewing without using <Package>Viz</Package></Heading>
+      This section describes a way to visualize images without sing &Viz;. Besides being useful in the case of not having a working copy of &Viz;, it is rather convenient when the decision of where to save the pictures is made. In this case, you may start your gap session in the desired place, the working directory. Furthermore, if your intention is, for instance, to  include the images in a document, you may just decide the name for the file containing the <C>tikz</C> code and let your document input it.
 
 The glogal variables <C>IP_Preamble</C> and <C>Closing</C> can be used to pruduce a complete &LaTeX; document rather than only the <C>tizk</C> code for the picture. The document may then be processed by using <C>pdflatex</C> and the picture viewed by using some <C>pdf</C> viewer. The <C>pdf</C> produced can be included in a &LaTeX; document instead of the <C>tizk</C> code. In the later case, the code is processed each time the document is processed, which should perhaps be avoided in the case of large images.
-
-Note the use of the <C>preview</C> package, which is used to produce the complete picture without borders. It is useful for viewing purposes, but also to include the <C>pdf</C> file produced in a &LaTeX; document to be processed with <C>pdflatex</C>.
+<P/>
+Note the use of the <C>preview</C> package, which is used to produce the complete picture without having to pay attention to the paper size nor to crop the image. It is useful for viewing purposes and also to include the <C>pdf</C> file produced in a &LaTeX; document to be processed with <C>pdflatex</C>.
 <Listing Type="Preamble"><![CDATA[      
 gap> Print(IP_Preamble);
 \documentclass{minimal}
 arr := [[1,2,3,4,5,6],[1,2,3,4,5],[1,2,3,4],[1,2,3],[1,2],[1]];;
 tkz := IP_TikzArrayOfIntegers([1..10],5,rec(highlights:=arr));;
 ]]></Listing>
+The picture is:
+      <Alt Only="LaTeX">
+        \begin{center}
+        \includegraphics[width=0.95\textwidth]{../images/pic_for_complete_document.pdf}
+        \end{center}
+      </Alt>
+      <Alt Only="HTML">
+        &#60;br&#62;&#60;center&#62;&#60;img src=&#34;../images/pic_for_complete_document.jpg&#34;&#62;&#60;/center&#62;&#60;br&#62;
+      </Alt>
 The elements of the set 
-<M>[1,2,3,4,5,6]</M> are highlighted using the first color (red), those of the set
-<M>[1,2,3,4,5]</M> are highlighted using the second color (green), those of the set
-<M>[1,2,3,4]</M> are highlighted using the third color (blue), those of the set
-<M>[1,2,3]</M> are highlighted using the fourth color (cyan), those of the set
-<M>[1,2]</M>are highlighted using the fifth color (magenta), those of the set
+<M>[1,2,3,4,5,6]</M> are highlighted using the first color (red); those of the set
+<M>[1,2,3,4,5]</M> are highlighted using the second color (green); those of the set
+<M>[1,2,3,4]</M> are highlighted using the third color (blue); those of the set
+<M>[1,2,3]</M> are highlighted using the fourth color (cyan); those of the set
+<M>[1,2]</M> are highlighted using the fifth color (magenta); those of the set
 <M>[1]</M> is highlighted using the sixth color (yellow).
-
-Let us explain how the six colors of the cell containing <M>1</M> are distributed: 
+    <P/>
+Let us explain how the six colors used for the cell containing <M>1</M> are distributed: 
 upper left corner -- red;
 upper right corner -- green;
 lower left corner -- blue;
 lower right corner -- cyan;
 the number -- magenta;
 the border -- yellow.
-
+ <P/>
 The colors of  the cell containing <M>2</M> and <M>3</M> are distributed in a similar way.
- 
+  <P/>
 The colors of  the cell containing <M>4</M>:
 left -- red;
 middle -- blue;
 right -- green.
-
+ <P/>
 After the session listed below, the files <C>tikz_pic_for_complete_document.tex</C> and <C>pic_for_complete_document.tex</C> have been created in the current directory (that is, the one where the &GAP; session has started). For other directories, complete paths may have to be given.
 <Listing Type="the GAP session"><![CDATA[      
 gap> tikzfile := "tikz_pic_for_complete_document.tex";;
 pdflatex pic_for_complete_document.tex
 convert pic_for_complete_document.pdf pic_for_complete_document.jpg
 ]]></Listing>
-the <C>pdf</C> and the <C>jpg</C> formats of the image have been created. The <C>jpg</C> format is usefull to be included into an html document, for instance.
-      <Alt Only="LaTeX">
-        \begin{center}
-        \includegraphics[width=0.95\textwidth]{../images/pic_for_complete_document.pdf}
-        \end{center}
-      </Alt>
-      <Alt Only="HTML">
-        &#60;br&#62;&#60;center&#62;&#60;img src=&#34;../images/pic_for_complete_document.jpg&#34;&#62;&#60;/center&#62;&#60;br&#62;
-      </Alt>
+the <C>pdf</C> and the <C>jpg</C> formats of the image have been created. The <C>jpg</C> format is usefull to be included into an html document, for instance. 
+<P/>
 Note that the tikz code has been saved into the file  <C>tikz_pic_for_complete_document.tex</C>. A complete example of a &LaTeX; document follows.
 <Listing Type="a LaTeX document"><![CDATA[      
 \documentclass{article}
 %\end{preview}
 \end{document}
 ]]></Listing>
-The output, when processing with <C>pdflatex</C> is as follows:
+The output, after processing with <C>pdflatex</C> is as follows:
       <Alt Only="LaTeX">
         \begin{center}
         \includegraphics[width=0.95\textwidth]{../images/complete_latex_document.pdf}
     </Subsection>
     <Subsection>
       <Heading>The banner</Heading>
-      The code in the following example has been used to produce one possible banner for the homepage of the &IntPic; package. A nice picture to give an idea about the primes less than <M>10000</M>. Of course, other ranges could be chosen. I warn the user that pictures involving a large amount of data may face the problem of exceeding &TeX; capacity...
+      The code in the following example has been used to produce one possible banner for the homepage of the &IntPic; package. It is a nice picture that gives an idea about the primes less than <M>10000</M>. Of course, other ranges could have been chosen. I warn the user that pictures involving a large amount of data may face the problem of exceeding &TeX; capacity...
       <Example><![CDATA[
 gap> row_length := 200;; # the legth of each row
 gap> columns := 50;; # the number of colums
 FileString(tikzfile,tkz);
 FileString(file,Concatenation(IP_Preamble,tkz,IP_Closing));
 
+##########table_axis_ground_rep_pos
+tikzfile := "tikz_table_axis_ground_8_19_rep_pos.tex";;
+file := "table_axis_ground_8_19_rep_pos.tex";;
+
+a := 8;; b := 19;;  
+ns := NumericalSemigroup(a,b);;
+c := ConductorOfNumericalSemigroup(ns);;
+origin := 2*c-1;
+ground := [origin..origin+b-1];;
+
+height:=2;;
+depth:=50;;
+  xaxis := [origin];;
+  for n in [1..b-1] do
+    Add(xaxis, origin+n*a);
+  od;
+  yaxis := [];;
+  for n in [-depth..height] do
+    Add(yaxis, origin+n*b);
+  od;
+
+table := TableWithModularOrder(origin,a,b,depth,height,true,true);;
+arr := [xaxis,yaxis,ground];
+tkz:=IP_TikzArrayOfIntegers(table,rec(highlights:=arr));;
+
+FileString(tikzfile,tkz);
+FileString(file,Concatenation(IP_Preamble,tkz,IP_Closing));
+
 
 ####################################################################
 ##                    Colors                                      ##
 FileString(tikzfile,tkz);
 FileString(file,Concatenation(IP_Preamble,tkz,IP_Closing));
 
+################ pic_for_complete_document
+tikzfile := "tikz_pic_for_complete_document.tex";;
+file := "pic_for_complete_document.tex";;
 
+arr := [[1,2,3,4,5,6],[1,2,3,4,5],[1,2,3,4],[1,2,3],[1,2],[1]];;
+tkz := IP_TikzArrayOfIntegers([1..10],5,rec(highlights:=arr));;
 
+FileString(tikzfile,tkz);
+FileString(file,Concatenation(IP_Preamble,tkz,IP_Closing));
 
 ####################################################################
 ##                    examples                                    ##
 FileString(tikzfile,tkz);
 FileString(file,Concatenation(IP_Preamble,tkz,IP_Closing));
 
+##############################
+tikzfile := "tikz_table_axis_ground_shape_other_option.tex";;
+file := "table_axis_ground_shape_other_option.tex";;
 
+a := 8;; b := 19;;  
+ns := NumericalSemigroup(a,b);;
+c := ConductorOfNumericalSemigroup(ns);;
+origin := 2*c-1;
+ground := [origin..origin+b-1];;
 
+height:=2;;
+depth:=8;;
+  xaxis := [origin];;
+  for n in [1..b-1] do
+    Add(xaxis, origin+n*a);
+  od;
+  yaxis := [];;
+  for n in [-depth..height] do
+    Add(yaxis, origin+n*b);
+  od;
 
+table := TableWithModularOrder(origin,a,b,depth,height,false,false);;
+arr := [xaxis,yaxis,ground];
+tkz:=IP_TikzArrayOfIntegers(table,rec(highlights:=arr,shape_only:=" ",
+             cell_width := "6",colsep:="1",rowsep:="1",inner_sep:="2",
+             line_color:="black!20", other := 
+  ["\\draw[postaction={draw,line width=1pt,red}] (-80pt,-8pt) rectangle (16pt,40pt);",
+  "\\draw[postaction={draw,line width=1pt,blue}] (-16pt,8pt) rectangle (80pt,-40pt);"]));;
 
+FileString(tikzfile,tkz);
+FileString(file,Concatenation(IP_Preamble,tkz,IP_Closing));
 
 
+

File gap/ip_utils.gi

 InstallGlobalFunction(IntPicTest,
         function()
   ReadTest(Concatenation(PackageInfo("intpic")[1]!.
-          InstallationPath, "tst/testall.tst"));
+          InstallationPath, "/tst/testall.tst"));
 end);
 
 

File tst/testall.tst

 #############################################################################
 # Examples from the manual
 # (These examples use at least a funtion from each file)
-
-
-
+gap> rg := [81..89];
+[ 81 .. 89 ]
+gap> len := 10;
+10
+gap> arr := [Filtered(rg,IsPrime),Filtered(rg,u->(u mod 2)=0),
+>         Filtered(rg,u->(u mod 3)=0)];
+[ [ 83, 89 ], [ 82, 84, 86, 88 ], [ 81, 84, 87 ] ]
+gap> tkz := IP_TikzArrayOfIntegers(rg,len,rec(highlights:=arr));
+"%tikz\n\\begin{tikzpicture}[every node/.style={draw,scale=1pt,\nminimum width\
+=20pt,inner sep=3pt,\nline width=0pt,draw=black}]\n\\matrix[row sep=2pt,column\
+ sep=2pt]\n{\\node[fill=blue]{81};&\n\\node[fill=green]{82};&\n\\node[fill=red\
+]{83};&\n\\node[left color=green,right color=blue]{84};&\n\\node[]{85};&\n\\no\
+de[fill=green]{86};&\n\\node[fill=blue]{87};&\n\\node[fill=green]{88};&\n\\nod\
+e[fill=red]{89};\\\\\n};\n\\end{tikzpicture}\n"
+gap> Print(tkz);
+%tikz
+\begin{tikzpicture}[every node/.style={draw,scale=1pt,
+minimum width=20pt,inner sep=3pt,
+line width=0pt,draw=black}]
+\matrix[row sep=2pt,column sep=2pt]
+{\node[fill=blue]{81};&
+\node[fill=green]{82};&
+\node[fill=red]{83};&
+\node[left color=green,right color=blue]{84};&
+\node[]{85};&
+\node[fill=green]{86};&
+\node[fill=blue]{87};&
+\node[fill=green]{88};&
+\node[fill=red]{89};\\
+};
+\end{tikzpicture}
 gap> STOP_TEST( "testall.tst", 10000 );
 ## The first argument of STOP_TEST should be the name of the test file.
 ## The number is a proportionality factor that is used to output a 
-0.1.0
+0.0.9