diff --git a/doc/TutorialSlicingIndexing.dox b/doc/TutorialSlicingIndexing.dox
index 645a7cd07..7f8955431 100644
--- a/doc/TutorialSlicingIndexing.dox
+++ b/doc/TutorialSlicingIndexing.dox
@@ -72,12 +72,12 @@ Here are some examples for a 2D array/matrix \c A and a 1D array/vector \c v.
| %Block starting at \c i,j having \c m rows, and \c n columns |
- \code A(seqN(i,m), seqN(i,n)) \endcode |
+ \code A(seqN(i,m), seqN(j,n)) \endcode |
\code A.block(i,j,m,n) \endcode |
| %Block starting at \c i0,j0 and ending at \c i1,j1 |
- \code A(seq(i0,i1), seq(j0,j1) \endcode |
+ \code A(seq(i0,i1), seq(j0,j1)) \endcode |
\code A.block(i0,j0,i1-i0+1,j1-j0+1) \endcode |
@@ -97,7 +97,7 @@ Here are some examples for a 2D array/matrix \c A and a 1D array/vector \c v.
| The middle row |
- \code A(last/2,all) \endcode |
+ \code A(last/2, all) \endcode |
\code A.row((A.rows()-1)/2) \endcode |