Learn R Programming

glossr (version 0.8.0)

gloss_format_words: Apply latex formatting to many words

Description

Facilitates applying the same latex formatting to different words in a row.

Usage

gloss_format_words(text, formatting)

Value

Reformatted string

Arguments

text

Character vector of length 1.

formatting

Latex formatting code, e.g. textit or textsc.

Examples

Run this code
gloss_format_words("Many words to apply italics on.", "textit")

Run the code above in your browser using DataLab