From 02fec630553f9055916a059b69c8b4e8516d2614 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 17 Sep 2010 12:12:11 +0000 Subject: [PATCH] Improve display of formulas. git-svn-id: https://svn.dealii.org/trunk@22010 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_tools.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_tools.h b/deal.II/deal.II/include/dofs/dof_tools.h index 045b3d6cbe..83839ccf31 100644 --- a/deal.II/deal.II/include/dofs/dof_tools.h +++ b/deal.II/deal.II/include/dofs/dof_tools.h @@ -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 -- 2.39.5