]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Set.pm
Make sure POD headings are linkable
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Set.pm
index 075dcb88b9ed88f48a29794a475df6aaeb507fc8..3d8112f91b0a15cb8d652c2d0e812ed44688a8d5 100644 (file)
@@ -61,7 +61,9 @@ requires qw<
  draw
 >;
 
-=head2 C<mod @mods>
+=head2 C<mod>
+
+    $set->mod(@mods)
 
 Apply the given list of L<LaTeX::TikZ::Mod> objects to the current set.
 
@@ -103,7 +105,9 @@ around 'draw' => sub {
  $body;
 };
 
-=head2 C<layer $layer>
+=head2 C<layer>
+
+    $set->layer($layer)
 
 Puts the current set in the corresponding layer.
 This is a shortcut for C<< $set->mod(Tikz->layer($layer)) >>.
@@ -122,7 +126,9 @@ sub layer {
  )
 }
 
-=head2 C<clip $path>
+=head2 C<clip>
+
+    $set->clip($path)
 
 Clips the current set by the path given by C<$path>.
 This is a shortcut for C<< $set->mod(Tikz->clip($path)) >>.