rm_editorial_square_brackets: Remove editorial square brackets

View source: R/rm_editorial_square_brackets.R

rm_editorial_square_bracketsR Documentation

Remove editorial square brackets

Description

Change text such as phas[e] out to phase out, without removing square brackets denoting optional arguments.

Usage

rm_editorial_square_brackets(tex_lines)

Arguments

tex_lines

Lines (as from readLines).

Examples

x <- "the BCA's call to `urgently phas[e] out all side deals'"
rm_editorial_square_brackets(x)


TeXCheckR documentation built on May 29, 2024, 7:20 a.m.