format_sub {cocoon} | R Documentation |
Format subscript text
Description
Format subscript text
Usage
format_sub(subscript = NULL, type = "md")
Arguments
subscript |
Character string or NULL. |
type |
Type of formatting ( |
Value
A character string that is formatted as subscript for either Markdown or LaTeX.
Examples
format_sub("Hello world!")
# Format in LaTeX syntax
format_sub("Hello world!", type = "latex")
[Package cocoon version 0.2.0 Index]