Agent-Logs-Url: https://github.com/purocean/yn/sessions/423ca3b8-9674-4d0f-98d1-bc1fd5c33c5d Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
44 lines
797 B
Markdown
44 lines
797 B
Markdown
# 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 H~2~O.
|
||
|
||
Carbon dioxide: CO~2~
|
||
|
||
The chemical formula for sulfuric acid is H~2~SO~4~.
|
||
|
||
x~1~, x~2~, x~3~, ..., x~n~
|
||
|
||
a~ij~ represents the element in row i, column j.
|
||
|
||
## Combined Usage
|
||
|
||
The formula a~n~ = r^n^ demonstrates both subscript and superscript.
|
||
|
||
Chemical reaction: 2H~2~ + O~2~ → 2H~2~O
|
||
|
||
x~i~^2^ + y~i~^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: a~n~ = a~1~ × r^n-1^
|
||
|
||
Avogadro's number: 6.022 × 10^23^ mol^-1^
|