X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ.pm;h=a95bf881119f30c70aa8186ef378aa8a792527bb;hb=f54cadb836315572aa2c4bcb16f221da1687df7a;hp=eda4ca61e1ec38ead58dfef6a677438657a340dd;hpb=594156dad44851e8a31499dfb83b9c6f089abdd4;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ.pm b/lib/LaTeX/TikZ.pm index eda4ca6..a95bf88 100644 --- a/lib/LaTeX/TikZ.pm +++ b/lib/LaTeX/TikZ.pm @@ -9,11 +9,11 @@ LaTeX::TikZ - Perl object model for generating PGF/TikZ code. =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; =head1 SYNOPSIS @@ -36,7 +36,7 @@ our $VERSION = '0.01'; $octo->clip(Tikz->rectangle(-0.5*(1+i), 2*(1+i))); # Fill it with dots - $octo->mod(Tikz->pattern(class => 'Dots', space_width => 10)); + $octo->mod(Tikz->pattern(class => 'Dots')); # Create a formatter object my $tikz = Tikz->formatter(scale => 5); @@ -48,12 +48,12 @@ our $VERSION = '0.01'; =head1 DESCRIPTION -This module provides an object model for TikZ, a graphical tookit for LaTeX. +This module provides an object model for TikZ, a graphical toolkit for LaTeX. It allows you to build structures representing geometrical figures, apply a wide set of modifiers on them, transform them globally with functors, and print them in the context of an existing TeX document. =head1 CONCEPTS -Traditionnaly, in TikZ, there are two ways of grouping elements, or I, together : +Traditionally, in TikZ, there are two ways of grouping elements, or I, together : =over 4 @@ -169,7 +169,7 @@ Creates a L object that links the successive element =head3 C<< Tikz->closed_polyline(@points) >> -Creates a L object that cycles through successive elemnts of C<@points>. +Creates a L object that cycles through successive elements of C<@points>. my $diamond = Tikz->closed_polyline( Tikz->point(0, 1),