veto_sic {TeXCheckR}R Documentation

Veto sic

Description

Vetoes words in a LaTeX document that are marked '[sic]' for the purpose of spell checking by replacing them (and '[sic]' itself) with white space of equal length.

Usage

veto_sic(tex_lines, quote = TRUE, sentence = !quote, words_ante = 1L)

Arguments

tex_lines

A character vector.

quote

(logical, default: TRUE) Veto words after the previous opening quote (i.e. backtick) symbol.

sentence

(logical, default: TRUE) Veto words before [sic] in the same sentence. (The start of a sentence is taken to be the location of the capital letter which is preceded by white space and a full stop.)

words_ante

The number of words to exclude. Ignored if quote or sentence is TRUE.


[Package TeXCheckR version 0.8.1 Index]