Applies italic, bold, or underlining to a piece of text.
May be used within lazy.text
to add emphasis when the entire
paragraph does not need to be formatted
lazy.text.format(text, italic = FALSE, bold = FALSE, underline = FALSE,
translate = TRUE)
Text to be formatted
Logical. Specifies if text should be italic
Logical. Specifies if text should be bold
Logical. Specifies if text should be underlined
Logical. Specifies if text should be passed through
latexTranslate
before printing
Benjamin Nutter
This function differs from lazy.text
in that
lazy.text
produces a paragraph of formatted text while
lazy.text.format
produces smaller blocks. This allows for
smaller bits of text to be formatted for emphasis
(see the last example below).