gloss_format_words {glossr}R 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")

[Package glossr version 0.8.0 Index]