From: David Wells <wellsd2@rpi.edu>
Date: Fri, 4 May 2018 02:28:12 +0000 (-0400)
Subject: Use @code instead of @verbatim.
X-Git-Tag: v9.0.0-rc1~18^2~3
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e1b0544a4a6272709ee9c1766dcb135fd93f13;p=dealii.git

Use @code instead of @verbatim.
---

diff --git a/examples/step-18/doc/intro.dox b/examples/step-18/doc/intro.dox
index c4e8d180b4..87e63c3919 100644
--- a/examples/step-18/doc/intro.dox
+++ b/examples/step-18/doc/intro.dox
@@ -486,7 +486,7 @@ sequence of operations on the present mesh:
   local contributions to the matrix in the following elegant way (the variable
   <code>stress_strain_tensor</code>, corresponding to the tensor $C$, has
   previously been initialized with the result of the first function above):
-  @verbatim
+  @code
 for (unsigned int i=0; i<dofs_per_cell; ++i)
   for (unsigned int j=0; j<dofs_per_cell; ++j)
     for (unsigned int q_point=0; q_point<n_q_points;
@@ -501,7 +501,7 @@ for (unsigned int i=0; i<dofs_per_cell; ++i)
               *
               fe_values.JxW (q_point));
       }
-  @endverbatim
+  @endcode
   It is worth noting the expressive power of this piece of code, and to
   compare it with the complications we had to go through in previous examples
   for the elasticity problem. (To be fair, the SymmetricTensor class
@@ -527,7 +527,7 @@ for (unsigned int i=0; i<dofs_per_cell; ++i)
   <code>local_quadrature_points_data</code> that allows to access the stress
   $\sigma^{n-1}_q$ in each quadrature point. With this the code for the right
   hand side looks as this, again rather elegant:
-  @verbatim
+  @code
 for (unsigned int i=0; i<dofs_per_cell; ++i)
   {
     const unsigned int
@@ -547,7 +547,7 @@ for (unsigned int i=0; i<dofs_per_cell; ++i)
                        fe_values.JxW (q_point);
       }
   }
-  @endverbatim
+  @endcode
   Note that in the multiplication $\mathbf{f}(\mathbf{x}_q) \cdot \varphi_i(\mathbf{x}_q)$, we have made use of the fact that for the chosen finite element, only
   one vector component (namely <code>component_i</code>) of $\varphi_i$ is
   nonzero, and that we therefore also have to consider only one component of
@@ -596,6 +596,3 @@ addition, gravity acts on the body.
 The program text will reveal more about how to implement this situation, and
 the results section will show what displacement pattern comes out of this
 simulation.
-
-
-