Add labels to documentation sections
[linpy.git] / doc / tutorial.rst
index 8598cbd..9b55a03 100644 (file)
@@ -4,6 +4,12 @@
 Tutorial
 ========
 
+This section a short introduction to some of LinPy's features.
+For a comprehensive description of its functionalities, please consult the :ref:`reference`.
+
+
+.. _tutorial_polyhedra:
+
 Polyhedra
 ---------
 
@@ -53,6 +59,8 @@ True
 False
 
 
+.. _tutorial_domains:
+
 Domains
 -------
 
@@ -75,6 +83,8 @@ Or(And(Eq(x, 0), Ge(y, 0), Ge(-y + 2, 0)), And(Eq(y, 0), Ge(x - 1, 0), Ge(-x + 2
 Or(Ge(-x - 1, 0), Ge(x - 3, 0), And(Ge(x, 0), Ge(-x + 2, 0), Ge(-y - 1, 0)), And(Ge(x, 0), Ge(-x + 2, 0), Ge(y - 3, 0)))
 
 
+.. _tutorial_plot:
+
 Plotting
 --------
 
@@ -95,7 +105,7 @@ Also, keyword arguments can be passed such as color and the degree of transparen
 .. figure:: images/union.jpg
     :align:  center
 
-3D plots are also supported.
+3D plots are also supported:
 
 >>> import matplotlib.pyplot as plt
 >>> from matplotlib import pylab