diff --git a/dumux/porousmediumflow/nonisothermal/model.hh b/dumux/porousmediumflow/nonisothermal/model.hh
index 3bf903e0fd595c498a0811fe37bafec789d094b6..f0ecd5208aa2c3b58929578d73836a76afa24970 100644
--- a/dumux/porousmediumflow/nonisothermal/model.hh
+++ b/dumux/porousmediumflow/nonisothermal/model.hh
@@ -30,7 +30,7 @@
  * For the energy balance, local thermal equilibrium is assumed. This
  * results in one energy conservation equation for the porous solid
  * matrix and the fluids:
-\f[
+ \f{align*}{
  \phi \frac{\partial \sum_\alpha \varrho_\alpha u_\alpha S_\alpha}{\partial t}
  & +
  \left( 1 - \phi \right) \frac{\partial (\varrho_s c_s T)}{\partial t}
@@ -42,12 +42,12 @@
  \left( \textbf{grad}\,p_\alpha - \varrho_\alpha \mbox{\bf g} \right)
  \right\} \\
     & - \text{div} \left(\lambda_{pm} \textbf{grad} \, T \right)
-    - q^h = 0,
-  \f]
+    - q^h = 0.
+ \f}
  * where \f$h_\alpha\f$ is the specific enthalpy of a fluid phase
  * \f$\alpha\f$ and \f$u_\alpha = h_\alpha -
  * p_\alpha/\varrho_\alpha\f$ is the specific internal energy of the
- * phase
+ * phase.
  */
 
 #ifndef DUMUX_NONISOTHERMAL_MODEL_HH