Learn R Programming

parseLatex (version 0.4.1)

splitting: Splitting lists of items

Description

Splitting lists of items

Usage

split_list(items, splits, include = FALSE)

split_latex(...)

Value

split_list() returns a list of pieces separated at the splits.

split_latex() returns a list of pieces separated at the splits. Each piece is marked as an ITEMLIST item, and the whole thing is also marked that way.

Arguments

items

A LaTeX2 or similar list.

splits

Which item numbers divide the parts?

include

If TRUE, include the split item at the end of each part.

...

Arguments to pass to split_list.