Files
yn/test/md/superscript-subscript.md
T

797 B
Raw Blame History

Superscript and Subscript Test

This document tests superscript and subscript syntax supported by Yank Note.

Superscript (^text^)

This is the 29^th^ of the month.

E = mc^2^

x^n^ + y^n^ = z^n^

2^10^ = 1024

a^b+c^

Subscript (~text~)

Water is H2O.

Carbon dioxide: CO2

The chemical formula for sulfuric acid is H2SO4.

x1, x2, x3, ..., xn

aij represents the element in row i, column j.

Combined Usage

The formula an = r^n^ demonstrates both subscript and superscript.

Chemical reaction: 2H2 + O2 → 2H2O

xi^2^ + yi^2^ = r^2^

Superscript and Subscript in Context

In physics, the speed of light is approximately 3 × 10^8^ m/s.

The general term of a geometric sequence: an = a1 × r^n-1^

Avogadro's number: 6.022 × 10^23^ mol^-1^