c2strpm {Tex4exams}R Documentation

Sequence of numbers into a string of TeX code with plus minus signs.

Description

Convert a sequence of numbers into a string of TeX code for the sequence with plus minus signs for each number of the sequence, where the fractions are in vertical form.

Usage

c2strpm(x)

Arguments

x

a list of rational numbers.

Value

The output is a string of rational numbers with backslash denoting division and plus minus signs in front of each number.

See Also

c2str

Examples

x <- sample(c(1:100),5)
x
c2strpm(x)

[Package Tex4exams version 0.1.2 Index]