mfrac {Tex4exams}R Documentation

Convert multiple decimals into tex code of vertical fractions

Description

The function converts multiple decimals into tex code of vertical fractions.

Usage

mfrac(z)

Arguments

z

a list of decimal numbers.

Value

The function returns a string of tex code for the numbers in vertical fraction form.

Note

The function used function 'rfrac' in the same package which depends on the package 'fractional'.

See Also

smfrac,rfracF,rfrac

Examples

z <- sample(c(1:55),6)/100
mfrac(z)


[Package Tex4exams version 0.1.2 Index]