]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve display of formulas.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 17 Sep 2010 12:12:11 +0000 (12:12 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 17 Sep 2010 12:12:11 +0000 (12:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@22010 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_tools.h

index 045b3d6cbefe3eaa69baa298a24b081de94b03b2..83839ccf31b2b29bc8fd5301663c091b5454ed5b 100644 (file)
@@ -471,10 +471,10 @@ class DoFTools
                                      * in which equation. For
                                      * example, if wanted to solve
                                      * the Stokes equations,
-                                     * @verbatim
-                                     * -\Delta \vec u + \nabla p = 0,
-                                     * \div u                    = 0
-                                     * @endverbatim
+                                     * @f{align*}
+                                     * -\Delta \mathbf u + \nabla p &= 0,\\
+                                     * \text{div}\ u                    &= 0
+                                     * @f}
                                      * in two space dimensions,
                                      * using stable Q2/Q1 mixed
                                      * elements (using the FESystem
@@ -484,11 +484,13 @@ class DoFTools
                                      * rather may want to give the
                                      * following pattern of
                                      * couplings:
-                                     * @verbatim
-                                     *   1 0 1
-                                     *   0 1 1
-                                     *   1 1 0
-                                     * @endverbatim
+                                     * @f[
+                                     * \begin{array}{ccc}
+                                     *   1 & 0 & 1 \\
+                                     *   0 & 1 & 1 \\
+                                     *   1 & 1 & 0
+                                     * \end{array}
+                                     * @f]
                                      * where "1" indicates that two
                                      * variables (i.e. components of
                                      * the FESystem) couple in the

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.