format_sub {cocoon} | R Documentation |
Format subscript text
format_sub(subscript = NULL, type = "md")
subscript |
Character string or NULL |
type |
Type of formatting ( |
A character string that is formatted as subscript for either Markdown or LaTeX.
format_sub("Hello world!")
# Format in LaTeX syntax
format_sub("Hello world!", type = "latex")