From: Timo Heister Date: Wed, 2 Dec 2015 17:15:07 +0000 (-0500) Subject: latex formula fixes X-Git-Tag: v8.4.0-rc2~184^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30b34309099cd7ab278320b052713bce2bf36527;p=dealii.git latex formula fixes --- diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index 4e2b1114ff..125f964860 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -1444,7 +1444,7 @@ operator- (const Tensor &p, const Tensor /** * The dot product (single contraction) for tensors: Return a tensor of - * rank $(\text{rank_1} + \text{rank_2} - 2)$ that is the contraction of + * rank $(\text{rank}_1 + \text{rank}_2 - 2)$ that is the contraction of * the last index of a tensor @p src1 of rank @p rank_1 with the first * index of a tensor @p src2 of rank @p rank_2: * @f[ @@ -1484,7 +1484,7 @@ operator * (const Tensor &src1, /** * Generic contraction of a pair of indices of two tensors of arbitrary - * rank: Return a tensor of rank $(\text{rank_1} + \text{rank_2} - 2)$ that + * rank: Return a tensor of rank $(\text{rank}_1 + \text{rank}_2 - 2)$ that * is the contraction of index @p index_1 of a tensor @p src1 of rank * @p rank_1 with the index @p index_2 of a tensor @p src2 of rank @p rank_2: * @f[ @@ -1503,7 +1503,7 @@ operator * (const Tensor &src1, * @endcode * * @note The position of the index is counted from 0, i.e., - * $0\le\text{index_i}<\text{range_i}$. + * $0\le\text{index}_i<\text{range}_i$. * * @note In case the contraction yields a tensor of rank 0 the scalar * number is returned as an unwrapped number type. @@ -1545,7 +1545,7 @@ contract (const Tensor &src1, /** * Generic contraction of two pairs of indices of two tensors of * arbitrary rank: Return a tensor of rank - * $(\text{rank_1} + \text{rank_2} - 4)$ that is the contraction of index + * $(\text{rank}_1 + \text{rank}_2 - 4)$ that is the contraction of index * @p index_1 with index @p index_2, and index @p index_3 with index * @p index_4 of a tensor @p src1 of rank @p rank_1 and a tensor @p src2 of * rank @p rank_2: @@ -1566,7 +1566,7 @@ contract (const Tensor &src1, * @endcode * * @note The position of the index is counted from 0, i.e., - * $0\le\text{index_i}<\text{range_i}$. + * $0\le\text{index}_i<\text{range}_i$. * * @note In case the contraction yields a tensor of rank 0 the scalar * number is returned as an unwrapped number type. @@ -1653,7 +1653,7 @@ scalar_product (const Tensor &left, /** * Full contraction of three tensors: Return a scalar number that is the * result of a full contraction of a tensor @p left of rank @p rank_1, a - * tensor @p middle of rank $(\text{rank_1}+\text{rank_2})$ and a tensor @p + * tensor @p middle of rank $(\text{rank}_1+\text{rank}_2)$ and a tensor @p * right of rank @p rank_2: * @f[ * \sum_{i_1,..,i_{r1},j_1,..,j_{r2}} @@ -1681,7 +1681,7 @@ contract3 (const Tensor &left, /** * The outer product of two tensors of @p rank_1 and @p rank_2: Returns a - * tensor of rank $(\text{rank_1} + \text{rank_2})$: + * tensor of rank $(\text{rank}_1 + \text{rank}_2)$: * @f[ * \text{result}_{i_1,..,i_{r1},j_1,..,j_{r2}} * = \text{left}_{i_1,..,i_{r1}}\,\text{right}_{j_1,..,j_{r2}.} diff --git a/include/deal.II/base/tensor_accessors.h b/include/deal.II/base/tensor_accessors.h index f655db3912..63b8b88b73 100644 --- a/include/deal.II/base/tensor_accessors.h +++ b/include/deal.II/base/tensor_accessors.h @@ -232,9 +232,9 @@ namespace TensorAccessors * * @f[ * \text{result}_{i_1,..,i_{r1},j_1,..,j_{r2}} - * = \sum_{k_1,..,k_{\text{no_contr}}} - * \text{left}_{i_1,..,i_{r1},k_1,..,k_{\text{no_contr}}} - * \text{right}_{j_1,..,j_{r2},k_1,..,k_{\text{no_contr}}} + * = \sum_{k_1,..,k_{\text{no\_contr}}} + * \text{left}_{i_1,..,i_{r1},k_1,..,k_{\text{no\_contr}}} + * \text{right}_{j_1,..,j_{r2},k_1,..,k_{\text{no\_contr}}} * @f] * * Calling this function is equivalent of writing the following low level