diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-29 22:50:58 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-29 22:50:58 +0200 |
commit | 015090549306ba6fd0c84a874b58559c4a1fa8fb (patch) | |
tree | 75fdfde4a7a3eb2431b36d1bad7409939be5e4d5 /themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md | |
parent | ccbdfed13b8195d550899d66bf193d2fd33880e9 (diff) |
update theme without example page
Diffstat (limited to 'themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md')
-rwxr-xr-x | themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md b/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md deleted file mode 100755 index f0590a0..0000000 --- a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: Mathematical notation -date: 2019-03-08 -description: A brief sample of mathematical notation in Blowfish. -tags: ["sample", "katex", "maths", "shortcodes"] -type: 'sample' ---- - -KaTeX can be used to render mathematical notation within articles. - -<!--more--> - -{{< katex >}} - -Blowfish will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Example below: - -```md -{{</* katex */>}} -``` -Any KaTeX syntax on that page will then be automatically rendered. Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax. - -## Inline notation - -Inline notation can be generated by wrapping the expression in `\\(` and `\\)` delimiters. - -**Example:** - -```tex -% KaTeX inline notation -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) -``` - -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) - -## Block notation - -Alternatively, block notation can be generated using `$$` delimiters. This will output the expression in its own HTML block. - -**Example:** - -```tex -% KaTeX block notation -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ |