Salome HOME
Documentation: use 'figure' instead of 'image'; improve caption layout; fix warnings.
[modules/shaper.git] / src / FeaturesPlugin / doc / translationFeature.rst
index c906f075ec1715ac0158c875308e75e7bb2e1373..562d18416b9b1e7bc07e020c39f3d537166e43dc 100644 (file)
@@ -14,19 +14,19 @@ To create a Translation in the active part:
 
 The Vector of translation can be defined in three different ways:
 
-.. image:: images/translation_vector_32x32.png    
+.. figure:: images/translation_vector_32x32.png    
    :align: left
    :height: 24px
 
 by by axis and distance
 
-.. image:: images/translation_dxyz_32x32.png      
+.. figure:: images/translation_dxyz_32x32.png      
    :align: left
    :height: 24px
 
 by vector 
 
-.. image:: images/translation_2pt_32x32.png    
+.. figure:: images/translation_2pt_32x32.png    
    :align: left
    :height: 24px
 
@@ -37,11 +37,10 @@ by two points
 Translation by axis and distance
 --------------------------------
 
-.. image:: images/Translation2.png
-  :align: center
+.. figure:: images/Translation2.png
+   :align: center
 
-.. centered::
-  Translation by axis and distance property panel
+   Translation by axis and distance property panel
 
 Input fields:
 
@@ -64,10 +63,9 @@ Result
 
 The result of operation is a shifted initial shape.
 
-.. image:: images/translation_XYZ.png
+.. figure:: images/translation_XYZ.png
    :align: center
 
-.. centered::
    Translation by axis and distance
 
 **See Also** a sample TUI Script of a :ref:`tui_translation_vector` operation.
@@ -75,11 +73,10 @@ The result of operation is a shifted initial shape.
 Translation by vector
 ---------------------
 
-.. image:: images/Translation1.png
-  :align: center
+.. figure:: images/Translation1.png
+   :align: center
 
-.. centered::
-  Translation by vector property panel
+   Translation by vector property panel
 
 Input fields:
 
@@ -102,10 +99,9 @@ Result
 
 The result of operation is a shifted initial shape.
 
-.. image:: images/translation_vector.png
+.. figure:: images/translation_vector.png
    :align: center
 
-.. centered::
    Translation by vector
 
 **See Also** a sample TUI Script of :ref:`tui_translation_DXDYDZ` operation.
@@ -114,11 +110,10 @@ The result of operation is a shifted initial shape.
 Translation by two points
 -------------------------
 
-.. image:: images/Translation3.png
-  :align: center
+.. figure:: images/Translation3.png
+   :align: center
 
-.. centered::
-  Translation by two points property panel
+   Translation by two points property panel
 
 Input fields:
 
@@ -141,10 +136,9 @@ Result
 
 The result of operation is a shifted initial shape.
 
-.. image:: images/translation_2points.png
+.. figure:: images/translation_2points.png
    :align: center
 
-.. centered::
    Translation by two points
 
 **See Also** a sample TUI Script of :ref:`tui_translation_2points` operation.