Format Quotes

Usage

GQ(quotes = TRUE, block = TRUE, text = "clipboard", copy2clip = TRUE, invisible = FALSE)

QQ(text = "clipboard", copy2clip = TRUE)

Arguments

quotes
logical or c(l, r, L, R, left or right). If TRUE LaTeX style quotes (2 backticks and two single quotes) are wrapped around the text. If (l, L or left) left ticks only are used. If (r, R or right) right ticks only are used.
block
If TRUE LaTeX block quote code tags are used instead of the backticks and single quotes.
text
character vector or text copied to the clipboard. Default is to read from the clipboard.
copy2clip
logical. If TRUE attempts to copy the output to the clipboard.
invisible
logical. If TRUE will jot print to the console.

Value

GQ - Returns formatted text for use with LaTeX documents.

Returns a character vector with LaTeX formatted text.

GQ - Returns formatted text for use with notes.xslx or notes.csv.

Description

GQ - Tool to grab quote and format the text taken from articles for LaTeX. Combines multiple stringed text into one string. Removes non ascii characters and hyphens.

QQ - Tool to grab a quote and format the text taken from articles for use in the directory notes.xslx or notes.csv. Combines multiple stringed text into one string. Removes non ascii characters and hyphens.

Warning

Ligatures parsing is very good, however, these elements my be incorrect. If a warning is thrown check the use of "ff", "fi", "fl", "ffi" and "ffl".