Create subscripts
Create superscript
Examples
subscript("X", 1:3)
#> [1] "X<sub>1</sub>" "X<sub>2</sub>" "X<sub>3</sub>"
superscript(c("A", "B"), 2)
#> [1] "A<sup>2</sup>" "B<sup>2</sup>"
Create subscripts
Create superscript
subscript("X", 1:3)
#> [1] "X<sub>1</sub>" "X<sub>2</sub>" "X<sub>3</sub>"
superscript(c("A", "B"), 2)
#> [1] "A<sup>2</sup>" "B<sup>2</sup>"