Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.md « katex-math-typesetting « post « content « exampleSite - github.com/zwbetz-gh/cayman-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc9a8b5ec3c67a749094999ec55e725e04ab6425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: "Katex Math Typesetting"
date: 2019-04-02
tags: [katex, math, typesetting, hugo]
---

Enable Katex in the config file by setting the `katex` param to `true`. This will import the necessary Katex CSS/JS. 

**Note:** Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html). 

Some math:

```
$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$
```

$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$

More math: 

```
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 
$$
```

$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 
$$