From 7067128e489c97d317434c66d35e93ce445cd2b4 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Sat, 30 Mar 2024 12:08:56 +0900 Subject: [PATCH] translate: samples/mathematical-notation into japanese --- .../samples/mathematical-notation/index.ja.md | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 exampleSite/content/samples/mathematical-notation/index.ja.md diff --git a/exampleSite/content/samples/mathematical-notation/index.ja.md b/exampleSite/content/samples/mathematical-notation/index.ja.md new file mode 100755 index 00000000..ced835a9 --- /dev/null +++ b/exampleSite/content/samples/mathematical-notation/index.ja.md @@ -0,0 +1,51 @@ +--- +title: 数学的な表記 +date: 2019-03-08 +description: Blowfish での数学的な表記の簡単なサンプル。 +tags: ["sample", "katex", "maths", "shortcodes"] +type: 'sample' +--- + +KaTeX は数学的な表記を記事内にレンダリングする際に利用できます。 + + + +{{< katex >}} + +Blowfish は数学的な表記を利用する場合のみ、 KaTeX アセットをプロジェクトにバンドルします。これを機能させるには、単に記事内に [`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}}) を含ませてください。以下が例です: + +```md +{{}} +``` +ページ上のすべての KaTeX 構文は自動的にレンダリングされます。 +利用可能な構文は[サポートしている TeX 機能](https://katex.org/docs/supported.html)のオンラインの文献を参照してください。 + +## インライン表記 + +インライン表記は `\\(` と `\\)` 記号で式を囲むことで生成できます。 + +**例:** + +```tex +% KaTeX インライン表記 +インライン表記: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) +``` + +インライン表記: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) + +## ブロック表記 + +または、ブロック表記は `$$` 記号を利用することで生成できます。これによって、式が独自の HTML ブロックに出力されます。 + +**例:** + +```tex +% KaTeX ブロック表記 +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ +``` + +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$