Skip to content

Commit

Permalink
doc: put KaTeX delimiters in own line
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
  • Loading branch information
stephanlachnit authored and chalin committed Oct 4, 2022
1 parent a2788fe commit 52f4702
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ The following code sample produces an introductory text line followed by a formu

```tex
The probability of getting \\(k\\) heads when flipping \\(n\\) coins is:
$$\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}$$
$$
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
$$
```

The probability of getting \\(k\\) heads when flipping \\(n\\) coins is:
$$\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}$$
$$
\tag*{(1)} P(E) = {n \choose k} p^k (1-p)^{n-k}
$$

You can also use [GLFM's math blocks](https://docs.gitlab.com/ee/user/markdown.html#math) (requires hugo 0.93 or newer):
````markdown
Expand Down

0 comments on commit 52f4702

Please sign in to comment.