Fractions, roots and sums · 分数、ルート、和
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · このページには最新のブラウザ(SharedArrayBuffer対応)が必要です。Chrome、Edge、Firefox、Safariを最新バージョンに更新してください。
English
A maths toolkit: amsmath
- For serious maths, load the
amsmathpackage once in the preamble:
- It adds better fractions, alignment, and dozens of symbols. Almost every maths document uses it.
日本語
マス用ツールキット:amsmath
- 本格的な数式写作には、プレアムブルで一度だけ**
amsmath** パッケージを読み込みます:
\usepackage{amsmath}
- これにより、より良い分数、アライメント、多数の記号が追加されます。ほぼすべての数学文書で使われています。
English
Fractions and roots
- A fraction is
\frac{top}{bottom}; a square root is\sqrt{...}:
- They nest happily:
\sqrt{\frac{1}{n}}is the square root of one-over-n.
日本語
分数とルート
- 分数は
\frac{top}{bottom}、平方根は\sqrt{...}です:
\[ \frac{a + b}{2} \qquad \sqrt{x^2 + y^2} \]
- これらは自然にネストできます:
\sqrt{\frac{1}{n}}は「1をnで割ったもの」の平方根です。
English
Sums and integrals
- These grow to the right size automatically:
- The
_sets the lower limit and^the upper limit — the same keys as powers.
日本語
和と積分
- これらは自動的に適切なサイズに成長します:
\[ \sum_{i=1}^{n} i \qquad \int_0^1 x^2 \, dx \]
_が下限を指定し、^が上限を指定します(これらは指数と同じキーです)。
English
Common mistakes
\frac{a}{b},\sqrt{x}and\sumonly work in math mode.- Put them inside
$...$or\[ ... \].
日本語
よくあるミス
\frac{a}{b}、\sqrt{x}、\sumはマスモード内でのみ動作します。- これらを
$...$または\[ ... \]の内部に置きます。
Write a fraction in the display equation. Replace the comment with \frac{1}{2} so the equation reads one-half. The amsmath package is already loaded for you. · 表示数式に分数を書き込みます。コメントを\frac{1}{2}に置き換えて数式が「二分の一一」となるようにします。amsmath パッケージはすでに読み込まれています。
Click Run to compile and preview the PDF. · コンパイルしてPDFをプレビューするには「実行」をクリックしてください。
Now use two more maths tools. In the display equation write a square root \sqrt{...} and a sum \sum, for example \[ \sqrt{2} + \sum_{i=1}^{n} i \]. · さらに2つの数学ツールを使用します。表示数式に平方根\sqrt{...}と和\sumを記述してください。例:\[ \sqrt{2} + \sum_{i=1}^{n} i \]。
Click Run to compile and preview the PDF. · コンパイルしてPDFをプレビューするには「実行」をクリックしてください。