gloss_format_words: Apply latex formatting to many words

View source: R/pdf_utils.R

gloss_format_wordsR Documentation

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)

Arguments

text

Character vector of length 1.

formatting

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

Value

Reformatted string

Examples

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

glossr documentation built on May 29, 2024, 11:53 a.m.