mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 14:31:35 +01:00
init: initial commit
This commit is contained in:
commit
e38bcddf57
48 changed files with 3752 additions and 0 deletions
27
content/math-typesetting.md
Normal file
27
content/math-typesetting.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
+++
|
||||
title = "Math Typesetting"
|
||||
date = "2019-03-08"
|
||||
description = "A brief guide to setup KaTeX"
|
||||
extra.math = true
|
||||
+++
|
||||
|
||||
Kita theme support $\LaTeX$ mathematical formulas using [KaTeX](https://katex.org/).
|
||||
|
||||
<!--more-->
|
||||
|
||||
- To enable KaTeX globally set the parameter `extra.math` to `true` in a project's configuration
|
||||
- To enable KaTeX on a per page basis include the parameter `extra.math = true` in content files
|
||||
|
||||
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
|
||||
|
||||
### Examples
|
||||
|
||||
<p>
|
||||
Inline math: $(varphi = dfrac{1+sqrt5}{2}= 1.6180339887…)$
|
||||
</p>
|
||||
|
||||
Block math:
|
||||
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$
|
||||
Loading…
Add table
Add a link
Reference in a new issue