Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 1.44 KB

sample.adoc

File metadata and controls

70 lines (49 loc) · 1.44 KB

Precompiled Math

Equations in normal blocks

\[k_{n+1} = n^2 + k_n^2 - k_{n-1}\]

Some useful text! Formula for quadratic root:

\[x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\]

Inline equation works too! \(a^2+b^2=c^2\). Or as stem \(a^2+b^2=c^2\). Pretty nice, huh?

Equations in table cells

Equations in asciidoc style table cells work, too!

Demo Contents

Inline Equation in Asciidoc Cells

This is an inline equation: \(a^2+b^2=c^2\).

Block Equation in Asciidoc Cells

The following is a stem block:

\[a^2+b^2=c^2+d^2\]

Inline Equation in Normal Cell

This is an inline equation: \(a^2+b^2=c^2\).

Inline Equation in Header Cell

This is an inline equation: \(a^2+b^2=c^2\).

Inline Equation in Emphasis Cell

This is an inline equation: \(a^2+b^2=c^2\).

Inline Equation in Monospaced Cell

This is an inline equation: \(a^2+b^2=c^2\).

Inline Equation in Strong Cell

This is an inline equation: \(a^2+b^2=c^2\).

Inline Equation in Verse Cell

This is an inline equation: \(a^2+b^2=c^2\).

Inline Equation in Literal Cell

 This is an *inline* equation: latexmath:[a^2+b^2=c^2].

Equations in section titles

Proof of \(a^2+b^2=c^2\)

Proof of \(a^2+b^2=c^2\)