LL: Format Text Lines to LaTeX List

Description Usage Arguments Details Value Warning Examples

Description

Itemizes lines of text into a LaTeX list.

Usage

1
LL(enumerate = TRUE, text = "clipboard", copy2clip = interactive())

Arguments

enumerate

logical. If TRUE uses the enumerate environment. If FALSE itemize is used instead.

text

A 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.

Details

This function formats text for use with LaTeX as a list.

Value

Returns a character vector with a LaTeX list formatted text.

Warning

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

Examples

1
2
3
4
5
6
x <- c(
"one, two buckle my shoe",
"three, four close the door",
"five, six pick up sticks")
LL(, x)
LL(FALSE, x)

trinker/reports documentation built on May 31, 2019, 9:51 p.m.