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

github.com/zwbetz-gh/cayman-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/post/katex-math-typesetting/index.md')
-rw-r--r--exampleSite/content/post/katex-math-typesetting/index.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/exampleSite/content/post/katex-math-typesetting/index.md b/exampleSite/content/post/katex-math-typesetting/index.md
new file mode 100644
index 0000000..dc9a8b5
--- /dev/null
+++ b/exampleSite/content/post/katex-math-typesetting/index.md
@@ -0,0 +1,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} } }
+$$