X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ.pm;h=644e0fbe0e6e4f7288962501017f61e983396b64;hb=eeb35f041d7872200bf1a649f482610e8d30cf81;hp=5e5b7315e6f773edf4dc6fc956aa2ecbc2c2d175;hpb=718a71648b669dadb4c548574b19d1c2b942d1dc;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ.pm b/lib/LaTeX/TikZ.pm index 5e5b731..644e0fb 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), @@ -325,7 +325,7 @@ C<@rules> should be a list of array references whose first element is the class/ # A mod stripper my $strip = Tikz->functor( - 'LaTeX::TikZ::Mod' => sub { return }, + '+LaTeX::TikZ::Mod' => sub { return }, ); my $naked = $set->$strip; @@ -358,7 +358,7 @@ sub import { =head1 DEPENDENCIES -L with L 0.63 or greater. +L with L 0.80 or greater. L.