diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index e9e06769c8cd522b661dea0f61a416cb66656b60..a5a73c8d37e068cba09728365b677093eb11819c 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -561,11 +561,11 @@ relation to loop nesting. For example, it's perfectly possible to request
     >>> knl = lp.set_options(knl, "write_cl")
     >>> evt, (out,) = knl(queue, a=x_vec_dev)
     #define lid(N) ((int) get_local_id(N))
-   ...
-     for (int i_inner = 0; i_inner <= (-17 + n >= 0 ? 15 : -1 + n); ++i_inner)
-       for (int i_outer = 0; i_outer <= -1 + -1 * i_inner + ((15 + n + 15 * i_inner) / 16); ++i_outer)
-         a[16 * i_outer + i_inner] = 0.0f;
-   ...
+    ...
+      for (int i_inner = 0; i_inner <= (-17 + n >= 0 ? 15 : -1 + n); ++i_inner)
+        for (int i_outer = 0; i_outer <= -1 + -1 * i_inner + ((15 + n + 15 * i_inner) / 16); ++i_outer)
+          a[16 * i_outer + i_inner] = 0.0f;
+    ...
 
 Notice how loopy has automatically generated guard conditionals to make
 sure the bounds on the old iname are obeyed.