Skip to content

Commit 4ce6418

Browse files
authored
Fix documentation around LaTeX commands (#583)
* fix latex commands * fix Some terminology/conventions section
1 parent aba2fcb commit 4ce6418

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/src/maths/nondiff_points.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ plot(abs)
4242

4343
`abs` is the classic example of a function where the derivative is not defines as the limit from above is not equal to the limit from below
4444

45-
$$\mathrm{abs}'(0) = \lim_{h->0^-} \dfrac{\mathrm{abs}(0)-\mathrm{abs}(0-h)}{0-h} = -1$$
46-
$$\mathrm{abs}'(0) = \lim_{h->0^+} \dfrac{abs(0)-\mathrm{abs}(0-h)}{0-h} = 1$$
45+
$$\operatorname{abs}'(0) = \lim_{h \to 0^-} \dfrac{\operatorname{abs}(0)-\operatorname{abs}(0-h)}{0-h} = -1$$
46+
$$\operatorname{abs}'(0) = \lim_{h \to 0^+} \dfrac{\operatorname{abs}(0)-\operatorname{abs}(0-h)}{0-h} = 1$$
4747

4848
Now, as discussed in the introduction the AD system would on it's own choose either 1 or -1, depending on implementation.
4949

docs/src/maths/propagators.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ This document will explain this point of view in some detail.
4747

4848
##### Some terminology/conventions
4949

50-
Let ``p`` be an element of type M, which is defined by some assignment of numbers ``x_1,...,x_m``,
51-
say ``(x_1,...,x_m) = (a_1,...,1_m)``
50+
Let ``p`` be an element of type ``M``, which is defined by some assignment of numbers ``x_1, \dots, x_m``,
51+
say ``(x_1, \dots, x_m) = (a_1, \dots, a_m)``
5252

53-
A _function_ ``f:M \to K`` on ``M`` is (for simplicity) a polynomial ``K[x_1, ... x_m]``
53+
A _function_ ``f:M \to K`` on ``M`` is (for simplicity) a polynomial ``K[x_1, \dots, x_m]``
5454

55-
The tangent space ``T_pM`` of ``T`` at point ``p`` is the ``K``-vector space spanned by derivations ``d/dx``.
55+
The tangent space ``T_pM`` of ``M`` at point ``p`` is the ``K``-vector space spanned by derivations ``d/dx``.
5656
The tangent space acts linearly on the space of functions. They act as usual on functions. Our starting point is
5757
that we know how to write down ``d/dx(f) = df/dx``.
5858

5959
The collection of tangent spaces ``{T_pM}`` for ``p\in M`` is called the _tangent bundle_ of ``M``.
6060

6161
Let ``df`` denote the first order information of ``f`` at each point. This is called the differential of ``f``.
6262
If the derivatives of ``f`` and ``g`` agree at ``p``, we say that ``df`` and ``dg`` represent the same cotangent at ``p``.
63-
The covectors ``dx_1, ..., dx_m`` form the basis of the cotangent space ``T^*_pM`` at ``p``. Notice that this vector space is
64-
dual to ``T_p``
63+
The covectors ``dx_1, \dots, dx_m`` form the basis of the cotangent space ``T^*_pM`` at ``p``. Notice that this vector space is
64+
dual to ``T_pM``.
6565

6666
The collection of cotangent spaces ``{T^*_pM}`` for ``p\in M`` is called the _cotangent bundle_ of ``M``.
6767

0 commit comments

Comments
 (0)